Commit Graph

102 Commits

Author SHA1 Message Date
mike12345567 f4db17502a Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-error-stop 2022-07-26 17:28:57 +01:00
mike12345567 61f24fe03f Adding UI for displaying when the CRON job has been stopped and alert the user to next steps. 2022-07-26 13:59:22 +01:00
mike12345567 3fad32899f 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 07de5faa2d Main bulk of logic around detecting cron recurring failure, still need to disable. 2022-07-20 22:38:06 +01:00
mike12345567 ff0c3e501f Converting main automation thread to typescript. 2022-07-20 19:05:54 +01:00
mike12345567 078cf9e95f Fixing an issue with automations being unable to access app databases due to new context stack up. 2022-07-18 17:38:58 +01:00
Peter Clement 688c69fce2 Ensure a binding exists before continuing with loop 2022-07-18 13:10:18 +01:00
Dean d34739f459 Updated query tests to remove altered datasource. Updated messaging for refresh failure messaging 2022-07-08 11:19:41 +01:00
Dean 02c0b433bb Fixed issue where mutation was causing expression bindings to be lost. Request retries will now have them intact for re-enrichment 2022-07-08 09:29:16 +01:00
Dean a59d0c7f31 Linting commit 2022-07-06 13:09:13 +01:00
Dean 084a469442 Surface refresh process error messaging 2022-07-06 13:03:25 +01:00
Dean 9fcedfa979 Properly invalidate the cached user ensuring up-to-date credentials are always used 2022-07-06 11:51:48 +01:00
Dean 4805f73cb5 Merge remote-tracking branch 'origin/develop' into sso-rest-requests 2022-07-05 09:28:56 +01:00
deanhannigan 37ce29fa2d Merge pull request #6315 from Budibase/feature/current-user-rest-bindings
REST query bindings for Current User
2022-07-05 09:22:03 +01:00
Dean b0daf30b4a Merge remote-tracking branch 'origin/develop' into sso-rest-requests 2022-07-05 09:07:33 +01:00
Dean 1e6845d5cb Refresh the OAuth tokens automatically when making rest calls. Fix to remove the password from the api token authentication. 2022-07-03 21:13:15 +01:00
Dean 85e755fc7f Ignore authconfigs for datasources if they are empty 2022-07-03 18:55:44 +01:00
Dean 31b51e1ecf Fixes for datasource authentication parsing. Mapping UX updates 2022-07-01 17:27:24 +01:00
mike12345567 21a78d6fc8 Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-logs 2022-07-01 15:14:12 +01:00
Dean ac1df878d4 Merge remote-tracking branch 'origin/develop' into feature/current-user-rest-bindings 2022-06-29 18:50:14 +01:00
Dean 705af49e5a Merge remote-tracking branch 'origin/develop' into sso-rest-requests 2022-06-29 09:17:18 +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
Peter Clement fadd4292ad update handling of max iterations 2022-06-23 16:08:25 +01:00
Dean 5fd385ab30 Merge commit 2022-06-23 14:29:19 +01:00
Dean 42cd5e2c63 Fix to ignore global rest query headers when they are not configured. 2022-06-15 10:09:47 +01:00
Dean d50a62fd37 Context binding for authenticated user in REST API querys. Includes fix for REST datasource UI 2022-06-14 10:14:05 +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
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 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
Peter Clement 4c77cf2516 parse max iterations value correctly 2022-05-19 16:38:16 +01:00
mike12345567 637ce41b3f Fixing an issue where HBS statements couldn't be used for passing arrays through to a looping action in automations. 2022-05-11 11:29:33 +01:00
Peter Clement a2b38adac3 remove log 2022-05-04 13:30:08 +01:00
Peter Clement dea5e73317 account for objects in failure condition 2022-05-04 13:25:46 +01:00
Peter Clement 45fd19583c linting 2022-05-04 11:55:26 +01:00
Peter Clement af9b9b6921 Some foreach block fixes 2022-05-04 10:24:28 +01:00
mike12345567 9386a82e6f Fixing similar issue in queries for context handling and fixing some issues raised by IDE. 2022-05-03 16:04:59 +01:00
mike12345567 c66cbcd522 Fix for automation issue, doInAppContext for automation thread wasn't async, was immediately closing the database, rather than waiting for the operations to complete. 2022-05-03 15:54:03 +01:00
Martin McKeaveney 9ca4dacbaa merge with master 2022-04-26 10:21:45 +01:00
Martin McKeaveney fa66c07578 PR review 2022-04-25 11:45:15 +01:00
Michael Drury 94419024a4 Merge pull request #5510 from Budibase/fix/pouch-leak
PouchDB memory leak protection
2022-04-22 15:32:51 +01:00
Rory Powell d2a4e0a934 Merge branch 'develop' into feature/licensing 2022-04-20 14:59:36 +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 1000ef35e1 Improve handling of loop handlebars string replacement 2022-04-18 09:22:23 +01:00
mike12345567 80a41235dd Fixing REST UI query error notification and adding better error for query timeout. 2022-04-14 17:28:14 +01:00
mike12345567 5180603374 Fix for #5411 - trimming the various binding components for SQL in queries. Also moving SQL interpolation out into a Typescript - prep for further unit testing/improvements. 2022-04-14 13:06:22 +01:00
Peter Clement 43b4dd8737 add environment variable 2022-04-13 10:23:40 +01:00
Rory Powell 03ba6d914f Merge branch 'develop' into feature/licensing 2022-04-12 16:18:41 +01:00
Peter Clement 2d75e68717 add max iterations env variable 2022-04-12 09:13:01 +01:00
Peter Clement 47480450d8 fix failure condition 2022-04-11 23:10:29 +01:00