Commit Graph

59 Commits

Author SHA1 Message Date
Dean 3b68abf407 Merge remote-tracking branch 'origin/develop' into feature/current-user-rest-bindings 2022-06-20 09:09:21 +01:00
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. 2022-06-17 12:00:42 +01:00
Rory Powell 8f0c045a11 Bump timeout for migration test 2022-06-16 10:40:42 +01:00
Rory Powell 3941272c99 Fix: Handle datasource not exists for query 2022-06-16 09:21:01 +01:00
Rory Powell 4cfedf7252 Better handle first time startup + dedicated event 2022-06-15 11:20:13 +01:00
Rory Powell a826aacbcb Remove test throw in installation backfill 2022-06-13 22:04:20 +01: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 b570563d41 Default to historical timestamp 2022-06-01 14:44:12 +01:00
Rory Powell 429f379431 Failover protection with event cache 2022-05-31 21:04:41 +01:00
Rory Powell fd845284d3 Lots of failure handling and caching 2022-05-30 21:46:08 +01:00
Rory Powell f2f6bf779d Merge branch 'feature/posthog-v2' into feature/event-backfill 2022-05-29 00:25:40 +01:00
Rory Powell 9610d8f1e7 Identity tenant and installation groups, property updates 2022-05-28 21:38:22 +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 cbc3e72757 app and account properties, add account details to all user and tenant identities 2022-05-26 10:13:26 +01:00
Rory Powell 163b667f95 Historical timestamps 2022-05-25 21:32:08 +01:00
Rory Powell 54e8a5dafd timestamp support, logging updates, migration progress indicators, identification updates 2022-05-25 00:15:52 +01:00
Rory Powell 9d0b4ef45e User context updates and misc fixes 2022-05-24 09:54:36 +01:00
Rory Powell 22aa226ca9 Event identification 2022-05-23 22:14:44 +01:00
Rory Powell 6ea7912a73 Merge branch 'feature/posthog-v2' into feature/event-backfill 2022-05-23 10:29:33 +01:00
Rory Powell 63dd69f5b3 Finish global migration 2022-05-20 21:16:29 +01:00
Rory Powell 8ae358d237 App migrations finished 2022-05-20 12:29:31 +01:00
Rory Powell 9fdba2b6e1 Migration for apps, automations, datasources, layouts, queries, roles, tables 2022-05-19 08:19:25 +01:00
Rory Powell ca3206f4e4 Stub out migrations + start tests + add build watching for backend-core 2022-05-18 10:56:44 +01:00
Rory Powell 182831d502 handlers -> publishers and analtics -> processors 2022-05-10 10:33:59 +01:00
Rory Powell 78b64fdfb9 App backfill (wip) 2022-05-05 08:32:14 +01:00
Rory Powell 23cbd217cd Add ts watch support for backend-core + stub out migrations 2022-05-04 11:22:50 +01:00
mike12345567 8e5c4dea77 Fixing context issues in sync apps/rows test cases. 2022-04-26 15:42:21 +01:00
Rory Powell 0f29b0cb03 Test fixes 2022-04-26 15:07:21 +01:00
Martin McKeaveney e01ef9bdfb merge with master 2022-04-26 10:21:45 +01:00
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. 2022-04-21 14:56:14 +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 180e37b9f1 Tests complete + backwards compatibility for deployment 2022-03-22 00:23:22 +00:00
Rory Powell 336f0ff4a0 Published apps, automations and query count quotas 2022-03-20 01:13:54 +00:00
Rory Powell 62b360b9ea Add developer usage restrictions to SSO user creation 2022-03-18 08:01:31 +00:00
Rory Powell 714da96ee5 developer and published apps usage quota migrations 2022-03-16 08:18:09 +00:00
Rory Powell ccf2fe3d01 Self Host <-> Licensing integration 2022-03-09 21:16:22 +00:00
Rory Powell d6092b9133 Integrate usage quotas with licensing 2022-03-08 14:21:41 +00:00
Rory Powell 3b9303a1fb Enforce licensed developer count + error types/codes framework 2022-03-04 13:42:50 +00:00
Michael Drury e1a4136f9c Fixing a typescript issue in server. 2022-02-01 20:29:12 +00:00
mike12345567 53aabb4d05 Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-02-01 14:33:02 +00:00
Rory Powell d613d9094e Tolerate missing app metadata in app url migration 2022-01-31 17:28:45 +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 40c6eb2007 Main body of work, refactoring most usages. 2022-01-27 18:18:31 +00:00
Rory Powell e8e6fc549d Add app db support + app url migration 2022-01-27 10:40:31 +00:00
Rory Powell 420684a862 Merge branch 'develop' into feature/migrations-2.0 2022-01-26 15:00:52 +00:00
Rory Powell bba60c5280 Test fix 2022-01-24 10:53:30 +00:00
Rory Powell a66f14a289 Migrations 2.0 2022-01-24 10:48:59 +00:00