1
0
Fork 0
mirror of synced 2024-06-28 02:50:50 +12:00
Commit graph

245 commits

Author SHA1 Message Date
mike12345567 3744c9093b Fixing a variety of issues with internal relationships and external SQL relationships. 2021-08-05 19:24:29 +01:00
mike12345567 42f08f97cc Revert "Merge pull request #2253 from Budibase/revert-2076-feature/multi-tenants"
This reverts commit 0d2e2314d4, reversing
changes made to 1beca4ee96.
2021-08-05 09:59:08 +01:00
Michael Drury f37946d47e
Revert "Multi-tenancy/organisations" 2021-08-04 10:02:24 +01:00
mike12345567 a384cc059d Changing how apps are retrieved to be more efficient. 2021-07-23 20:01:53 +01:00
mike12345567 5ffe3c7935 First version of multi-tenancy, work still to be done. 2021-07-15 17:57:02 +01:00
mike12345567 f2c2ead3fc Cleaning up deployments into the app DB, moving API keys to be in global DB (which will be tenancy managed) and adding concept of platform info DB. 2021-07-14 16:29:32 +01:00
mike12345567 477adfdbd7 Linting + formatting. 2021-06-25 17:21:36 +01:00
mike12345567 191646b7ee Removing use of the arguments[0] as they don't mesh well with TS. 2021-06-25 17:14:23 +01:00
mike12345567 373c57580a Allowing formula fields to be display columns. 2021-06-22 11:49:35 +01:00
Martin McKeaveney f85fad5a4d Merge branch 'master' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-21 11:14:27 +01:00
mike12345567 13222e2083 Linting. 2021-06-20 10:55:12 +01:00
mike12345567 60de9ccb28 Fixing issue with 1:N relationships and multiple fields, issue #1753. 2021-06-20 10:53:55 +01:00
Martin McKeaveney 50fa352212 better UI flow, list tables underneath datasources 2021-06-17 11:40:01 +01:00
Martin McKeaveney 9a35e332ca consolidate data sources and queries together in one UI 2021-06-15 19:48:05 +01:00
mike12345567 efba60239c Merge branch 'master' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-09 11:03:01 +01:00
mike12345567 8cffe5c9ff Fixing a collection of issues, specifically users being exported/imported and issues with database import causing weirdness (metadata doc being wrong). 2021-06-08 18:06:16 +01:00
mike12345567 c80f63673b Formatting. 2021-06-08 16:11:46 +01:00
mike12345567 594a290286 Re-writing how global users are handled in server, specifically how they are retrieved, so that for relationships it can handle the global user. 2021-06-08 16:06:30 +01:00
mike12345567 a74309202d Adding test case for data source opinionated query endpoint. 2021-06-04 15:16:15 +01:00
Martin McKeaveney 7ecdb60cc6 Joi schema validation for plus datasources 2021-06-04 10:50:02 +01:00
Andrew Kingston b6026b61e8 Merge branch 'master' of github.com:Budibase/budibase into enhanced-app-list 2021-05-21 11:11:43 +01:00
Michael Drury 34384e476c
Merge pull request #1514 from Budibase/fix/per-app-login
Removing per app login screens
2021-05-21 11:11:21 +01:00
Andrew Kingston 0ea2482f7b Merge branch 'master' of github.com:Budibase/budibase into enhanced-app-list 2021-05-21 11:00:26 +01:00
Andrew Kingston c45e75f8b5 Update app list screen to show unified app list with publish status 2021-05-21 10:32:16 +01:00
Martin McKeaveney fe5df57935 removing skip_setup as it was preventing init 2021-05-20 21:42:27 +01:00
mike12345567 fba63134d1 Fixing some issues found when testing. 2021-05-20 20:48:24 +01:00
Martin McKeaveney 0b3110b223 merge with master 2021-05-20 10:40:15 +01:00
mike12345567 6d6eee2a93 Adding the ability to get all apps, with the status attached. 2021-05-19 15:09:57 +01:00
Martin McKeaveney dbabe0afaf
Merge pull request #1496 from Budibase/feature/draft-apps
Feature/draft apps
2021-05-18 11:25:51 +01:00
Martin McKeaveney 6dc288fcc3 merge 2021-05-16 21:29:07 +01:00
Martin McKeaveney 0ed0550e73 revert functionality working 2021-05-16 21:25:37 +01:00
mike12345567 2d0122f7d6 A general re-work of some parts of the auth lib, as well as moving roles/permissions around to make it possible to build an admin API which has role knowledge. 2021-05-14 15:43:41 +01:00
Andrew Kingston da6b76fbf5 Lint 2021-05-14 15:41:58 +01:00
Martin McKeaveney e8661a1ab7 publish button 2021-05-13 17:33:31 +01:00
mike12345567 f4e3e1d196 Altering object store so that all writes/reads to the object store have the dev app prefix replaced with standard app. 2021-05-13 13:29:53 +01:00
Martin McKeaveney 61a5b109f5 dev mode E2E 2021-05-13 11:06:08 +01:00
mike12345567 f6fbeb4858 Putting together redis lock system. 2021-05-12 17:37:09 +01:00
mike12345567 c9d903a92f General cleanup, doing away with the concept of hosting in the builder and the generally confusing difference between cloud, self hosting and running locally - server is simply always a server now. 2021-05-11 17:49:26 +01:00
Andrew Kingston 3eabaea42f Merge branch 'next' of github.com:Budibase/budibase into lab-day-search 2021-05-11 10:47:52 +01:00
mike12345567 c259564ba8 Merge branch 'next' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 13:24:14 +01:00
Andrew Kingston 556236ebce Add explicit prettier options 2021-05-04 11:32:22 +01:00
mike12345567 acc6eed8ff Merge branch 'next' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 10:34:30 +01:00
Keviin Åberg Kultalahti 4ec2e7d01f lint:fix 2021-05-03 09:31:09 +02:00
Andrew Kingston 5aee405245 Add server-side searching and pagination to data providers using internal tables 2021-04-30 16:29:53 +01:00
mike12345567 4ed611fb73 Adding handlebars formulas to the system, it is now possible to set a formula at a column level which will always be applied on the way out with a relationship depth of one. 2021-04-29 19:06:58 +01:00
mike12345567 e057217b48 Initial CRUD interface for templates. 2021-04-21 18:15:57 +01:00
mike12345567 547492189a Adding cleanup operation to dynamo client. 2021-04-19 22:36:14 +01:00
mike12345567 ade007482c Updating the server to remove use of the email in the user ID. 2021-04-19 16:26:33 +01:00
mike12345567 dccd559b56 Updating some test cases to work with new system. 2021-04-09 17:33:21 +01:00
mike12345567 164ef9a22e Global users now working through the server, all requests proxied. 2021-04-09 15:11:49 +01:00
mike12345567 792114ef46 First pass of global user configuration through existing user API with role mappings. 2021-04-08 16:58:33 +01:00
mike12345567 659874c9ee Some final changes to search system so that the new indexing system is used instead of mango to achieve exactly the same result. 2021-03-26 13:46:20 +00:00
mike12345567 a5fd8d0e33 Rewriting search to use the new couchdb 3.0 search functionality. 2021-03-25 23:42:50 +00:00
mike12345567 03ef141297 Creating CouchDB 3.0 indexes. 2021-03-25 19:12:17 +00:00
mike12345567 dfa2881f1c Initialising CouchDB link to lucene and app design DBs for it. 2021-03-25 18:04:44 +00:00
mike12345567 73cf53d149 Getting rid of the CLOUD environment variable, this makes no sense anymore, now there is isDev() and isProd() which will work out the current state of the cluster. 2021-03-24 18:21:23 +00:00
mike12345567 35e3999b05 Merge branch 'single-stack-dev' of github.com:Budibase/budibase into feature/fs-removal 2021-03-22 17:20:07 +00:00
mike12345567 bf2adb0458 Updating API keys and changing over system to allow use of builder endpoints when running in cloud. 2021-03-22 16:39:11 +00:00
Martin McKeaveney 2852a739a4 basic single stack dev setup 2021-03-22 15:43:26 +00:00
mike12345567 b1e443f581 Upping relationship coverage overall to 98% - looking over utilities which are barely ever used. 2021-03-16 23:25:18 +00:00
mike12345567 d6b23b3a79 Adding test cases which bring the link controller coverage to 100%. 2021-03-16 18:13:00 +00:00
mike12345567 fbbb3d12a1 starting into relationship testing. 2021-03-16 13:24:44 +00:00
mike12345567 e8c000dd51 Adding more test cases for the controllers, tables and views weren't as well covered as required. 2021-03-15 16:36:38 +00:00
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