Commit Graph

2414 Commits

Author SHA1 Message Date
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
kevmodrome 92c162ea2c adds add row functionality to grid component 2020-10-02 09:43:56 +02:00
Andrew Kingston 4363730af0 Update multiselect component 2020-10-02 08:36:16 +01:00
Andrew Kingston 27060f5f46 Add initial version of new modal (WIP) 2020-10-02 08:35:54 +01:00
Michael Shanks dcf0b4f973 Calculate: stats is only option - remove select 2020-10-01 21:03:22 +01:00
Michael Shanks e6c8ca44c5 fix: View filter - handle change of field type 2020-10-01 17:34:25 +01:00
Michael Drury c7693d6e86 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 2d80b2be3d Added datepicker to view filters 2020-10-01 17:07:53 +01:00
Michael Shanks 0c373a9fb4 fix: view filter handle bool, number & date 2020-10-01 16:55:17 +01:00
Martin McKeaveney c7a917ce40 csv import functional 2020-10-01 14:48:07 +01:00
Michael Drury 8ebc444c34 Fixing issues when adding and deleting records from the input record linking list. 2020-10-01 12:30:14 +01:00
Andrew Kingston 9929ec2ac5 Fix linked record selector 2020-10-01 11:56:06 +01:00
Andrew Kingston 17d33dae20 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-01 11:53:57 +01:00
Andrew Kingston 3e6efb72a1 Add hacked multiselect for testing 2020-10-01 11:53:43 +01:00
Michael Drury ee10e6a165 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 725e4e9944 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-01 11:33:53 +01:00
Andrew Kingston 9b11067faf Remove console.log statement 2020-10-01 11:33:40 +01:00
Michael Drury 3c8c5461d7 Resolving issues with deleting a linked column, should now be possible. 2020-10-01 11:33:37 +01:00
Andrew Kingston b4a5714e59 Prevent editing linked record columns 2020-10-01 11:33:26 +01:00
Andrew Kingston 95f2a176d3 Increase settings modal padding 2020-10-01 11:29:43 +01:00
Andrew Kingston 7aa040d314 Add functional backend UI for navigating relationships 2020-10-01 11:01:06 +01:00
Michael Shanks 51be100ad4 Merge branch 'master' into bugfix 2020-10-01 09:33:20 +01:00
Michael Shanks 42b21428eb bugfix: dont try to log to analytics when no config 2020-10-01 09:29:30 +01:00
Michael Shanks 7f2041ff16 bugfix: create app modal always appears on homescreen 2020-10-01 09:28:55 +01:00
Andrew Kingston 9a9430e0cf Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-01 07:22:24 +01:00
Andrew Kingston cd69d17c87 Use common Table component across backend UI and add initial empty page for relationships 2020-10-01 07:19:38 +01:00
mike12345567 5cf845335c Minor update to fully handle field deletion which is a linked field; from a model. 2020-09-30 23:14:39 +01:00
mike12345567 3de8c86c4d 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 04e76797f9 v0.1.22 2020-09-30 17:05:19 +01:00
Martin McKeaveney bc854df60c fixing export styling 2020-09-30 16:53:11 +01:00
Andrew Kingston b5d38dd6e4 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-09-30 16:50:15 +01:00
mike12345567 4f4298468a Fixing record editting. 2020-09-30 15:41:52 +01:00
mike12345567 2bb349a381 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 253ece59bc user creation CI 2020-09-30 15:20:26 +01:00
Andrew Kingston 5c85ffeb90 Add empty state when automations have no steps 2020-09-30 15:14:16 +01:00
Andrew Kingston 162f91dc82 Add empty state text to automate page and consistently style empty states 2020-09-30 15:06:47 +01:00
mike12345567 9c6490f0f2 Fixing some missues with linked records after testing with the new UI. 2020-09-30 12:00:56 +01:00
Martin McKeaveney 3969460ee0 fix select elements 2020-09-30 11:57:42 +01:00
Andrew Kingston 5c9eff4cf4 Update create automation modal to match other modal styles 2020-09-30 10:24:43 +01:00
Andrew Kingston a440f1a8e5 Fix all styles in settings modal 2020-09-30 10:24:16 +01:00
Andrew Kingston 49ccf8ebc8 Update automation page with new form styles 2020-09-30 09:28:18 +01:00
Andrew Kingston 4b0de71c10 Bump BBUI version 2020-09-30 09:28:05 +01:00
Andrew Kingston 089ecf5609 Add WIP draft of linked records UI allowing single linked record selection 2020-09-29 18:27:35 +01:00
mike12345567 e798fca33b 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 f97369afd2 Analytics enabled/disabled via specific ENV variable 2020-09-29 17:28:24 +01:00
mike12345567 672094b177 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 dee763a952 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 a665399785 Extra analytics logging from code review 2020-09-29 16:35:47 +01:00
Michael Shanks 701c82cb1f serve determines whether analytics are enabled 2020-09-29 16:23:34 +01:00
Michael Shanks c336605529 added comment 2020-09-29 15:35:51 +01:00
Michael Shanks 83261aeadf analytics - identify user + extra actions added 2020-09-29 15:26:56 +01:00
Andrew Kingston c425ec4d2f Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-09-29 13:54:21 +01:00
Andrew Kingston 36498f2a2b Add primary display column and update all backend UI popovers with new form styles 2020-09-29 13:54:04 +01:00
Andrew Kingston db47e5c581 Bump BBUI version 2020-09-29 13:52:26 +01:00
Martin McKeaveney f9dc382867 link 2020-09-29 12:31:41 +01:00
mike12345567 52b594ab39 Adding routes for getting link records based on a record Id. 2020-09-29 12:02:06 +01:00
mike12345567 bfe2bb5a23 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 6a2da91f31 CLI tool for exporting apps, tidy up 2020-09-29 10:32:42 +01:00
Martin McKeaveney 2e1583589e organise async logic on homepage, style template cards and add images 2020-09-29 10:19:04 +01:00
kevmodrome cbbda8599f adds events when records are deleted and adds more stylish controls 2020-09-29 11:05:55 +02:00
mike12345567 af31dfc978 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-09-28 17:37:12 +01:00
mike12345567 7f0686380c 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 b27f80071f async templates working from S3 2020-09-28 17:04:08 +01:00
kevmodrome d94a9b193b adds multiple selection delete functionality 2020-09-28 15:32:06 +02:00
Joe be2613d646 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 4cf970d073 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 0a398c43c3 bumps svelte-ag-grid component. 2020-09-28 11:51:37 +02:00
Michael Shanks 1019078f79 Fetching analytics userId, when api_key entered 2020-09-28 10:47:18 +01:00
Joe bbc87ce6ca 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 01dd735342 remove logs 2020-09-28 10:58:38 +02:00
kevmodrome 1ea709e356 handle no data scenario 2020-09-28 10:58:06 +02:00
kevmodrome dcb7d02a5f use Map() to handle renderers 2020-09-28 10:55:50 +02:00
kevmodrome e8e3a4c793 adds custom renderer for bool fields 2020-09-28 10:53:19 +02:00
kevmodrome 67e176a69d updates grid componenet to use model schema insteady of first row keys of datasource 2020-09-28 09:15:43 +02:00
kevmodrome 38a2d9df14 wip: add record saving functionality 2020-09-28 09:09:08 +02:00
Joe e528d1fc3b Merge branch 'linked-records' of https://github.com/Budibase/budibase into linked-records 2020-09-26 00:46:30 +01:00
Joe 620134132e 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 47b512be1c Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-09-25 18:05:38 +01:00
mike12345567 7e3715d88a 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 9bd1743ea0 Rename records to rows in automation definitions 2020-09-25 15:01:48 +01:00
Martin McKeaveney 8d01cc8d8b Merge branch 'master' of github.com:Budibase/budibase into template-export 2020-09-25 14:51:22 +01:00
Martin McKeaveney bf242a01ec re-add electron files 2020-09-25 14:51:04 +01:00
Martin McKeaveney 892ce699ce template export v1 2020-09-25 14:47:42 +01:00
Andrew Kingston d0806b2924 Fix cypress test 2020-09-25 13:12:16 +01:00