Commit Graph

2633 Commits

Author SHA1 Message Date
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