1
0
Fork 0
mirror of synced 2024-08-02 11:51:34 +12:00
Commit graph

59 commits

Author SHA1 Message Date
mike12345567
a21a3f817e Linting. 2020-10-16 12:13:27 +01:00
mike12345567
e87d9afbaf Fixing an issue whereby in some enrichment calls the count of links would be doubled (counting both sides). 2020-10-16 11:59:59 +01:00
mike12345567
4e000a8904 Updating formatting. 2020-10-12 17:56:40 +01:00
mike12345567
408eda81ff Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 17:45:11 +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
mike12345567
94f966631c Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 15:25:27 +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
mike12345567
53d765b849 Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 13:34:32 +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
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
mike12345567
3f0d205846 Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 09:41:42 +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
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
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
Martin McKeaveney
954f6ad47b use underscores instead of colons, shorten id entity names 2020-10-08 21:50:49 +01:00
mike12345567
b400a06027 Updates for API usage after testing against local Dynamo. 2020-10-08 17:34:41 +01:00
mike12345567
3a6a03403f Merge branch 'linked-records' of github.com:Budibase/budibase into api-usage-tracking 2020-10-07 15:41:39 +01:00
mike12345567
17a4b058b5 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-07 14:48:20 +01:00
mike12345567
1f8f0a0444 Sanitising the paths to the couchDB data directories. 2020-10-07 11:42:28 +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
mike12345567
e0dad53ad3 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-05 10:52:35 +01:00
mike12345567
672f5f8301 Merge branch 'master' of github.com:Budibase/budibase into remove-views 2020-10-05 10:04:23 +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
mike12345567
e24668253f Some quick fixes after merge. 2020-10-02 15:49:13 +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
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
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 Drury
a891149b5b Fixing issues when adding and deleting records from the input record linking list. 2020-10-01 12:30:14 +01:00
Michael Drury
58ff985a35 Resolving issues with deleting a linked column, should now be possible. 2020-10-01 11:33:37 +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
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
mike12345567
cf4b5a6fbf Fixing some missues with linked records after testing with the new UI. 2020-09-30 12:00:56 +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
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
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