Commit Graph

29 Commits

Author SHA1 Message Date
mike12345567 b5b74b9cad General work after running some tests in CI - general refactoring as well. 2022-11-28 17:54:04 +00:00
mike12345567 242a529b2e Fixes post merge. 2022-11-16 18:28:45 +00:00
mike12345567 bf86640e9d Merge branch 'develop' of github.com:Budibase/budibase into feature/replace-pouch 2022-11-16 18:12:31 +00:00
Rory Powell 6017f6be47 Add copy button to sso callback urls, e2e unit testing for OIDC, stub out other auth tests 2022-11-16 11:34:16 +00:00
Rory Powell 80b823f6cf Test fixes 2022-11-11 15:43:41 +00:00
Rory Powell 0bad2dd9ae Support path variable tenancy detection, add /api/system/* tests, update no tenancy matchers to be more accurate 2022-11-11 11:10:07 +00:00
mike12345567 fd624e097a Typescript conversions, as well as updating context to just use an object map. 2022-11-10 17:38:26 +00:00
Rory Powell ada0eb79bc Update tenancy detection to honour any subdomain pattern according to platform url 2022-11-09 16:35:16 +00:00
mike12345567 76114aa621 Merge branch 'develop' of github.com:Budibase/budibase into group-fixes 2022-09-22 18:44:16 +01:00
mike12345567 141c0a447d Self API in worker conversion to typescript. 2022-09-22 14:09:20 +01:00
Rory Powell bcfb491858 Move tenancy/utils to db/tenancy to resolve circular imports between tenancy and db package. This should remove all reliance on the tenancy package from the db package 2022-09-20 10:20:36 +01:00
Martin McKeaveney be396dc3c0 fixing tests 2022-09-14 14:22:53 +01:00
Martin McKeaveney c4f424cb80 fix circular dependency issues 2022-09-13 17:29:31 +01:00
Martin McKeaveney f9ade3685b convert views to typescript 2022-09-13 12:22:03 +01:00
Martin McKeaveney 096da509d9 PR comments 2022-09-07 23:21:14 +01:00
Martin McKeaveney 493706d9e3 revert back to circular dep 2022-09-02 18:44:03 +01:00
Martin McKeaveney 2de507bffc remove unnecessary files 2022-09-02 16:07:30 +01:00
Martin McKeaveney f42b2d0087 platform user casing view 2022-09-02 09:12:03 +01:00
Rory Powell eb0214a231 Back populate no-op migrations on new app and tenant create 2022-06-13 10:51:29 +01:00
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. 2022-04-19 19:42:52 +01:00
Rory Powell bcc84bf1fd Link app context with tenancy, remove app tenancy middleware 2022-03-24 13:04:49 +00:00
mike12345567 9fa10ff02f Refactoring backend-core tenancy to context, splitting out tenancy functionality to its own area. 2022-01-31 17:53:19 +00:00
mike12345567 03b4b29b01 Review comments, renaming deployed -> prod in terms of app IDs. 2022-01-31 17:42:51 +00:00
mike12345567 09cfa9508e Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 17:16:59 +00:00
mike12345567 417bf98ec9 Tests updating, all now passing, fixed some issues discovered by them. 2022-01-28 15:43:51 +00:00
Michael Drury 91c2a40c89 Final pass refactoring - need to test but all code in server converted. 2022-01-28 00:05:39 +00:00
mike12345567 40c6eb2007 Main body of work, refactoring most usages. 2022-01-27 18:18:31 +00:00
Rory Powell a66f14a289 Migrations 2.0 2022-01-24 10:48:59 +00:00
mike12345567 b4f83fa867 Changing directory. 2022-01-10 19:30:35 +00:00