124 Commits (84afa832c5192b0ffa45e3b3bc233b076e2feb00)

Author SHA1 Message Date
mike12345567 84afa832c5 Review comments. 4 years ago
mike12345567 00c67289b0 Fixing an issue with cookie auth. 4 years ago
mike12345567 4a02f7f9aa Fix for issue being able to delete apps. 4 years ago
Rory Powell 716eab5d10 Bypass couch db when using tenancy middleware 4 years ago
Rory Powell 0f04715062 Fix: google sso 4 years ago
Rory Powell b7cbd2a56a Fix developer count migration when only single developer 4 years ago
Rory Powell fa136ba4ca Sync versions of pro and backend-core 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 9828fc6f58 Fixing an issue we've experienced with couch, using a base64 cookie that we control manually. 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 fe846f86a5 Fixing issues with test cases - a lot of test cases didn't setup tenancy in any format, which now means that the API endpoints they call would not have access to a Global DB instance. Also had to disable the closing of the database in test as this was removing the database from memory, meaning future calls would find an empty database when they opened it. 4 years ago
mike12345567 9d01028bd0 Adding another check to make sure context is the same. 4 years ago
mike12345567 1d61ff906a Fixing some issues detected by the test cases, making the in-use mechanism for context more clear to complete avoid stack up of contexts (leading to loss of knowledge around previous databases. 4 years ago
mike12345567 9ee1be79fb Closing global DB using the standard function - not directly. 4 years ago
mike12345567 7792a07899 Some updates, making sure databases will always close directly using finally checks around the actual tasks, updating how replication works to have a close statement (to make sure it is controlled correctly) and then updating to PouchDB 7.3.0 for one of the memory leak fixes. 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 769f48f935 Remove remaining direct usage of CouchDB. Add common pouch config to backend-core 5 years ago
Dean 4cc1a85f25 Code style check 4 years ago
Dean 3e74118f81 Unpublish refactored to stop development applications being mistakenly deleted. Minor updates to the modal content component to allow the replacement of the header. Further work to implement the publishing workflow changes 4 years ago
Rory Powell 3018aaf078 Handle no developers on first time startup migration 4 years ago
Dean cbc3d3b946 Refactored the invalidate session functionality. 4 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
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). 5 years ago
Martin McKeaveney 3a7a964ac8 fix launch.json 5 years ago
Rory Powell ef629c9859 Fixes 5 years ago
Rory Powell bcc84bf1fd Link app context with tenancy, remove app tenancy middleware 5 years ago
Rory Powell cb6103a321 Fix cross tenant apps with session 5 years ago
Rory Powell 180e37b9f1 Tests complete + backwards compatibility for deployment 5 years ago
Rory Powell 336f0ff4a0 Published apps, automations and query count quotas 5 years ago
Rory Powell 62b360b9ea Add developer usage restrictions to SSO user creation 5 years ago
Rory Powell 893f82ac4d Better error handling around license errors 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 8dc2c9d480 Fixing an issue with detecting fully qualified Redis URL despite not in use. 5 years ago
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. 5 years ago
Rory Powell ccf2fe3d01 Self Host <-> Licensing integration 5 years ago
Rory Powell d6092b9133 Integrate usage quotas with licensing 5 years ago
Rory Powell 995f7c4b58 Move licensing middleware to pro repo 5 years ago
Rory Powell 3b9303a1fb Enforce licensed developer count + error types/codes framework 5 years ago
Rory Powell 515ade6bd3 Add shared licensing cache 5 years ago
Rory Powell c67de30d8c Invalidate user cache on logout 5 years ago
Rory Powell 091f054e8a Handle no license found 5 years ago
Rory Powell 8ff9aac4f8 Start to integrate licensing with sessions 5 years ago
mike12345567 f3418044dc Starting to fix up test cases. 5 years ago
Rory Powell 9fcf702a32 Add status banner that reacts to cypress healthcheck failures 5 years ago
mike12345567 c189550614 Adding controllers for row, query and applications public APIs. 5 years ago
mike12345567 6a416cad59 Refactoring how endpoints are specified so that the middlewares can be applied in a more generic fashion. 5 years ago
Rory Powell 65b0455313 Fix app list retrieval in migrations 5 years ago