Commit Graph

31 Commits

Author SHA1 Message Date
mike12345567 b20db4d22a Adding a migration for the plugin quotas to make sure they are always accurate in self host at startup. 2022-09-24 12:10:09 +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
Rory Powell cb03d26980 Merge branch 'develop' into feature/day-pass-pricing 2022-08-19 14:08:03 +01:00
Rory Powell 5a74207ecd usage page updates 2022-08-19 09:28:26 +01:00
mike12345567 b920f8cb05 Replacing all plural TS enumerations with singular - this involves a major rename of the DocumentTypes. 2022-08-11 13:50:05 +01:00
Rory Powell 3b3f3188ab Sync global-info users to fix login + prevent double password hashing 2022-08-04 14:49:56 +01:00
Rory Powell 917cbbb6b1 WIP: Memory leak fix 2022-07-13 08:22:21 -04:00
Rory Powell eb0214a231 Back populate no-op migrations on new app and tenant create 2022-06-13 10:51:29 +01:00
Rory Powell e447fd11d1 Build fixes 2022-06-09 12:33:10 +01:00
Rory Powell 9f2620dd7a Migration locks and add optional preventRetry option 2022-06-01 17:52:41 +01:00
Rory Powell 090fdb58e0 app id fixes 2022-06-01 15:17:49 +01:00
Rory Powell 398a4e7034 Installation identities, upgrade / downgrade events, filling in more event properties 2022-05-26 23:57:14 +01:00
Rory Powell 54e8a5dafd timestamp support, logging updates, migration progress indicators, identification updates 2022-05-25 00:15:52 +01:00
Rory Powell 9fdba2b6e1 Migration for apps, automations, datasources, layouts, queries, roles, tables 2022-05-19 08:19:25 +01:00
Rory Powell bd33c827eb Merge branch 'develop' into feature/posthog-v2 2022-04-27 16:32:00 +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 769f48f935 Remove remaining direct usage of CouchDB. Add common pouch config to backend-core 2022-04-19 16:45:27 +01:00
Rory Powell 2c682d3507 Table CRUD events + add timekeeper for tests 2022-04-11 14:39:31 +01:00
Rory Powell 39ef2438a3 sso auth + datasource events, test updates 2022-04-05 15:46:04 +01:00
Rory Powell ec0dcb42ee Add tests for base db config 2022-03-30 15:43:18 +01:00
Rory Powell 4ad846f116 Remove remaining direct usage of CouchDB. Add common pouch config to backend-core 2022-03-29 16:03:44 +01:00
Rory Powell 65b0455313 Fix app list retrieval in migrations 2022-02-22 07:49:33 +00:00
Rory Powell d673d27563 Respect custom tenantIds in run migrations endpoint 2022-02-21 15:27:51 +00:00
Rory Powell d9ead48c59 Deprovision and local couch db url fix 2022-02-18 17:36:23 +00:00
Rory Powell 89fb5feeeb Fix loop early exit 2022-01-28 11:32:28 +00:00
Rory Powell e8e6fc549d Add app db support + app url migration 2022-01-27 10:40:31 +00:00
Rory Powell a66f14a289 Migrations 2.0 2022-01-24 10:48:59 +00:00
Rory Powell 94cb39829c Support template and app import in quotas + logging 2022-01-18 15:37:16 +00:00
Rory Powell 747db3daa2 Refactor to allow for future quota migrations 2022-01-18 14:43:24 +00:00
Rory Powell 5671244274 Merge branch 'develop' into fix/sync-apps-reset-rows-quotas 2022-01-12 09:34:14 +00:00
mike12345567 b4f83fa867 Changing directory. 2022-01-10 19:30:35 +00:00