1
0
Fork 0
mirror of synced 2024-06-30 03:50:37 +12:00
Commit graph

132 commits

Author SHA1 Message Date
mike12345567 2467ae2a2e Updating package.json to include an option for coverage, had to re-write some stuff to make sure that views were not getting coverage statements inserted (breaking things). 2021-03-02 17:13:11 +00:00
mike12345567 a21ca8fb62 First version, still playing around with styling. 2021-03-01 17:06:08 +00:00
mike12345567 20b44c9dbd Minor update to fix an issue when updating a row that it would throw an error with 1->to->many relationships on existing relationships for that row, as well as cleaning up how relationshipType is put onto the linked table. 2021-02-25 17:07:32 +00:00
Martin McKeaveney 0cfbe2357b bugfixes 2021-02-25 16:21:41 +00:00
mike12345567 9a49252ae7 Updating link controller to manage existing column comparison a bit better. 2021-02-25 15:21:08 +00:00
mike12345567 5733255cc8 Merge branch 'master' of github.com:Budibase/budibase into bug/relationship-display-id 2021-02-25 12:36:16 +00:00
Martin McKeaveney b179418767 relationship type constant 2021-02-25 12:21:24 +00:00
mike12345567 66b488dc46 Wrapping throws in new errors. 2021-02-25 12:10:18 +00:00
mike12345567 8612782610 Found some issues with relationship columns being doubled up, this isn't validated client side, best to make sure it doesn't happen server-side (can really break your data structure if columns overwrite each other). 2021-02-25 12:06:13 +00:00
Martin McKeaveney 62c5069528 refactor 2021-02-25 11:59:31 +00:00
Martin McKeaveney 5bc8b5da4c Server side data integrity for 1:N 2021-02-25 11:55:23 +00:00
Martin McKeaveney d5e411e985 1-n-data-integrity 2021-02-25 11:05:15 +00:00
mike12345567 d34a9e12e2 Having the server send out _id and primaryDisplay in an object for relationships, also accepting objects and coercing them on way in. 2021-02-25 09:41:04 +00:00
mike12345567 edbef7ec97 Minor change, making sure each link is definitely unique by combining each of its three unique properties into a uniqueness hash, was missing one of the components. 2021-02-24 13:55:48 +00:00
mike12345567 887d883f3d Fixing some issues with enrichment, making sure display column can always be worked out. 2021-02-19 13:21:38 +00:00
mike12345567 a6d82f8c95 Updating the self auth endpoint to use the row processor. 2021-02-19 10:32:24 +00:00
mike12345567 619f68fc3b Fixing an issue found by Andrew K - relationship lookup needs to work on both sides of relationship. 2021-02-19 10:17:11 +00:00
mike12345567 24a07bae41 Some major performance optimisations, found that db.find is not fast unless its indexed, there is also no point in indexing for our internal relationship searching, however we can use the allDocs call. This will likely be slow for very large calls (say 100K records) but for these sort of calls we really need to paginate anyway. 2021-02-18 13:38:57 +00:00
mike12345567 f572bc836e work in progress, enriching in the display names. 2021-02-17 18:04:21 +00:00
mike12345567 cecc8e4306 Starting with some work towards a deeper enrichment of rows. 2021-02-17 17:09:59 +00:00
mike12345567 8b0f99b0b1 Updating where utilities are held in builder and then making user table relationships autocolumn aware too. 2021-02-16 15:41:50 +00:00
mike12345567 87f0a2cd67 Fixing issue with linked rows not handling uniqueness correctly when links between tables are using fieldnames for uniqueness. 2021-02-15 19:01:15 +00:00
mike12345567 734d3fe496 Fixing issue with relationships. 2021-02-15 18:53:20 +00:00
mike12345567 10aa830d05 Work in progress, getting the server backend mostly ready for this work. 2021-02-15 17:47:14 +00:00
mike12345567 da59ca30e6 Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-12 13:40:27 +00:00
Andrew Kingston aec4939b93 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-10 18:34:45 +00:00
mike12345567 7a2405c756 First lot of work to update the auto fields into schema. 2021-02-10 17:55:19 +00:00
Martin McKeaveney 1a945da513 Merge branch 'master' of https://github.com/Budibase/budibase into internal-search 2021-02-10 14:02:57 +00:00
Andrew Kingston 9b21eb78b6 Fix relationships not being saved for new rows 2021-02-09 14:50:02 +00:00
mike12345567 a1de336db9 Make sure both directions exist. 2021-02-09 13:20:53 +00:00
mike12345567 383c2a6c0a Quick fix to make sure all relationships link to a valid, existing doc. 2021-02-09 13:18:59 +00:00
mike12345567 c8ef404560 Fixing issues with builtin roles living in the database as well as in code (easier to change in the future this way) - discovered by basic test case. 2021-02-09 13:01:45 +00:00
Martin McKeaveney 5b1a2f99d6 merge 2021-02-05 11:18:37 +00:00
mike12345567 f182a65547 Adding a check to the link utils which should make sure the correct link doc is always picked. 2021-02-03 17:19:41 +00:00
mike12345567 e0ea434f27 Added some unit tests for the enrichment process of rows, in the process found some issues with linking a table to itself, so fixed those so that we can do that in the future if desired. 2021-02-02 11:46:10 +00:00
Martin McKeaveney 4b5e572da3 internal search working 2021-02-01 21:02:54 +00:00
mike12345567 28ddffb862 Fixing an issue that aptkingston found with relationships were links on the way out would be multiplied (due to the bi-directional nature). 2021-01-28 14:03:19 +00:00
Martin McKeaveney 70a49088d0 merge 2021-01-18 14:43:26 +00:00
mike12345567 0c66d9fca4 When self hosting it is now possible to use a pretty URL to access the app rather than the normal appId. 2021-01-14 17:01:31 +00:00
Martin McKeaveney 04eca5b663 further syntax highlighting updates 2021-01-12 16:49:11 +00:00
Martin McKeaveney 98a7085bbc Allow dynamic query execution from front end components 2021-01-08 12:06:37 +00:00
Martin McKeaveney 37ef32a173 switching between queries 2021-01-06 12:28:51 +00:00
Martin McKeaveney 63ad74b660 separation of datasources and queries 2020-12-18 18:19:43 +00:00
Andrew Kingston 9054a8014a Merge branch 'master' of github.com:Budibase/budibase into feature/security-update 2020-12-08 13:16:53 +00:00
Martin McKeaveney d8aa699bfa merge 2020-12-07 21:20:35 +00:00
mike12345567 e4ef92555c Merge branch 'username-email' of github.com:Budibase/budibase into feature/security-update 2020-12-07 18:08:20 +00:00
Martin McKeaveney 81fe27f8f3 component store refactor - remove concept of currentPreviewItem and currentComponentInfo 2020-12-07 15:27:46 +00:00
mike12345567 c56bdd0751 Updating role constraints and making sure roles can't be deleted if they are in use. 2020-12-07 15:21:06 +00:00
Martin McKeaveney 84434741d1 allow creation of custom layouts, moving layoutId prop to top level of screen 2020-12-04 23:16:07 +00:00
Martin McKeaveney 87af1f916f update user id generation 2020-12-04 13:28:19 +00:00