89 Commits (1c92cdfdbd6feaddd4463f9ea77ceed2ca174eaa)

Author SHA1 Message Date
Rory Powell 917cbbb6b1 WIP: Memory leak fix 4 years ago
Dean 18f2e13a30 Fixes for Rest API request UI. Rest test fixes for XML API request body. Fix for raw XML api request body parsing issue. General fixes for query testing. 4 years ago
Rory Powell 429f379431 Failover protection with event cache 4 years ago
Rory Powell 63dd69f5b3 Finish global migration 4 years ago
Rory Powell 8ae358d237 App migrations finished 4 years ago
Rory Powell ca3206f4e4 Stub out migrations + start tests + add build watching for backend-core 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. 5 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. 5 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. 5 years ago
Rory Powell 769f48f935 Remove remaining direct usage of CouchDB. Add common pouch config to backend-core 5 years ago
Rory Powell b650863a2b smtp events + centralise worker test config 5 years ago
Rory Powell 1a131f3e19 Refactor automation tests to run independently 5 years ago
Rory Powell a4b49c3633 Logout events 5 years ago
Rory Powell 39ef2438a3 sso auth + datasource events, test updates 5 years ago
Rory Powell 7a5df9010c App events 5 years ago
Rory Powell 4ad846f116 Remove remaining direct usage of CouchDB. Add common pouch config to backend-core 5 years ago
Rory Powell bcc84bf1fd Link app context with tenancy, remove app tenancy middleware 5 years ago
mike12345567 3028c34564 Fixing test case. 5 years ago
mike12345567 f3418044dc Starting to fix up test cases. 5 years ago
Michael Drury 46d23cfb25 Adding a testing system which generates the schema and compares against responses. 5 years ago
Maurits Lourens a3ecb0a9f4 fix tests 5 years ago
Maurits Lourens 8ca38cf135 fix tests 5 years ago
Maurits Lourens 7b182b16ad fix tests 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 e8e6fc549d Add app db support + app url migration 5 years ago
Rory Powell 767354ad60 Add app db support + app url migration 5 years ago
Rory Powell 5cb6e19274 Add CSRF Token 5 years ago
Rory Powell ffcf5354eb Add CSRF Token 5 years ago
Rory Powell 08bd447b51 Remove server -> worker request to retrieve apps, remove hosting endpoints and store 5 years ago
Rory Powell e0dcc7648c Remove server -> worker request to retrieve apps, remove hosting endpoints and store 5 years ago
mike12345567 5d9b3af332 Refactoring core library usage in monorepo, make it a bit cleaner/easier to search/more standardised. 5 years ago
mike12345567 5ee6aa24b2 Refactoring core library usage in monorepo, make it a bit cleaner/easier to search/more standardised. 5 years ago
mike12345567 3f6b7d4daf Renaming some variables to core, fixing test cases that referenced auth directly. 5 years ago
mike12345567 37d0617ace Renaming some variables to core, fixing test cases that referenced auth directly. 5 years ago
Rory Powell 68cc60d015 Invalidate dynamic variables when they are removed from datasource 5 years ago
Rory Powell cc338f03df Invalidate dynamic variables when they are removed from datasource 5 years ago
mike12345567 836a2f5863 Switching out @budibase/auth to @budibase/backend-core. 5 years ago
mike12345567 1327394784 Switching out @budibase/auth to @budibase/backend-core. 5 years ago
mike12345567 de243c933a Adding basic test cases for static and dynamic variables (backend). 5 years ago
mike12345567 44a8d36c91 Adding basic test cases for static and dynamic variables (backend). 5 years ago
mike12345567 24eebd9b98 Fixing test cases. 5 years ago
mike12345567 fa38a4b37e Fixing test cases. 5 years ago
Rory Powell fd9796f715 Update app id check in tests 5 years ago
Rory Powell 67f851b68c Update app id check in tests 5 years ago
Rory Powell 0718f99850 Prevent non builder from accessing dev apps 5 years ago