65 Commits (82f685a27fae9673d29d7aaaf93f03dc2dea8c09)

Author SHA1 Message Date
Rory Powell e447fd11d1 Build fixes 4 years ago
Martin McKeaveney 493607b853 update google sheets strategy to use the standard passport strategy 4 years ago
Rory Powell 9610d8f1e7 Identity tenant and installation groups, property updates 4 years ago
Rory Powell b69a0836f5 Identity updates 4 years ago
Rory Powell 9d0b4ef45e User context updates and misc fixes 4 years ago
Rory Powell 22aa226ca9 Event identification 4 years ago
Martin McKeaveney b30c045663 enable clustering on server and worker services, better log output on user not found errors 4 years ago
Martin McKeaveney aa61a86c4a use platform url env 4 years ago
Rory Powell e50813bbd7 Update getPlatformUrl usage to use a single interface 4 years ago
Martin McKeaveney 557e4ec3f8 editing getPlatformUrl for cloud 4 years ago
mike12345567 bcf7e1782a Fixing test cases. 4 years ago
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. 4 years ago
Rory Powell 0f04715062 Fix: google sso 4 years ago
Martin McKeaveney 0fbb841855 only save refresh token in google auth 4 years ago
Martin McKeaveney 33717ceb30 auto fetch access token in gsheets integration 4 years ago
mike12345567 a6b249dc7e Adding a dep:clean function, cleaning up lock files and fixing backend-core test which did not utilise tenancy (no global db). 4 years ago
mike12345567 9ee1be79fb Closing global DB using the standard function - not directly. 4 years ago
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. 4 years ago
Rory Powell 75be1e031b user / rbac events + tests 4 years ago
Rory Powell ec0dcb42ee Add tests for base db config 5 years ago
Maurits Lourens 9faaecb57e move invalidation to the creation of a session 5 years ago
Maurits Lourens f4557fb220 invalidate sessions before login 5 years ago
Martin McKeaveney ee6a16827a fixing google sheets bug, respect google configuration hierarchy 5 years ago
Martin McKeaveney 3a7a964ac8 fix launch.json 5 years ago
Rory Powell bcc84bf1fd Link app context with tenancy, remove app tenancy middleware 5 years ago
Rory Powell 180e37b9f1 Tests complete + backwards compatibility for deployment 5 years ago
Rory Powell 62b360b9ea Add developer usage restrictions to SSO user creation 5 years ago
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. 5 years ago
mike12345567 f3418044dc Starting to fix up test cases. 5 years ago
Michael Drury f04a29dfef Using 10K iteration string stretching for encryption. 5 years ago
mike12345567 92d457ac00 Adding basic encrypt/decrypt pathway. 5 years ago
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. 5 years ago
Martin McKeaveney dfe9861383 use google env variable for client secret and ID, update helm chart to pass variables to worker 5 years ago
Martin McKeaveney 0966720982 use google env variable for client secret and ID, update helm chart to pass variables to worker 5 years ago
Martin McKeaveney f574c90de3 use env platform URL for datasource auth to prevent tenant overrides 5 years ago
Martin McKeaveney 08a3ae0e7c use env platform URL for datasource auth to prevent tenant overrides 5 years ago
mike12345567 9fa10ff02f Refactoring backend-core tenancy to context, splitting out tenancy functionality to its own area. 5 years ago
mike12345567 72534c6ed2 Refactoring backend-core tenancy to context, splitting out tenancy functionality to its own area. 5 years ago
mike12345567 40c6eb2007 Main body of work, refactoring most usages. 5 years ago
mike12345567 d2fe119d90 Main body of work, refactoring most usages. 5 years ago
Rory Powell 0b6a8469de Don't apply csrf to existing sessions. Handle only supported content types 5 years ago
Rory Powell 20ec58b775 Don't apply csrf to existing sessions. Handle only supported content types 5 years ago
Rory Powell 5cb6e19274 Add CSRF Token 5 years ago
Rory Powell ffcf5354eb Add CSRF Token 5 years ago
Andrew Kingston 2ea242e396 Use correct casing for login error 5 years ago
Andrew Kingston 611dc0ab48 Use correct casing for login error 5 years ago
Rory Powell a66f14a289 Migrations 2.0 5 years ago
Rory Powell 3fdce44d56 Migrations 2.0 5 years ago
Martin McKeaveney 7b39f46507 tidy up 5 years ago
Martin McKeaveney 328aef00e1 tidy up 5 years ago