Commit Graph

2897 Commits

Author SHA1 Message Date
Michael Shanks cf1df37e71 Merge remote-tracking branch 'origin/master' into mike-fixes 2020-10-15 23:21:12 +01:00
Michael Shanks c88c671758 fix: ensure CSS is built on app creation 2020-10-15 23:20:56 +01:00
Martin McKeaveney c036629744 Merge pull request #729 from Budibase/martin-more-bugfixes
Martin more bugfixes
2020-10-15 22:28:42 +01:00
Martin McKeaveney c1b9526e0e fixing cypress tests 2020-10-15 22:21:08 +01:00
Martin McKeaveney 0cbcfe4e0c fix unit tests 2020-10-15 21:47:20 +01:00
kevmodrome e91d3ba283 change color to grey 2020-10-15 20:56:58 +02:00
Michael Shanks 74dcfef4aa Merge remote-tracking branch 'origin/master' into mike-fixes 2020-10-15 19:14:21 +01:00
Michael Shanks 38bcf5c0c2 generate css before saving screen 2020-10-15 19:13:48 +01:00
kevmodrome 8804dc903e url now takes the same format as in other components 2020-10-15 20:10:06 +02:00
kevmodrome 4d7c214a16 lint fixes 2020-10-15 20:06:26 +02:00
kevmodrome 71acc10e9c minor fixes 2020-10-15 20:05:55 +02:00
kevmodrome 5f83cfc9c5 adds detail link column to grid component 2020-10-15 19:59:46 +02:00
Andrew Kingston cd00817481 Merge branch 'master' of github.com:Budibase/budibase into autoscreen-templates 2020-10-15 18:30:34 +01:00
mike12345567 7d0231cb75 Formatting. 2020-10-15 18:11:36 +01:00
mike12345567 335043440d Fixing issues with table columns allowing weirdness to happen around casing, now only one column with a particular name can be specified, no matter what the case, but the case will be respected. 2020-10-15 18:09:19 +01:00
kevmodrome a31b30da7d starts work on adding view details link to grid component 2020-10-15 18:54:08 +02:00
Martin McKeaveney fd0841380c updating test snapshots 2020-10-15 17:53:06 +01:00
Martin McKeaveney 71a7482dda lint 2020-10-15 17:05:09 +01:00
Martin McKeaveney 2fc3ab6805 Merge branch 'master' of github.com:Budibase/budibase into martin-more-bugfixes 2020-10-15 17:02:32 +01:00
Martin McKeaveney 0dcbf1da3d fix cloudfront invalidations 2020-10-15 16:59:57 +01:00
Andrew Kingston 6ea9809b12 Improve login component logo styles 2020-10-15 16:37:50 +01:00
Andrew Kingston e9a0c1c512 Fix issue with trailing comma 2020-10-15 16:30:18 +01:00
kevmodrome ee4e1718d5 fixes jumpy behaviour when selecting rows 2020-10-15 16:24:03 +02:00
kevmodrome 1bffa76194 removes add row button on grid component 2020-10-15 16:15:28 +02:00
Martin McKeaveney 9e1a6c1069 merge 2020-10-15 15:12:54 +01:00
Martin McKeaveney 3dac1e2a78 allow users to remove a calculation 2020-10-15 15:02:22 +01:00
kevmodrome cd8fc32a20 Merge branch 'feature/add-delete-button-to-attachments' of github.com:Budibase/budibase into feature/add-delete-button-to-attachments 2020-10-15 15:59:03 +02:00
kevmodrome 7e9cf7d01e adds stopPropagation modifier to delete file button 2020-10-15 15:58:21 +02:00
Kevin Åberg Kultalahti b930af4669 Merge branch 'master' into feature/add-delete-button-to-attachments 2020-10-15 15:54:43 +02:00
kevmodrome f0cea0ef0e adjust button size 2020-10-15 15:51:50 +02:00
Martin McKeaveney 5565bd2124 replacing pathname 2020-10-15 14:46:24 +01:00
kevmodrome 29df40ee51 removes commented out code 2020-10-15 15:46:24 +02:00
kevmodrome 204fb15b42 sets pagination default to true in grid component 2020-10-15 15:45:12 +02:00
Martin McKeaveney a34a59880e merge from master 2020-10-15 14:41:29 +01:00
kevmodrome 86bbf252b3 lint fix 2020-10-15 15:36:20 +02:00
kevmodrome 9f33cf4e6e adds file deletion button as well as confirmation modals to delete rows and delete image buttons 2020-10-15 15:35:27 +02:00
Martin McKeaveney f163027ca8 more auth bugfixes 2020-10-15 14:26:33 +01:00
mike12345567 dfe2d4069e Merge branch 'master' of github.com:Budibase/budibase into bug/fixing-more-bugs 2020-10-15 13:55:13 +01:00
mike12345567 e70c0f32c7 Some changes for authentication and getting rid of allScreens component of store as it was causing confusion and breakages. 2020-10-15 13:52:56 +01:00
Andrew Kingston 726e07cb3a Remove old param 2020-10-15 12:22:34 +01:00
Andrew Kingston edc11bf7bb Use named export for tableCache 2020-10-15 12:21:30 +01:00
Andrew Kingston 9d8cbaedbb Improve grid relationship handling of null or empty values 2020-10-15 12:16:32 +01:00
Martin McKeaveney f0f9015819 more filtering updates 2020-10-15 12:09:41 +01:00
Andrew Kingston 98d066ac33 Prevent editing relationship columns 2020-10-15 11:55:06 +01:00
Andrew Kingston 48a26348a2 Add more opinionated styling to relationship display in grid 2020-10-15 11:54:34 +01:00
Andrew Kingston 0b5f516485 Add support for rendering real relationships inside grid 2020-10-15 11:08:56 +01:00
Martin McKeaveney a23440c740 adding sum and count functionality, preventing user from doing bad filters 2020-10-15 10:48:57 +01:00
Martin McKeaveney a2f64a80a0 Merge branch 'master' of github.com:Budibase/budibase into martin-more-bugfixes 2020-10-15 09:29:59 +01:00
Michael Shanks 8f0be4c44c Merge remote-tracking branch 'origin/master' into mike-fixes 2020-10-15 09:18:04 +01:00
Andrew Kingston 7e30061abb Don't run terser in standard components in dev mode 2020-10-15 09:04:57 +01:00
Andrew Kingston 3172b3b479 Change create new web app button to black 2020-10-15 09:04:39 +01:00
Andrew Kingston 97c1f77c88 Fix cypress tests 2020-10-15 08:17:26 +01:00
Martin McKeaveney 988789f1d4 frontend bug fixes, remove bindable prop, add not equals filter 2020-10-14 21:43:36 +01:00
Michael Shanks 9ee36ef2c0 app screen routing - routes are no case insensitive 2020-10-14 20:54:07 +01:00
Michael Shanks 755349cc81 sort screens alphabetically 2020-10-14 20:48:24 +01:00
Andrew Kingston d5630760cc Rename usages of primary display column to just display column 2020-10-14 20:38:32 +01:00
Andrew Kingston db8e0b03c4 Add support for client app ID routing when serving on a LAN ip address 2020-10-14 20:33:09 +01:00
Andrew Kingston 532b72d070 Fix logout functionality 2020-10-14 20:28:02 +01:00
Andrew Kingston 008b59829b Merge branch 'more-bug-fixes' of github.com:Budibase/budibase into screen-updates 2020-10-14 20:16:01 +01:00
Andrew Kingston 55447f282d Add log out functionality 2020-10-14 20:12:41 +01:00
Andrew Kingston f9e6b3e5b4 Updating login component form error style slightly 2020-10-14 20:12:27 +01:00
Michael Drury 40325e39c3 Fixing an issue where linked record column deletion was not correctly removing relationships. 2020-10-14 20:05:13 +01:00
Andrew Kingston 64c1183b16 Merge branch 'master' of github.com:Budibase/budibase into screen-updates 2020-10-14 19:40:45 +01:00
Andrew Kingston 646c74bb08 Ignore column renaming if the rename has the same name 2020-10-14 19:40:27 +01:00
Andrew Kingston 472dded1fc Move primary display column option in to column popover 2020-10-14 19:40:01 +01:00
mike12345567 dbd6237e44 Fixing a bug where if you created a column without a name editting it would create another column and also adding an option to remove sorting from your table. 2020-10-14 18:04:21 +01:00
Martin McKeaveney 535c9febd5 fix for appid referer split 2020-10-14 17:30:00 +01:00
Andrew Kingston 3de238c66a Merge branch 'master' of github.com:Budibase/budibase into screen-updates 2020-10-14 17:09:50 +01:00
Andrew Kingston 3b01c6dd54 Remove deprecated nav component props 2020-10-14 17:08:12 +01:00
Andrew Kingston 6082783992 Add new gradient options 2020-10-14 17:07:40 +01:00
Andrew Kingston c09056fd68 Remove HR from settings view 2020-10-14 17:07:22 +01:00
Andrew Kingston e0c309850b Update default page templates 2020-10-14 17:06:58 +01:00
Andrew Kingston c5381a4766 Update Login component 2020-10-14 17:06:20 +01:00
Andrew Kingston 62091ce744 Update navigation component 2020-10-14 17:06:02 +01:00
Andrew Kingston b0171c1a9f Add translucent background to slot component 2020-10-14 17:05:29 +01:00
Martin McKeaveney 8132c77f8c don't show login component on logged in page, fix auth for app assets 2020-10-14 16:47:53 +01:00
Martin McKeaveney 802b05815d lint 2020-10-14 15:13:22 +01:00
Martin McKeaveney 4823e66fe9 merge 2020-10-14 15:08:54 +01:00
Martin McKeaveney 4be3014e91 update row_save event 2020-10-14 15:06:48 +01:00
Martin McKeaveney 79b50dc0b7 lint 2020-10-14 13:21:43 +01:00
Martin McKeaveney 2ae3191758 fix csv import 2020-10-14 13:09:03 +01:00
mike12345567 e33dd65768 Upgrading prettier svelte plugin until found a version that works for our formatting without breaking on some syntax. 2020-10-14 12:22:43 +01:00
mike12345567 7ee64e8abd Merge branch 'master' of github.com:Budibase/budibase into chuckles-fixes 2020-10-14 12:16:16 +01:00
mike12345567 e96098c5f4 Some design changes and moving around screen deletion to centralise it. 2020-10-14 11:56:02 +01:00
Andrew Kingston 2dce25c99a Remove console.log statement 2020-10-14 10:10:16 +01:00
Andrew Kingston 2fc44f03d0 Remove console.log statements 2020-10-14 10:06:33 +01:00
Andrew Kingston d2ac13a253 Fix grid not allowing adding rows due to model -> table rename 2020-10-14 09:53:27 +01:00
Andrew Kingston 3efac56f5d Fix errors being thrown when nesting certain components without picking a datasource 2020-10-14 09:39:49 +01:00
Andrew Kingston cf28ba24a3 Fix errors being thrown by grid and table 2020-10-14 09:34:23 +01:00
Andrew Kingston 7e162960f0 Improve grid and table rendering of any type of datasource 2020-10-14 09:23:20 +01:00
Martin McKeaveney 72746c6e07 fixing funky svelte prettier issue 2020-10-13 21:37:55 +01:00
Martin McKeaveney cb5c09d439 simplify user authentication, remove anon user, fix login cookie issues 2020-10-13 21:33:56 +01:00
Andrew Kingston 4ac83afb62 Fix data table and grid rendering views 2020-10-13 19:58:36 +01:00
mike12345567 23c8339827 Adding info to the table deletion about screens that will be deleted and deleted template screens when table deleted. 2020-10-13 19:37:52 +01:00
Andrew Kingston e50d33b7cb Add flex design property and fix existing default layout 2020-10-13 17:46:18 +01:00
mike12345567 0c2f48fd96 Adding 501 not implemented errors to screen API which did not have a controller previously. 2020-10-13 17:40:28 +01:00
Andrew Kingston 5a086d529b Merge branch 'master' of github.com:Budibase/budibase into cheeks-bugfixes 2020-10-13 17:27:46 +01:00
mike12345567 3e9836138b Removing deprecated function - exists. 2020-10-13 17:02:59 +01:00
Martin McKeaveney 14af18d27b fix issues from eslint plugin prettier 2020-10-13 16:33:45 +01:00
mike12345567 65a2da9091 Destroying instance DBs for an app before it is deleted. 2020-10-13 16:31:14 +01:00
Martin McKeaveney 2b3b41e778 bulk deletes on grid 2020-10-13 16:17:07 +01:00
Martin McKeaveney 8bac014955 optional chaining for backend ui models 2020-10-13 15:40:59 +01:00
Andrew Kingston 751e19c40e Fix checkbox depth in frontend settings 2020-10-13 14:29:32 +01:00
Martin McKeaveney c0d5be49f6 Merge branch 'master' of github.com:Budibase/budibase into bugz 2020-10-13 13:07:06 +01:00
Martin McKeaveney 5c7baf84c3 v0.2.1 2020-10-13 13:01:13 +01:00
Martin McKeaveney 55527784ed Merge branch 'master' of github.com:Budibase/budibase into bugz 2020-10-13 12:52:55 +01:00
Michael Drury b5671e467f Merge pull request #687 from Budibase/endpoint-renaming
Major update - renaming model to table and record to row
2020-10-13 12:17:54 +01:00
mike12345567 61ce6cb403 Updating yarn lock for server and fixing test case. 2020-10-13 11:50:19 +01:00
Andrew Kingston f9f939152a Update all old references in datasources from isModel to type=model 2020-10-13 11:27:18 +01:00
Andrew Kingston 93b0e815c2 Merge branch 'master' of github.com:Budibase/budibase into cheeks-bugfixes 2020-10-13 11:24:47 +01:00
mike12345567 76742d527a Updating test cases. 2020-10-13 11:19:34 +01:00
Martin McKeaveney 06c65cc89c removing z-index from checkbox 2020-10-13 11:18:34 +01:00
kevmodrome 2a8aebeb16 fixes height issue with grid component 2020-10-13 12:15:44 +02:00
Andrew Kingston b4ded22ac9 Fix crashing when rendering any components settings that uses a ScreenSelect 2020-10-13 11:11:59 +01:00
Martin McKeaveney fa6880f291 Merge branch 'master' of github.com:Budibase/budibase into bugz 2020-10-13 10:59:31 +01:00
Martin McKeaveney 7d8cb16824 prevent duplicate table names 2020-10-13 10:59:24 +01:00
mike12345567 a622d3c2f1 Fixing problem where something injected [object Object] into the source code? 2020-10-13 10:35:10 +01:00
mike12345567 9a38294449 Formatting codebase. 2020-10-13 10:04:29 +01:00
mike12345567 ca9012d07d Merge branch 'feat/linked-records-data-source' of github.com:Budibase/budibase into endpoint-renaming 2020-10-13 09:58:31 +01:00
mike12345567 5e9d32824c Merge branch 'feat/linked-records-data-source' of github.com:Budibase/budibase into endpoint-renaming 2020-10-13 09:58:08 +01:00
Andrew Kingston 0aeed3241e Remove random text 2020-10-13 09:51:43 +01:00
Andrew Kingston 652e3b43ed Remove console.log statement 2020-10-13 09:47:12 +01:00
Andrew Kingston fa59b05d74 Add back in sharp reference which was commented out 2020-10-13 09:42:44 +01:00
Andrew Kingston 0f862e3c66 Rename datasource prop from table to data for all components 2020-10-13 09:40:07 +01:00
Andrew Kingston ba616a7b36 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-13 09:24:13 +01:00
Andrew Kingston c76dccb66c Add relationships as possible datasource for grid 2020-10-13 09:22:47 +01:00
Andrew Kingston 3dacff4636 Fix create screen state by navigating to new URL when creating 2020-10-13 09:11:36 +01:00
Andrew Kingston 6307e9028c Fix state when deleting frontend screens 2020-10-13 09:07:09 +01:00
Andrew Kingston b60f86715d Fix state when deleting frontend components 2020-10-13 09:06:56 +01:00
kevmodrome d848b27319 lint fix 2020-10-13 09:54:10 +02:00
kevmodrome 06bc340ba9 Merge branch 'master' into feature/grid-functionality-additions 2020-10-13 09:51:20 +02:00
kevmodrome 010a59d8cb adds pagination option 2020-10-13 09:51:01 +02:00
Andrew Kingston 5af85541ec Fix ModelSelect styles in frontend settings 2020-10-13 08:26:13 +01:00
Andrew Kingston 42f4bcc339 Fix crashing when adding a frontend component after deleting one 2020-10-13 08:20:32 +01:00
Martin McKeaveney dadebf684e Merge pull request #709 from Budibase/replace-screen-template-datatable
Replace screen template datatable
2020-10-13 08:16:31 +01:00
kevmodrome 5963314b6c adds height option to grid component 2020-10-13 09:13:56 +02:00
Andrew Kingston bf7356b508 Fix another random builder crash that sometimes happens 2020-10-13 08:12:29 +01:00
Andrew Kingston d7ab7c6ec9 Fix grid crash when there are no related rows in a link field 2020-10-13 08:12:03 +01:00
Michael Shanks 9e6b116ae3 Merge branch 'master' of github.com:Budibase/budibase into master 2020-10-12 21:36:29 +01:00
Andrew Kingston ae63877d67 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 21:35:51 +01:00
Michael Shanks 9bc80abbaa analytics - missing await, causing event not to be logged 2020-10-12 21:35:10 +01:00
mike12345567 416a7598c6 Updating data grid components which had model/record still defined in them. 2020-10-12 21:31:58 +01:00
Martin McKeaveney 99500cb123 remove screen1 from dummy data 2020-10-12 21:22:23 +01:00
Martin McKeaveney feb7d096db replace list template screen with datagrid 2020-10-12 21:21:23 +01:00
Martin McKeaveney f31352ad49 convenience scripts for restoring budibase installations 2020-10-12 20:39:29 +01:00
Martin McKeaveney 20301cb883 merge with new grid 2020-10-12 20:25:15 +01:00
kevmodrome a9d09ea770 fix yarn lock file 2020-10-12 20:56:09 +02:00
kevmodrome 9923266c51 fix editable header column not hiding when grid is un-editable 2020-10-12 20:44:40 +02:00
kevmodrome 41e23e78ce add back missing param to validate call on record post route 2020-10-12 20:37:41 +02:00
Andrew Kingston 9f3eef5b8c Fix crash when no linked records in DataTable 2020-10-12 18:47:25 +01:00
mike12345567 b0cea4c091 Updating formatting. 2020-10-12 17:56:40 +01:00
kevmodrome 3cd2cdb722 lint fixes 2020-10-12 18:54:18 +02:00
mike12345567 51ed75978b Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 17:45:11 +01:00
kevmodrome 277ab59647 Merge branch 'master' into feature/add-grid-to-standard-components 2020-10-12 18:43:22 +02:00
kevmodrome b0bd9ae135 sets correct editable values on fields 2020-10-12 18:42:47 +02:00
Michael Drury a20c9ffcbb Merge pull request #706 from Budibase/bug/table-changes-fix
Bug/table changes fix
2020-10-12 17:32:59 +01:00
mike12345567 1dea4f24b7 Handling empty relationship column the same way other columns are handled, it won't do anything until it is valid - but doesn't error. 2020-10-12 17:02:52 +01:00
mike12345567 352ff82885 Improving consistency of model saving, making sure that any validation which could fail happens before any updates are carried out. 2020-10-12 16:51:41 +01:00
mike12345567 8df3a3f8de Fixes for deleting records when a table is deleted. 2020-10-12 16:37:08 +01:00
Michael Shanks f1604992db Merge pull request #703 from mjashanks/fixes
Some Fixes
2020-10-12 16:34:48 +01:00
Andrew Kingston 0ec10acc43 Update pagination to handle any number of pages 2020-10-12 16:33:38 +01:00
Michael Shanks 26b2fda616 code reivew - unused code 2020-10-12 16:28:37 +01:00
Michael Shanks 376b8b40d7 fix: Default props were mutated - cause very strange issue with event handlers 2020-10-12 16:27:34 +01:00
Michael Shanks 98138296c7 unused "options" member in prop types 2020-10-12 16:26:54 +01:00
Michael Shanks cc8a53f40b Analytics - record screen template used 2020-10-12 15:51:03 +01:00
Michael Shanks 4a32c7981a fix: view filter displaying incorrect options 2020-10-12 15:32:49 +01:00
mike12345567 12242cf6b2 Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 15:25:27 +01:00
Andrew Kingston c1b047af0c Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 15:20:32 +01:00
Andrew Kingston 1f7ddbfa65 Fix style and alignment of various frontend design and settings components 2020-10-12 15:14:34 +01:00
Andrew Kingston 7af86f089d Improve style of frontend settings placeholder text 2020-10-12 15:14:11 +01:00
Andrew Kingston 50b7b47527 Improve style of ModelViewSelect and fix text wrapping 2020-10-12 15:13:38 +01:00
Andrew Kingston 0961812b56 Improve frontend settings and design panel scrolling and panel styling 2020-10-12 15:12:48 +01:00
Michael Shanks d24b13f364 Merge branch 'url-detail' into fixes 2020-10-12 15:10:31 +01:00
Michael Shanks 999e86f69c Merge branch 'master' into fixes 2020-10-12 15:10:21 +01:00
Michael Shanks d916de9b7f Settings >URL select handles Record detail urls 2020-10-12 14:48:30 +01:00
mike12345567 9841aab689 Fixes the link doc ID so that they do not start with automation ID and fixes an error that was occurring when creating tables. 2020-10-12 14:31:17 +01:00
Andrew Kingston dfd6a4d856 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 14:21:39 +01:00
Andrew Kingston 3c8502187f Fix relational data in client apps and use count for link fields in client apps 2020-10-12 14:21:15 +01:00
Andrew Kingston 959aa3ff60 Fix linked record selector rendering in client apps 2020-10-12 14:19:54 +01:00
Andrew Kingston f1f757054e Replace bindings to link fields with new count runtime property 2020-10-12 14:14:50 +01:00
mike12345567 c8ab9f7661 Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 13:54:34 +01:00
Martin McKeaveney 2ca3bf1be9 Merge pull request #692 from Budibase/external-webhooks
support for external webhooks
2020-10-12 13:53:55 +01:00
Martin McKeaveney e2cb669259 Merge pull request #693 from Budibase/design-props---font-family-and-image-background---tidy-up
Typography, background, and transition props fix
2020-10-12 13:53:42 +01:00
mike12345567 cfd4d9d34d Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 13:34:32 +01:00
Martin McKeaveney c5efdbc3d0 adding auth object to context rather than separate booleans 2020-10-12 13:32:52 +01:00
Joe 95d532922d Typography, background, and transition props fix
Broken fonts removed
Minor tidy-ups around background props
Fixed transition duration prop
2020-10-12 12:50:59 +01:00
kevmodrome d6136ec233 merge master 2020-10-12 12:58:20 +02:00
Martin McKeaveney 1f92c9cd14 support for external webhooks 2020-10-12 11:57:37 +01:00
kevmodrome ac6c4869a1 merge master 2020-10-12 12:56:27 +02:00
Andrew Kingston 0ac8a33210 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 11:26:04 +01:00
Andrew Kingston f82161517e Remove buggy transition when displaying frontend blocks 2020-10-12 11:25:56 +01:00
Michael Shanks db72579f85 Merge pull request #681 from mjashanks/screen-templates
Screen templates
2020-10-12 11:09:15 +01:00
Andrew Kingston 0f80428a23 Fix falsey table values not being rendered 2020-10-12 11:02:03 +01:00
Michael Shanks 8ad2df14af renamed screen template 2020-10-12 10:59:23 +01:00
kevmodrome 6cc81349ed bump svelte-ag-grid and and actually apply theme class to element 2020-10-12 11:59:20 +02:00
Andrew Kingston 55573b7e32 Remove console log statement 2020-10-12 10:51:57 +01:00
Michael Shanks f5086990dd fix: New & Detail not displaying components when no model selected 2020-10-12 10:51:20 +01:00
Michael Shanks 74115bb2c9 fix: screen settings not updating 2020-10-12 10:50:51 +01:00
Andrew Kingston d5bf44bba1 Remove console log 2020-10-12 10:50:29 +01:00
Michael Shanks 67b99ec5d8 review: better naming of screen templates 2020-10-12 10:50:19 +01:00
Andrew Kingston 339bb8b76c Fix images and lots of other string escaping not working 2020-10-12 10:49:21 +01:00
Michael Drury 058149981e Merge pull request #684 from Budibase/link-record-performance
Small change that drastically improves the performance of linked records
2020-10-12 10:47:57 +01:00
kevmodrome 5bafa97c40 turns off some functionality and adds theme options 2020-10-12 11:44:43 +02:00
mike12345567 512b7e78c0 Formatting code - was causing PR to fail. 2020-10-12 10:41:25 +01:00
mike12345567 03584cacb2 Using lodash flatten rather than pure JS. 2020-10-12 10:28:53 +01:00
Michael Shanks 52f6c73be8 code review changes 2020-10-12 09:42:48 +01:00
mike12345567 d8f3a2ef17 Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 09:41:42 +01:00
Michael Shanks 0c0887382d fix: no fields required by default 2020-10-11 20:42:30 +01:00
Michael Shanks 7c01959da1 merge from master 2020-10-11 20:34:13 +01:00
Martin McKeaveney 979422be52 Merge branch 'master' into deployment-api-usage 2020-10-09 21:43:28 +01:00
Martin McKeaveney 64b378364a deployment API usage complete 2020-10-09 21:42:20 +01:00
mike12345567 c3380d8ab4 Fixing some bugs with JWT creation not getting an API key. 2020-10-09 20:44:35 +01:00
mike12345567 abbf7fcc02 Merge branch 'link-record-performance' of github.com:Budibase/budibase into endpoint-renaming 2020-10-09 20:18:46 +01:00
mike12345567 efce1c839e Major performance boost to attachLinks -> makes CSV upload much more snappy. 2020-10-09 20:06:54 +01:00
mike12345567 dc9552dbad Updating tests and re-formatting. 2020-10-09 19:30:50 +01:00
mike12345567 763f7b3321 Updating ID to use ro rather than re for rows. 2020-10-09 19:16:33 +01:00
mike12345567 5d49d529e3 Changing record -> row in this update, completing the update of renaming in the builder, this release needs further testing. 2020-10-09 19:10:28 +01:00
mike12345567 fdaa69ee7f Renaming Model -> Table across the entire system, this is an unstable update and has not been tested fully yet. 2020-10-09 18:49:23 +01:00
Martin McKeaveney 4ec6fc4a52 Merge branch 'api-usage-tracking' of github.com:Budibase/budibase into deployment-api-usage 2020-10-09 17:42:17 +01:00
mike12345567 89d02357b8 Making sure any errors that occur in usage quota are thrown up to stop endpoint from functioning. 2020-10-09 17:28:49 +01:00
Michael Shanks 79c890519a :app to _app : bugfix 2020-10-09 17:14:02 +01:00
Michael Shanks 127ce3b59d renaming Record > Row 2020-10-09 17:12:55 +01:00
Martin McKeaveney 055aafa503 updated quota fixes 2020-10-09 17:07:46 +01:00
mike12345567 2811c78d82 Merge branch 'master' of github.com:Budibase/budibase into api-usage-tracking 2020-10-09 14:38:11 +01:00
kevmodrome ad5103786d re-enable event 2020-10-09 13:48:36 +02:00
Andrew Kingston 4b1549a04e Fix issue displaying linked records in a table 2020-10-09 12:42:56 +01:00
Andrew Kingston 4ef8929462 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-09 12:34:25 +01:00
Andrew Kingston 009d04a0a5 Add relationships as data source 2020-10-09 12:24:18 +01:00
kevmodrome 420c94dd00 Merge branch 'master' into feature/add-grid-to-standard-components 2020-10-09 13:08:03 +02:00
Michael Shanks db22d8862a merge from master 2020-10-09 12:01:49 +01:00
Michael Shanks 67845b1c82 auto create screens with new table 2020-10-09 11:58:46 +01:00
kevmodrome a117a18d0f adds editable setting 2020-10-09 12:42:16 +02:00
Martin McKeaveney e1c09e2b6b Merge branch 'api-usage-tracking' of github.com:Budibase/budibase into deployment-api-usage 2020-10-09 11:32:50 +01:00
mike12345567 4584257007 Adding in default plan if the obj found does not have the required information. 2020-10-09 11:32:25 +01:00
mike12345567 c280586b9b Merge branch 'master' of github.com:Budibase/budibase into api-usage-tracking 2020-10-09 11:21:26 +01:00
Martin McKeaveney 05206b6049 Merge branch 'api-usage-tracking' of github.com:Budibase/budibase into deployment-api-usage 2020-10-09 11:21:03 +01:00
Martin McKeaveney f54062575b use centralised document types and separators 2020-10-09 10:50:44 +01:00
Martin McKeaveney aef74c937e code review 2020-10-09 10:46:38 +01:00
kevmodrome a061d1d5b1 move important stuff up top 2020-10-09 11:43:35 +02:00
kevmodrome 2e3d8d9c16 refactor and clean up 2020-10-09 11:35:52 +02:00
kevmodrome 9ab83a08a6 adds options type support to grid component 2020-10-09 11:23:42 +02:00
mike12345567 325e291222 Removing sanisation, instead just using it as a central path system. 2020-10-09 10:00:57 +01:00
mike12345567 eea0bc5fb9 Update to IDs as has been discussed, to change them from colons (:) to underscores (_) as this is more URL, S3 and file system safe. Also shortening most prefixes down to two characters. 2020-10-09 09:47:37 +01:00
Michael Shanks a417a4906b bugfix - appId not recognised in static.js controller 2020-10-08 22:31:27 +01:00
Michael Shanks 4a13be8cf8 merge from master 2020-10-08 22:11:45 +01:00
Michael Shanks 2e76e1f0f4 Save Record Action 2020-10-08 22:06:44 +01:00
Martin McKeaveney 346c4bd406 remove log 2020-10-08 21:52:26 +01:00
Martin McKeaveney 3080dc0658 use underscores instead of colons, shorten id entity names 2020-10-08 21:50:49 +01:00
Martin McKeaveney e4528a8745 Merge branch 'master' of github.com:Budibase/budibase into deployment-api-usage 2020-10-08 21:16:16 +01:00
Martin McKeaveney e3a9eae679 lint and tidy up 2020-10-08 21:16:06 +01:00
Martin McKeaveney 3715c2bf36 removing retry param 2020-10-08 21:11:10 +01:00
Martin McKeaveney 1fd8d559aa v0.2.0 2020-10-08 20:32:50 +01:00
Martin McKeaveney 8dd32c6f6b fixing optional chaining operator in standard components 2020-10-08 20:31:13 +01:00
Martin McKeaveney 3994816c69 tidy up 2020-10-08 20:23:58 +01:00
mike12345567 a54ca6ac39 Fixing linting issue. 2020-10-08 18:36:31 +01:00
mike12345567 552c31a53e Updates for API usage after testing against local Dynamo. 2020-10-08 17:34:41 +01:00
kevmodrome 38e42c0e9e fix optional chaining error and adds guard for no model selected. 2020-10-08 17:45:47 +02:00
Michael Shanks 027819bae0 merge from master - including fixes 2020-10-08 16:15:12 +01:00
Michael Shanks a3bd28d99f screen templates - backup before merge from master 2020-10-08 15:46:29 +01:00
kevmodrome d9c8e6cd96 update svelte version in builder and standard-components packages 2020-10-08 16:24:21 +02:00
kevmodrome 93de461272 add dateRenderer 2020-10-08 16:23:13 +02:00
Martin McKeaveney ee73c7f418 update deployment quota after deploy 2020-10-08 15:06:27 +01:00
Michael Shanks f6d2e48dcc Screen Template - pre merge 2020-10-08 14:53:39 +01:00
kevmodrome e43dc488e4 move renderer map to separate file 2020-10-08 15:34:47 +02:00
kevmodrome da32029c31 fix delete functionality 2020-10-08 14:45:50 +02:00
kevmodrome 480a73997d merge master 2020-10-08 14:37:57 +02:00
mike12345567 1bf3b708fd Merge branch 'linked-records' of github.com:Budibase/budibase into api-usage-tracking 2020-10-08 13:30:18 +01:00
mike12345567 4ccd76fb5b Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-08 12:29:09 +01:00
mike12345567 69a1c13793 Using array de-structuring as per review. 2020-10-08 12:28:59 +01:00
Andrew Kingston 735de553d2 Update linked record selector to handle errors and remove loading state flashing 2020-10-08 12:21:05 +01:00
Andrew Kingston fbb7bf7413 Fixing cypress tests 2020-10-08 11:36:16 +01:00
Martin McKeaveney 39d2adb9e3 hitting deployment success endpoint 2020-10-08 10:56:32 +01:00
Andrew Kingston 9c6dbae7d5 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-08 10:43:09 +01:00
Andrew Kingston 9a8c659b79 Unify DataForm and DataFormWide by using single component with BBUI styles 2020-10-08 10:42:53 +01:00
Andrew Kingston 917bf47925 Fix crashing on creating a record with fields of type link or options due to coercing values 2020-10-08 10:42:14 +01:00
Andrew Kingston fa1836ad23 Improve relationship datatable title when no primary display is selected for a model 2020-10-08 10:41:20 +01:00
Andrew Kingston 7a08c5584d Remove console log statement 2020-10-08 10:40:46 +01:00
Andrew Kingston 1c559978e9 Fix relationship view when viewing fields with spaces in their name 2020-10-08 10:32:17 +01:00
Andrew Kingston ff4f7b31e3 Fix styles in event editor modal 2020-10-08 09:48:24 +01:00
Andrew Kingston ee6c210e67 Fix frontend crashing when adding components to a data provider component with no source 2020-10-08 09:48:03 +01:00
Andrew Kingston d24679bc33 Move modal to BBUI and update usages 2020-10-08 09:35:11 +01:00
Andrew Kingston 40d1d15b8e Bump electron to v10 2020-10-08 09:34:45 +01:00
Andrew Kingston 1b1c0c4e8f Bump BBUI version 2020-10-08 09:34:22 +01:00
Michael Shanks ae0069fa5d RecordDetail & NewRecord now baseComponents 2020-10-07 22:30:51 +01:00
Michael Shanks 716f42deab Screen templates working 2020-10-07 22:30:00 +01:00
Martin McKeaveney 3dca82a5ff check that deployment is possible using lambda API 2020-10-07 20:37:55 +01:00
mike12345567 922e214dca Fixing up middleware to handle uploads, views, records, automation runs and users. 2020-10-07 17:56:47 +01:00
kevmodrome c3a87880c1 Merge branch 'master' into feature/add-grid-to-standard-components 2020-10-07 16:48:59 +02:00
kevmodrome 3225b5bbdc merge master 2020-10-07 16:47:35 +02:00
mike12345567 106badc9c6 Merge branch 'linked-records' of github.com:Budibase/budibase into api-usage-tracking 2020-10-07 15:41:39 +01:00
Michael Shanks 7fbee8b724 Merge branch 'master' of github.com:Budibase/budibase into master 2020-10-07 15:40:24 +01:00
Michael Shanks 77552a0747 Screen templates - initial commit 2020-10-07 15:40:06 +01:00
mike12345567 25cc60aa94 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-07 14:48:20 +01:00
mike12345567 47d3cd3000 Removing .orig file created by merge. 2020-10-07 13:33:21 +01:00
Andrew Kingston fff39f65e5 Change create table popover to modal to better support data import which can be long 2020-10-07 12:40:00 +01:00
Andrew Kingston a24ce26953 Remove padding on top nav bar so that things are properly centered 2020-10-07 12:00:15 +01:00
mike12345567 a72d8e42ad Sanitising the paths to the couchDB data directories. 2020-10-07 11:42:28 +01:00
Andrew Kingston b9c9408c7c Fix create automation modal 2020-10-07 11:38:05 +01:00
Andrew Kingston 4bcc50ee85 Change live animation color from purple to black 2020-10-07 11:37:55 +01:00
Andrew Kingston 97e9883d85 Fix table cypress tests 2020-10-07 11:23:47 +01:00
Andrew Kingston 7c67f18965 Fix cypress automation tests 2020-10-07 11:18:46 +01:00
Andrew Kingston 475d811e5b Fix layout by removing extra columns from grid layout css 2020-10-07 11:17:01 +01:00
Andrew Kingston e38985e111 Remove duplicate select element 2020-10-07 11:16:36 +01:00
Andrew Kingston 8582d63a75 Update styles of data import to match BBUI components 2020-10-07 11:16:06 +01:00
mike12345567 2c3566f686 Adding a regex to allow certain paths with : on windows. 2020-10-07 11:04:36 +01:00
Andrew Kingston 3dc30262d7 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-07 10:45:26 +01:00
mike12345567 2f58b2b81e Quick change after diffing and looking through everything. 2020-10-07 09:58:32 +01:00
kevmodrome 6c173ac6b3 fixes editable cell bug 2020-10-07 10:06:23 +02:00
mike12345567 13c9be4ea3 Adding a basic sanitise path function and fixing up use cases of appId filesystem paths throughout the system. 2020-10-07 00:24:56 +01:00
Michael Shanks 46cd413c58 removed .orig files 2020-10-06 21:45:12 +01:00
Michael Shanks 210062cbac merge conflicts - from master 2020-10-06 21:43:54 +01:00
Michael Shanks ed8371c41f a few changes from code review 2020-10-06 21:37:10 +01:00
Martin McKeaveney f5102d95bb v0.1.25 2020-10-06 21:23:02 +01:00
Martin McKeaveney 7b3ca245cc updating replication stream dependency 2020-10-06 21:10:49 +01:00
Martin McKeaveney 47993f2bd1 v0.1.24 2020-10-06 20:35:11 +01:00
Martin McKeaveney 6e65511613 Merge pull request #664 from Budibase/data-import
Data import
2020-10-06 20:24:34 +01:00
Martin McKeaveney e40cb3ac69 fixing test 2020-10-06 20:18:05 +01:00
mike12345567 72de4dcab4 First work towards implementing Dynamo usage in the server when running in the cloud; this is for tracking usage against API keys. 2020-10-06 19:13:41 +01:00
Andrew Kingston ea7e17ce60 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-06 18:03:43 +01:00
Andrew Kingston 1fb5804d32 Add support for displaying linked record counts in List and RecordDetail 2020-10-06 18:01:23 +01:00
Andrew Kingston e15e86b9e1 Add linked records to dataforms and use BBUI components and pretty errors 2020-10-06 16:46:23 +01:00
Andrew Kingston 7207bc275e Remove console log statement 2020-10-06 16:40:23 +01:00
Andrew Kingston 63635f3642 Use real schema for datatable rather than first row's keys 2020-10-06 16:39:24 +01:00
Andrew Kingston a12ddaaf08 Add default file prop to AttachmentList to prevent crashing when no files exist 2020-10-06 16:22:11 +01:00
Andrew Kingston 9287b16598 Add support for displaying linked records in DataTable 2020-10-06 16:05:52 +01:00
Andrew Kingston 49875d5c42 Fix a couple of crashes in frontend when doing various actions and fix record detail view 2020-10-06 16:04:58 +01:00
Andrew Kingston 013d812a52 Bump BBUI version 2020-10-06 16:03:49 +01:00
Andrew Kingston 959450d615 Delete old multiselect component 2020-10-06 16:03:17 +01:00
Andrew Kingston 517fb201ec Move multiselect to BBUI 2020-10-06 16:02:48 +01:00
Michael Shanks b9108f013d missing dependency 2020-10-05 21:21:00 +01:00
Michael Shanks a28a327da7 Merge branch 'master' into fixes 2020-10-05 21:17:01 +01:00
Michael Shanks b51942f0f8 broken test 2020-10-05 21:15:10 +01:00
Michael Shanks c0e008181d broken tests 2020-10-05 20:58:07 +01:00
Martin McKeaveney 5e6cbe3b6d cleaner parsing 2020-10-05 19:21:51 +01:00
mike12345567 196f0b380d Minor update to remove send grid from the API component of the builder and make them part of the automation itself. 2020-10-05 17:45:31 +01:00
Michael Shanks e4d4e2cd1c API Key - Changed placholder to instruct Command V
(as the right-click menu does not work in electron)
2020-10-05 17:41:16 +01:00
Michael Shanks 775aa0e92c Metrics - event props not populating correctly 2020-10-05 17:28:44 +01:00
Michael Shanks 267e8e39aa Coerse record fields, to be a bit more tolerant of data input 2020-10-05 17:28:23 +01:00
Martin McKeaveney ea950748e5 styling updates after review 2020-10-05 15:26:31 +01:00
Martin McKeaveney dd9eb9bb6a merge 2020-10-05 15:08:53 +01:00
Martin McKeaveney c3a5d964bc tidy up 2020-10-05 14:43:34 +01:00
Martin McKeaveney 3a460429a0 adding nice loading states 2020-10-05 14:07:39 +01:00
Andrew Kingston 921d63eea1 Fix null referencce in ModelViewSelect 2020-10-05 14:02:33 +01:00
Andrew Kingston 16faa00189 Stop notifications blocking all pointer events across full width 2020-10-05 14:00:26 +01:00
Andrew Kingston 50e8159644 Fix more cypress tests 2020-10-05 12:37:03 +01:00
Andrew Kingston 701786dc25 Merge template and index page styles with new BBUI 2020-10-05 12:20:59 +01:00
Andrew Kingston 68a03eceb4 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-05 12:20:26 +01:00
Martin McKeaveney 140233960e unit tests for csv parser 2020-10-05 11:48:13 +01:00
Andrew Kingston a23967364b Fix cypress texts and update use of modal 2020-10-05 11:13:09 +01:00
mike12345567 3ad58c2aa7 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-05 10:52:35 +01:00
Martin McKeaveney b754fc3f07 account for omitted rows 2020-10-05 10:51:58 +01:00
mike12345567 03b9b3cec2 Merge branch 'master' of github.com:Budibase/budibase into remove-views 2020-10-05 10:04:23 +01:00
mike12345567 b78c84cf2e Fixing an issue that a test case raised. 2020-10-05 09:59:03 +01:00
mike12345567 0db876ad53 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-05 09:45:38 +01:00
Andrew Kingston f5ed9b9f32 Fix get views endpoint returning built in by_link view 2020-10-04 17:59:49 +01:00
Andrew Kingston 537c5a81e0 Fix record patch function 2020-10-04 17:59:20 +01:00
Andrew Kingston 9eb15beb1c Standardise dropdownmenus in frontend page 2020-10-04 17:10:32 +01:00
Andrew Kingston 7a51963ac5 Update data export with new DB view structure and linked records 2020-10-03 21:07:59 +01:00
Andrew Kingston 261c3da459 Update backend export popover to be line with new popover structure 2020-10-03 21:06:58 +01:00
Andrew Kingston 501d4638a7 Improve notification styles 2020-10-02 21:06:37 +01:00
Andrew Kingston b8c5813d65 Add default props to confirm dialogue to silence warnings 2020-10-02 21:06:06 +01:00
Andrew Kingston bfec3327fb Remove deprecated portal implementation 2020-10-02 20:42:10 +01:00
Andrew Kingston 27c3e6c9e9 Replace all usages of simple-modal with new modal 2020-10-02 20:41:21 +01:00
Andrew Kingston 93cc0ad26d Remove unused imports 2020-10-02 20:39:39 +01:00
Andrew Kingston 927fc40454 Update automations page to use new modal 2020-10-02 19:10:37 +01:00
Andrew Kingston 50d8d12d5e Fix bug with deleting automations 2020-10-02 19:09:44 +01:00
Andrew Kingston aa142d493a Disable modal confirm button while async callbacks are being processed to avoid multiple executions 2020-10-02 19:09:19 +01:00
Andrew Kingston 63d2e77603 Fix error box styles 2020-10-02 18:49:00 +01:00
Andrew Kingston 3ba591ef77 Adjust modal styles 2020-10-02 18:37:24 +01:00
Andrew Kingston eea35b6dfb Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-02 18:35:27 +01:00
mike12345567 5ac0b5f7c8 Fixing cypress test broken by automation fixes. 2020-10-02 17:15:57 +01:00
mike12345567 4ec17df0d5 Fixing cypress test broken by automation fixes. 2020-10-02 17:15:27 +01:00
mike12345567 0939096cb9 Merge branch 'remove-views' of github.com:Budibase/budibase into linked-records 2020-10-02 17:02:37 +01:00
mike12345567 be833d66bb Fixing test case broken by automation save record -> create record. 2020-10-02 17:02:18 +01:00
Andrew Kingston 2fa42d194b Fix multiselect crashing in certain circumstances 2020-10-02 16:53:41 +01:00
mike12345567 cb89f1199b Fixing an issue with linked records showing up as models after id changes. 2020-10-02 16:49:36 +01:00
Andrew Kingston 27d41069cb Remove double 'no data' in empty tables 2020-10-02 16:48:01 +01:00
Martin McKeaveney 016f49ac5a merge 2020-10-02 16:45:59 +01:00
Andrew Kingston 8706561bd4 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-02 16:43:08 +01:00
mike12345567 e43e0e100b Some quick automation fixes. 2020-10-02 16:42:47 +01:00
Andrew Kingston 1939015273 Add final version of multiselect 2020-10-02 16:38:33 +01:00
Martin McKeaveney 2120ed99c1 v0.1.23 2020-10-02 16:24:39 +01:00
Martin McKeaveney 5e86076530 CSV Import end to end 2020-10-02 16:16:06 +01:00
mike12345567 a32ec9ece0 Some quick fixes after merge. 2020-10-02 15:49:13 +01:00
Michael Shanks dd31e19400 fix: Navigate To & Other Actions broken 2020-10-02 14:52:45 +01:00
mike12345567 4d8b1ecc10 Merge branch 'remove-views' of github.com:Budibase/budibase into linked-records 2020-10-02 14:49:23 +01:00
mike12345567 7594b17ec7 Changing the function that all get params builder functions are composed of to be better named. 2020-10-02 14:19:39 +01:00
Michael Shanks 3e1e865bb4 record value coersion - untested 2020-10-02 14:14:58 +01:00
kevmodrome 66bb4bdebf merge master 2020-10-02 14:39:00 +02:00
mike12345567 89f966632f Some more test case fixes. 2020-10-02 13:04:44 +01:00
mike12345567 60cb080189 Fix for an issue detected by user test case. 2020-10-02 12:52:15 +01:00
mike12345567 0db7768e5d Adding jsdoc to the db utils and removing the views, this is a breaking change for existing apps. 2020-10-02 12:37:46 +01:00
Andrew Kingston 95e95adfc8 Add close icon to modals 2020-10-02 12:27:52 +01:00
Andrew Kingston 1c86753d00 Update settings to use new modal 2020-10-02 12:22:49 +01:00
Andrew Kingston 7583dfc711 Add wide prop for modals 2020-10-02 12:22:34 +01:00
Andrew Kingston c062111403 Rename linked rows to related rows and remove deprecated file 2020-10-02 12:02:11 +01:00
Andrew Kingston 34373fc0dd Add new modal to backend and fix backend file structure 2020-10-02 12:00:17 +01:00
Michael Shanks 8e528a6160 mask user password on new app 2020-10-02 10:39:56 +01:00
Michael Shanks 70a6fabcd0 unused imports 2020-10-02 10:07:43 +01:00
kevmodrome 401959d8c8 data now syncs in the grid 2020-10-02 10:12:18 +02:00