Commit Graph

11638 Commits

Author SHA1 Message Date
mike12345567 7627230be6 Fixing an issue we've experienced with couch, using a base64 cookie that we control manually. 2022-04-22 17:24:50 +01:00
Budibase Release Bot f7e5afab79 v1.0.117 2022-04-22 15:57:50 +00:00
Michael Drury 141f9ed9dc Merge pull request #5542 from Budibase/fix/5495
Fix for SQL relationship based formulas
2022-04-22 16:51:24 +01:00
Budibase Release Bot 272e4fe959 v1.0.116 2022-04-22 14:39:34 +00: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
mike12345567 d36fc9c7ba Fix for #5530 - make MySQL RejectUnauthorized SSL parameter accessible to the user. 2022-04-22 14:53:36 +01:00
mike12345567 9b20daf930 Fix for #5495 - making sure that formula columns have access to the relationship details before squashing the results ready for response from the API. Also making sure that the frontend inputs the relationship bindings as expected with the proper path for access. 2022-04-22 12:56:36 +01:00
Budibase Release Bot ab6473dfb7 v1.0.115 2022-04-22 09:55:33 +00:00
Andrew Kingston faf6a3ef1e Merge pull request #5483 from Budibase/fix/sticky-icon-hover-state
Fix sticky hover state for icons on mobile
2022-04-22 10:49:04 +01:00
Budibase Release Bot 980c9d1444 v1.0.114 2022-04-21 14:31:17 +00:00
Michael Drury f89baa0b16 Merge pull request #5419 from Budibase/fix/5411
Fix for SQL IN queries, trimming the inputs to remove excess whitespace
2022-04-21 15:24:56 +01:00
mike12345567 7083470baa Adding a dep:clean function, cleaning up lock files and fixing backend-core test which did not utilise tenancy (no global db). 2022-04-21 15:20:23 +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
mike12345567 13cb5f7f7c Adding another check to make sure context is the same. 2022-04-20 23:13:08 +01:00
mike12345567 151ed604f8 Fixing some issues detected by the test cases, making the in-use mechanism for context more clear to complete avoid stack up of contexts (leading to loss of knowledge around previous databases. 2022-04-20 23:10:39 +01:00
mike12345567 6afe3a28ef Closing global DB using the standard function - not directly. 2022-04-20 18:07:48 +01:00
mike12345567 9899781fc5 Some updates, making sure databases will always close directly using finally checks around the actual tasks, updating how replication works to have a close statement (to make sure it is controlled correctly) and then updating to PouchDB 7.3.0 for one of the memory leak fixes. 2022-04-20 17:33:42 +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
Andrew Kingston 943ae42b27 Fix sticky hover state for icons on mobile 2022-04-19 10:55:53 +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
Andrew Kingston 24e0f98501 Merge pull request #5389 from Budibase/fix-query-error
Fix query error
2022-04-13 14:12:47 +01:00
Budibase Release Bot f2abbc8377 v1.0.113 2022-04-13 12:21:10 +00:00
Michael Drury 3dacffffcd Merge pull request #5376 from Budibase/fix/5322
Fix for DynamoDB queries - connecting with endpoint set
2022-04-13 13:15:03 +01:00
Andrew Kingston adc6008c4c Ensure existing invalid datasource definitions are also fixed by checking data source type before fetching table definitions 2022-04-13 10:27:32 +01:00
Andrew Kingston c9d0791a0e Remove table ID from custom queries to fix 500 errors when trying to fetch a table definition and passing up a query ID, and fix issue with search fields when no table ID exists 2022-04-13 09:43:49 +01:00
Andrew Kingston 57d1d9c2d5 Use the readable schema when generating search field options 2022-04-13 09:43:39 +01:00
mike12345567 94720c10aa Fixing issue #5322 - when endpoint is specified for DynamoDB and not in a the region that the whole instance expects it will throw an odd credentials error - making sure connection is commenced everywhere other than localhost. 2022-04-12 18:49:46 +01:00
Budibase Release Bot c717273996 v1.0.112 2022-04-12 11:03:43 +00:00
Martin McKeaveney dc0eda29f3 Merge pull request #5316 from Upgreydd/Fix_for_parsing_environment_variable_as_an_integer
QUERY_THREAD_TIMEOUT is string instead of int
2022-04-12 11:56:36 +01:00
Budibase Release Bot 37d723fa07 v1.0.111 2022-04-11 08:38:36 +00:00
Michael Drury 708b46c82c Merge pull request #5288 from Budibase/fix/5187-number
Fix for MySQL number parsing issue
2022-04-11 09:32:08 +01:00
Kacper 9eb2ab1687 Move out QUERY_THREAD_TIMEOUT from `to remove` section 2022-04-08 16:20:55 +02:00
Kacper 5c5debff48 added parseIntSafe function. 2022-04-08 16:17:19 +02:00
Kacper c89b311e81 QUERY_THREAD_TIMEOUT is string instead of int fix 2022-04-08 13:23:44 +02:00
Budibase Release Bot 7eb13151f3 v1.0.110 2022-04-08 09:34:45 +00:00
Martin McKeaveney 37c60813cb Merge pull request #5311 from Budibase/fix/query-errors
adding more descriptive error messages to query UI
2022-04-08 10:26:33 +01:00
Martin McKeaveney b2b1e76e30 adding more descriptive error messages to query UI 2022-04-08 09:01:38 +01:00
mike12345567 2accebec7f Fix for issue discovered in #5187 - expanding regex to cover all sorts of number coercion. 2022-04-07 10:26:39 +01:00
Budibase Release Bot d0773466d3 v1.0.109 2022-04-06 14:17:15 +00:00
Martin McKeaveney 7a0e57f8b7 Update smoke_test.yaml 2022-04-06 15:09:51 +01:00
Budibase Release Bot 496b582538 v1.0.108 2022-04-06 10:32:58 +00:00
Martin McKeaveney 89131fd7d9 Merge pull request #5267 from Budibase/fix/bash-step-timeout
configure bash step to use automation query timeout
2022-04-06 11:26:20 +01:00
Budibase Release Bot d1ea717bdd v1.0.107 2022-04-06 09:48:21 +00:00
Martin McKeaveney dbb81d9c1a configure bash step to use automation query timeout 2022-04-06 10:43:08 +01:00
Martin McKeaveney 8b1e09de0e Merge pull request #5263 from Budibase/public-apps-error
Don't show an error for the  endpoint `/api/global/self`
2022-04-06 10:42:08 +01:00
Andrew Kingston 3c3be66786 Don't show an error for the endpoint 2022-04-06 08:16:24 +01:00
Budibase Release Bot b9bf678770 v1.0.106 2022-04-05 13:38:48 +00:00
Michael Drury d1a08f6530 Merge pull request #5240 from Budibase/fix/4978
Fix for IN SQL query parsing - handling parentheses and string interpolation
2022-04-05 14:32:16 +01:00