1
0
Fork 0
mirror of synced 2024-05-18 19:33:49 +12:00
Commit graph

56 commits

Author SHA1 Message Date
Rory Powell 2212305f08 Bump jest and ts-jest to be consistent across backend packages to fix CI issue, test config updates 2022-11-14 22:55:47 +00:00
Rory Powell fd913a5e76 Fail pro scripts on error, unify TS versions, update test and coverage configs, use pro source mappings 2022-11-14 13:29:46 +00:00
mike12345567 6edffb0d5e Addressing majority of PR comments. 2022-10-24 10:04:14 +01:00
mike12345567 a20ad3233e Main types and work for the CRUD operations of app backup backend in pro + the listeners to handle exporting apps from the server. 2022-10-14 19:24:03 +01:00
mike12345567 9c57300030 Renaming some queue to automationQueue, getting build working. 2022-10-13 17:39:26 +01:00
mike12345567 50ca437f03 Moving queue implementation into backend-core - so that pro can access. 2022-10-13 17:27:04 +01:00
Rory Powell af24f72166 Process quota emails in account-portal 2022-10-06 16:03:47 +01:00
Rory Powell 0b652a085f Merge branch 'master' into develop 2022-09-15 10:19:56 +01:00
mike12345567 7f25076663 Updating backend-core lockfile. 2022-09-05 14:06:35 +01:00
Rory Powell c90dfbb00f Add updatedAt and createdAt as optional to all joi middleware 2022-08-02 09:39:30 +01:00
mike12345567 8deab4be06 Merge branch 'master' of github.com:Budibase/budibase into fix/memory-leak 2022-07-14 16:40:23 +01:00
Rory Powell 917cbbb6b1 WIP: Memory leak fix 2022-07-13 08:22:21 -04:00
mike12345567 2593dccdac Merge branch 'master' of github.com:Budibase/budibase into develop 2022-07-05 17:37:04 +01:00
Dean 547f2788c9 Merge remote-tracking branch 'origin/develop' into sso-rest-requests 2022-06-27 09:14:40 +01:00
mike12345567 e3f25795e8 Fixing test case and review comments. 2022-06-24 12:08:29 +01:00
mike12345567 0a9edc48b6 Updating redis to use typescript and adding the option of a writethrough cache which can be used, by passing a DB and a value to be written + a delay for writes. 2022-06-23 20:22:51 +01:00
Dean dc20ecc5ff Merge commit 2022-06-23 14:29:19 +01:00
Rory Powell 2018cd4922 Update locks 2022-06-09 13:33:31 +01:00
Rory Powell e447fd11d1 Build fixes 2022-06-09 12:33:10 +01:00
Rory Powell 98a92c0ad2 Purge lockfiles for worker, server and backend-core 2022-06-07 10:44:56 +01:00
Rory Powell bc9674cecb Downgrade jest 2022-06-06 17:25:35 +01:00
Rory Powell d5a945ed67 Update lockfiles 2022-06-06 16:33:10 +01:00
Rory Powell 9f2620dd7a Migration locks and add optional preventRetry option 2022-06-01 17:52: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 64d73e2f96 Merge branch 'develop' into feature/posthog-v2 2022-05-28 23:03:31 +01:00
Rory Powell 9610d8f1e7 Identity tenant and installation groups, property updates 2022-05-28 21:38:22 +01:00
Rory Powell 37b734731c
Merge pull request #6075 from Budibase/fix/provisioning-multi-tenant
Fix provisioning in multi tenant environment
2022-05-27 10:17:30 +01:00
Rory Powell ab54ae29ab Fix provisioning in multi tenant environment 2022-05-26 16:48:26 +01:00
mike12345567 09f8675816 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-05-25 18:12:27 +01:00
mike12345567 157802b70a Swapping bcryptjs for bcrypt. 2022-05-25 16:14:45 +01:00
mike12345567 806a0c0389 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-05-23 17:03:36 +01:00
mike12345567 100f5a6f3c Moving the withCache function to backend-core so that it can be shared, as well as adding a cache busting function which can be used when one of the checklist configs changes. 2022-05-23 15:03:52 +01:00
Rory Powell 6ea7912a73 Merge branch 'feature/posthog-v2' into feature/event-backfill 2022-05-23 10:29:33 +01:00
Rory Powell 80a82bbcc3 Merge branch 'develop' into feature/posthog-v2 2022-05-23 09:04:00 +01:00
Rory Powell ca3206f4e4 Stub out migrations + start tests + add build watching for backend-core 2022-05-18 10:56:44 +01:00
mike12345567 36a190b0ed Finishing off UI, expanding settings menus from 80ch to 90ch as they were quite restricted and made the usage UI a bit difficult to view. Added a DISABLE_DEVELOPER_LICENSE env variable for testing. 2022-05-17 17:44:40 +01:00
Rory Powell 20076e69d7 Update lockfiles 2022-05-12 15:51:14 +01:00
mike12345567 bba1fdcb7c Switching over to using our own version of cls-hooked which has the memory leak (no async hooks disable call) fixed as well as changing how we use the CLS namespaces to allow us to destroy the namespace we use per request. 2022-05-10 16:37:24 +01:00
Rory Powell 606d21b313 Build and test fixes 2022-05-03 22:58:19 +01:00
Rory Powell 1e7e6bdab8 Merge branch 'labday/backend-core-ts' into feature/posthog-v2 2022-04-29 14:01:13 +01:00
Rory Powell 36f7358a20 backend-core typescript building successfully 2022-04-28 22:39:21 +01:00
Rory Powell bd33c827eb Merge branch 'develop' into feature/posthog-v2 2022-04-27 16:32:00 +01:00
Martin McKeaveney e01ef9bdfb merge with master 2022-04-26 10:21:45 +01:00
mike12345567 a6b249dc7e Adding a dep:clean function, cleaning up lock files and fixing backend-core test which did not utilise tenancy (no global db). 2022-04-21 15:20:23 +01:00
mike12345567 7792a07899 Some updates, making sure databases will always close directly using finally checks around the actual tasks, updating how replication works to have a close statement (to make sure it is controlled correctly) and then updating to PouchDB 7.3.0 for one of the memory leak fixes. 2022-04-20 17:33:42 +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 23b68660c2 Merge branch 'feature/licensing' into feature/posthog-v2 2022-04-12 17:12:46 +01:00
Rory Powell 2c682d3507 Table CRUD events + add timekeeper for tests 2022-04-11 14:39:31 +01:00