1
0
Fork 0
mirror of synced 2024-07-02 04:50:44 +12:00
Commit graph

321 commits

Author SHA1 Message Date
mike12345567 0be5eb0b98 Moving comment. 2021-03-04 17:12:44 +00:00
mike12345567 06e95e11ea Small amount more user refactoring, removing use of couchTestUtils. 2021-03-04 17:06:33 +00:00
Martin McKeaveney 41043ee6ff Merge branch 'feature/test-refactor' of https://github.com/Budibase/budibase into feature/test-refactor 2021-03-04 16:54:50 +00:00
Martin McKeaveney 50f1535f2c refactor user test 2021-03-04 16:54:44 +00:00
mike12345567 2a962b1c03 Refactoring table testcases. 2021-03-04 14:36:59 +00:00
mike12345567 eacf3387de Refactoring row test cases. 2021-03-04 13:07:33 +00:00
mike12345567 678423300d Refactoring to remove the use of the supertest, making this part of the test config. 2021-03-04 12:32:31 +00:00
mike12345567 26c63c7d9b Refactoring query tests. 2021-03-04 10:57:41 +00:00
mike12345567 f7cdced688 Switching out how headers are handled, and updating the permissions test. 2021-03-04 10:40:27 +00:00
mike12345567 f10ac0a178 Refactoring data source test cases. 2021-03-04 10:05:50 +00:00
mike12345567 79818122fd Re-writing automation tests. 2021-03-03 18:41:49 +00:00
mike12345567 f55c5dec00 Initial work on test refactoring, laying the utilities down which will be the basis of new testing framework, interacting directly with the controllers. 2021-03-03 17:52:41 +00:00
mike12345567 554b5a27c6 Linting. 2021-02-27 10:45:01 +00:00
mike12345567 0c3e287fa8 Very minor change due to issue #1204 - wasn't allowing unauthenticated requests through. 2021-02-27 10:15:05 +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
Martin McKeaveney 3c3677a88e allow empty params 2021-02-23 10:06:55 +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 1c66a6f2e2 Fixing test case. 2021-02-16 16:46:18 +00:00
mike12345567 c812823c3f Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-12 18:03:52 +00:00
mike12345567 da59ca30e6 Merge branch 'develop' of github.com:Budibase/budibase into feature/autocolumns 2021-02-12 13:40:27 +00:00
mike12345567 3fd557bf08 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 a3ae17be8e Merge branch 'master' of github.com:Budibase/budibase into rbac-ui 2021-02-11 13:01:07 +00:00
Andrew Kingston aec4939b93 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-02-10 18:34:45 +00:00
Martin McKeaveney 63e0e187a6 control RBAC from data section 2021-02-10 18:18:31 +00:00
mike12345567 7a2405c756 First lot of work to update the auto fields into schema. 2021-02-10 17:55:19 +00:00
mike12345567 fa921951a3 Merge branch 'master' of github.com:Budibase/budibase into feature/autocolumns 2021-02-10 16:10:55 +00:00
mike12345567 f4a503d015 WIP - start of auto columns like autonumber, createdBy, createdAt, updatedBy etc. 2021-02-10 16:10:39 +00:00
Martin McKeaveney 933969ce55 code review 2021-02-10 14:24:42 +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
Martin McKeaveney e599854b14 primary and secondary index fields 2021-02-09 18:49:12 +00:00
mike12345567 31d7a7a378 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 fee073fcfe Some more fixes after testing permissions a bit further. 2021-02-09 16:01:02 +00:00
Andrew Kingston 4c53e4bcec Fix server query tests 2021-02-09 15:24:56 +00:00
mike12345567 2103378e5c Fixing minor bug with permission add. 2021-02-09 13:14:23 +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 d2bd2209eb indexable fields 2021-02-08 20:54:55 +00:00
mike12345567 d9ca4f0eed Some more work and start of a test case towards resource permissions. 2021-02-08 18:30:30 +00:00
mike12345567 cd729192ea Adding in resource IDs everywhere they should be accessible. 2021-02-08 17:22:07 +00:00
Martin McKeaveney 2b74fd887b test 2021-02-06 12:31:12 +00:00
mike12345567 36edf3788f Further work, need to have a larger think about the API of this. 2021-02-05 18:46:15 +00:00
mike12345567 c7ed77381e Merge branch 'form-builder' of github.com:Budibase/budibase into form-builder 2021-02-05 16:45:37 +00:00
mike12345567 d5293e299f 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 9f1c2cd602 Initial work towards rbac. 2021-02-05 15:58:25 +00:00
Martin McKeaveney 5b1a2f99d6 merge 2021-02-05 11:18:37 +00:00
Martin McKeaveney 6cb62f6625 fixing JSON and CSV import/export 2021-02-04 08:20:04 +00:00
Martin McKeaveney 184f30771c change backup to be appname 2021-02-03 13:28:11 +00:00
mike12345567 2d82969350 Some quick fixes to allow custom verbs. 2021-02-02 17:28:11 +00:00
mike12345567 b6bdd04ea8 Fixing test failure due to not deleting the ID attached to table in couchTest Utils. 2021-02-02 13:14:32 +00:00
mike12345567 5187639fa0 Linting. 2021-02-02 11:47:20 +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
Michael Drury b1127b718e
Merge pull request #1049 from Budibase/feature/selfhosting-info
Quick update to self hosting to make next steps clear
2021-02-01 13:24:50 +00:00
Martin McKeaveney 2b4c67039a
Merge pull request #1029 from Budibase/qol-updates
Qol updates - Import/Export App From File
2021-01-29 22:54:38 +00:00
Martin McKeaveney d0f389a5cb smoother downloads, lint 2021-01-29 21:52:45 +00:00
mike12345567 4d1ad5e726 This commit includes some fixes for a few auth issues I found when I was working on this and a static page which shows the self hosting info to get the user going (if they end up there). 2021-01-28 18:30:59 +00:00
Andrew Kingston b4ccf9c1d2 Add current user bindings, and current user relationships as data sources 2021-01-28 14:29:35 +00:00
Martin McKeaveney 67624ebe94 import and export apps 2021-01-27 13:55:46 +00:00
Martin McKeaveney 476d20d656 simplify queries to only have one type under query verb 2021-01-22 12:22:28 +00:00
Martin McKeaveney 70a49088d0 merge 2021-01-18 14:43:26 +00:00
Martin McKeaveney 882823671a query and datasource unit tests 2021-01-14 20:51:03 +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 45a02507f7 custom fields in queries 2021-01-13 14:11:53 +00:00
Martin McKeaveney 7a1212ff36 Add all CRUD ops to airtable integration 2021-01-12 17:45:43 +00:00
Martin McKeaveney 04eca5b663 further syntax highlighting updates 2021-01-12 16:49:11 +00:00
Martin McKeaveney 052b39d6ec readable to writable bindings 2021-01-12 10:28:41 +00:00
Martin McKeaveney 72ea05cc05 type safe schema validation 2021-01-11 21:01:21 +00:00
Martin McKeaveney 70e4b2514e merge 2021-01-11 20:29:33 +00:00
Martin McKeaveney 391dabf7a1 direct airtable integration works 2021-01-11 17:18:22 +00:00
Martin McKeaveney d710874ef1 binding data context in component 2021-01-08 18:22:03 +00:00
Martin McKeaveney 37ef32a173 switching between queries 2021-01-06 12:28:51 +00:00
Martin McKeaveney 0be3c722b8 allow execution of external connector queries from button clicks 2021-01-04 18:57:16 +00:00
Martin McKeaveney 63ad74b660 separation of datasources and queries 2020-12-18 18:19:43 +00:00
mike12345567 f63466f1d1 Updating deployment service, checking in builder the builder settings info stored in DB before deploying. 2020-12-15 17:27:45 +00:00
mike12345567 775f84b6dc Adding feature to allow configured the builder to point at a self hosted system instead of production (for deployment). 2020-12-15 16:41:55 +00:00
mike12345567 166bf153de WIP - starting to work on deployment and hosting so that they don't use static URLs anymore to reach assets, instead using environment variables to determine what to use. 2020-12-14 18:31:48 +00:00
Martin McKeaveney 89615e58a7 merge 2020-12-12 20:09:04 +00:00
mike12345567 c3abc9fed4 Removing the static CSS bundling from the server as it is no longer required. 2020-12-09 12:30:21 +00:00
mike12345567 40d855df10 Updating row controller to make sure that all user requests (bar deletion) are passed through correctly to the user controller so that any logic such as removing user password can be correctly held in the user controller logic. 2020-12-09 10:54:30 +00:00
mike12345567 2928a379b0 Updating builder/server in a few ways, to allow creating users with extra columns attached, allowing password to be updated in the builder and making sure that all row endpoints correctly pass through the user controller so that we can still have customised functionality for users (such as making sure password is never returned). 2020-12-08 17:33:08 +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
Andrew Kingston d0f2d4c2cd Update user editing to support new email field 2020-12-08 11:43:37 +00:00
Andrew Kingston 1acdcd173c Merge branch 'master' of github.com:Budibase/budibase into feature/security-update 2020-12-08 11:42:29 +00:00
Martin McKeaveney 642437e5be
Merge branch 'master' into feature/page-refactor 2020-12-08 10:48:14 +00:00
Martin McKeaveney efe50230e7 merge with master 2020-12-07 21:32:45 +00:00
Martin McKeaveney 1c40c3dbdd rename level to role in test 2020-12-07 21:28:16 +00:00
Martin McKeaveney d8aa699bfa merge 2020-12-07 21:20:35 +00:00
Martin McKeaveney 2123c06df5 fix tests 2020-12-07 21:11:07 +00:00
Martin McKeaveney 0e837899a4 code review 2020-12-07 20:46:37 +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
mike12345567 8a57f61607 Fixing test case and also making sure that external trigger does what its expected to. 2020-12-07 17:55:35 +00:00
mike12345567 bc9a8ef0e3 Updating test so that it doesn't chain. 2020-12-07 17:42:31 +00:00
Martin McKeaveney d6b00d5ebe email as default user identifier 2020-12-04 12:22:45 +00:00
mike12345567 b65a554ede Linting and update to try and fix issues when screens are created, screen saving now generates CSS. 2020-12-03 12:08:33 +00:00
mike12345567 65302e1dd9 Changing the role system to have permissions integrated rather than the permissions being per user. 2020-12-02 17:08:25 +00:00
mike12345567 c832ed36d4 Merge branch 'feature/security-update' of github.com:Budibase/budibase into feature/page-refactor 2020-12-02 13:26:57 +00:00
mike12345567 abe3bdabad Linting. 2020-12-02 13:21:13 +00:00
mike12345567 05d5feb9fd Changing the naming of access levels to be roles. 2020-12-02 13:20:56 +00:00
mike12345567 fdd719aadb Quick update to allow deleting layouts if they are not currently in use. 2020-11-30 16:12:06 +00:00