1
0
Fork 0
mirror of synced 2024-06-30 20:10:54 +12:00
Commit graph

217 commits

Author SHA1 Message Date
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 3507704680 Fixes for cronjob stop - correctly handle this without stalled job handle. 2022-10-14 13:26:42 +01:00
mike12345567 94188771df Handling listeners as part of queue creation, rather than external part. 2022-10-13 17:55:05 +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
mike12345567 33e31fe2e4 Refactoring more to Typescript, adding the ability to use the _find API of CouchDB. 2022-10-12 17:02:23 +01:00
Shumpei Kishi fb0a1468f7 Adding a validation check for undefined 2022-10-03 17:34:06 +09:00
Shumpei Kishi 12fe55a7f0 Fixing the validation logic to accept boolean false value. 2022-10-03 15:55:11 +09:00
Rory Powell 9af16738e5 Merge develop 2022-09-28 08:56:45 +01:00
mike12345567 06100af834 Fixing minor issue with automation quota updates. 2022-05-30 14:06:42 +01:00
mike12345567 65eb2790d6 Adding the ID inputs for the quota breakdown functionality. 2022-05-26 16:01:10 +01:00
Mel O'Hagan 4d2159f354 Make 'to' field undefined if empty for consistent validation 2022-05-20 13:59:29 +01:00
Mel O'Hagan d6142b777e Add limit placeholder for Automation queries 2022-05-11 11:25:53 +01:00
Peter Clement 8c031b9d35 linting 2022-05-04 11:55:26 +01:00
mike12345567 95d8a4b939 Fixing issues with automation test cases running steps outside of a tenant. 2022-04-26 15:50:35 +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
Rory Powell 2269bf677b Merge branch 'develop' into feature/licensing 2022-04-20 14:59:36 +01:00
Mel O'Hagan ec235a4e5c RevId should be optional for automation delete 2022-04-20 12:11:36 +01:00
Mel O'Hagan 8858a416ef Prettier comma fix 2022-04-20 11:02:27 +01:00
Mel O'Hagan f0d7b15916 Remove Row Rev from UI 2022-04-20 11:00:58 +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
Peter Clement c7db0538c7 update required string 2022-04-19 10:45:40 +01:00
Peter Clement ef90021b05 Improve handling of loop handlebars string replacement 2022-04-18 09:22:23 +01:00
Rory Powell dd740df387 Merge branch 'develop' into feature/licensing 2022-04-12 16:18:41 +01:00
Peter Clement b58b84776e Add handling for failure conditions 2022-04-11 10:26:59 +01:00
Peter Clement 53c676672a Merge remote-tracking branch 'origin/develop' into feature/foreach-block 2022-04-07 22:32:44 +01:00
Martin McKeaveney 09694e0045 configure bash step to use automation query timeout 2022-04-06 10:43:08 +01:00
Rory Powell 5da441cf55 Add additional logging to automations 2022-03-30 14:26:51 +01:00
Peter Clement 2381048c0f more parsing of output bindings 2022-03-29 10:29:51 +01:00
Peter Clement 6ccf744557 update bindings to support looping 2022-03-28 10:01:56 +01:00
Peter Clement 554cefe997 Automation foreach block 2022-03-25 09:26:55 +00:00
Peter Clement bda860693f
Merge pull request #4976 from Budibase/fix/query-rows-automation-fix
Handle error when running a a Query Rows automation with a deleted column
2022-03-22 16:24:59 +00:00
Rory Powell 180e37b9f1 Tests complete + backwards compatibility for deployment 2022-03-22 00:23:22 +00:00
Rory Powell bf9f5488fc Merge branch 'develop' into feature/licensing 2022-03-21 17:13:16 +00:00
Rory Powell 78321a72b1 Add trace to automation errors 2022-03-21 14:25:31 +00:00
Peter Clement 496e4d5e87 Handle error when running an automation with a deleted column 2022-03-21 12:32:04 +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 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
mike12345567 e9d344952b Fixing another issue raised by test cases. 2022-02-28 19:27:37 +00:00
mike12345567 6415abb3d4 Changing the API key modal to have a copy input which allows copying the API key easily. 2022-02-28 14:29:19 +00:00
Rene Pot b28d69e21e linting 2022-02-23 16:56:51 +01:00
Rene Pot 933030054a Rename filter to be condition 2022-02-23 15:07:05 +01:00
mike12345567 03b4b29b01 Review comments, renaming deployed -> prod in terms of app IDs. 2022-01-31 17:42:51 +00:00
mike12345567 225674d0a4 Adding comments to areas that need to keep using old db creation method. 2022-01-31 17:27:47 +00:00
Michael Drury 91c2a40c89 Final pass refactoring - need to test but all code in server converted. 2022-01-28 00:05:39 +00:00
mike12345567 40c6eb2007 Main body of work, refactoring most usages. 2022-01-27 18:18:31 +00:00