21 Commits (72a67adcf442dca9de35ef9ea36b721e2fc66f52)

Author SHA1 Message Date
mike12345567 0a9edc48b6 Updating redis to use typescript and adding the option of a writethrough cache which can be used, by passing a DB and a value to be written + a delay for writes. 4 years ago
Martin McKeaveney 543cd8deb1 add better logging on session invalidation 4 years ago
Martin McKeaveney 50c6ad9630 catch block in invalidate sessions 4 years ago
Rory Powell c9b199570a Add execute automation to basic user / write permission set 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
Dean cbc3d3b946 Refactored the invalidate session functionality. 4 years ago
Maurits Lourens 9faaecb57e move invalidation to the creation of a session 4 years ago
mike12345567 e073bdb5a4 Fix for #5103 - some templates are built on an older version that stored permissions differently, we can't migrate these as they will keep being added, easiest to just support the old method (apply the old rule and convert to the new format when retrieving roles). 4 years ago
mike12345567 6a416cad59 Refactoring how endpoints are specified so that the middlewares can be applied in a more generic fashion. 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
mike12345567 8f7a8553bb Fix for #4267 - allow admins to access all roles. 5 years ago
mike12345567 d87b8c0563 Fix for #4267 - allow admins to access all roles. 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 4b1331450c Fixing some issues discovered by the cypress tests, cleaning up how Couch is used. 5 years ago
mike12345567 91a90e62b2 Fixing some issues discovered by the cypress tests, cleaning up how Couch is used. 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 5cb6e19274 Add CSRF Token 5 years ago
Rory Powell ffcf5354eb Add CSRF Token 5 years ago
mike12345567 b4f83fa867 Changing directory. 5 years ago
mike12345567 12ae9993ca Changing directory. 5 years ago