165 Commits (f6b55efbec3f202fd8a51788045ec3004c028dfa)

Author SHA1 Message Date
mike12345567 e439d7097b Review comments and test fix. 4 years ago
mike12345567 06a32ed357 Fixing issue with server not shutting down correctly when an error occurs, making sure that everything clears up gracefully. 4 years ago
mike12345567 157802b70a Swapping bcryptjs for bcrypt. 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
Martin McKeaveney 10fe43050f adding default license env variable 4 years ago
mike12345567 fe1016d01b Adding the ability to force a new context. 4 years ago
Martin McKeaveney b30c045663 enable clustering on server and worker services, better log output on user not found errors 4 years ago
mike12345567 7be0dad245 Updating cache to 1 hour. 4 years ago
mike12345567 100f5a6f3c Moving the withCache function to backend-core so that it can be shared, as well as adding a cache busting function which can be used when one of the checklist configs changes. 4 years ago
Martin McKeaveney 9483712c7e withCache wrapper for working with redis 4 years ago
mike12345567 8ab3fc810b Improving performance of load script, can generate thousands of users a second. 4 years ago
mike12345567 eae5d4dc4d Removing the use of pouchdb-all-dbs from testing environment, it was causing more harm than good and was entirely avoidable. 4 years ago
mike12345567 d922a5794b Review comments. 4 years ago
Martin McKeaveney aa61a86c4a use platform url env 4 years ago
mike12345567 36a190b0ed Finishing off UI, expanding settings menus from 80ch to 90ch as they were quite restricted and made the usage UI a bit difficult to view. Added a DISABLE_DEVELOPER_LICENSE env variable for testing. 4 years ago
Rory Powell eb935cf143 Fix tests and build 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
Rory Powell c9b199570a Add execute automation to basic user / write permission set 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
mike12345567 5048469cfc Adding our own version of cls hooked with the memory leak fixed. 4 years ago
mike12345567 2abfeb9356 Unit tests for the utility functions that have changed around app ID checks/generation./ 4 years ago
mike12345567 7b461c03dd Fixing issue #5778 - making sure to only remove the first app_ element of the app ID. 4 years ago
Rory Powell 2cfb7be30a Re-enable gsheets for verification 4 years ago
Rory Powell 320c1e7009 Add isDev() to backend-core/env 4 years ago
mike12345567 28584a01db Fixing test case. 4 years ago
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
Martin McKeaveney a5bdf70cf7 renamable buckets, started firebase tests, onboarding modal copy update 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 4 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