Commit Graph

2449 Commits

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