1
0
Fork 0
mirror of synced 2024-09-20 11:27:56 +12:00
Commit graph

137 commits

Author SHA1 Message Date
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
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
mike12345567
4d084383f3 Fix for #5242 - string interpolation in SQL queries was too wide, it was combining parts of multiple strings, rather than searching for bindings within distinct strings. 2022-04-04 19:08:56 +01:00
mike12345567
035cda1177 Extension of fix for 4978 - fixing an issue where parentheses are added to the IN query, causing the query system to not recognise the need to switch out the binding. 2022-04-04 15:39:38 +01:00
Martin McKeaveney
417ba977fa redis integration complete 2022-03-31 15:44:06 +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
25258ba055 improve context handling 2022-03-25 10:52:22 +00:00
Peter Clement
7817d65eb3 Automation foreach block 2022-03-25 09:26:55 +00:00
Michael Drury
52b123f154 Merge pull request #4991 from Budibase/fix/sql-query-in
Fixing SQL in queries
2022-03-22 13:00:32 +00:00
mike12345567
ad27b41823 Fixing review comment. 2022-03-21 17:57:26 +00:00
mike12345567
107c593e47 Fixing issue #4978 - fixing an issue with using the keyword 'in' as part of an SQL query. 2022-03-21 17:16:18 +00:00
Rory Powell
715d42d3e6 Merge branch 'develop' into feature/licensing 2022-03-21 17:13:16 +00:00
Rory Powell
5c3c4d28b2 Remove automation usage increment 2022-03-21 16:08:25 +00:00
Rory Powell
795b48bfb0 Published apps, automations and query count quotas 2022-03-20 01:13:54 +00:00
mike12345567
d55a385072 Fixing an issue with detecting fully qualified Redis URL despite not in use. 2022-03-14 16:50:01 +00:00
Michael Drury
07bcaf2d0a Adding a mechanism to concat strings in queries, there was a problem when char const strings were wrapping bindings, this should find instances of that and replace with a datasource specific method of concating the constant with the variable. 2022-03-11 00:19:26 +00:00
Rory Powell
eefe4ea2ad Integrate usage quotas with licensing 2022-03-08 14:21:41 +00:00
Michael Drury
ec910b8fd2 Fixing issue brought up by test case. 2022-03-02 22:51:50 +00:00
Michael Drury
546bbc2ff6 Changing how SQL vars are generated so that when new SQL implementations are added they must implement a generation mechanism. 2022-03-02 22:45:10 +00:00
mike12345567
1b45a9190d Fixes for SQL issues raised by Marty. 2022-03-02 17:40:50 +00:00
mike12345567
a35a8cb81c Addomg a fix for #4370 - allow queries to contain newlines, they will always be escaped. 2022-02-07 17:56:01 +00:00
mike12345567
f2a025013e Fix for #4308 - triple brace conversion was not working correctly, wrote this into the string templates instead - also fixing an issue with the RBAC for Rest. 2022-02-03 18:44:34 +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
Rory Powell
bc67974996 Share validation between app modals, add yup based validation framework, add url to app modals 2022-01-20 16:01:09 +00:00
Andrew Kingston
9a7cc4113d Merge branch 'develop' of github.com:Budibase/budibase into rest-pagination 2022-01-13 09:44:09 +00:00
mike12345567
5ee6aa24b2 Refactoring core library usage in monorepo, make it a bit cleaner/easier to search/more standardised. 2022-01-12 11:32:14 +00:00
mike12345567
b33523a73d Merge branch 'develop' of github.com:Budibase/budibase into feature/auth-core 2022-01-11 15:16:07 +00:00
mike12345567
bdb9a3456d Fixing #3228 - allowing access to parameters in the transformer. 2022-01-11 11:17:35 +00:00
mike12345567
1327394784 Switching out @budibase/auth to @budibase/backend-core. 2022-01-10 19:33:00 +00:00
Andrew Kingston
f5649b48d1 Add support for cursor based pagination in query params 2022-01-05 17:28:57 +00:00
Rory Powell
8210ed7ee4 Delete and invalidate linked dynamic variables when a query is deleted 2022-01-05 11:54:59 -05:00
Andrew Kingston
69a1b503c2 Fix paginationValues being attached to every object inside a query due to recursion 2022-01-05 14:26:13 +00:00
Andrew Kingston
abc02d812a Merge branch 'feature/query-variables' of github.com:Budibase/budibase into rest-pagination 2022-01-05 09:21:25 +00:00
Andrew Kingston
e2478e478e Add support for query param based pagination in REST queries 2022-01-05 09:16:10 +00:00
Rory Powell
6904e6a1df Prevent escaping in query parameter bindings 2021-12-21 13:48:54 -05:00
mike12345567
ab77c081bd Some minor UI tweaks. 2021-12-17 18:21:36 +00:00
mike12345567
52eef17da0 Adding query invalidation, when a query fails that has dynamic variables it will invalidate the cache value for all dynamic variable values. 2021-12-17 17:56:28 +00:00
mike12345567
d61cb6c037 Some fixes after testing dynamic variables in rest a bit more. 2021-12-17 14:08:48 +00:00
Michael Drury
c2a7c53b87 Adding in dynamic variable processing - finding which variables need to be used and then calling them from within the query thread. 2021-12-16 22:43:14 +00:00
Michael Drury
f03f3c8864 Fixing some issues discovered with saving queries and dynamic variables, also displaying dynamic variables in a reactive way. 2021-12-16 19:33:47 +00:00
mike12345567
4960ad760e Adding start to redis caching. 2021-12-16 16:58:15 +00:00
mike12345567
65f4b91e8b Merge branch 'master' of github.com:Budibase/budibase into develop 2021-12-15 16:25:32 +00:00
mike12345567
e9acb690a8 Don't run change if not threading. 2021-12-15 12:26:29 +00:00
mike12345567
d1127f3220 Fixing an issue with automations throwing a Pouch error due to the auth library database not being setup. 2021-12-15 11:25:52 +00:00
mike12345567
ad1007ffdc Adding in the ability to retrieve and view the headers from a rest response. 2021-12-09 12:30:05 +00:00
mike12345567
b31cd5b6f7 Adding in raw functionality. 2021-12-06 18:35:44 +00:00
mike12345567
99e2cd52e8 Adding stats, code, timings and size of request. 2021-12-06 18:23:18 +00:00
mike12345567
0335b1cee3 Fixing issue from review, values weren't wiped when delete modals closed, also adding a fix for threading to disable it in development as node-ts was causing memory leaks on low memory systems (doesn't apply to production built version). 2021-11-22 17:42:41 +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
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