Commit Graph

135 Commits

Author SHA1 Message Date
Rory Powell bcc84bf1fd Link app context with tenancy, remove app tenancy middleware 2022-03-24 13:04:49 +00:00
Rory Powell cb6103a321 Fix cross tenant apps with session 2022-03-23 16:45:06 +00:00
Rory Powell 180e37b9f1 Tests complete + backwards compatibility for deployment 2022-03-22 00:23:22 +00:00
Rory Powell bf9f5488fc Merge branch 'develop' into feature/licensing 2022-03-21 17:13:16 +00:00
Rory Powell 336f0ff4a0 Published apps, automations and query count quotas 2022-03-20 01:13:54 +00:00
Rory Powell 62b360b9ea Add developer usage restrictions to SSO user creation 2022-03-18 08:01:31 +00:00
Rory Powell 893f82ac4d Better error handling around license errors 2022-03-16 17:29:47 +00:00
mike12345567 a5556595de Fixing an issue with the public API loading for the first time in a multi-tenant environment, also fixing an issue in self host when switching between environments with different secrets. 2022-03-14 19:05:02 +00:00
mike12345567 8dc2c9d480 Fixing an issue with detecting fully qualified Redis URL despite not in use. 2022-03-14 16:50:01 +00:00
mike12345567 c1c879309f Making the URL optional for application creation/update in OpenAPI spec, removing unused parameter and fixing getRedisOptions function to work with fully qualified URLs. 2022-03-10 15:53:23 +00:00
Rory Powell ccf2fe3d01 Self Host <-> Licensing integration 2022-03-09 21:16:22 +00:00
Rory Powell c22fb79d94 Merge branch 'develop' into labday/status-banner 2022-03-08 16:31:07 +00:00
Rory Powell d6092b9133 Integrate usage quotas with licensing 2022-03-08 14:21:41 +00:00
Rory Powell 995f7c4b58 Move licensing middleware to pro repo 2022-03-08 08:01:41 +00:00
Rory Powell 3b9303a1fb Enforce licensed developer count + error types/codes framework 2022-03-04 13:42:50 +00:00
Rory Powell 515ade6bd3 Add shared licensing cache 2022-03-03 13:37:04 +00:00
Rory Powell c67de30d8c Invalidate user cache on logout 2022-03-03 07:20:30 +00:00
Rory Powell 091f054e8a Handle no license found 2022-03-02 07:27:14 +00:00
Rory Powell 8ff9aac4f8 Start to integrate licensing with sessions 2022-03-01 21:11:45 +00:00
mike12345567 f3418044dc Starting to fix up test cases. 2022-02-25 15:55:19 +00:00
mike12345567 f2c2c903e5 Merge branch 'develop' of github.com:Budibase/budibase into feature/budibase-api 2022-02-24 18:19:20 +00:00
Rory Powell 9fcf702a32 Add status banner that reacts to cypress healthcheck failures 2022-02-24 14:41:24 +00:00
Andrew Kingston 40c6976035 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-devtools 2022-02-24 14:03:29 +00:00
mike12345567 c189550614 Adding controllers for row, query and applications public APIs. 2022-02-23 18:31:32 +00:00
mike12345567 6a416cad59 Refactoring how endpoints are specified so that the middlewares can be applied in a more generic fashion. 2022-02-22 18:40:09 +00:00
Rory Powell 65b0455313 Fix app list retrieval in migrations 2022-02-22 07:49:33 +00:00
mike12345567 282fa6cac2 Merge branch 'develop' of github.com:Budibase/budibase into feature/budibase-api 2022-02-21 16:54:39 +00:00
Rory Powell d673d27563 Respect custom tenantIds in run migrations endpoint 2022-02-21 15:27:51 +00:00
mike12345567 97337db4ee Merge branch 'develop' of github.com:Budibase/budibase into feature/budibase-api 2022-02-21 14:34:06 +00:00
Rory Powell d9ead48c59 Deprovision and local couch db url fix 2022-02-18 17:36:23 +00:00
Rory Powell a8a8e97840 Add 'location = /' -> 4001 to nginx dev conf 2022-02-18 11:18:59 +00:00
mike12345567 ab3971034d Quick fix for checklist API performance on default tenant in cloud. 2022-02-16 11:59:43 +00:00
Michael Drury f04a29dfef Using 10K iteration string stretching for encryption. 2022-02-14 21:37:40 +00:00
mike12345567 92d457ac00 Adding basic encrypt/decrypt pathway. 2022-02-14 18:32:09 +00:00
mike12345567 84bf8c3422 Adding tenancy to the API key, making the authenticated middleware aware of new user API keys, using a view to lookup the user by API key. 2022-02-11 22:24:48 +00:00
mike12345567 dff24e402d Getting api key/dev info docs setup and in use. 2022-02-10 19:06:49 +00:00
Martin McKeaveney 20b4f5aadc merge with master 2022-02-10 18:57:26 +01:00
Martin McKeaveney ff50dd9f6d merge with master 2022-02-10 18:24:36 +01:00
Martin McKeaveney dfe9861383 use google env variable for client secret and ID, update helm chart to pass variables to worker 2022-02-10 10:28:46 +01:00
Martin McKeaveney f574c90de3 use env platform URL for datasource auth to prevent tenant overrides 2022-02-09 18:33:29 +01:00
Andrew Kingston 04d53a709c Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-07 14:45:14 +00:00
mike12345567 f9a7bb001f Fixing issue which was blocking the ability to logout fully, as well as causing issues with new user signup and password reset. 2022-02-04 17:35:45 +00:00
mike12345567 8f7a8553bb Fix for #4267 - allow admins to access all roles. 2022-02-04 17:34:39 +00:00
Andrew Kingston 9f2369234b Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-03 14:46:59 +00:00
Michael Drury e1a4136f9c Fixing a typescript issue in server. 2022-02-01 20:29:12 +00:00
Andrew Kingston 312571314d Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-01 16:46:00 +00:00
mike12345567 9fa10ff02f Refactoring backend-core tenancy to context, splitting out tenancy functionality to its own area. 2022-01-31 17:53:19 +00:00
mike12345567 03b4b29b01 Review comments, renaming deployed -> prod in terms of app IDs. 2022-01-31 17:42:51 +00:00
mike12345567 09cfa9508e Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 17:16:59 +00:00
mike12345567 76e24018be Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 14:09:07 +00:00
Andrew Kingston f32cfdd3b9 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-31 09:40:33 +00:00
Rory Powell a153e920c9 Merge branch 'develop' into feature/migrations-2.0 2022-01-30 22:37:11 +00:00
Rory Powell 3ce4f32250 Merge branch 'develop' into csrf 2022-01-30 21:20:48 +00:00
mike12345567 4b1331450c Fixing some issues discovered by the cypress tests, cleaning up how Couch is used. 2022-01-28 18:52:34 +00:00
mike12345567 417bf98ec9 Tests updating, all now passing, fixed some issues discovered by them. 2022-01-28 15:43:51 +00:00
Rory Powell 89fb5feeeb Fix loop early exit 2022-01-28 11:32:28 +00:00
Michael Drury 91c2a40c89 Final pass refactoring - need to test but all code in server converted. 2022-01-28 00:05:39 +00:00
mike12345567 40c6eb2007 Main body of work, refactoring most usages. 2022-01-27 18:18:31 +00:00
Rory Powell 8304ee0fc7 Merge branch 'develop' into feature/migrations-2.0 2022-01-27 10:49:52 +00:00
Rory Powell e8e6fc549d Add app db support + app url migration 2022-01-27 10:40:31 +00:00
Andrew Kingston 617ddf7092 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-26 17:49:27 +00:00
Martin McKeaveney 203c892f33 code review and merge with develop 2022-01-26 17:45:28 +01:00
Martin McKeaveney 5d59db8fd2 code review 2022-01-26 17:14:47 +01:00
Andrew Kingston 515d4f91c0 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-26 16:02:27 +00:00
Rory Powell 420684a862 Merge branch 'develop' into feature/migrations-2.0 2022-01-26 15:00:52 +00:00
Rory Powell 0b6a8469de Don't apply csrf to existing sessions. Handle only supported content types 2022-01-26 12:52:53 +00:00
Rory Powell 716e254bdd Revert "Fix dev app preview return url"
This reverts commit e76ea10fc2.
2022-01-26 09:33:14 +00:00
Rory Powell 5cb6e19274 Add CSRF Token 2022-01-25 22:54:50 +00:00
Andrew Kingston 2ea242e396 Use correct casing for login error 2022-01-24 19:15:43 +00:00
Rory Powell a66f14a289 Migrations 2.0 2022-01-24 10:48:59 +00:00
Rory Powell 5246296a39
Merge pull request #4000 from Budibase/fix/sync-apps-reset-rows-quotas
App and Row Quota Fixes
2022-01-21 11:20:14 +00:00
Martin McKeaveney 7b39f46507 tidy up 2022-01-18 17:41:38 +01:00
Rory Powell 94cb39829c Support template and app import in quotas + logging 2022-01-18 15:37:16 +00:00
Rory Powell 747db3daa2 Refactor to allow for future quota migrations 2022-01-18 14:43:24 +00:00
Martin McKeaveney d977ec3b7b removing comment 2022-01-18 10:30:54 +01:00
Martin McKeaveney 20cb3d8f2c more flexible datasource auth config 2022-01-17 15:52:10 +01:00
Martin McKeaveney 0159d52aa6
Revert "sameSite and secure cookie settings" 2022-01-17 09:39:22 +01:00
Martin McKeaveney 857d1f7c0b gsheets E2E 2022-01-15 19:28:04 +01:00
Martin McKeaveney d93c8dbbb4 sameSite and secure cookie settings 2022-01-13 20:47:16 +01:00
Rory Powell e76ea10fc2 Fix dev app preview return url 2022-01-13 16:29:55 +00:00
mike12345567 d89cf66343 Merge branch 'develop' of github.com:Budibase/budibase into fix/sync-apps-reset-rows-quotas 2022-01-12 13:20:22 +00:00
mike12345567 5d9b3af332 Refactoring core library usage in monorepo, make it a bit cleaner/easier to search/more standardised. 2022-01-12 11:32:14 +00:00
Rory Powell 5671244274 Merge branch 'develop' into fix/sync-apps-reset-rows-quotas 2022-01-12 09:34:14 +00:00
mike12345567 4c050699d4 Merge branch 'develop' of github.com:Budibase/budibase into feature/auth-core 2022-01-11 15:16:07 +00:00
mike12345567 b4f83fa867 Changing directory. 2022-01-10 19:30:35 +00:00