Commit Graph

1455 Commits

Author SHA1 Message Date
Martin McKeaveney a834f17a80 more design updates 2021-02-18 18:55:08 +00:00
Martin McKeaveney 6e121b6045 design updates, changing query verb names to HTTP verbs 2021-02-18 16:58:10 +00:00
mike12345567 f080fa6537 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 5fab1529ec work in progress, enriching in the display names. 2021-02-17 18:04:21 +00:00
Michael Drury 7647e346d4 Merge pull request #1125 from Budibase/feature/autocolumns
Feature/autocolumns
2021-02-17 17:18:12 +00:00
mike12345567 a93eb180ce Starting with some work towards a deeper enrichment of rows. 2021-02-17 17:09:59 +00:00
mike12345567 d294ffbb3b Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-17 15:20:14 +00:00
mike12345567 9b59b47d9e Fixing issue #1050 - two issues found, one with running automations in self host throwing an error when trying to access cloud resources (Dynamo) and secondly the worker pool does not have access to resources in the main server instance, therefore need to re-init when running an external action (get manifest, to download the package). 2021-02-17 13:40:14 +00:00
mike12345567 28e244fa16 Fixing an edge case, create table with auto ID, create some rows, then update a column and try to create another row, ID generation would have reset, this makes sure internal changes to the table are kept. 2021-02-17 10:36:36 +00:00
mike12345567 1e39a873b2 Fixing issue with cypress test, fixing a 409 conflict that could occur in table saving - shouldn't happen now. 2021-02-16 18:29:38 +00:00
mike12345567 7b389180c7 Fixing an issue with complex relationships that are heavily intra-related. 2021-02-16 17:21:34 +00:00
mike12345567 b7b1b17148 Fixing test case. 2021-02-16 16:46:18 +00:00
mike12345567 4ccd46e2a1 Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-16 16:38:11 +00:00
Andrew Kingston 85caa27855 Merge pull request #1124 from Budibase/url-context
Bindable URL parameters
2021-02-16 16:32:23 +00:00
mike12345567 1a9d16c8c7 Updating where utilities are held in builder and then making user table relationships autocolumn aware too. 2021-02-16 15:41:50 +00:00
Andrew Kingston ec94aaa90b Merge branch 'develop' of github.com:Budibase/budibase into url-context 2021-02-16 15:35:05 +00:00
mike12345567 113de64833 Some further UI work for auto-columns. 2021-02-16 13:56:40 +00:00
Andrew Kingston 77e2ce8eba Merge branch 'master' of github.com:Budibase/budibase into url-context 2021-02-16 09:22:37 +00:00
Martin McKeaveney 13c51f61d9 ensure JSON parsed correctly 2021-02-15 19:57:49 +00:00
mike12345567 23cac6a9ac 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
Martin McKeaveney 5d5637571b tidy up 2021-02-15 18:59:21 +00:00
mike12345567 245cd0a791 Fixing issue with relationships. 2021-02-15 18:53:20 +00:00
Martin McKeaveney 55f98e82d8 REST integration complete 2021-02-15 18:41:56 +00:00
mike12345567 1a2b9bbef4 Removing unused stuff. 2021-02-15 18:41:26 +00:00
mike12345567 4b1855974c Work in progress, getting the server backend mostly ready for this work. 2021-02-15 17:47:14 +00:00
Martin McKeaveney 5787dd3f93 REST integration end to end 2021-02-15 17:05:53 +00:00
Martin McKeaveney 26377700bb v0.7.8 2021-02-15 14:07:27 +00:00
mike12345567 8bf10544c2 Fixing test case. 2021-02-12 20:41:30 +00:00
mike12345567 4f1a0ac645 Fixing an issue with RBAC, there was a mutable issue where a server builtin resource was getting updated, fixed this by not exposing the mutable structure, instead exposing a function which provides a new object everytime. 2021-02-12 20:34:54 +00:00
mike12345567 6bc9123a86 Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-12 18:03:52 +00:00
mike12345567 f266129489 Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-12 13:40:27 +00:00
Martin McKeaveney 03044d36fe merge 2021-02-12 13:32:37 +00:00
Martin McKeaveney a5dc4de3d2 merge 2021-02-12 13:31:29 +00:00
mike12345567 1a8fe9b02c Some more fixes for RBAC as well as fixing the duplication of roles. 2021-02-12 12:02:07 +00:00
Andrew Kingston fdb27f205f Merge branch 'master' of github.com:Budibase/budibase into url-context 2021-02-12 11:43:28 +00:00
Martin McKeaveney 8d92692593 v0.7.7 2021-02-12 11:15:38 +00:00
mike12345567 a1b4572252 Fixing a minor issue with self hosting deployment/app creation. 2021-02-12 10:48:57 +00:00
mike12345567 a1075881a6 Linting. 2021-02-12 09:55:37 +00:00
mike12345567 9ea0456248 Flipping RBAC implementation to use levels -> role for resource perms API and resource -> level -> role for full fetch (please note full fetch will only work for resources that have a custom permission in the system somewhere, everything else simply defaults to standard. 2021-02-11 18:13:09 +00:00
mike12345567 a2ce35b2f6 Fixing minor issue with switch to level -> roleID. 2021-02-11 13:38:07 +00:00
mike12345567 6c4c70e62b Some updates to RBAC backend, try to make switch to object support level -> roleID. 2021-02-11 13:29:15 +00:00
mike12345567 c3840d8017 Merge branch 'master' of github.com:Budibase/budibase into rbac-ui 2021-02-11 13:01:07 +00:00
mike12345567 1abc4dd1f7 WIP - storing progress on RBAC changes. 2021-02-11 10:24:37 +00:00
Andrew Kingston 56d8a27286 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-10 18:34:45 +00:00
Martin McKeaveney 37c00f24bd control RBAC from data section 2021-02-10 18:18:31 +00:00
mike12345567 ca20cbeeca First lot of work to update the auto fields into schema. 2021-02-10 17:55:19 +00:00
mike12345567 23f443022b Merge branch 'master' of github.com:Budibase/budibase into feature/autocolumns 2021-02-10 16:10:55 +00:00
mike12345567 feb7e2756f WIP - start of auto columns like autonumber, createdBy, createdAt, updatedBy etc. 2021-02-10 16:10:39 +00:00
Martin McKeaveney 1958143500 Merge pull request #1107 from Budibase/internal-search
Internal search
2021-02-10 15:44:45 +00:00
Michael Shanks 73d34434ff Updated copyright line in license files 2021-02-10 14:41:37 +00:00
Martin McKeaveney 24c2dd2cdb code review 2021-02-10 14:24:42 +00:00
Martin McKeaveney 587d20b611 Merge branch 'master' of https://github.com/Budibase/budibase into internal-search 2021-02-10 14:02:57 +00:00
Martin McKeaveney 4766d21340 clean up index on table deletion 2021-02-09 18:57:32 +00:00
Martin McKeaveney 9c7a373fb0 primary and secondary index fields 2021-02-09 18:49:12 +00:00
mike12345567 182d720051 Fixing a minor issue with self hosting deployment/app creation. 2021-02-09 17:43:22 +00:00
mike12345567 821de55363 Adding basic permissions test which proves a public user can read from a table, but cannot write. 2021-02-09 17:24:36 +00:00
mike12345567 9fb4c14835 Some more fixes after testing permissions a bit further. 2021-02-09 16:01:02 +00:00
Andrew Kingston da0fce0e8d Fix server query tests 2021-02-09 15:24:56 +00:00
Andrew Kingston 10a9b8034a Fix relationships not being saved for new rows 2021-02-09 14:50:02 +00:00
mike12345567 3712de65ee Make sure both directions exist. 2021-02-09 13:20:53 +00:00
mike12345567 04035a24e9 Quick fix to make sure all relationships link to a valid, existing doc. 2021-02-09 13:18:59 +00:00
mike12345567 ec5f9788c5 Fixing minor bug with permission add. 2021-02-09 13:14:23 +00:00
mike12345567 cc02397b01 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 05353c7666 backwards pagination 2021-02-09 12:12:03 +00:00
Martin McKeaveney 36f3bbf6dd user search 2021-02-08 22:29:26 +00:00
Martin McKeaveney 7ef56de1be indexable fields 2021-02-08 20:54:55 +00:00
mike12345567 c0aaaf0046 Some more work and start of a test case towards resource permissions. 2021-02-08 18:30:30 +00:00
mike12345567 7a65a59c78 Making use of the resourceId in the middleware package. 2021-02-08 17:52:22 +00:00
Martin McKeaveney 07aeccb36d search UI complete, server side cursor based pagination 2021-02-08 17:44:44 +00:00
mike12345567 9752263e25 Merge branch 'master' of github.com:Budibase/budibase into feature/rbac 2021-02-08 17:22:21 +00:00
mike12345567 a55d836c33 Adding in resource IDs everywhere they should be accessible. 2021-02-08 17:22:07 +00:00
Andrew Kingston a82153628d Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-08 09:52:46 +00:00
Martin McKeaveney bfa865cf3c Merge branch 'master' of github.com:Budibase/budibase into internal-search 2021-02-08 09:32:53 +00:00
Martin McKeaveney d3e44268ed v0.7.6 2021-02-06 22:59:28 +00:00
Martin McKeaveney 67371ab25f v0.7.5 2021-02-06 12:43:01 +00:00
Martin McKeaveney 2a78d1f419 test 2021-02-06 12:31:12 +00:00
mike12345567 39a16b93f8 Further work, need to have a larger think about the API of this. 2021-02-05 18:46:15 +00:00
Michael Drury 7567935f71 Merge pull request #1094 from Budibase/bug/user-row-issues
Fixing issues with user row updates + removing an error log from self hosting
2021-02-05 17:01:09 +00:00
mike12345567 6e8912367c Merge branch 'form-builder' of github.com:Budibase/budibase into form-builder 2021-02-05 16:45:37 +00:00
mike12345567 98b23c999d Update to add readable prop to every 'read' query to follow a consistent pattern as well as adding a get endpoint for a single query. 2021-02-05 16:45:23 +00:00
mike12345567 5f582dd1dc Initial work towards rbac. 2021-02-05 15:58:25 +00:00
mike12345567 768ea706e6 Quick fix for self hosting error in logs. 2021-02-05 15:24:34 +00:00
mike12345567 c578607511 Merge branch 'master' of github.com:Budibase/budibase into feature/rbac 2021-02-05 13:20:48 +00:00
mike12345567 5ba9f1a65e Fixing some issues found with users and row updates, specifically relationships and numbers. 2021-02-05 12:23:29 +00:00
Martin McKeaveney b4628a43d0 merge 2021-02-05 11:18:37 +00:00
Andrew Kingston 0dd243d8b6 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-05 11:06:51 +00:00
Martin McKeaveney dd1419f2eb v0.7.4 2021-02-05 10:59:29 +00:00
Martin McKeaveney 8d8cdcd732 app export with space in name 2021-02-05 10:55:54 +00:00
Martin McKeaveney 28e2ce28ba v0.7.3 2021-02-05 09:43:45 +00:00
Martin McKeaveney 63b8db6584 pin deps 2021-02-05 09:39:42 +00:00
Martin McKeaveney b1b02934ed custom columns 2021-02-04 23:17:49 +00:00
Andrew Kingston da517fbbe6 Merge branch 'form-builder' of github.com:Budibase/budibase into form-builder 2021-02-04 18:05:14 +00:00
mike12345567 45b65c6a11 Updating so that strings get coerced into arrays for relationships. 2021-02-04 17:17:05 +00:00
Martin McKeaveney 02a2c60797 v0.7.2 2021-02-04 14:25:15 +00:00
Martin McKeaveney cb95db54c4 Merge pull request #1085 from Budibase/bugfixes-0.7.1
Bugfixes 0.7.1
2021-02-04 12:23:22 +00:00
Martin McKeaveney 1f6a755cb6 fixing JSON and CSV import/export 2021-02-04 08:20:04 +00:00
mike12345567 8656ef3465 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 a88ce0d608 Attempting to fix the issue with 4001, this updates the cypress tests so that it is easier to change the port on which it runs as well as updating the electron usage of the app to use port 0 (an ephermeral port). 2021-02-03 16:09:48 +00:00
Martin McKeaveney efe1cca74b change backup to be appname 2021-02-03 13:28:11 +00:00
Martin McKeaveney e283dc0bb1 v0.7.1 2021-02-03 10:30:22 +00:00