Commit Graph

3041 Commits

Author SHA1 Message Date
Michael Shanks 24c8510856 Merge remote-tracking branch 'origin/master' into mike-fixes 2020-10-15 19:14:21 +01:00
Michael Shanks 7de3351b23 generate css before saving screen 2020-10-15 19:13:48 +01:00
kevmodrome db2946d360
url now takes the same format as in other components 2020-10-15 20:10:06 +02:00
kevmodrome f3a759f968
lint fixes 2020-10-15 20:06:26 +02:00
kevmodrome 67e575bd94
minor fixes 2020-10-15 20:05:55 +02:00
kevmodrome b9a55d7033
adds detail link column to grid component 2020-10-15 19:59:46 +02:00
Andrew Kingston 30e7cf8b55 Merge branch 'master' of github.com:Budibase/budibase into autoscreen-templates 2020-10-15 18:30:34 +01:00
mike12345567 99b5efc40f Formatting. 2020-10-15 18:11:36 +01:00
mike12345567 ca5f5f44ac 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 8a8762760a
starts work on adding view details link to grid component 2020-10-15 18:54:08 +02:00
Martin McKeaveney 6d22dd40cf updating test snapshots 2020-10-15 17:53:06 +01:00
Martin McKeaveney e300134186 lint 2020-10-15 17:05:09 +01:00
Martin McKeaveney 780547c1d3 Merge branch 'master' of github.com:Budibase/budibase into martin-more-bugfixes 2020-10-15 17:02:32 +01:00
Martin McKeaveney 2308814e85 fix cloudfront invalidations 2020-10-15 16:59:57 +01:00
Andrew Kingston 6866653032 Improve login component logo styles 2020-10-15 16:37:50 +01:00
Andrew Kingston edb8cc2f52 Fix issue with trailing comma 2020-10-15 16:30:18 +01:00
kevmodrome 3765b4a463
fixes jumpy behaviour when selecting rows 2020-10-15 16:24:03 +02:00
kevmodrome c4681f2058
removes add row button on grid component 2020-10-15 16:15:28 +02:00
Martin McKeaveney e66b013d10 merge 2020-10-15 15:12:54 +01:00
Martin McKeaveney ac0413eefd allow users to remove a calculation 2020-10-15 15:02:22 +01:00
kevmodrome d265f1fce6
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 cc885f4852
adds stopPropagation modifier to delete file button 2020-10-15 15:58:21 +02:00
Kevin Åberg Kultalahti 41208e513a
Merge branch 'master' into feature/add-delete-button-to-attachments 2020-10-15 15:54:43 +02:00
kevmodrome 1062817cdb
adjust button size 2020-10-15 15:51:50 +02:00
Martin McKeaveney 1238f85890 replacing pathname 2020-10-15 14:46:24 +01:00
kevmodrome 30cab52613
removes commented out code 2020-10-15 15:46:24 +02:00
kevmodrome cd0012c536
sets pagination default to true in grid component 2020-10-15 15:45:12 +02:00
Martin McKeaveney fab9f8f1c8 merge from master 2020-10-15 14:41:29 +01:00
kevmodrome cd091efcf7
lint fix 2020-10-15 15:36:20 +02:00
kevmodrome 50d9c3c80e
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 8a936e0927 more auth bugfixes 2020-10-15 14:26:33 +01:00
mike12345567 42225e4f58 Merge branch 'master' of github.com:Budibase/budibase into bug/fixing-more-bugs 2020-10-15 13:55:13 +01:00
mike12345567 bbe085f734 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 0c78b4cd43 Remove old param 2020-10-15 12:22:34 +01:00
Andrew Kingston f058fd9f7c Use named export for tableCache 2020-10-15 12:21:30 +01:00
Andrew Kingston 81ca0fdd1c Improve grid relationship handling of null or empty values 2020-10-15 12:16:32 +01:00
Martin McKeaveney 3ba8f19e7f more filtering updates 2020-10-15 12:09:41 +01:00
Andrew Kingston 2c611574e3 Prevent editing relationship columns 2020-10-15 11:55:06 +01:00
Andrew Kingston 754ccf0e79 Add more opinionated styling to relationship display in grid 2020-10-15 11:54:34 +01:00
Andrew Kingston a1543e0b4f Add support for rendering real relationships inside grid 2020-10-15 11:08:56 +01:00
Martin McKeaveney 11927d2340 adding sum and count functionality, preventing user from doing bad filters 2020-10-15 10:48:57 +01:00
Martin McKeaveney 6204a7c622 Merge branch 'master' of github.com:Budibase/budibase into martin-more-bugfixes 2020-10-15 09:29:59 +01:00
Michael Shanks 58b0d2221e Merge remote-tracking branch 'origin/master' into mike-fixes 2020-10-15 09:18:04 +01:00
Andrew Kingston 4732c55242 Don't run terser in standard components in dev mode 2020-10-15 09:04:57 +01:00
Andrew Kingston 295b65c9e3 Change create new web app button to black 2020-10-15 09:04:39 +01:00
Andrew Kingston b81dac0a11 Fix cypress tests 2020-10-15 08:17:26 +01:00
Martin McKeaveney 3abf7daa73 frontend bug fixes, remove bindable prop, add not equals filter 2020-10-14 21:43:36 +01:00
Michael Shanks 3914d63dee app screen routing - routes are no case insensitive 2020-10-14 20:54:07 +01:00
Michael Shanks 38e052c429 sort screens alphabetically 2020-10-14 20:48:24 +01:00
Andrew Kingston 313b26982e Rename usages of primary display column to just display column 2020-10-14 20:38:32 +01:00
Andrew Kingston 59b12af15c Add support for client app ID routing when serving on a LAN ip address 2020-10-14 20:33:09 +01:00
Andrew Kingston 9f9cc46988 Fix logout functionality 2020-10-14 20:28:02 +01:00
Andrew Kingston 90e46ab254 Merge branch 'more-bug-fixes' of github.com:Budibase/budibase into screen-updates 2020-10-14 20:16:01 +01:00
Andrew Kingston d026289aa4 Add log out functionality 2020-10-14 20:12:41 +01:00
Andrew Kingston c6cb01c759 Updating login component form error style slightly 2020-10-14 20:12:27 +01:00
Michael Drury 94ceff1bbd Fixing an issue where linked record column deletion was not correctly removing relationships. 2020-10-14 20:05:13 +01:00
Andrew Kingston 8281e3a676 Merge branch 'master' of github.com:Budibase/budibase into screen-updates 2020-10-14 19:40:45 +01:00
Andrew Kingston a7118a542d Ignore column renaming if the rename has the same name 2020-10-14 19:40:27 +01:00
Andrew Kingston 35c58fd7d5 Move primary display column option in to column popover 2020-10-14 19:40:01 +01:00
mike12345567 7613692379 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 c329063f61 fix for appid referer split 2020-10-14 17:30:00 +01:00
Andrew Kingston 32df91895e Merge branch 'master' of github.com:Budibase/budibase into screen-updates 2020-10-14 17:09:50 +01:00
Andrew Kingston d63a375599 Remove deprecated nav component props 2020-10-14 17:08:12 +01:00
Andrew Kingston 645d53bddc Add new gradient options 2020-10-14 17:07:40 +01:00
Andrew Kingston 41ee234015 Remove HR from settings view 2020-10-14 17:07:22 +01:00
Andrew Kingston c108b718a9 Update default page templates 2020-10-14 17:06:58 +01:00
Andrew Kingston 07fb3dccd4 Update Login component 2020-10-14 17:06:20 +01:00
Andrew Kingston ddd7868611 Update navigation component 2020-10-14 17:06:02 +01:00
Andrew Kingston b2f4ba98f0 Add translucent background to slot component 2020-10-14 17:05:29 +01:00
Martin McKeaveney a8dfb34112 don't show login component on logged in page, fix auth for app assets 2020-10-14 16:47:53 +01:00
Martin McKeaveney 1601a9b2a2 lint 2020-10-14 15:13:22 +01:00
Martin McKeaveney 78ae3f194c merge 2020-10-14 15:08:54 +01:00
Martin McKeaveney db72b29eaf update row_save event 2020-10-14 15:06:48 +01:00
Martin McKeaveney d2a7bf55a7 lint 2020-10-14 13:21:43 +01:00
Martin McKeaveney 2ba10662d3 fix csv import 2020-10-14 13:09:03 +01:00
mike12345567 b9f69e34f1 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 bfaa9bc44b Merge branch 'master' of github.com:Budibase/budibase into chuckles-fixes 2020-10-14 12:16:16 +01:00
mike12345567 f5ad74eaf5 Some design changes and moving around screen deletion to centralise it. 2020-10-14 11:56:02 +01:00
Andrew Kingston 22331dafb6 Remove console.log statement 2020-10-14 10:10:16 +01:00
Andrew Kingston 5251efd837 Remove console.log statements 2020-10-14 10:06:33 +01:00
Andrew Kingston 4d42e722a3 Fix grid not allowing adding rows due to model -> table rename 2020-10-14 09:53:27 +01:00
Andrew Kingston f6a388b38a Fix errors being thrown when nesting certain components without picking a datasource 2020-10-14 09:39:49 +01:00
Andrew Kingston 53bbbd2b04 Fix errors being thrown by grid and table 2020-10-14 09:34:23 +01:00
Andrew Kingston 59174c4c1a Improve grid and table rendering of any type of datasource 2020-10-14 09:23:20 +01:00
Martin McKeaveney d9bb6aad2d fixing funky svelte prettier issue 2020-10-13 21:37:55 +01:00
Martin McKeaveney e95af51cde simplify user authentication, remove anon user, fix login cookie issues 2020-10-13 21:33:56 +01:00
Andrew Kingston 8a10ea899c Fix data table and grid rendering views 2020-10-13 19:58:36 +01:00
mike12345567 7e70eb0f20 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 650ace2f9e Add flex design property and fix existing default layout 2020-10-13 17:46:18 +01:00
mike12345567 686d85f07e 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 bb997eaf26 Merge branch 'master' of github.com:Budibase/budibase into cheeks-bugfixes 2020-10-13 17:27:46 +01:00
mike12345567 3fd5e7e578 Removing deprecated function - exists. 2020-10-13 17:02:59 +01:00
Martin McKeaveney f921f4c090 fix issues from eslint plugin prettier 2020-10-13 16:33:45 +01:00
mike12345567 407d7606e9 Destroying instance DBs for an app before it is deleted. 2020-10-13 16:31:14 +01:00
Martin McKeaveney 34bfef5661 bulk deletes on grid 2020-10-13 16:17:07 +01:00
Martin McKeaveney 04f5e9e9ea optional chaining for backend ui models 2020-10-13 15:40:59 +01:00
Andrew Kingston 9929d12c6f Fix checkbox depth in frontend settings 2020-10-13 14:29:32 +01:00
Martin McKeaveney ff9d178304 Merge branch 'master' of github.com:Budibase/budibase into bugz 2020-10-13 13:07:06 +01:00
Martin McKeaveney 4ea99592d9 v0.2.1 2020-10-13 13:01:13 +01:00
Martin McKeaveney d5a053304f Merge branch 'master' of github.com:Budibase/budibase into bugz 2020-10-13 12:52:55 +01:00
Michael Drury d637ebbdb4
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 116637d06a Updating yarn lock for server and fixing test case. 2020-10-13 11:50:19 +01:00
Andrew Kingston 51c407c2f9 Update all old references in datasources from isModel to type=model 2020-10-13 11:27:18 +01:00
Andrew Kingston a25ca533e3 Merge branch 'master' of github.com:Budibase/budibase into cheeks-bugfixes 2020-10-13 11:24:47 +01:00
mike12345567 31b744e2d5 Updating test cases. 2020-10-13 11:19:34 +01:00
Martin McKeaveney 9775797951 removing z-index from checkbox 2020-10-13 11:18:34 +01:00
kevmodrome 50d2f45446
fixes height issue with grid component 2020-10-13 12:15:44 +02:00
Andrew Kingston d22f6f911f Fix crashing when rendering any components settings that uses a ScreenSelect 2020-10-13 11:11:59 +01:00
Martin McKeaveney 6fe15f9bef Merge branch 'master' of github.com:Budibase/budibase into bugz 2020-10-13 10:59:31 +01:00
Martin McKeaveney 78aae99e39 prevent duplicate table names 2020-10-13 10:59:24 +01:00
mike12345567 5354d66366 Fixing problem where something injected [object Object] into the source code? 2020-10-13 10:35:10 +01:00
mike12345567 80b011141d Formatting codebase. 2020-10-13 10:04:29 +01:00
mike12345567 a6264896fa Merge branch 'feat/linked-records-data-source' of github.com:Budibase/budibase into endpoint-renaming 2020-10-13 09:58:31 +01:00
mike12345567 1140f65282 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 d96293638f Remove random text 2020-10-13 09:51:43 +01:00
Andrew Kingston 2641b781f9 Remove console.log statement 2020-10-13 09:47:12 +01:00
Andrew Kingston fc870c0dc9 Add back in sharp reference which was commented out 2020-10-13 09:42:44 +01:00
Andrew Kingston 9acab69a06 Rename datasource prop from table to data for all components 2020-10-13 09:40:07 +01:00
Andrew Kingston d8e349ddaa Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-13 09:24:13 +01:00
Andrew Kingston 95d5836552 Add relationships as possible datasource for grid 2020-10-13 09:22:47 +01:00
Andrew Kingston 1b8b390822 Fix create screen state by navigating to new URL when creating 2020-10-13 09:11:36 +01:00
Andrew Kingston 536074c97f Fix state when deleting frontend screens 2020-10-13 09:07:09 +01:00
Andrew Kingston 06d83c7ad5 Fix state when deleting frontend components 2020-10-13 09:06:56 +01:00
kevmodrome 9ffde6af35
lint fix 2020-10-13 09:54:10 +02:00
kevmodrome 693c8751c1
Merge branch 'master' into feature/grid-functionality-additions 2020-10-13 09:51:20 +02:00
kevmodrome 6ac9c59bbb
adds pagination option 2020-10-13 09:51:01 +02:00
Andrew Kingston 845d909087 Fix ModelSelect styles in frontend settings 2020-10-13 08:26:13 +01:00
Andrew Kingston dcf31c971d Fix crashing when adding a frontend component after deleting one 2020-10-13 08:20:32 +01:00
Martin McKeaveney 4bacae5859
Merge pull request #709 from Budibase/replace-screen-template-datatable
Replace screen template datatable
2020-10-13 08:16:31 +01:00
kevmodrome 4ad2fb47d5
adds height option to grid component 2020-10-13 09:13:56 +02:00
Andrew Kingston 08de0812fc Fix another random builder crash that sometimes happens 2020-10-13 08:12:29 +01:00
Andrew Kingston 72676623b8 Fix grid crash when there are no related rows in a link field 2020-10-13 08:12:03 +01:00
Michael Shanks 1f57c23bda Merge branch 'master' of github.com:Budibase/budibase into master 2020-10-12 21:36:29 +01:00
Andrew Kingston 3ba79b0071 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 21:35:51 +01:00
Michael Shanks 2f5ee277f3 analytics - missing await, causing event not to be logged 2020-10-12 21:35:10 +01:00
mike12345567 f221d35ab8 Updating data grid components which had model/record still defined in them. 2020-10-12 21:31:58 +01:00
Martin McKeaveney bf9efc7102 remove screen1 from dummy data 2020-10-12 21:22:23 +01:00
Martin McKeaveney 69f3064489 replace list template screen with datagrid 2020-10-12 21:21:23 +01:00
Martin McKeaveney d00aef571b convenience scripts for restoring budibase installations 2020-10-12 20:39:29 +01:00
Martin McKeaveney 10cef93195 merge with new grid 2020-10-12 20:25:15 +01:00
kevmodrome 4d140038e7
fix yarn lock file 2020-10-12 20:56:09 +02:00
kevmodrome b5a5ac8970
fix editable header column not hiding when grid is un-editable 2020-10-12 20:44:40 +02:00
kevmodrome f386dba290
add back missing param to validate call on record post route 2020-10-12 20:37:41 +02:00
Andrew Kingston 47e9cd64cb Fix crash when no linked records in DataTable 2020-10-12 18:47:25 +01:00
mike12345567 4e000a8904 Updating formatting. 2020-10-12 17:56:40 +01:00
kevmodrome 1e1662d265
lint fixes 2020-10-12 18:54:18 +02:00
mike12345567 408eda81ff Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 17:45:11 +01:00
kevmodrome 28caf55ac4
Merge branch 'master' into feature/add-grid-to-standard-components 2020-10-12 18:43:22 +02:00
kevmodrome 14dc81e994
sets correct editable values on fields 2020-10-12 18:42:47 +02:00
Michael Drury b6da9a0f83
Merge pull request #706 from Budibase/bug/table-changes-fix
Bug/table changes fix
2020-10-12 17:32:59 +01:00
mike12345567 1955c73685 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 47b97225a8 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 9bf568ecb1 Fixes for deleting records when a table is deleted. 2020-10-12 16:37:08 +01:00
Michael Shanks 381c43f1e3
Merge pull request #703 from mjashanks/fixes
Some Fixes
2020-10-12 16:34:48 +01:00
Andrew Kingston da1936fbbf Update pagination to handle any number of pages 2020-10-12 16:33:38 +01:00
Michael Shanks 1e14da7108 code reivew - unused code 2020-10-12 16:28:37 +01:00
Michael Shanks 8956c7d9c9 fix: Default props were mutated - cause very strange issue with event handlers 2020-10-12 16:27:34 +01:00
Michael Shanks 45e583dc95 unused "options" member in prop types 2020-10-12 16:26:54 +01:00
Michael Shanks a1fb9aea6b Analytics - record screen template used 2020-10-12 15:51:03 +01:00
Michael Shanks f03e314710 fix: view filter displaying incorrect options 2020-10-12 15:32:49 +01:00
mike12345567 94f966631c Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 15:25:27 +01:00
Andrew Kingston 9e3e89eb06 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 15:20:32 +01:00
Andrew Kingston 61bfc12070 Fix style and alignment of various frontend design and settings components 2020-10-12 15:14:34 +01:00
Andrew Kingston 8ff401fd64 Improve style of frontend settings placeholder text 2020-10-12 15:14:11 +01:00
Andrew Kingston 63c14c11d6 Improve style of ModelViewSelect and fix text wrapping 2020-10-12 15:13:38 +01:00
Andrew Kingston 01dedf9e91 Improve frontend settings and design panel scrolling and panel styling 2020-10-12 15:12:48 +01:00
Michael Shanks 651128ea81 Merge branch 'url-detail' into fixes 2020-10-12 15:10:31 +01:00
Michael Shanks 0a1775b999 Merge branch 'master' into fixes 2020-10-12 15:10:21 +01:00
Michael Shanks 079ba1ffce Settings >URL select handles Record detail urls 2020-10-12 14:48:30 +01:00
mike12345567 6362c5ffdc 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 ecd14208ff Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 14:21:39 +01:00
Andrew Kingston 3fa4561edb 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 5450cca9f4 Fix linked record selector rendering in client apps 2020-10-12 14:19:54 +01:00
Andrew Kingston 448b0ca2ae Replace bindings to link fields with new count runtime property 2020-10-12 14:14:50 +01:00
mike12345567 2e49221ebc Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 13:54:34 +01:00
Martin McKeaveney 95cd3f84fc
Merge pull request #692 from Budibase/external-webhooks
support for external webhooks
2020-10-12 13:53:55 +01:00
Martin McKeaveney cde757e670
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 53d765b849 Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 13:34:32 +01:00
Martin McKeaveney 7f7594895b adding auth object to context rather than separate booleans 2020-10-12 13:32:52 +01:00
Joe 9a289d2d16 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 a161288dc9
merge master 2020-10-12 12:58:20 +02:00
Martin McKeaveney dd2a84d58a support for external webhooks 2020-10-12 11:57:37 +01:00
kevmodrome 5691dc5c67
merge master 2020-10-12 12:56:27 +02:00
Andrew Kingston 42019dd546 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 11:26:04 +01:00
Andrew Kingston 0c45804446 Remove buggy transition when displaying frontend blocks 2020-10-12 11:25:56 +01:00
Michael Shanks 3af1d8dc7f
Merge pull request #681 from mjashanks/screen-templates
Screen templates
2020-10-12 11:09:15 +01:00
Andrew Kingston 7ca3a65c54 Fix falsey table values not being rendered 2020-10-12 11:02:03 +01:00
Michael Shanks 3a97e0ffd2 renamed screen template 2020-10-12 10:59:23 +01:00
kevmodrome 727d39a715
bump svelte-ag-grid and and actually apply theme class to element 2020-10-12 11:59:20 +02:00
Andrew Kingston 75998ea746 Remove console log statement 2020-10-12 10:51:57 +01:00
Michael Shanks d62ed0fb48 fix: New & Detail not displaying components when no model selected 2020-10-12 10:51:20 +01:00
Michael Shanks 4007152583 fix: screen settings not updating 2020-10-12 10:50:51 +01:00
Andrew Kingston 644f45e1c1 Remove console log 2020-10-12 10:50:29 +01:00
Michael Shanks 02dcc07f84 review: better naming of screen templates 2020-10-12 10:50:19 +01:00
Andrew Kingston 47a772a200 Fix images and lots of other string escaping not working 2020-10-12 10:49:21 +01:00
Michael Drury f2929bcc7d
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 12dda8ee0d
turns off some functionality and adds theme options 2020-10-12 11:44:43 +02:00
mike12345567 2a2dad3ca4 Formatting code - was causing PR to fail. 2020-10-12 10:41:25 +01:00
mike12345567 ba83cad43c Using lodash flatten rather than pure JS. 2020-10-12 10:28:53 +01:00
Michael Shanks 72774e7fe9 code review changes 2020-10-12 09:42:48 +01:00
mike12345567 3f0d205846 Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 09:41:42 +01:00
Michael Shanks 84fcea8a80 fix: no fields required by default 2020-10-11 20:42:30 +01:00
Michael Shanks 3059c605d1 merge from master 2020-10-11 20:34:13 +01:00
Martin McKeaveney 506779f8cd
Merge branch 'master' into deployment-api-usage 2020-10-09 21:43:28 +01:00
Martin McKeaveney 3f81757faa deployment API usage complete 2020-10-09 21:42:20 +01:00
mike12345567 73e0e37c66 Fixing some bugs with JWT creation not getting an API key. 2020-10-09 20:44:35 +01:00
mike12345567 4d3308b216 Merge branch 'link-record-performance' of github.com:Budibase/budibase into endpoint-renaming 2020-10-09 20:18:46 +01:00
mike12345567 ec6717468b Major performance boost to attachLinks -> makes CSV upload much more snappy. 2020-10-09 20:06:54 +01:00
mike12345567 4147e8872b Updating tests and re-formatting. 2020-10-09 19:30:50 +01:00
mike12345567 ed778d15e2 Updating ID to use ro rather than re for rows. 2020-10-09 19:16:33 +01:00
mike12345567 d90c1e3dd3 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 bb3370e742 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 75fda94588 Merge branch 'api-usage-tracking' of github.com:Budibase/budibase into deployment-api-usage 2020-10-09 17:42:17 +01:00
mike12345567 86102982a1 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 6f890dbe85 :app to _app : bugfix 2020-10-09 17:14:02 +01:00
Michael Shanks 1758243de9 renaming Record > Row 2020-10-09 17:12:55 +01:00
Martin McKeaveney f75f0f5f28 updated quota fixes 2020-10-09 17:07:46 +01:00
mike12345567 ac9be28064 Merge branch 'master' of github.com:Budibase/budibase into api-usage-tracking 2020-10-09 14:38:11 +01:00
kevmodrome 048021abaa
re-enable event 2020-10-09 13:48:36 +02:00
Andrew Kingston 13506be0fa Fix issue displaying linked records in a table 2020-10-09 12:42:56 +01:00
Andrew Kingston 1091526e1f Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-09 12:34:25 +01:00
Andrew Kingston d1f367ccff Add relationships as data source 2020-10-09 12:24:18 +01:00
kevmodrome ba1d268639
Merge branch 'master' into feature/add-grid-to-standard-components 2020-10-09 13:08:03 +02:00
Michael Shanks e083d60597 merge from master 2020-10-09 12:01:49 +01:00
Michael Shanks f1eeb17dd3 auto create screens with new table 2020-10-09 11:58:46 +01:00
kevmodrome 2af12c6801
adds editable setting 2020-10-09 12:42:16 +02:00
Martin McKeaveney e7ee1ea12a Merge branch 'api-usage-tracking' of github.com:Budibase/budibase into deployment-api-usage 2020-10-09 11:32:50 +01:00
mike12345567 4ba636897b Adding in default plan if the obj found does not have the required information. 2020-10-09 11:32:25 +01:00
mike12345567 844383631e Merge branch 'master' of github.com:Budibase/budibase into api-usage-tracking 2020-10-09 11:21:26 +01:00
Martin McKeaveney dbd0382d05 Merge branch 'api-usage-tracking' of github.com:Budibase/budibase into deployment-api-usage 2020-10-09 11:21:03 +01:00
Martin McKeaveney 4abc54380d use centralised document types and separators 2020-10-09 10:50:44 +01:00
Martin McKeaveney c885382225 code review 2020-10-09 10:46:38 +01:00
kevmodrome 892bac9808
move important stuff up top 2020-10-09 11:43:35 +02:00
kevmodrome 00d5857232
refactor and clean up 2020-10-09 11:35:52 +02:00
kevmodrome 4f3ebb29e9
adds options type support to grid component 2020-10-09 11:23:42 +02:00
mike12345567 ba758905cc Removing sanisation, instead just using it as a central path system. 2020-10-09 10:00:57 +01:00
mike12345567 334b4b1696 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 9f3bc07729 bugfix - appId not recognised in static.js controller 2020-10-08 22:31:27 +01:00
Michael Shanks fcb093699d merge from master 2020-10-08 22:11:45 +01:00
Michael Shanks 58b5502f77 Save Record Action 2020-10-08 22:06:44 +01:00
Martin McKeaveney c9f791f250 remove log 2020-10-08 21:52:26 +01:00
Martin McKeaveney 954f6ad47b use underscores instead of colons, shorten id entity names 2020-10-08 21:50:49 +01:00
Martin McKeaveney 4fa3b9c473 Merge branch 'master' of github.com:Budibase/budibase into deployment-api-usage 2020-10-08 21:16:16 +01:00
Martin McKeaveney 3e0c23549c lint and tidy up 2020-10-08 21:16:06 +01:00
Martin McKeaveney b21cc23b3b removing retry param 2020-10-08 21:11:10 +01:00
Martin McKeaveney fed836140c v0.2.0 2020-10-08 20:32:50 +01:00
Martin McKeaveney f595392843 fixing optional chaining operator in standard components 2020-10-08 20:31:13 +01:00
Martin McKeaveney 8880e7574b tidy up 2020-10-08 20:23:58 +01:00
mike12345567 275bd64b1b Fixing linting issue. 2020-10-08 18:36:31 +01:00
mike12345567 b400a06027 Updates for API usage after testing against local Dynamo. 2020-10-08 17:34:41 +01:00
kevmodrome 48d7ff19c9
fix optional chaining error and adds guard for no model selected. 2020-10-08 17:45:47 +02:00
Michael Shanks eaa8d91392 merge from master - including fixes 2020-10-08 16:15:12 +01:00
Michael Shanks df4243abfa screen templates - backup before merge from master 2020-10-08 15:46:29 +01:00
kevmodrome 7b92482a8d
update svelte version in builder and standard-components packages 2020-10-08 16:24:21 +02:00
kevmodrome 7b54bdacd5
add dateRenderer 2020-10-08 16:23:13 +02:00
Martin McKeaveney 3f4fa0674d update deployment quota after deploy 2020-10-08 15:06:27 +01:00
Michael Shanks 85d2ff3e83 Screen Template - pre merge 2020-10-08 14:53:39 +01:00
kevmodrome 39671e76cd
move renderer map to separate file 2020-10-08 15:34:47 +02:00
kevmodrome 579166082d
fix delete functionality 2020-10-08 14:45:50 +02:00
kevmodrome 91e27804e5
merge master 2020-10-08 14:37:57 +02:00
mike12345567 d2ae589151 Merge branch 'linked-records' of github.com:Budibase/budibase into api-usage-tracking 2020-10-08 13:30:18 +01:00
mike12345567 0e3bb46ca5 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-08 12:29:09 +01:00
mike12345567 93281e2adc Using array de-structuring as per review. 2020-10-08 12:28:59 +01:00
Andrew Kingston 06eea7ba30 Update linked record selector to handle errors and remove loading state flashing 2020-10-08 12:21:05 +01:00
Andrew Kingston 9b57786457 Fixing cypress tests 2020-10-08 11:36:16 +01:00
Martin McKeaveney 212a24348a hitting deployment success endpoint 2020-10-08 10:56:32 +01:00
Andrew Kingston 4efd38bd2b Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-08 10:43:09 +01:00
Andrew Kingston b71ba5b3fb Unify DataForm and DataFormWide by using single component with BBUI styles 2020-10-08 10:42:53 +01:00
Andrew Kingston 36cb7eaee6 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 4682b34f05 Improve relationship datatable title when no primary display is selected for a model 2020-10-08 10:41:20 +01:00
Andrew Kingston 4140c831a3 Remove console log statement 2020-10-08 10:40:46 +01:00
Andrew Kingston 8f1b106a5d Fix relationship view when viewing fields with spaces in their name 2020-10-08 10:32:17 +01:00
Andrew Kingston 5bf04f7030 Fix styles in event editor modal 2020-10-08 09:48:24 +01:00
Andrew Kingston cb0b7b9b5b Fix frontend crashing when adding components to a data provider component with no source 2020-10-08 09:48:03 +01:00
Andrew Kingston b7edf26754 Move modal to BBUI and update usages 2020-10-08 09:35:11 +01:00
Andrew Kingston 356acc919d Bump electron to v10 2020-10-08 09:34:45 +01:00
Andrew Kingston 3d7bd55c08 Bump BBUI version 2020-10-08 09:34:22 +01:00
Michael Shanks fb5503d10e RecordDetail & NewRecord now baseComponents 2020-10-07 22:30:51 +01:00
Michael Shanks b7eb1a35e8 Screen templates working 2020-10-07 22:30:00 +01:00
Martin McKeaveney a482d0a23e check that deployment is possible using lambda API 2020-10-07 20:37:55 +01:00
mike12345567 f2b7d85b6e Fixing up middleware to handle uploads, views, records, automation runs and users. 2020-10-07 17:56:47 +01:00
kevmodrome 2b8242cf72
Merge branch 'master' into feature/add-grid-to-standard-components 2020-10-07 16:48:59 +02:00
kevmodrome e26e628ae7
merge master 2020-10-07 16:47:35 +02:00
mike12345567 3a6a03403f Merge branch 'linked-records' of github.com:Budibase/budibase into api-usage-tracking 2020-10-07 15:41:39 +01:00
Michael Shanks 6625cb691a Merge branch 'master' of github.com:Budibase/budibase into master 2020-10-07 15:40:24 +01:00
Michael Shanks cdbd70c218 Screen templates - initial commit 2020-10-07 15:40:06 +01:00
mike12345567 17a4b058b5 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-07 14:48:20 +01:00
mike12345567 a25c1d8618 Removing .orig file created by merge. 2020-10-07 13:33:21 +01:00
Andrew Kingston 2f86a17984 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 6170921d45 Remove padding on top nav bar so that things are properly centered 2020-10-07 12:00:15 +01:00
mike12345567 1f8f0a0444 Sanitising the paths to the couchDB data directories. 2020-10-07 11:42:28 +01:00
Andrew Kingston 4220da27ef Fix create automation modal 2020-10-07 11:38:05 +01:00
Andrew Kingston 51f67ae99b Change live animation color from purple to black 2020-10-07 11:37:55 +01:00
Andrew Kingston 6c3aeac69a Fix table cypress tests 2020-10-07 11:23:47 +01:00
Andrew Kingston aa96388e0b Fix cypress automation tests 2020-10-07 11:18:46 +01:00
Andrew Kingston 782fc8dd54 Fix layout by removing extra columns from grid layout css 2020-10-07 11:17:01 +01:00
Andrew Kingston b61ee51ff0 Remove duplicate select element 2020-10-07 11:16:36 +01:00
Andrew Kingston b592744805 Update styles of data import to match BBUI components 2020-10-07 11:16:06 +01:00
mike12345567 1d99cc654a Adding a regex to allow certain paths with : on windows. 2020-10-07 11:04:36 +01:00
Andrew Kingston fd02f361f1 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-07 10:45:26 +01:00
mike12345567 a6e409a062 Quick change after diffing and looking through everything. 2020-10-07 09:58:32 +01:00
kevmodrome 8ad6d2f886
fixes editable cell bug 2020-10-07 10:06:23 +02:00
mike12345567 691ea16998 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 8413e75431 removed .orig files 2020-10-06 21:45:12 +01:00
Michael Shanks d9e53143d8 merge conflicts - from master 2020-10-06 21:43:54 +01:00
Michael Shanks bbff4db649 a few changes from code review 2020-10-06 21:37:10 +01:00
Martin McKeaveney e282480888 v0.1.25 2020-10-06 21:23:02 +01:00
Martin McKeaveney 723f322232 updating replication stream dependency 2020-10-06 21:10:49 +01:00
Martin McKeaveney 368f9934d5 v0.1.24 2020-10-06 20:35:11 +01:00
Martin McKeaveney 7fe2a066e7
Merge pull request #664 from Budibase/data-import
Data import
2020-10-06 20:24:34 +01:00
Martin McKeaveney 8ce69efa7e fixing test 2020-10-06 20:18:05 +01:00
mike12345567 fc2e2a8804 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 c80f9e9da2 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-06 18:03:43 +01:00
Andrew Kingston f83f2b707b Add support for displaying linked record counts in List and RecordDetail 2020-10-06 18:01:23 +01:00
Andrew Kingston c10f5112d4 Add linked records to dataforms and use BBUI components and pretty errors 2020-10-06 16:46:23 +01:00
Andrew Kingston 37f3d21a00 Remove console log statement 2020-10-06 16:40:23 +01:00
Andrew Kingston e91b62ef2e Use real schema for datatable rather than first row's keys 2020-10-06 16:39:24 +01:00
Andrew Kingston 11c4f237d3 Add default file prop to AttachmentList to prevent crashing when no files exist 2020-10-06 16:22:11 +01:00
Andrew Kingston 21796d9f98 Add support for displaying linked records in DataTable 2020-10-06 16:05:52 +01:00
Andrew Kingston fd4a7d95bc 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 d8fd0dd2cb Bump BBUI version 2020-10-06 16:03:49 +01:00
Andrew Kingston afbb90297b Delete old multiselect component 2020-10-06 16:03:17 +01:00
Andrew Kingston 9faed3fb5f Move multiselect to BBUI 2020-10-06 16:02:48 +01:00
Michael Shanks 0b6d0f2b19 missing dependency 2020-10-05 21:21:00 +01:00
Michael Shanks ca978b70c8 Merge branch 'master' into fixes 2020-10-05 21:17:01 +01:00
Michael Shanks bf6ba34f20 broken test 2020-10-05 21:15:10 +01:00
Michael Shanks f3c941a023 broken tests 2020-10-05 20:58:07 +01:00
Martin McKeaveney c9cfa2c5f9 cleaner parsing 2020-10-05 19:21:51 +01:00
mike12345567 f3c4144072 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 daec40005a 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 d5caeb81f6 Metrics - event props not populating correctly 2020-10-05 17:28:44 +01:00
Michael Shanks 40e6d4c844 Coerse record fields, to be a bit more tolerant of data input 2020-10-05 17:28:23 +01:00
Martin McKeaveney d8787a5d48 styling updates after review 2020-10-05 15:26:31 +01:00
Martin McKeaveney 6f28374785 merge 2020-10-05 15:08:53 +01:00
Martin McKeaveney e1eb4f04f3 tidy up 2020-10-05 14:43:34 +01:00
Martin McKeaveney f89aa4b403 adding nice loading states 2020-10-05 14:07:39 +01:00
Andrew Kingston 69c079d996 Fix null referencce in ModelViewSelect 2020-10-05 14:02:33 +01:00
Andrew Kingston 5beb70578c Stop notifications blocking all pointer events across full width 2020-10-05 14:00:26 +01:00
Andrew Kingston ae0a5d2c51 Fix more cypress tests 2020-10-05 12:37:03 +01:00
Andrew Kingston 380c44fdd2 Merge template and index page styles with new BBUI 2020-10-05 12:20:59 +01:00
Andrew Kingston 5dce1ee020 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-05 12:20:26 +01:00
Martin McKeaveney 13aca3cde0 unit tests for csv parser 2020-10-05 11:48:13 +01:00
Andrew Kingston 70b70252ec Fix cypress texts and update use of modal 2020-10-05 11:13:09 +01:00
mike12345567 e0dad53ad3 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-05 10:52:35 +01:00
Martin McKeaveney a3c082347c account for omitted rows 2020-10-05 10:51:58 +01:00
mike12345567 672f5f8301 Merge branch 'master' of github.com:Budibase/budibase into remove-views 2020-10-05 10:04:23 +01:00
mike12345567 39d0e084b8 Fixing an issue that a test case raised. 2020-10-05 09:59:03 +01:00
mike12345567 4663434e25 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-05 09:45:38 +01:00
Andrew Kingston 82476e2ae9 Fix get views endpoint returning built in by_link view 2020-10-04 17:59:49 +01:00
Andrew Kingston da035452e6 Fix record patch function 2020-10-04 17:59:20 +01:00
Andrew Kingston 36cf5d5631 Standardise dropdownmenus in frontend page 2020-10-04 17:10:32 +01:00
Andrew Kingston f19e60dcb1 Update data export with new DB view structure and linked records 2020-10-03 21:07:59 +01:00
Andrew Kingston 6bdbadbd61 Update backend export popover to be line with new popover structure 2020-10-03 21:06:58 +01:00
Andrew Kingston bb41c1c46b Improve notification styles 2020-10-02 21:06:37 +01:00
Andrew Kingston 735e0e5f02 Add default props to confirm dialogue to silence warnings 2020-10-02 21:06:06 +01:00
Andrew Kingston cf9d261192 Remove deprecated portal implementation 2020-10-02 20:42:10 +01:00
Andrew Kingston d1512f202b Replace all usages of simple-modal with new modal 2020-10-02 20:41:21 +01:00
Andrew Kingston 774cd8e4ae Remove unused imports 2020-10-02 20:39:39 +01:00
Andrew Kingston 8a08383078 Update automations page to use new modal 2020-10-02 19:10:37 +01:00
Andrew Kingston 123b4394c3 Fix bug with deleting automations 2020-10-02 19:09:44 +01:00
Andrew Kingston 4d8e4061b3 Disable modal confirm button while async callbacks are being processed to avoid multiple executions 2020-10-02 19:09:19 +01:00
Andrew Kingston 2df104568d Fix error box styles 2020-10-02 18:49:00 +01:00
Andrew Kingston d2ec751891 Adjust modal styles 2020-10-02 18:37:24 +01:00
Andrew Kingston d7480b1535 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-02 18:35:27 +01:00
mike12345567 6922c1e090 Fixing cypress test broken by automation fixes. 2020-10-02 17:15:57 +01:00
mike12345567 e3b04b9bea Fixing cypress test broken by automation fixes. 2020-10-02 17:15:27 +01:00
mike12345567 d6e260a873 Merge branch 'remove-views' of github.com:Budibase/budibase into linked-records 2020-10-02 17:02:37 +01:00
mike12345567 89d609bdae Fixing test case broken by automation save record -> create record. 2020-10-02 17:02:18 +01:00
Andrew Kingston 31d31fcdda Fix multiselect crashing in certain circumstances 2020-10-02 16:53:41 +01:00
mike12345567 5540fa226c Fixing an issue with linked records showing up as models after id changes. 2020-10-02 16:49:36 +01:00
Andrew Kingston 4c18e93d8c Remove double 'no data' in empty tables 2020-10-02 16:48:01 +01:00
Martin McKeaveney cccc087727 merge 2020-10-02 16:45:59 +01:00
Andrew Kingston 812e4b891a Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-02 16:43:08 +01:00
mike12345567 4fbccfcc92 Some quick automation fixes. 2020-10-02 16:42:47 +01:00
Andrew Kingston e6db9aefd1 Add final version of multiselect 2020-10-02 16:38:33 +01:00
Martin McKeaveney 2dedafc90c v0.1.23 2020-10-02 16:24:39 +01:00
Martin McKeaveney ecb4cff96f CSV Import end to end 2020-10-02 16:16:06 +01:00
mike12345567 e24668253f Some quick fixes after merge. 2020-10-02 15:49:13 +01:00
Michael Shanks b8f759a15e fix: Navigate To & Other Actions broken 2020-10-02 14:52:45 +01:00
mike12345567 6b222ffbf0 Merge branch 'remove-views' of github.com:Budibase/budibase into linked-records 2020-10-02 14:49:23 +01:00
mike12345567 c69081f390 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 cb5e9f69a0 record value coersion - untested 2020-10-02 14:14:58 +01:00
kevmodrome e6ca68d1e9
merge master 2020-10-02 14:39:00 +02:00
mike12345567 e0e1cd7316 Some more test case fixes. 2020-10-02 13:04:44 +01:00
mike12345567 d4c3200322 Fix for an issue detected by user test case. 2020-10-02 12:52:15 +01:00
mike12345567 2aff68b245 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 f53bf54929 Add close icon to modals 2020-10-02 12:27:52 +01:00
Andrew Kingston 337f0591b5 Update settings to use new modal 2020-10-02 12:22:49 +01:00
Andrew Kingston ccf41046d6 Add wide prop for modals 2020-10-02 12:22:34 +01:00
Andrew Kingston cfcfa0bb87 Rename linked rows to related rows and remove deprecated file 2020-10-02 12:02:11 +01:00
Andrew Kingston 42a7a21050 Add new modal to backend and fix backend file structure 2020-10-02 12:00:17 +01:00
Michael Shanks c94defdd45 mask user password on new app 2020-10-02 10:39:56 +01:00
Michael Shanks bb78c6bc9b unused imports 2020-10-02 10:07:43 +01:00
kevmodrome e501679813
data now syncs in the grid 2020-10-02 10:12:18 +02:00
kevmodrome 193f536834
adds add row functionality to grid component 2020-10-02 09:43:56 +02:00
Andrew Kingston d4ebd3bb63 Update multiselect component 2020-10-02 08:36:16 +01:00
Andrew Kingston f86e7b6c92 Add initial version of new modal (WIP) 2020-10-02 08:35:54 +01:00
Michael Shanks 9eec5d730f Calculate: stats is only option - remove select 2020-10-01 21:03:22 +01:00
Michael Shanks c91d9fed09 fix: View filter - handle change of field type 2020-10-01 17:34:25 +01:00
Michael Drury 0a80abfd0e Purging the use of views where possible, this update should remove the use of by_type and all model views. 2020-10-01 17:22:08 +01:00
Michael Shanks 3daaf88a74 Added datepicker to view filters 2020-10-01 17:07:53 +01:00
Michael Shanks 27015ebd17 fix: view filter handle bool, number & date 2020-10-01 16:55:17 +01:00
Martin McKeaveney 1fd749ce00 csv import functional 2020-10-01 14:48:07 +01:00
Michael Drury a891149b5b Fixing issues when adding and deleting records from the input record linking list. 2020-10-01 12:30:14 +01:00
Andrew Kingston 611793b32e Fix linked record selector 2020-10-01 11:56:06 +01:00
Andrew Kingston 3ddca769bb Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-01 11:53:57 +01:00
Andrew Kingston 6f0bcdcc72 Add hacked multiselect for testing 2020-10-01 11:53:43 +01:00
Michael Drury d1fa921c27 Adding validation so that a linked column and a primary display column cannot be renamed. 2020-10-01 11:49:49 +01:00
Michael Drury 0b97e4c8f3 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-01 11:33:53 +01:00
Andrew Kingston 928ff8c0bf Remove console.log statement 2020-10-01 11:33:40 +01:00
Michael Drury 58ff985a35 Resolving issues with deleting a linked column, should now be possible. 2020-10-01 11:33:37 +01:00
Andrew Kingston 708d127fef Prevent editing linked record columns 2020-10-01 11:33:26 +01:00
Andrew Kingston 71cc7a9059 Increase settings modal padding 2020-10-01 11:29:43 +01:00
Andrew Kingston 187cd89e35 Add functional backend UI for navigating relationships 2020-10-01 11:01:06 +01:00
Michael Shanks d54444d932 Merge branch 'master' into bugfix 2020-10-01 09:33:20 +01:00
Michael Shanks c50f2caedf bugfix: dont try to log to analytics when no config 2020-10-01 09:29:30 +01:00
Michael Shanks 50494e6136 bugfix: create app modal always appears on homescreen 2020-10-01 09:28:55 +01:00
Andrew Kingston 14457e5801 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-01 07:22:24 +01:00
Andrew Kingston d0ef67dee0 Use common Table component across backend UI and add initial empty page for relationships 2020-10-01 07:19:38 +01:00
mike12345567 aa59c9d41c Minor update to fully handle field deletion which is a linked field; from a model. 2020-09-30 23:14:39 +01:00
mike12345567 962ed5aaa6 Work towards handling linked record field updates, like the column being deleted from the model. 2020-09-30 17:52:57 +01:00
Martin McKeaveney fd47cf1624 v0.1.22 2020-09-30 17:05:19 +01:00
Martin McKeaveney 18a56b0290 fixing export styling 2020-09-30 16:53:11 +01:00
Andrew Kingston a4ccd75564 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-09-30 16:50:15 +01:00
mike12345567 5fd714d761 Fixing record editting. 2020-09-30 15:41:52 +01:00
mike12345567 709cdb5ea9 Changing relationship system around a little, to not work with fieldNames anymore in the view and simplifying quite a few of the update systems. 2020-09-30 15:37:38 +01:00
Martin McKeaveney 19a391f349 user creation CI 2020-09-30 15:20:26 +01:00
Andrew Kingston 8c0902f6a1 Add empty state when automations have no steps 2020-09-30 15:14:16 +01:00
Andrew Kingston c7cb8e4c68 Add empty state text to automate page and consistently style empty states 2020-09-30 15:06:47 +01:00
mike12345567 cf4b5a6fbf Fixing some missues with linked records after testing with the new UI. 2020-09-30 12:00:56 +01:00
Martin McKeaveney a35c4bca2a fix select elements 2020-09-30 11:57:42 +01:00
Andrew Kingston 2a3f4389b1 Update create automation modal to match other modal styles 2020-09-30 10:24:43 +01:00
Andrew Kingston 049426b399 Fix all styles in settings modal 2020-09-30 10:24:16 +01:00
Andrew Kingston dd4162dedf Update automation page with new form styles 2020-09-30 09:28:18 +01:00
Andrew Kingston 13f64d5b03 Bump BBUI version 2020-09-30 09:28:05 +01:00
Andrew Kingston e4ac832c32 Add WIP draft of linked records UI allowing single linked record selection 2020-09-29 18:27:35 +01:00
mike12345567 4073f354c8 Fixing issue with modelId being returned from API causing next model update to cause model to be returned as a record from model record view. 2020-09-29 18:03:29 +01:00
Michael Shanks e4ea9e608d Analytics enabled/disabled via specific ENV variable 2020-09-29 17:28:24 +01:00
mike12345567 ac7374662c A small performance enhancement, storing in the record that it does have links, so that when retrieving info for records it can exit the process early if a record has no mention of links. 2020-09-29 17:22:04 +01:00
mike12345567 31943cc66b Major update to linked record backend, now handling adding info about record links to all responses. 2020-09-29 16:40:59 +01:00
Michael Shanks a1db3bfecf Extra analytics logging from code review 2020-09-29 16:35:47 +01:00
Michael Shanks 838904d14e serve determines whether analytics are enabled 2020-09-29 16:23:34 +01:00
Michael Shanks f2a7ec83d7 added comment 2020-09-29 15:35:51 +01:00
Michael Shanks 69292c353c analytics - identify user + extra actions added 2020-09-29 15:26:56 +01:00
Andrew Kingston d446c9b1e5 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-09-29 13:54:21 +01:00
Andrew Kingston 0d1a75b28d Add primary display column and update all backend UI popovers with new form styles 2020-09-29 13:54:04 +01:00
Andrew Kingston ecd5aa9eeb Bump BBUI version 2020-09-29 13:52:26 +01:00
Martin McKeaveney a91c86a4ac link 2020-09-29 12:31:41 +01:00
mike12345567 ecfca1dfab Adding routes for getting link records based on a record Id. 2020-09-29 12:02:06 +01:00
mike12345567 a76a7525e3 Update to make sure all linked record updates occur in sync with the API call. 2020-09-29 11:55:18 +01:00
Martin McKeaveney e7c3afb7f1 CLI tool for exporting apps, tidy up 2020-09-29 10:32:42 +01:00
Martin McKeaveney c83b1d4c35 organise async logic on homepage, style template cards and add images 2020-09-29 10:19:04 +01:00
kevmodrome 09a26a286a
adds events when records are deleted and adds more stylish controls 2020-09-29 11:05:55 +02:00
mike12345567 1b0b97d494 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-09-28 17:37:12 +01:00
mike12345567 eca5fad478 Adding main work to handle creating, deleting and managing the link docs between different linked records. 2020-09-28 17:36:59 +01:00
Martin McKeaveney c2321797f1 async templates working from S3 2020-09-28 17:04:08 +01:00
kevmodrome 0d68d40cfb
adds multiple selection delete functionality 2020-09-28 15:32:06 +02:00
Joe d96ea9424c Small UI update to the binding interface with automations
Heading fixed - size reduced.
Spacing updating with the list section
Placeholder added
Link to docs added
2020-09-28 12:19:11 +01:00
Joe ff5e0aa8cc UI update to the Table dropdown
Spacing within the dropdown improved. Utilised new components from bbui.
Attempted to change the dropdown button to a select so it was consistent with the other inputs but failed.
I did improve the dropdown button by ensuring the width remains the same when selecting different values.
2020-09-28 11:50:29 +01:00
kevmodrome 1068b067a8
bumps svelte-ag-grid component. 2020-09-28 11:51:37 +02:00
Michael Shanks 8aad7eb49d Fetching analytics userId, when api_key entered 2020-09-28 10:47:18 +01:00
Joe b79626450b Styling update to Binding Dropdown
Spacing improved
New Typography component added
Link pointing to docs added
Item hover improved
Textbox updated
2020-09-28 10:21:57 +01:00
kevmodrome 3d7bde554d
remove logs 2020-09-28 10:58:38 +02:00
kevmodrome 5505ad3cda
handle no data scenario 2020-09-28 10:58:06 +02:00
kevmodrome 3523b3dbf7
use Map() to handle renderers 2020-09-28 10:55:50 +02:00
kevmodrome b92ae95353
adds custom renderer for bool fields 2020-09-28 10:53:19 +02:00
kevmodrome 564192a525
updates grid componenet to use model schema insteady of first row keys of datasource 2020-09-28 09:15:43 +02:00
kevmodrome 8d5685c5e4
wip: add record saving functionality 2020-09-28 09:09:08 +02:00
Joe b4dc0708d1 Merge branch 'linked-records' of https://github.com/Budibase/budibase into linked-records 2020-09-26 00:46:30 +01:00
Joe eaef5d0419 Page titles and primary cta alignment and styling consistent
Data and automations page titles now use BBUI Heading component and Spacer component. They are not consistent in styling and spacing.

Welcome screen app cards buttons changed to text buttons. I made this change as there were too many buttons on the page. We want one primary button - create new app.

Early changes mage to binding popover. More to come.
2020-09-26 00:45:56 +01:00
mike12345567 a20ffd4c17 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-09-25 18:05:38 +01:00
mike12345567 b24ff486d8 Some groundwork for the linked records, building up a much more in-depth emitter for models and records to drive the record cleanup. 2020-09-25 18:05:26 +01:00
Andrew Kingston 24097184df Rename records to rows in automation definitions 2020-09-25 15:01:48 +01:00
Martin McKeaveney 97cf5c7b33 Merge branch 'master' of github.com:Budibase/budibase into template-export 2020-09-25 14:51:22 +01:00
Martin McKeaveney 7274d1dac7 re-add electron files 2020-09-25 14:51:04 +01:00
Martin McKeaveney db2d9af545 template export v1 2020-09-25 14:47:42 +01:00
Andrew Kingston 24e316f03d Fix cypress test 2020-09-25 13:12:16 +01:00
Andrew Kingston 7cd387527c Rename backend components file structure and standardise no table empty state 2020-09-25 13:11:57 +01:00
Andrew Kingston 1955e2f757 Unify all popovers and modals to the same styles and reuse common components. Fix filter options 2020-09-25 11:35:32 +01:00
kevmodrome b5359254ee
adds rudimentary form to handle input of new rows 2020-09-25 12:32:38 +02:00
Andrew Kingston 217529f3a4 Fix confirm dialogue inside table cell and standardise styles 2020-09-25 11:30:26 +01:00
kevmodrome 0e3e9d9f19
adds ag-grid component to display data 2020-09-25 11:44:05 +02:00
Andrew Kingston d2d68cbc40 Improve table pagination 2020-09-25 09:18:17 +01:00
Andrew Kingston d74cdf8261 Tidy backend table styles, fix layout and add scrolling 2020-09-25 09:17:58 +01:00
Andrew Kingston 4f763e536e Fix navigation on deleting views and use ConfirmDialog for view deletion to improve consistency 2020-09-24 16:33:21 +01:00
Andrew Kingston 9572167042 Use ConfirmDialog for table deletion to improve consistency 2020-09-24 16:32:35 +01:00
Andrew Kingston e3c2d9a34a Fix TablePagination crashing when non array data values are used 2020-09-24 16:32:02 +01:00
Martin McKeaveney 0b97930625 merge 2020-09-24 16:17:33 +01:00
Martin McKeaveney 408c814b26 Merge branch 'master' of github.com:Budibase/budibase into csv-export 2020-09-24 16:16:59 +01:00
Andrew Kingston 994dca1048 Standardise use of ConfirmDialog for automation deletion 2020-09-24 15:58:26 +01:00
Martin McKeaveney 9768a23ad4 merge 2020-09-24 15:52:09 +01:00
Martin McKeaveney 11c8010c91 use bbui component for dropzone 2020-09-24 15:50:51 +01:00
Andrew Kingston 5b08f4fb92 Tidy backend styles and improve consistency 2020-09-24 15:31:29 +01:00
Andrew Kingston 1d4a1b86ca Fix backend page height and improve style consistency 2020-09-24 15:11:40 +01:00
Andrew Kingston 6b50b47ee0 Fix font weight in create automation modal 2020-09-24 15:11:02 +01:00
Andrew Kingston 0593df0284 Bump bbui version 2020-09-24 15:09:16 +01:00
Martin McKeaveney 0c639bd1a2 providing ability to perform JSON and CSV export from popover 2020-09-23 23:56:26 +01:00
Martin McKeaveney e3c72c9020 tidy up 2020-09-23 21:03:13 +01:00
Martin McKeaveney 6d4ea5c627 ensuring s3 upload works in prod 2020-09-23 20:23:40 +01:00
Martin McKeaveney 329e885ab6 lint, tidy up and some simplification 2020-09-23 17:29:32 +01:00
Martin McKeaveney 938f675922 abstract local file upload logic 2020-09-23 17:02:06 +01:00
mike12345567 4bf40a976d Adding re-triggering of test case to help with running test case in GH actions. 2020-09-23 16:35:34 +01:00
mike12345567 8765c185af Running linter to cleanup formatting. 2020-09-23 16:20:39 +01:00
mike12345567 58f643bc30 Extending the possible time the test case can wait for the record to be updated into the database (automation trigger) and adding JSdocs to automation utilities as per PR suggestions. 2020-09-23 16:16:24 +01:00
Martin McKeaveney f40f388dd8 local file upload from apps 2020-09-23 16:15:09 +01:00
mike12345567 d5112c82c6 Fixing delay as it was causing test case to be inconsistent (triggering automation) 2020-09-23 15:29:25 +01:00
mike12345567 e7be9dd698 Fixing issue with test case. 2020-09-23 15:16:14 +01:00
mike12345567 98ce6dce33 Merge branch 'async-workflow-blocks' of github.com:Budibase/budibase into async-workflow-blocks 2020-09-23 13:34:27 +01:00
mike12345567 5773107516 Adding clean up of records based on the model schema to save and update records. 2020-09-23 13:34:11 +01:00
Andrew Kingston 3caac561b8 Merge branch 'async-workflow-blocks' of github.com:Budibase/budibase into async-workflow-blocks 2020-09-23 12:31:01 +01:00
Andrew Kingston 490183b2ab Treat automation step inputs of type number as string, and let server handle types 2020-09-23 12:30:38 +01:00
mike12345567 0a665e05c8 Update to include update record internal action option, seems very useful rather than having to delete and re-create records every time. 2020-09-23 12:29:20 +01:00
Andrew Kingston 725a041915 Merge branch 'async-workflow-blocks' of github.com:Budibase/budibase into async-workflow-blocks 2020-09-23 12:25:20 +01:00
Andrew Kingston 56021cf4b2 Sort automation steps by name 2020-09-23 12:25:14 +01:00
Andrew Kingston e3fdd1ee46 Improve responsiveness, handle scrolling and tidy up CSS in automations page 2020-09-23 12:24:57 +01:00
mike12345567 93611d5d83 Implementing type cleanup based on the input schema, specifically for booleans and numbers. 2020-09-23 11:54:15 +01:00
Andrew Kingston 1c2d90fe3d Fix automation block taglines without bindings 2020-09-22 15:42:56 +01:00
mike12345567 dfe3257993 Fixing an issue with the fill in of test data when triggering. 2020-09-22 15:25:26 +01:00
Andrew Kingston b9cc3ac7cc Fix crashing when default inputs are undefined in block definition 2020-09-22 15:14:50 +01:00
mike12345567 8fe50febc4 Adding default options which will be used in the builder if no directory or bucket is specified as environment variables. 2020-09-22 14:37:09 +01:00
mike12345567 b1e1e06895 Updating async action loading based on new structure of S3 and manifest. 2020-09-22 14:07:22 +01:00
mike12345567 0c5f30a60b Merge branch 'rename-workflow-automation' of github.com:Budibase/budibase into async-workflow-blocks 2020-09-22 13:00:04 +01:00
mike12345567 cef65a3d9a Removing log statement. 2020-09-22 12:56:48 +01:00
mike12345567 d6213912fd Merge branch 'contextual-workflows' of github.com:Budibase/budibase into rename-workflow-automation 2020-09-22 12:00:54 +01:00
mike12345567 90027952ea Quick fix based on test case failure. 2020-09-22 10:41:56 +01:00
mike12345567 fca788f424 One final change, match is likely better than matchAll due to the global nature of the regex and its lack of capture groups currently (in workflow mustache cleansing). 2020-09-22 10:33:25 +01:00
mike12345567 5965a04979 Updating GH actions to use Node 12 LTS to be inline with Node version used in Docker. 2020-09-22 10:12:17 +01:00
mike12345567 944d9edbad Adding all fixes for prettier so that test will run. 2020-09-22 09:57:05 +01:00
mike12345567 cb08efdd5f Further testing. 2020-09-22 09:54:02 +01:00
mike12345567 42d9dd26d9 Confirming suspicions about why a testcase is failing in GH actions only. 2020-09-22 09:50:16 +01:00
mike12345567 84372c0100 Adding to test case to retry looking for entries out of the triggered workflow in the case of slow machines. 2020-09-22 09:13:19 +01:00
mike12345567 e10a8d1f05 Simplifying review comment changes. 2020-09-22 08:58:16 +01:00
mike12345567 0e932a1999 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into contextual-workflows 2020-09-21 23:19:56 +01:00
mike12345567 0e4748003e Updates as per review comments. 2020-09-21 23:19:45 +01:00
Andrew Kingston 05d4b19300 Fix formatter 2020-09-21 16:45:55 +01:00
mike12345567 fdc653add8 Merge branch 'rename-workflow-automation' of github.com:Budibase/budibase into async-workflow-blocks 2020-09-21 15:06:52 +01:00
mike12345567 aee21a75c6 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into rename-workflow-automation 2020-09-21 15:05:42 +01:00
mike12345567 4b54edf02b Fixing a problem detected by a test case. 2020-09-21 15:05:24 +01:00
mike12345567 e41c77b5e2 Updating yarn lock. 2020-09-21 14:53:32 +01:00
mike12345567 37180a9d7f Merge branch 'rename-workflow-automation' of github.com:Budibase/budibase into async-workflow-blocks 2020-09-21 14:51:48 +01:00
mike12345567 088c7440b6 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into rename-workflow-automation 2020-09-21 14:49:15 +01:00
mike12345567 9274556a1b Fixing linting. 2020-09-21 14:48:24 +01:00
mike12345567 5f2acaff01 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into rename-workflow-automation 2020-09-21 14:01:00 +01:00
mike12345567 c374bd48c8 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into contextual-workflows 2020-09-21 13:53:06 +01:00
mike12345567 b2d06b7a06 Merge branch 'master' of github.com:Budibase/budibase into contextual-workflows 2020-09-21 13:52:26 +01:00
mike12345567 88d22baf1a Renaming workflows -> automate/automations, throughout the API and the builder itself. 2020-09-21 13:49:34 +01:00
Andrew Kingston c3449141c8 Merge branch 'contextual-workflows' of github.com:Budibase/budibase into contextual-workflows 2020-09-18 20:31:39 +01:00
Andrew Kingston 7052ca2241 Allow numerical workflow block input types 2020-09-18 20:31:18 +01:00
Andrew Kingston 906dd7a0ec Bump bbui version 2020-09-18 20:30:35 +01:00
Andrew Kingston 634bf10bd2 Bump bbui to latest version 2020-09-18 17:41:36 +01:00