Commit Graph

303 Commits

Author SHA1 Message Date
Peter Clement ca41e88045 Merge remote-tracking branch 'origin/develop' into feat/user-groups-tab 2022-07-19 11:23:31 +01:00
mike12345567 c149139253 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 819ce4e360 Merge remote-tracking branch 'origin/develop' into feat/user-groups-tab 2022-07-14 13:32:51 +01:00
Peter Clement eadac09e1e tidy up 2022-07-14 10:01:26 +01:00
Peter Clement eff78240a6 improve performance of adding users and groups 2022-07-11 15:29:39 +01:00
Peter Clement 81d94577f4 add isAutomation to object 2022-07-08 12:16:27 +01:00
Peter Clement cd0885f468 make auth check optional when caller is automation 2022-07-08 11:09:06 +01:00
mike12345567 d390bb9c20 Moving majority of automation logging functionality to pro. 2022-07-04 15:44:47 +01:00
mike12345567 355cb9c091 Update as per changes to pro SDK. 2022-07-04 11:43:18 +01:00
mike12345567 11f1e95cc0 Main body of PR comments - still need to move a bit to pro. 2022-07-04 11:12:08 +01:00
mike12345567 21a78d6fc8 Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-logs 2022-07-01 15:14:12 +01:00
mike12345567 9066b60267 Fixing test case issue. 2022-06-28 17:59:00 +01:00
mike12345567 74261661f1 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 55e744292d 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 5100d86752 Moving get of logs to pro. 2022-06-27 18:00:48 +01:00
mike12345567 9fd64307a9 Adding in management of time range to lookup automation logs in. 2022-06-24 18:11:19 +01:00
Peter Clement 0dcd7f3d63 fix use of loop item in javascript bindings 2022-06-23 16:09:35 +01:00
mike12345567 063540fe0a 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 d8b091309e Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-logs 2022-06-20 15:56:00 +01:00
mike12345567 76f6c3d34b Fixing build issue. 2022-06-20 15:39:18 +01:00
Andrew Kingston 7bca02c28e Merge pull request #6286 from Budibase/cheeks-fixes
App list updates + small stuff
2022-06-20 10:18:13 +01:00
mike12345567 5106214bc6 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 5d82a39af3 Adding edit automation button. 2022-06-17 17:00:43 +01:00
mike12345567 fd40073280 Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-logs 2022-06-17 15:05:46 +01:00
mike12345567 64d8cda6a2 Adding mechanism to disable automation logging in self host. 2022-06-15 17:07:17 +01:00
mike12345567 c4ab4b5af8 Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-logs 2022-06-15 15:08:48 +01:00
Andrew Kingston ab9adc5cd5 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2022-06-15 09:02:35 +01:00
Rory Powell 4c73b6dda5 Merge branch 'master' into release 2022-06-14 17:25:11 +01:00
Andrew Kingston d8c37eb0b1 Fix crash when running automations with an app action trigger without parameters 2022-06-13 10:56:50 +01:00
Mel O'Hagan 308abe1059 Use executeV2 External Data Connector 2022-06-09 11:13:52 +01:00
Rory Powell 361ffd224f Merge branch 'release' into feature/event-backfill 2022-06-06 09:50:06 +01:00
mike12345567 fe84c0f21c 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 34759c7916 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 d57c4987fe Merge branch 'master' of github.com:Budibase/budibase into develop 2022-06-01 09:47:13 +01:00
mike12345567 702f4057bd 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 010059e29d Merge branch 'master' of github.com:Budibase/budibase into develop 2022-05-31 14:59:57 +01:00
mike12345567 fa30457f2b 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 dae6a6b81c Fixing minor issue with automation quota updates. 2022-05-30 14:06:42 +01:00
Rory Powell 857cd2d735 Merge branch 'develop' into feature/posthog-v2 2022-05-28 23:03:31 +01:00
mike12345567 723b96c5a5 Adding the ID inputs for the quota breakdown functionality. 2022-05-26 16:01:10 +01:00
Rory Powell 70fff5c7b9 Merge branch 'develop' into feature/posthog-v2 2022-05-23 09:04:00 +01:00
Mel O'Hagan 75a21974c6 Make 'to' field undefined if empty for consistent validation 2022-05-20 13:59:29 +01:00
Mel O'Hagan ef2244fd20 Add limit placeholder for Automation queries 2022-05-11 11:25:53 +01:00
Rory Powell e4257f1e04 Merge branch 'develop' into feature/posthog-v2 2022-05-05 08:47:06 +01:00
Peter Clement 45fd19583c linting 2022-05-04 11:55:26 +01:00
Rory Powell 1caf4b1965 Merge branch 'develop' into feature/posthog-v2 2022-04-27 16:32:00 +01:00
mike12345567 3258aead45 Fixing issues with automation test cases running steps outside of a tenant. 2022-04-26 15:50:35 +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
Rory Powell d2a4e0a934 Merge branch 'develop' into feature/licensing 2022-04-20 14:59:36 +01:00
Mel O'Hagan 611b170874 RevId should be optional for automation delete 2022-04-20 12:11:36 +01:00
Mel O'Hagan c9523d2913 Prettier comma fix 2022-04-20 11:02:27 +01:00
Mel O'Hagan 8494f872af Remove Row Rev from UI 2022-04-20 11:00:58 +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
Peter Clement d997ab76da update required string 2022-04-19 10:45:40 +01:00
Peter Clement 1000ef35e1 Improve handling of loop handlebars string replacement 2022-04-18 09:22:23 +01:00
Rory Powell 33719fcb09 Merge branch 'feature/licensing' into feature/posthog-v2 2022-04-12 17:12:46 +01:00
Rory Powell 03ba6d914f Merge branch 'develop' into feature/licensing 2022-04-12 16:18:41 +01:00
Rory Powell 5ab9f1a9c5 Table CRUD events + add timekeeper for tests 2022-04-11 14:39:31 +01:00
Peter Clement 999199dcf6 Add handling for failure conditions 2022-04-11 10:26:59 +01:00
Peter Clement b439e59137 Merge remote-tracking branch 'origin/develop' into feature/foreach-block 2022-04-07 22:32:44 +01:00
Rory Powell ec4e9df4c2 Refactor automation tests to run independently 2022-04-06 12:34:31 +01:00
Martin McKeaveney dbb81d9c1a configure bash step to use automation query timeout 2022-04-06 10:43:08 +01:00
Rory Powell b69445264d Add additional logging to automations 2022-03-30 14:26:51 +01:00
Rory Powell 15b676ce1c Remove remaining direct usage of CouchDB. Add common pouch config to backend-core 2022-03-29 16:03:44 +01:00
Peter Clement 006bf368bb more parsing of output bindings 2022-03-29 10:29:51 +01:00
Peter Clement 73151722ec update bindings to support looping 2022-03-28 10:01:56 +01:00
Peter Clement 7817d65eb3 Automation foreach block 2022-03-25 09:26:55 +00:00
Peter Clement 7a45d8dd23 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 0a4b1eb552 Tests complete + backwards compatibility for deployment 2022-03-22 00:23:22 +00:00
Rory Powell 715d42d3e6 Merge branch 'develop' into feature/licensing 2022-03-21 17:13:16 +00:00
Rory Powell 627dd94550 Add trace to automation errors 2022-03-21 14:25:31 +00:00
Peter Clement 6fe202a429 Handle error when running an automation with a deleted column 2022-03-21 12:32:04 +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 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
mike12345567 c958e93aed Fixing another issue raised by test cases. 2022-02-28 19:27:37 +00:00
mike12345567 4a31045233 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 916cf2c8b1 linting 2022-02-23 16:56:51 +01:00
Rene Pot bf6bc429d8 Rename filter to be condition 2022-02-23 15:07:05 +01:00
mike12345567 dbc048b365 Review comments, renaming deployed -> prod in terms of app IDs. 2022-01-31 17:42:51 +00:00
mike12345567 1095ad17c6 Adding comments to areas that need to keep using old db creation method. 2022-01-31 17:27:47 +00:00
Michael Drury d3a90acc55 Final pass refactoring - need to test but all code in server converted. 2022-01-28 00:05:39 +00:00
mike12345567 d2fe119d90 Main body of work, refactoring most usages. 2022-01-27 18:18:31 +00:00
Rory Powell 604d316834 Add dryRun to automation row create and remove env conditional on delete 2022-01-18 15:53:55 +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 44f9ae0682 Fixing issue where any two automations steps of the same type executed in the same automation would have the same response output in the frontend, this was a visual bug. Also fixing an issue introduced by REST update that broke the query controller. 2022-01-11 17:14:04 +00:00
mike12345567 1327394784 Switching out @budibase/auth to @budibase/backend-core. 2022-01-10 19:33:00 +00:00
mike12345567 858ef084ad Finishing up front-end, getting variable creation and management up and working from within the query schema/header menus. 2021-12-15 19:20:19 +00:00
mike12345567 da7153dd64 Removing outgoing webhook functionality from automations and adding XML response/sending, as well as form data/encoded data. 2021-12-14 17:59:02 +00:00
mike12345567 0f0770af32 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-11-25 12:21:58 +00:00
mike12345567 047318fdf7 Updating bullboard to use the new koa version (supported). 2021-11-17 16:30:06 +00:00
mike12345567 bb8fe8e941 Adding a mechanism for disabling cron jobs when an app is unpublished. 2021-11-17 16:28:52 +00:00
mike12345567 e75a9d3d1d Quick update, just to cover both queue add functions. 2021-11-16 19:02:55 +00:00
mike12345567 11debac115 Updating to manage completed events piling up, this will periodically clear out all events - repeats cannot be removed with the removeOnCompleted job option. 2021-11-16 18:58:24 +00:00
mike12345567 b34ca5b4a2 Quick fix for #3343 - error message did not make the problem obvious, so made sure error handler always outputs something useful. 2021-11-12 11:21:06 +00:00
mike12345567 9f4ff190c3 Fixing issues dsicovered by automation test cases, as well as disabling threading for test scenarios. 2021-11-11 16:20:30 +00:00
mike12345567 cca28ce255 Adding worker controls to both automations and queries. 2021-11-11 12:11:09 +00:00