Commit Graph

928 Commits

Author SHA1 Message Date
Martin McKeaveney 2ca3bf1be9 Merge pull request #692 from Budibase/external-webhooks
support for external webhooks
2020-10-12 13:53:55 +01:00
mike12345567 cfd4d9d34d Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 13:34:32 +01:00
Martin McKeaveney c5efdbc3d0 adding auth object to context rather than separate booleans 2020-10-12 13:32:52 +01:00
Martin McKeaveney 1f92c9cd14 support for external webhooks 2020-10-12 11:57:37 +01:00
kevmodrome ac6c4869a1 merge master 2020-10-12 12:56:27 +02:00
Andrew Kingston 0ac8a33210 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 11:26:04 +01:00
Michael Drury 058149981e 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
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
mike12345567 d8f3a2ef17 Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 09:41:42 +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
Martin McKeaveney 055aafa503 updated quota fixes 2020-10-09 17:07:46 +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
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
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
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 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
Martin McKeaveney ee73c7f418 update deployment quota after deploy 2020-10-08 15:06:27 +01: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
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 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 40d1d15b8e Bump electron to v10 2020-10-08 09:34:45 +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
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
mike12345567 a72d8e42ad Sanitising the paths to the couchDB data directories. 2020-10-07 11:42:28 +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
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 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
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 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 267e8e39aa Coerse record fields, to be a bit more tolerant of data input 2020-10-05 17:28:23 +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
Martin McKeaveney 140233960e unit tests for csv parser 2020-10-05 11:48:13 +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
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 7a51963ac5 Update data export with new DB view structure and linked records 2020-10-03 21:07:59 +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
mike12345567 cb89f1199b Fixing an issue with linked records showing up as models after id changes. 2020-10-02 16:49:36 +01:00
Martin McKeaveney 016f49ac5a merge 2020-10-02 16:45:59 +01:00
mike12345567 e43e0e100b Some quick automation fixes. 2020-10-02 16:42:47 +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
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
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 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
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 3c8c5461d7 Resolving issues with deleting a linked column, should now be possible. 2020-10-01 11:33:37 +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
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
mike12345567 9c6490f0f2 Fixing some missues with linked records after testing with the new UI. 2020-09-30 12:00:56 +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 701c82cb1f serve determines whether analytics are enabled 2020-09-29 16:23:34 +01:00
Michael Shanks 83261aeadf analytics - identify user + extra actions added 2020-09-29 15:26:56 +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 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
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
Martin McKeaveney f447f3a889 Merge branch 'master' of github.com:Budibase/budibase into csv-export 2020-09-24 16:16:59 +01:00
Martin McKeaveney b186f0fbb2 merge 2020-09-24 15:52:09 +01:00
Martin McKeaveney 42dfc2b33c providing ability to perform JSON and CSV export from popover 2020-09-23 23:56:26 +01:00
Martin McKeaveney 31c6450f5e tidy up 2020-09-23 21:03:13 +01:00
Martin McKeaveney 31dd25331e ensuring s3 upload works in prod 2020-09-23 20:23:40 +01:00
Martin McKeaveney fd97c14a50 lint, tidy up and some simplification 2020-09-23 17:29:32 +01:00
Martin McKeaveney ccebe283cc abstract local file upload logic 2020-09-23 17:02:06 +01:00
mike12345567 71d6236d05 Adding re-triggering of test case to help with running test case in GH actions. 2020-09-23 16:35:34 +01:00
mike12345567 19bb0481c6 Running linter to cleanup formatting. 2020-09-23 16:20:39 +01:00
mike12345567 6e1e5777b8 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 6b00fb2d8e local file upload from apps 2020-09-23 16:15:09 +01:00
mike12345567 f3f874c3f9 Fixing delay as it was causing test case to be inconsistent (triggering automation) 2020-09-23 15:29:25 +01:00