1
0
Fork 0
mirror of synced 2024-06-29 11:31:06 +12:00
Commit graph

76 commits

Author SHA1 Message Date
mike12345567 a24f2157a5 Some various session fixes based on current data. 2022-08-05 21:35:26 +01:00
mike12345567 a2f18e2e44 Updating sessions to TS, adding env var to set the session update length, adding reasons for invalidation, making sure errors are never considered authenticated. 2022-08-05 17:13:03 +01:00
mike12345567 ba0e423fb9 Updating authenticated middleware to typescript and updating the TTL once per minute rather than every API request. 2022-08-05 15:21:12 +01:00
mike12345567 65e8af01f5 Some more logging, moving middlewares to backend-core. 2022-08-04 19:03:50 +01:00
Rory Powell 5e9a03e307 Merge branch 'master' into develop 2022-07-27 16:32:36 -04:00
mike12345567 b26d0b6f21 Adding fix for issue in cloud with user password deletion causing undefined errors. 2022-07-27 17:15:01 +01:00
Peter Clement 8a066fb1cb move worker middleware to backend-core 2022-07-22 11:50:51 +01:00
Dean 4ecae7fa5b Code review updates 2022-07-04 12:54:26 +01:00
Dean 5a97b71403 OIDC config test fix 2022-07-03 22:39:16 +01:00
Dean 2ea4a9d225 Refresh the OAuth tokens automatically when making rest calls. Fix to remove the password from the api token authentication. 2022-07-03 21:13:15 +01:00
Dean dc20ecc5ff Merge commit 2022-06-23 14:29:19 +01:00
Rory Powell e447fd11d1 Build fixes 2022-06-09 12:33:10 +01:00
Rory Powell 4e77571ddb Merge branch 'release' into feature/event-backfill 2022-06-06 09:50:06 +01:00
Martin McKeaveney 493607b853 update google sheets strategy to use the standard passport strategy 2022-06-05 16:43:04 +01:00
Rory Powell f2f6bf779d Merge branch 'feature/posthog-v2' into feature/event-backfill 2022-05-29 00:25:40 +01:00
Rory Powell 64d73e2f96 Merge branch 'develop' into feature/posthog-v2 2022-05-28 23:03:31 +01:00
Rory Powell 9610d8f1e7 Identity tenant and installation groups, property updates 2022-05-28 21:38:22 +01:00
Rory Powell b69a0836f5 Identity updates 2022-05-24 20:01:13 +01:00
Rory Powell 9d0b4ef45e User context updates and misc fixes 2022-05-24 09:54:36 +01:00
mike12345567 d535afa542 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-05-23 23:43:57 +01:00
Rory Powell 22aa226ca9 Event identification 2022-05-23 22:14:44 +01:00
Martin McKeaveney b30c045663 enable clustering on server and worker services, better log output on user not found errors 2022-05-23 16:24:29 +01:00
Rory Powell 80a82bbcc3 Merge branch 'develop' into feature/posthog-v2 2022-05-23 09:04:00 +01:00
Martin McKeaveney aa61a86c4a use platform url env 2022-05-18 21:00:42 +01:00
Rory Powell e50813bbd7 Update getPlatformUrl usage to use a single interface 2022-05-17 09:52:38 +01:00
Martin McKeaveney 557e4ec3f8 editing getPlatformUrl for cloud 2022-05-16 23:22:33 +01:00
mike12345567 bcf7e1782a Fixing test cases. 2022-05-16 12:31:07 +01:00
mike12345567 bba1fdcb7c Switching over to using our own version of cls-hooked which has the memory leak (no async hooks disable call) fixed as well as changing how we use the CLS namespaces to allow us to destroy the namespace we use per request. 2022-05-10 16:37:24 +01:00
Rory Powell bd33c827eb Merge branch 'develop' into feature/posthog-v2 2022-04-27 16:32:00 +01:00
Martin McKeaveney e01ef9bdfb merge with master 2022-04-26 10:21:45 +01:00
Rory Powell 0f04715062 Fix: google sso 2022-04-25 22:49:56 +01:00
Martin McKeaveney 9f0cb41f49
Merge branch 'master' into gsheets-updates 2022-04-25 09:27:38 +01:00
Martin McKeaveney 0fbb841855 only save refresh token in google auth 2022-04-24 23:33:50 +01:00
Martin McKeaveney 33717ceb30 auto fetch access token in gsheets integration 2022-04-24 23:32:47 +01:00
mike12345567 a6b249dc7e Adding a dep:clean function, cleaning up lock files and fixing backend-core test which did not utilise tenancy (no global db). 2022-04-21 15:20:23 +01:00
mike12345567 9ee1be79fb Closing global DB using the standard function - not directly. 2022-04-20 18:07:48 +01:00
mike12345567 ea6f580501 Initial version of memory leak protection, making sure that PouchDB databases are closed correctly after use, using a combination of closures wrapping DB gets (this replaces the getDB, leaving only a dangerousGetDB function which can be used in very very specific scenarios) and then closing the DB as part of CLS hooked functions finishing. Also moving the GlobalDB init to the tenancy middleware as this is used everywhere in the worker/app services - means that not all getGlobalDB calls require an async closure around them. 2022-04-19 19:42:52 +01:00
Rory Powell 23b68660c2 Merge branch 'feature/licensing' into feature/posthog-v2 2022-04-12 17:12:46 +01:00
Rory Powell dd740df387 Merge branch 'develop' into feature/licensing 2022-04-12 16:18:41 +01:00
Rory Powell 75be1e031b user / rbac events + tests 2022-04-08 01:28:22 +01:00
Rory Powell ec0dcb42ee Add tests for base db config 2022-03-30 15:43:18 +01:00
Martin McKeaveney ee6a16827a fixing google sheets bug, respect google configuration hierarchy 2022-03-28 16:44:33 +01:00
Martin McKeaveney 3a7a964ac8 fix launch.json 2022-03-28 12:03:44 +01:00
Rory Powell bcc84bf1fd Link app context with tenancy, remove app tenancy middleware 2022-03-24 13:04:49 +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 62b360b9ea Add developer usage restrictions to SSO user creation 2022-03-18 08:01:31 +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 f3418044dc Starting to fix up test cases. 2022-02-25 15:55:19 +00:00
Michael Drury f04a29dfef Using 10K iteration string stretching for encryption. 2022-02-14 21:37:40 +00:00