Commit Graph

315 Commits

Author SHA1 Message Date
Martin McKeaveney 0095a9a566 onEmptyFilter selection for automations 2022-08-10 15:38:08 +01:00
Andrew Kingston 3c5e933577 Fix crash when attempting to parse a nullish automation error 2022-08-08 16:44:00 +01:00
Michael Drury 88ba63d77e
Merge pull request #6898 from Budibase/feature/automation-error-stop
CRON automation stop after a number of errors
2022-07-29 16:20:51 +01:00
Martin McKeaveney 7bad805e5f Merge branch 'master' of github.com:Budibase/budibase into develop 2022-07-29 15:45:27 +01:00
mike12345567 1366bcd87c Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-error-stop 2022-07-29 14:31:18 +01:00
mike12345567 34432d5862 Fixing some issues with automations + lucene filtering (with string templating on the backend) as well as type coercion in the query rows action. 2022-07-28 13:39:11 +01:00
mike12345567 90b61cd3ca Adding more logging to server log for cloud etc. 2022-07-28 11:14:06 +01:00
Rory Powell 5e9a03e307 Merge branch 'master' into develop 2022-07-27 16:32:36 -04:00
mike12345567 2cd26062d4 Fixing issue discovered in #6813 - versioning of query rows was not correct in automations, was using old broken method. 2022-07-27 16:18:12 +01:00
mike12345567 07b60dc52c Fixing issue with test after update. 2022-07-26 16:13:41 +01:00
mike12345567 caaf5dc3c9 Main body of updates to support disabling the cron, some cleanup of metadata at deployment to make sure they can be re-ran. 2022-07-25 20:45:29 +01:00
Michael Drury 1682cfdb90 Main bulk of logic around detecting cron recurring failure, still need to disable. 2022-07-20 22:38:06 +01:00
Peter Clement c5b9be60c7 Merge remote-tracking branch 'origin/develop' into feat/user-groups-tab 2022-07-19 11:23:31 +01:00
mike12345567 90bc52336a Fix for #6501 - don't fail to publish app when cron expression is empty in any automation, just don't publish that automation. Also adding an error to automation to make it clear an expression is required. 2022-07-15 14:15:16 +01:00
Peter Clement 6663fc25fc Merge remote-tracking branch 'origin/develop' into feat/user-groups-tab 2022-07-14 13:32:51 +01:00
Peter Clement 5fe6bd34b0 tidy up 2022-07-14 10:01:26 +01:00
Peter Clement 72a67adcf4 improve performance of adding users and groups 2022-07-11 15:29:39 +01:00
Peter Clement 218abe39cc add isAutomation to object 2022-07-08 12:16:27 +01:00
Peter Clement 0ee8635348 make auth check optional when caller is automation 2022-07-08 11:09:06 +01:00
mike12345567 90453212d5 Moving majority of automation logging functionality to pro. 2022-07-04 15:44:47 +01:00
mike12345567 5a5c1cfa9c Update as per changes to pro SDK. 2022-07-04 11:43:18 +01:00
mike12345567 f6fc63f1a8 Main body of PR comments - still need to move a bit to pro. 2022-07-04 11:12:08 +01:00
mike12345567 686cf6e1c4 Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-logs 2022-07-01 15:14:12 +01:00
mike12345567 afda023fc4 Fixing test case issue. 2022-06-28 17:59:00 +01:00
mike12345567 e921547c64 Updating filter/condition action to show a stopped status rather than error, updating everything else to be aware of this. 2022-06-28 17:02:24 +01:00
mike12345567 a01790b837 Adding clear old history on read, if there is nothing to do this should add very little work. 2022-06-27 18:39:33 +01:00
mike12345567 da2303803c Moving get of logs to pro. 2022-06-27 18:00:48 +01:00
mike12345567 70e5a81db2 Adding in management of time range to lookup automation logs in. 2022-06-24 18:11:19 +01:00
Peter Clement 482be4b5b4 fix use of loop item in javascript bindings 2022-06-23 16:09:35 +01:00
mike12345567 a2dc3dc3b1 Getting notifications working correctly, linking to errors in a better way, generally improving UI, getting some final touches here and there. 2022-06-22 20:23:18 +01:00
mike12345567 8c9f76b815 Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-logs 2022-06-20 15:56:00 +01:00
mike12345567 bd9e05d7fa Fixing build issue. 2022-06-20 15:39:18 +01:00
Andrew Kingston 69855ab803
Merge pull request #6286 from Budibase/cheeks-fixes
App list updates + small stuff
2022-06-20 10:18:13 +01:00
mike12345567 0ba185a487 Adding metadata update with automation IDs and counts of errors which can be totalled in frontend, also moving to using production apps for history only. 2022-06-17 18:39:06 +01:00
mike12345567 f8c73b1e68 Adding edit automation button. 2022-06-17 17:00:43 +01:00
mike12345567 e761dc20c0 Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-logs 2022-06-17 15:05:46 +01:00
mike12345567 a7b781468e Adding mechanism to disable automation logging in self host. 2022-06-15 17:07:17 +01:00
mike12345567 03165faf0f Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-logs 2022-06-15 15:08:48 +01:00
Andrew Kingston 9ec4c29e66 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2022-06-15 09:02:35 +01:00
Rory Powell 5c9e8d5038 Merge branch 'master' into release 2022-06-14 17:25:11 +01:00
Andrew Kingston caef092f8a Fix crash when running automations with an app action trigger without parameters 2022-06-13 10:56:50 +01:00
Mel O'Hagan 5b47a66098 Use executeV2 External Data Connector 2022-06-09 11:13:52 +01:00
Rory Powell 4e77571ddb Merge branch 'release' into feature/event-backfill 2022-06-06 09:50:06 +01:00
mike12345567 e8e0e36089 Adding pagination control to the API and to the frontend, as well as getting view working as expected, emitting different key combinations to be able to search by any pattern. 2022-06-01 22:39:51 +01:00
mike12345567 5914b0c560 Adding real history to the history tab, getting storage to couch and retrieval + api working. 2022-06-01 16:01:06 +01:00
Martin McKeaveney 9be1bddf85 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-06-01 09:47:13 +01:00
mike12345567 0274516ad6 Progress towards using couchdb for automation logs, after testing redis and realising it won't work. 2022-05-31 19:52:35 +01:00
mike12345567 e9d3915dc6 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-05-31 14:59:57 +01:00
mike12345567 06a32ed357 Fixing issue with server not shutting down correctly when an error occurs, making sure that everything clears up gracefully. 2022-05-30 21:22:06 +01:00
mike12345567 06100af834 Fixing minor issue with automation quota updates. 2022-05-30 14:06:42 +01:00
Rory Powell 64d73e2f96 Merge branch 'develop' into feature/posthog-v2 2022-05-28 23:03:31 +01:00
mike12345567 65eb2790d6 Adding the ID inputs for the quota breakdown functionality. 2022-05-26 16:01:10 +01:00
Rory Powell 80a82bbcc3 Merge branch 'develop' into feature/posthog-v2 2022-05-23 09:04:00 +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
Rory Powell 3e254e46bb Merge branch 'develop' into feature/posthog-v2 2022-05-05 08:47:06 +01:00
Peter Clement 8c031b9d35 linting 2022-05-04 11:55:26 +01:00
Rory Powell bd33c827eb Merge branch 'develop' into feature/posthog-v2 2022-04-27 16:32:00 +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 23b68660c2 Merge branch 'feature/licensing' into feature/posthog-v2 2022-04-12 17:12:46 +01:00
Rory Powell dd740df387 Merge branch 'develop' into feature/licensing 2022-04-12 16:18:41 +01:00
Rory Powell 2c682d3507 Table CRUD events + add timekeeper for tests 2022-04-11 14:39:31 +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
Rory Powell 1a131f3e19 Refactor automation tests to run independently 2022-04-06 12:34:31 +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
Rory Powell 4ad846f116 Remove remaining direct usage of CouchDB. Add common pouch config to backend-core 2022-03-29 16:03:44 +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
Rory Powell c6877ff636 Add dryRun to automation row create and remove env conditional on delete 2022-01-18 15:53:55 +00:00
Rory Powell 66a84e8fe6 Calculate total rows in migration, centralise quota enabled logic and tidy to use env vars only 2022-01-17 12:44:53 +00:00