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

80 commits

Author SHA1 Message Date
mike12345567
0b7502ba7e Updating some route middleware security. 2021-04-01 14:38:31 +01:00
Andrew Kingston
86667bfa0f Update URLs to use builder instead of _builder 2021-04-01 10:06:22 +01:00
Andrew Kingston
44ad38fdf8 Add BBUI to monorepo and use vite for builder, client lib and standard components 2021-03-31 16:14:56 +01:00
mike12345567
d66af9f151 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
1a878c3e08 Fixing some test cases that were affected by file system refactor. 2021-03-23 18:04:53 +00:00
mike12345567
fca242b9ee 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
mike12345567
189a673c9c Testing some of the automation actions (still a few to complete) and adding quick test case for the self host stuff. 2021-03-11 18:29:48 +00:00
mike12345567
163d24a767 Updating row tests, reducing console logging during tests for speed and clarity, testing some misc endpoints and updating search functionality to use a starts with operator when working with strings on rows. 2021-03-10 17:55:42 +00:00
Martin McKeaveney
f69e06870b Merge pull request #1266 from Budibase/middleware-tests
Middleware tests
2021-03-10 15:28:11 +00:00
Martin McKeaveney
ca5ca7add9 finish authenticated tests 2021-03-09 17:31:52 +00:00
Martin McKeaveney
4d39cf5405 authenticated tests 2021-03-09 17:04:24 +00:00
Martin McKeaveney
5dcc4f23c6 usageQuota tests 2021-03-09 15:13:14 +00:00
Martin McKeaveney
c755df9f91 resourceId tests 2021-03-09 12:39:32 +00:00
Martin McKeaveney
c4b3a7c884 refactor selfhost middleware tests to use TestConfiguration 2021-03-09 11:33:16 +00:00
Martin McKeaveney
05efe05061 tests for authorized middleware 2021-03-09 11:27:12 +00:00
mike12345567
0652133a30 Some fixes after testing webhooks as well as adding test cases for all webhook endpoints. 2021-03-08 15:57:19 +00:00
Martin McKeaveney
1b1ed8a823 self hosted middleware test 2021-03-08 15:46:12 +00:00
Martin McKeaveney
1a9290b395 middleware tests 2021-03-05 14:13:43 +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
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
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
mike12345567
7a65a59c78 Making use of the resourceId in the middleware package. 2021-02-08 17:52:22 +00:00
mike12345567
a55d836c33 Adding in resource IDs everywhere they should be accessible. 2021-02-08 17:22:07 +00:00
mike12345567
9367ce5bbc Fixing a bug found by tests in auth. 2021-01-29 13:14:36 +00:00
mike12345567
13fe937e67 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
mike12345567
16a25a7cff 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
mike12345567
7b21acd8bd Updating API key controller in self-host mode to return self host API key. 2020-12-09 17:10:53 +00:00
mike12345567
1cbe3771ab Adding in self hosted API key. 2020-12-09 17:04:05 +00:00
mike12345567
19faffff83 Changing the role system to have permissions integrated rather than the permissions being per user. 2020-12-02 17:08:25 +00:00
mike12345567
05225f7787 Changing the naming of access levels to be roles. 2020-12-02 13:20:56 +00:00
Michael Drury
0d98f3b442 Another quick fix for apps to work again. 2020-11-19 20:42:49 +00:00
Michael Drury
7ac1c2198e Fixing issues thrown up by PR. 2020-11-19 20:31:11 +00:00
Michael Drury
4a74801a1a Linting. 2020-11-19 20:19:18 +00:00
Michael Drury
a16063b11f Minor update to make use of new client header to state the request is from the client, not the builder. 2020-11-19 20:18:28 +00:00
mike12345567
6a50b1057d Fixing some bugs with previous commit and updating to add the functionality of the api/routing/client. 2020-11-18 15:12:42 +00:00
mike12345567
7f5c3a4688 Updating to have proper access control via an accessController and nearly ready to spit out the routing structure. 2020-11-16 18:04:44 +00:00
Michael Drury
a423664f4c Large update, tests passing, have simplifed access level API, access levels and permissions are now totally separate. 2020-11-13 15:35:20 +00:00
Michael Drury
be7febe49f Linting. 2020-11-12 17:43:17 +00:00
mike12345567
6148128554 Tests failing but starting to progress. 2020-11-12 17:06:55 +00:00
Michael Drury
1f4e27eb13 WIP - this is working towards the permissions system but stopping here for the night, this is currently not functional. 2020-11-11 17:34:15 +00:00
mike12345567
f2e1f1f4e9 The API that the components library would use was not always consistent with the API client library would use and this would sometimes break things. 2020-11-09 09:42:35 +00:00
Michael Drury
4f28bd9430 Updating server test cases with the header for appId. 2020-11-03 15:00:39 +00:00
Michael Drury
ac73b5c4aa Further work towards the re-implementation of auth, changing how the appId is determined, now it mainly will use a header, and a cookie which will be written to store the current status of appId. 2020-11-03 13:45:49 +00:00
mike12345567
a1fd261af6 Some more re-work, more testing needed to auth stuff. 2020-11-02 20:14:10 +00:00
mike12345567
5b2be03bc3 Renaming instanceId -> appId to reduce confusion through the system, there only is one ID now. 2020-10-29 10:28:27 +00:00
mike12345567
ea03d099b3 Initial work into multi-tenancy removal, experiencing issues with test cases at this point. 2020-10-28 20:35:06 +00:00
mike12345567
0d8ec8e03a Some initial work towards webhooks, that generates schema similar to integromat. 2020-10-22 17:48:32 +01:00
Martin McKeaveney
a34a59880e merge from master 2020-10-15 14:41:29 +01:00
Martin McKeaveney
f163027ca8 more auth bugfixes 2020-10-15 14:26:33 +01:00