mike12345567
|
c744d23832
|
Major update - removing the use of context for PouchDB instances, swapping knowledge of PouchDB to the PouchLike structure that replaces it.
|
2022-11-09 16:53:42 +00:00 |
mike12345567
|
3d98acc28a
|
Minor test rework after improving startup, a lot of mocks weren't being used correctly.
|
2022-10-27 15:15:08 +01:00 |
Rory Powell
|
56456f3f6d
|
Startup fixes
|
2022-10-25 13:37:26 +01:00 |
Rory Powell
|
9face50a07
|
Fix build failure around PouchDB type
|
2022-10-25 09:02:55 +01:00 |
mike12345567
|
8fdba78bde
|
Merge branch 'develop' of github.com:Budibase/budibase into feature/app-backups
|
2022-10-13 15:59:31 +01:00 |
mike12345567
|
8d7f40e443
|
Refactoring more to Typescript, adding the ability to use the _find API of CouchDB.
|
2022-10-12 17:02:23 +01:00 |
Rory Powell
|
84685d3340
|
Add locking framework
|
2022-10-10 08:21:17 +01:00 |
Rory Powell
|
e85e3828fd
|
Test fix
|
2022-09-28 14:03:05 +01:00 |
Rory Powell
|
d87e3904ae
|
Create generic quota sync migration
|
2022-09-28 13:13:37 +01:00 |
Rory Powell
|
79226777b1
|
Merge develop
|
2022-09-28 08:56:45 +01:00 |
mike12345567
|
db6a150436
|
Updating test cases.
|
2022-05-26 17:31:57 +01:00 |
mike12345567
|
3cdda4a1fa
|
Updating migration name.
|
2022-05-26 16:39:47 +01:00 |
mike12345567
|
723b96c5a5
|
Adding the ID inputs for the quota breakdown functionality.
|
2022-05-26 16:01:10 +01:00 |
mike12345567
|
f37712a453
|
Fixing context issues in sync apps/rows test cases.
|
2022-04-26 15:42:21 +01:00 |
Rory Powell
|
3991f25c5c
|
Test fixes
|
2022-04-26 15:07:21 +01:00 |
Martin McKeaveney
|
9ca4dacbaa
|
merge with master
|
2022-04-26 10:21:45 +01:00 |
mike12345567
|
345bbf603c
|
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
|
192fb1307e
|
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
|
41144db055
|
Remove remaining direct usage of CouchDB. Add common pouch config to backend-core
|
2022-04-19 16:45:27 +01:00 |
Rory Powell
|
0a4b1eb552
|
Tests complete + backwards compatibility for deployment
|
2022-03-22 00:23:22 +00:00 |
Rory Powell
|
795b48bfb0
|
Published apps, automations and query count quotas
|
2022-03-20 01:13:54 +00:00 |
Rory Powell
|
661367333d
|
Add developer usage restrictions to SSO user creation
|
2022-03-18 08:01:31 +00:00 |
Rory Powell
|
953a5f881c
|
developer and published apps usage quota migrations
|
2022-03-16 08:18:09 +00:00 |
Rory Powell
|
7698e9293c
|
Self Host <-> Licensing integration
|
2022-03-09 21:16:22 +00:00 |
Rory Powell
|
eefe4ea2ad
|
Integrate usage quotas with licensing
|
2022-03-08 14:21:41 +00:00 |
Rory Powell
|
b686c19658
|
Enforce licensed developer count + error types/codes framework
|
2022-03-04 13:42:50 +00:00 |
Michael Drury
|
4b23a78bc9
|
Fixing a typescript issue in server.
|
2022-02-01 20:29:12 +00:00 |
mike12345567
|
e642268364
|
Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db
|
2022-02-01 14:33:02 +00:00 |
Rory Powell
|
b63aa71366
|
Tolerate missing app metadata in app url migration
|
2022-01-31 17:28:45 +00:00 |
mike12345567
|
476f34fb93
|
Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db
|
2022-01-31 17:16:59 +00:00 |
mike12345567
|
d2fe119d90
|
Main body of work, refactoring most usages.
|
2022-01-27 18:18:31 +00:00 |
Rory Powell
|
767354ad60
|
Add app db support + app url migration
|
2022-01-27 10:40:31 +00:00 |
Rory Powell
|
e5d04d2830
|
Merge branch 'develop' into feature/migrations-2.0
|
2022-01-26 15:00:52 +00:00 |
Rory Powell
|
36456189f4
|
Test fix
|
2022-01-24 10:53:30 +00:00 |
Rory Powell
|
3fdce44d56
|
Migrations 2.0
|
2022-01-24 10:48:59 +00:00 |
Rory Powell
|
fc043e116d
|
Support template and app import in quotas + logging
|
2022-01-18 15:37:16 +00:00 |
Rory Powell
|
439fa9a010
|
Refactor to allow for future quota migrations
|
2022-01-18 14:43:24 +00:00 |
Rory Powell
|
79c10fba7c
|
Account for duplicate row ids caused by app import
|
2022-01-18 12:48:54 +00:00 |
Rory Powell
|
ff887f8f88
|
Sync row usage with app deletion
|
2022-01-17 18:07:26 +00:00 |
Rory Powell
|
8fc60af820
|
Calculate total rows in migration, centralise quota enabled logic and tidy to use env vars only
|
2022-01-17 12:44:53 +00:00 |
mike12345567
|
bca8212d1d
|
Merge branch 'develop' of github.com:Budibase/budibase into fix/sync-apps-reset-rows-quotas
|
2022-01-12 13:20:22 +00:00 |
Rory Powell
|
adcb692652
|
Replace auth with backend-core
|
2022-01-12 09:53:48 +00:00 |
Rory Powell
|
979313f966
|
Enable migration
|
2022-01-11 18:38:18 +00:00 |
Rory Powell
|
726315afde
|
Sync app quota to correct number, reset and disable rows quota
|
2022-01-11 17:49:42 +00:00 |