Commit Graph

14 Commits

Author SHA1 Message Date
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
mike12345567 033258b495 Updating export template script to remove users as well. 2021-06-08 18:09:09 +01:00
Andrew Kingston 797e8a8b67 Add explicit prettier options 2021-05-04 11:32:22 +01:00
Keviin Åberg Kultalahti 0afbf1649e lint:fix 2021-05-03 09:31:09 +02:00
mike12345567 b70ff24dac Some further work to make sure all use of the budibaseAppsDir is removed in important places. 2021-03-25 18:03:58 +00:00
mike12345567 c49637db47 Work in progress, have refactored the templating system to remove local templates, application and template system now work through minio with no file access. 2021-03-19 19:07:47 +00:00
Martin McKeaveney b76d42bcde use dynamic input in query 2021-01-11 15:34:43 +00:00
mike12345567 e353c2a1c4 Updating templates to be able to run locally with an environment variable LOCAL_TEMPLATES and making them work using the DB. Users are also no longer included in the db dump. 2020-11-06 12:30:30 +00:00
mike12345567 1238147be9 Updating script that had duplicate key. 2020-10-29 10:53:39 +00:00
mike12345567 5b2be03bc3 Renaming instanceId -> appId to reduce confusion through the system, there only is one ID now. 2020-10-29 10:28:27 +00:00
Martin McKeaveney 6a2da91f31 CLI tool for exporting apps, tidy up 2020-09-29 10:32:42 +01:00
Martin McKeaveney b27f80071f async templates working from S3 2020-09-28 17:04:08 +01:00
Martin McKeaveney 892ce699ce template export v1 2020-09-25 14:47:42 +01:00