Commit Graph

2444 Commits

Author SHA1 Message Date
mike12345567 512b7e78c0 Formatting code - was causing PR to fail. 2020-10-12 10:41:25 +01:00
mike12345567 03584cacb2 Using lodash flatten rather than pure JS. 2020-10-12 10:28:53 +01:00
Michael Shanks 52f6c73be8 code review changes 2020-10-12 09:42:48 +01:00
mike12345567 d8f3a2ef17 Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 09:41:42 +01:00
Michael Shanks 0c0887382d fix: no fields required by default 2020-10-11 20:42:30 +01:00
Michael Shanks 7c01959da1 merge from master 2020-10-11 20:34:13 +01:00
Martin McKeaveney 979422be52 Merge branch 'master' into deployment-api-usage 2020-10-09 21:43:28 +01:00
Martin McKeaveney 64b378364a deployment API usage complete 2020-10-09 21:42:20 +01:00
mike12345567 c3380d8ab4 Fixing some bugs with JWT creation not getting an API key. 2020-10-09 20:44:35 +01:00
mike12345567 abbf7fcc02 Merge branch 'link-record-performance' of github.com:Budibase/budibase into endpoint-renaming 2020-10-09 20:18:46 +01:00
mike12345567 efce1c839e Major performance boost to attachLinks -> makes CSV upload much more snappy. 2020-10-09 20:06:54 +01:00
mike12345567 dc9552dbad Updating tests and re-formatting. 2020-10-09 19:30:50 +01:00
mike12345567 763f7b3321 Updating ID to use ro rather than re for rows. 2020-10-09 19:16:33 +01:00
mike12345567 5d49d529e3 Changing record -> row in this update, completing the update of renaming in the builder, this release needs further testing. 2020-10-09 19:10:28 +01:00
mike12345567 fdaa69ee7f Renaming Model -> Table across the entire system, this is an unstable update and has not been tested fully yet. 2020-10-09 18:49:23 +01:00
Martin McKeaveney 4ec6fc4a52 Merge branch 'api-usage-tracking' of github.com:Budibase/budibase into deployment-api-usage 2020-10-09 17:42:17 +01:00
mike12345567 89d02357b8 Making sure any errors that occur in usage quota are thrown up to stop endpoint from functioning. 2020-10-09 17:28:49 +01:00
Michael Shanks 79c890519a :app to _app : bugfix 2020-10-09 17:14:02 +01:00
Michael Shanks 127ce3b59d renaming Record > Row 2020-10-09 17:12:55 +01:00
Martin McKeaveney 055aafa503 updated quota fixes 2020-10-09 17:07:46 +01:00
mike12345567 2811c78d82 Merge branch 'master' of github.com:Budibase/budibase into api-usage-tracking 2020-10-09 14:38:11 +01:00
kevmodrome ad5103786d re-enable event 2020-10-09 13:48:36 +02:00
Andrew Kingston 4b1549a04e Fix issue displaying linked records in a table 2020-10-09 12:42:56 +01:00
Andrew Kingston 4ef8929462 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-09 12:34:25 +01:00
Andrew Kingston 009d04a0a5 Add relationships as data source 2020-10-09 12:24:18 +01:00
kevmodrome 420c94dd00 Merge branch 'master' into feature/add-grid-to-standard-components 2020-10-09 13:08:03 +02:00
Michael Shanks db22d8862a merge from master 2020-10-09 12:01:49 +01:00
Michael Shanks 67845b1c82 auto create screens with new table 2020-10-09 11:58:46 +01:00
kevmodrome a117a18d0f adds editable setting 2020-10-09 12:42:16 +02:00
Martin McKeaveney e1c09e2b6b Merge branch 'api-usage-tracking' of github.com:Budibase/budibase into deployment-api-usage 2020-10-09 11:32:50 +01:00
mike12345567 4584257007 Adding in default plan if the obj found does not have the required information. 2020-10-09 11:32:25 +01:00
mike12345567 c280586b9b Merge branch 'master' of github.com:Budibase/budibase into api-usage-tracking 2020-10-09 11:21:26 +01:00
Martin McKeaveney 05206b6049 Merge branch 'api-usage-tracking' of github.com:Budibase/budibase into deployment-api-usage 2020-10-09 11:21:03 +01:00
Martin McKeaveney f54062575b use centralised document types and separators 2020-10-09 10:50:44 +01:00
Martin McKeaveney aef74c937e code review 2020-10-09 10:46:38 +01:00
kevmodrome a061d1d5b1 move important stuff up top 2020-10-09 11:43:35 +02:00
kevmodrome 2e3d8d9c16 refactor and clean up 2020-10-09 11:35:52 +02:00
kevmodrome 9ab83a08a6 adds options type support to grid component 2020-10-09 11:23:42 +02:00
mike12345567 325e291222 Removing sanisation, instead just using it as a central path system. 2020-10-09 10:00:57 +01:00
mike12345567 eea0bc5fb9 Update to IDs as has been discussed, to change them from colons (:) to underscores (_) as this is more URL, S3 and file system safe. Also shortening most prefixes down to two characters. 2020-10-09 09:47:37 +01:00
Michael Shanks a417a4906b bugfix - appId not recognised in static.js controller 2020-10-08 22:31:27 +01:00
Michael Shanks 4a13be8cf8 merge from master 2020-10-08 22:11:45 +01:00
Michael Shanks 2e76e1f0f4 Save Record Action 2020-10-08 22:06:44 +01:00
Martin McKeaveney 346c4bd406 remove log 2020-10-08 21:52:26 +01:00
Martin McKeaveney 3080dc0658 use underscores instead of colons, shorten id entity names 2020-10-08 21:50:49 +01:00
Martin McKeaveney e4528a8745 Merge branch 'master' of github.com:Budibase/budibase into deployment-api-usage 2020-10-08 21:16:16 +01:00
Martin McKeaveney e3a9eae679 lint and tidy up 2020-10-08 21:16:06 +01:00
Martin McKeaveney 3715c2bf36 removing retry param 2020-10-08 21:11:10 +01:00
Martin McKeaveney 1fd8d559aa v0.2.0 2020-10-08 20:32:50 +01:00
Martin McKeaveney 8dd32c6f6b fixing optional chaining operator in standard components 2020-10-08 20:31:13 +01:00
Martin McKeaveney 3994816c69 tidy up 2020-10-08 20:23:58 +01:00
mike12345567 a54ca6ac39 Fixing linting issue. 2020-10-08 18:36:31 +01:00
mike12345567 552c31a53e Updates for API usage after testing against local Dynamo. 2020-10-08 17:34:41 +01:00
kevmodrome 38e42c0e9e fix optional chaining error and adds guard for no model selected. 2020-10-08 17:45:47 +02:00
Michael Shanks 027819bae0 merge from master - including fixes 2020-10-08 16:15:12 +01:00
Michael Shanks a3bd28d99f screen templates - backup before merge from master 2020-10-08 15:46:29 +01:00
kevmodrome d9c8e6cd96 update svelte version in builder and standard-components packages 2020-10-08 16:24:21 +02:00
kevmodrome 93de461272 add dateRenderer 2020-10-08 16:23:13 +02:00
Martin McKeaveney ee73c7f418 update deployment quota after deploy 2020-10-08 15:06:27 +01:00
Michael Shanks f6d2e48dcc Screen Template - pre merge 2020-10-08 14:53:39 +01:00
kevmodrome e43dc488e4 move renderer map to separate file 2020-10-08 15:34:47 +02:00
kevmodrome da32029c31 fix delete functionality 2020-10-08 14:45:50 +02:00
kevmodrome 480a73997d merge master 2020-10-08 14:37:57 +02:00
mike12345567 1bf3b708fd Merge branch 'linked-records' of github.com:Budibase/budibase into api-usage-tracking 2020-10-08 13:30:18 +01:00
mike12345567 4ccd76fb5b Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-08 12:29:09 +01:00
mike12345567 69a1c13793 Using array de-structuring as per review. 2020-10-08 12:28:59 +01:00
Andrew Kingston 735de553d2 Update linked record selector to handle errors and remove loading state flashing 2020-10-08 12:21:05 +01:00
Andrew Kingston fbb7bf7413 Fixing cypress tests 2020-10-08 11:36:16 +01:00
Martin McKeaveney 39d2adb9e3 hitting deployment success endpoint 2020-10-08 10:56:32 +01:00
Andrew Kingston 9c6dbae7d5 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-08 10:43:09 +01:00
Andrew Kingston 9a8c659b79 Unify DataForm and DataFormWide by using single component with BBUI styles 2020-10-08 10:42:53 +01:00
Andrew Kingston 917bf47925 Fix crashing on creating a record with fields of type link or options due to coercing values 2020-10-08 10:42:14 +01:00
Andrew Kingston fa1836ad23 Improve relationship datatable title when no primary display is selected for a model 2020-10-08 10:41:20 +01:00
Andrew Kingston 7a08c5584d Remove console log statement 2020-10-08 10:40:46 +01:00
Andrew Kingston 1c559978e9 Fix relationship view when viewing fields with spaces in their name 2020-10-08 10:32:17 +01:00
Andrew Kingston ff4f7b31e3 Fix styles in event editor modal 2020-10-08 09:48:24 +01:00
Andrew Kingston ee6c210e67 Fix frontend crashing when adding components to a data provider component with no source 2020-10-08 09:48:03 +01:00
Andrew Kingston d24679bc33 Move modal to BBUI and update usages 2020-10-08 09:35:11 +01:00
Andrew Kingston 40d1d15b8e Bump electron to v10 2020-10-08 09:34:45 +01:00
Andrew Kingston 1b1c0c4e8f Bump BBUI version 2020-10-08 09:34:22 +01:00
Michael Shanks ae0069fa5d RecordDetail & NewRecord now baseComponents 2020-10-07 22:30:51 +01:00
Michael Shanks 716f42deab Screen templates working 2020-10-07 22:30:00 +01:00
Martin McKeaveney 3dca82a5ff check that deployment is possible using lambda API 2020-10-07 20:37:55 +01:00
mike12345567 922e214dca Fixing up middleware to handle uploads, views, records, automation runs and users. 2020-10-07 17:56:47 +01:00
kevmodrome c3a87880c1 Merge branch 'master' into feature/add-grid-to-standard-components 2020-10-07 16:48:59 +02:00
kevmodrome 3225b5bbdc merge master 2020-10-07 16:47:35 +02:00
mike12345567 106badc9c6 Merge branch 'linked-records' of github.com:Budibase/budibase into api-usage-tracking 2020-10-07 15:41:39 +01:00
Michael Shanks 7fbee8b724 Merge branch 'master' of github.com:Budibase/budibase into master 2020-10-07 15:40:24 +01:00
Michael Shanks 77552a0747 Screen templates - initial commit 2020-10-07 15:40:06 +01:00
mike12345567 25cc60aa94 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-07 14:48:20 +01:00
mike12345567 47d3cd3000 Removing .orig file created by merge. 2020-10-07 13:33:21 +01:00
Andrew Kingston fff39f65e5 Change create table popover to modal to better support data import which can be long 2020-10-07 12:40:00 +01:00
Andrew Kingston a24ce26953 Remove padding on top nav bar so that things are properly centered 2020-10-07 12:00:15 +01:00
mike12345567 a72d8e42ad Sanitising the paths to the couchDB data directories. 2020-10-07 11:42:28 +01:00
Andrew Kingston b9c9408c7c Fix create automation modal 2020-10-07 11:38:05 +01:00
Andrew Kingston 4bcc50ee85 Change live animation color from purple to black 2020-10-07 11:37:55 +01:00
Andrew Kingston 97e9883d85 Fix table cypress tests 2020-10-07 11:23:47 +01:00
Andrew Kingston 7c67f18965 Fix cypress automation tests 2020-10-07 11:18:46 +01:00
Andrew Kingston 475d811e5b Fix layout by removing extra columns from grid layout css 2020-10-07 11:17:01 +01:00
Andrew Kingston e38985e111 Remove duplicate select element 2020-10-07 11:16:36 +01:00
Andrew Kingston 8582d63a75 Update styles of data import to match BBUI components 2020-10-07 11:16:06 +01:00
mike12345567 2c3566f686 Adding a regex to allow certain paths with : on windows. 2020-10-07 11:04:36 +01:00
Andrew Kingston 3dc30262d7 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-07 10:45:26 +01:00
mike12345567 2f58b2b81e Quick change after diffing and looking through everything. 2020-10-07 09:58:32 +01:00
kevmodrome 6c173ac6b3 fixes editable cell bug 2020-10-07 10:06:23 +02:00
mike12345567 13c9be4ea3 Adding a basic sanitise path function and fixing up use cases of appId filesystem paths throughout the system. 2020-10-07 00:24:56 +01:00
Michael Shanks 46cd413c58 removed .orig files 2020-10-06 21:45:12 +01:00
Michael Shanks 210062cbac merge conflicts - from master 2020-10-06 21:43:54 +01:00
Michael Shanks ed8371c41f a few changes from code review 2020-10-06 21:37:10 +01:00
Martin McKeaveney f5102d95bb v0.1.25 2020-10-06 21:23:02 +01:00
Martin McKeaveney 7b3ca245cc updating replication stream dependency 2020-10-06 21:10:49 +01:00
Martin McKeaveney 47993f2bd1 v0.1.24 2020-10-06 20:35:11 +01:00
Martin McKeaveney 6e65511613 Merge pull request #664 from Budibase/data-import
Data import
2020-10-06 20:24:34 +01:00
Martin McKeaveney e40cb3ac69 fixing test 2020-10-06 20:18:05 +01:00
mike12345567 72de4dcab4 First work towards implementing Dynamo usage in the server when running in the cloud; this is for tracking usage against API keys. 2020-10-06 19:13:41 +01:00
Andrew Kingston ea7e17ce60 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-06 18:03:43 +01:00
Andrew Kingston 1fb5804d32 Add support for displaying linked record counts in List and RecordDetail 2020-10-06 18:01:23 +01:00
Andrew Kingston e15e86b9e1 Add linked records to dataforms and use BBUI components and pretty errors 2020-10-06 16:46:23 +01:00
Andrew Kingston 7207bc275e Remove console log statement 2020-10-06 16:40:23 +01:00
Andrew Kingston 63635f3642 Use real schema for datatable rather than first row's keys 2020-10-06 16:39:24 +01:00
Andrew Kingston a12ddaaf08 Add default file prop to AttachmentList to prevent crashing when no files exist 2020-10-06 16:22:11 +01:00
Andrew Kingston 9287b16598 Add support for displaying linked records in DataTable 2020-10-06 16:05:52 +01:00
Andrew Kingston 49875d5c42 Fix a couple of crashes in frontend when doing various actions and fix record detail view 2020-10-06 16:04:58 +01:00
Andrew Kingston 013d812a52 Bump BBUI version 2020-10-06 16:03:49 +01:00
Andrew Kingston 959450d615 Delete old multiselect component 2020-10-06 16:03:17 +01:00
Andrew Kingston 517fb201ec Move multiselect to BBUI 2020-10-06 16:02:48 +01:00
Michael Shanks b9108f013d missing dependency 2020-10-05 21:21:00 +01:00
Michael Shanks a28a327da7 Merge branch 'master' into fixes 2020-10-05 21:17:01 +01:00
Michael Shanks b51942f0f8 broken test 2020-10-05 21:15:10 +01:00
Michael Shanks c0e008181d broken tests 2020-10-05 20:58:07 +01:00
Martin McKeaveney 5e6cbe3b6d cleaner parsing 2020-10-05 19:21:51 +01:00
mike12345567 196f0b380d Minor update to remove send grid from the API component of the builder and make them part of the automation itself. 2020-10-05 17:45:31 +01:00
Michael Shanks e4d4e2cd1c API Key - Changed placholder to instruct Command V
(as the right-click menu does not work in electron)
2020-10-05 17:41:16 +01:00
Michael Shanks 775aa0e92c Metrics - event props not populating correctly 2020-10-05 17:28:44 +01:00
Michael Shanks 267e8e39aa Coerse record fields, to be a bit more tolerant of data input 2020-10-05 17:28:23 +01:00
Martin McKeaveney ea950748e5 styling updates after review 2020-10-05 15:26:31 +01:00
Martin McKeaveney dd9eb9bb6a merge 2020-10-05 15:08:53 +01:00
Martin McKeaveney c3a5d964bc tidy up 2020-10-05 14:43:34 +01:00
Martin McKeaveney 3a460429a0 adding nice loading states 2020-10-05 14:07:39 +01:00
Andrew Kingston 921d63eea1 Fix null referencce in ModelViewSelect 2020-10-05 14:02:33 +01:00
Andrew Kingston 16faa00189 Stop notifications blocking all pointer events across full width 2020-10-05 14:00:26 +01:00
Andrew Kingston 50e8159644 Fix more cypress tests 2020-10-05 12:37:03 +01:00
Andrew Kingston 701786dc25 Merge template and index page styles with new BBUI 2020-10-05 12:20:59 +01:00
Andrew Kingston 68a03eceb4 Merge branch 'linked-records' of github.com:Budibase/budibase into linked-records 2020-10-05 12:20:26 +01:00
Martin McKeaveney 140233960e unit tests for csv parser 2020-10-05 11:48:13 +01:00
Andrew Kingston a23967364b Fix cypress texts and update use of modal 2020-10-05 11:13:09 +01:00
mike12345567 3ad58c2aa7 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-05 10:52:35 +01:00
Martin McKeaveney b754fc3f07 account for omitted rows 2020-10-05 10:51:58 +01:00
mike12345567 03b9b3cec2 Merge branch 'master' of github.com:Budibase/budibase into remove-views 2020-10-05 10:04:23 +01:00
mike12345567 b78c84cf2e Fixing an issue that a test case raised. 2020-10-05 09:59:03 +01:00