231 Commits (245dca2c2a359afe3c64524e42dbb79f3499d1fa)

Author SHA1 Message Date
Dean 10157cf5ff Joi validator update to accomodate 'createdAt' and 'updatedAt' in the schema as optional 4 years ago
Dean fffb4b0174 Overview Tab refactoring and general updates to the homepage 4 years ago
Dean 1c5990b9d7 Initial Commit for app overview 4 years ago
mike12345567 95bcb1ca9c Fixing issue with db init as part of the jest require. 4 years ago
Rory Powell 0f29b0cb03 Test fixes 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 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
Rory Powell b5de92d0a0 Add checkout pro step to budibase-ci 4 years ago
Andrew Kingston caff2d7508 Fix for tests when headers are undefined 4 years ago
Andrew Kingston c25ca0cafd Tidy up 4 years ago
Rory Powell 4ad846f116 Remove remaining direct usage of CouchDB. Add common pouch config to backend-core 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
Rory Powell bcc84bf1fd Link app context with tenancy, remove app tenancy middleware 4 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 a37fc54fab Fixing an issue that was breaking build. 5 years ago
mike12345567 1dd2cf99d0 Quick fix for #4914 - adding some checks in API middleware to confirm headers have been set correctly. 5 years ago
Rory Powell ccf2fe3d01 Self Host <-> Licensing integration 5 years ago
Rory Powell d6092b9133 Integrate usage quotas with licensing 5 years ago
mike12345567 d8b5cae569 Adding new generation technique, converting openAPI spec to typescript definitions, which are then applied in mapping output middlewares to make sure that the structures of the response are fully respected. 5 years ago
mike12345567 5ba723f935 Updating summaries, adding descriptions, wrapping responses with generic wrapper 'data'. 5 years ago
Andrew Kingston 0137867f1a Update devtools with new features 5 years ago
Andrew Kingston e35fc7cb7b Fix bad import of headers constants 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 417bf98ec9 Tests updating, all now passing, fixed some issues discovered by them. 5 years ago
mike12345567 d5f8cc1023 Tests updating, all now passing, fixed some issues discovered by them. 5 years ago
Michael Drury 91c2a40c89 Final pass refactoring - need to test but all code in server converted. 5 years ago
Michael Drury d3a90acc55 Final pass refactoring - need to test but all code in server converted. 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 716e254bdd Revert "Fix dev app preview return url" 5 years ago
Rory Powell 0b9bb42817 Revert "Fix dev app preview return url" 5 years ago
Rory Powell 5cb6e19274 Add CSRF Token 5 years ago
Rory Powell ffcf5354eb Add CSRF Token 5 years ago
Rory Powell a66f14a289 Migrations 2.0 5 years ago
Rory Powell 3fdce44d56 Migrations 2.0 5 years ago
Rory Powell 94cb39829c Support template and app import in quotas + logging 5 years ago
Rory Powell fc043e116d Support template and app import in quotas + logging 5 years ago
Rory Powell 747db3daa2 Refactor to allow for future quota migrations 5 years ago
Rory Powell 439fa9a010 Refactor to allow for future quota migrations 5 years ago
Rory Powell a09bbfb492 Account for duplicate row ids caused by app import 5 years ago
Rory Powell 79c10fba7c Account for duplicate row ids caused by app import 5 years ago
Rory Powell 3520c3d42b Sync row usage with app deletion 5 years ago
Rory Powell ff887f8f88 Sync row usage with app deletion 5 years ago
Rory Powell 66a84e8fe6 Calculate total rows in migration, centralise quota enabled logic and tidy to use env vars only 5 years ago