Commit Graph

2651 Commits

Author SHA1 Message Date
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
Dean b2b5fde7ba Cypress test fixes and refactoring. Removed debugging elements 2022-04-20 09:17:01 +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
Dean f78aaa640f Code style check 2022-04-19 14:56:56 +01:00
Dean c7b6453862 Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-19 14:45:46 +01:00
Dean 26c19891bb Unpublish refactored to stop development applications being mistakenly deleted. Minor updates to the modal content component to allow the replacement of the header. Further work to implement the publishing workflow changes 2022-04-19 14:38:09 +01:00
Peter Clement d997ab76da update required string 2022-04-19 10:45:40 +01:00
Peter Clement 97c49b11d2 Merge remote-tracking branch 'origin/develop' into feature/foreach-block 2022-04-18 10:05:43 +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
Andrew Kingston f6eef900ad Merge pull request #5272 from Budibase/cheeks-lab-day-devtools
DevTools
2022-04-14 12:57:01 +01:00
Rory Powell fa1f9ad6cc Merge branch 'develop' into feature/licensing 2022-04-13 21:24:07 +01:00
Rory Powell d87714107d Add checkout pro step to budibase-ci 2022-04-13 21:13:01 +01:00
Peter Clement 43b4dd8737 add environment variable 2022-04-13 10:23:40 +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
Rory Powell 03ba6d914f Merge branch 'develop' into feature/licensing 2022-04-12 16:18:41 +01: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
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
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
Peter Clement b439e59137 Merge remote-tracking branch 'origin/develop' into feature/foreach-block 2022-04-07 22:32:44 +01:00
Mel O'Hagan 6b5be828e7 passing non-null required for doesContainStrings 2022-04-07 17:13:08 +01:00
Kacper 85ff73cb26 Do not validate if multi-select options length is 0 2022-04-07 12:01:05 +02: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
Andrew Kingston 7546c1a8d5 Fix for tests when headers are undefined 2022-04-06 14:11:05 +01:00
Andrew Kingston 34a0c77d73 Tidy up 2022-04-06 13:40:07 +01:00
Andrew Kingston c2d61d8ebc Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-devtools 2022-04-06 11:50:43 +01:00
Martin McKeaveney dbb81d9c1a configure bash step to use automation query timeout 2022-04-06 10:43:08 +01:00
Michael Drury 130a02889a Merge pull request #5209 from Budibase/labday/single-docker
Single docker file lab-day
2022-04-05 12:16:09 +01:00
Martin McKeaveney deeaf88f45 Merge branch 'develop' into labday/integrations 2022-04-05 11:59:39 +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
mike12345567 39182cfbc0 Fixing issue #5817 - making sure that date strings are correctly parsed into the bindings. 2022-04-01 17:13:28 +01:00
mike12345567 05af8cafc2 Fixing test case. 2022-04-01 13:47:38 +01:00
Martin McKeaveney 5cd3a1b893 tidy up 2022-04-01 10:48:17 +01:00
mike12345567 4b7ffbbce7 Single docker container configuration. 2022-04-01 01:00:52 +01:00
Martin McKeaveney 417ba977fa redis integration complete 2022-03-31 15:44:06 +01:00
Martin McKeaveney 6e5bcb224c redis integration 2022-03-31 10:56:16 +01:00
Martin McKeaveney 6c878e71f3 Update index.ts 2022-03-31 09:40:41 +01:00
Martin McKeaveney 034408b3c2 merge with master 2022-03-30 15:44:22 +01:00
Michael Drury 5bc426bb33 Merge pull request #5179 from Budibase/fix/5153
Fix for MySQL Limits and offsets (numbers in bindings)
2022-03-30 15:23:31 +01:00
mike12345567 258434b3ed Fix for #5153 - doing it at the mysql level as it seems to be affected by incorrect types in a way that other SQL databases aren't - limits the possible damage this can do. 2022-03-30 14:45:13 +01:00
Rory Powell b69445264d Add additional logging to automations 2022-03-30 14:26:51 +01:00
Peter Clement 006bf368bb more parsing of output bindings 2022-03-29 10:29:51 +01:00
mike12345567 db0b096c0a Fix for #5117 - raised a point that the docs didn't describe where to put properties for a query when running through the public API - fixing the spec. 2022-03-28 18:33:54 +01:00
Michael Drury 9890b45d71 Merge pull request #5134 from Budibase/fix/5103
Fix for RBAC on apps built from templates containing public screens
2022-03-28 17:17:19 +01:00
Martin McKeaveney 457a4812cf re-add gsheets to self host 2022-03-28 16:46:05 +01:00
Martin McKeaveney aed9bfc728 fixing google sheets bug, respect google configuration hierarchy 2022-03-28 16:44:33 +01:00
mike12345567 88437e11d0 Fix for #5103 - some templates are built on an older version that stored permissions differently, we can't migrate these as they will keep being added, easiest to just support the old method (apply the old rule and convert to the new format when retrieving roles). 2022-03-28 16:34:50 +01:00
Peter Clement 73151722ec update bindings to support looping 2022-03-28 10:01:56 +01:00
Rory Powell a68767d619 Merge branch 'master' into merge-master 2022-03-25 16:51:58 +00:00
Rory Powell 19bc44e2d0 Fix app preview 2022-03-25 16:25:46 +00:00
Rory Powell 69b2b38aea Merge branch 'master' into merge-master 2022-03-25 13:10:37 +00:00
mike12345567 793cb0ca60 Linting. 2022-03-25 12:15:42 +00:00
David Duong 26a29fef67 fix: incorrect parameters for public rows editing 2022-03-25 12:09:39 +00:00
Michael Drury 573374408b Merge pull request #5073 from Budibase/fix/5049
Fixing an issue with many-to-many SQL relationships generated in SQL tables
2022-03-25 12:05:44 +00:00
Rory Powell dd9503ac09 Add typescript linting at the top level 2022-03-25 11:17:58 +00:00
Peter Clement 25258ba055 improve context handling 2022-03-25 10:52:22 +00:00
Rory Powell e68e7afa9f Revert openapi.ts linting 2022-03-25 10:50:00 +00:00
Martin McKeaveney 25192bad3b ignore AWS config when using endpoint field 2022-03-25 10:35:59 +00:00
Peter Clement 7817d65eb3 Automation foreach block 2022-03-25 09:26:55 +00:00
Martin McKeaveney 9c4a6dee40 lint 2022-03-24 17:54:27 +00:00
Martin McKeaveney 1e4ccdc0e5 Merge branch 'develop' of github.com:Budibase/budibase into develop 2022-03-24 17:47:59 +00:00
Martin McKeaveney b2bcf5a1f7 fixing lint 2022-03-24 17:44:37 +00:00
David Duong df0d99d93a fix: incorrect parameters for public rows editing 2022-03-24 16:11:13 +01:00
Rory Powell 89db1b9cba Fix test 2022-03-24 14:24:56 +00:00
mike12345567 0b6a69b9c5 Fixing a mis-match of fields when creating many-to-many relationships on tables from within Budibase - #5049. 2022-03-24 13:59:46 +00:00
Rory Powell 819f9b75de Link app context with tenancy, remove app tenancy middleware 2022-03-24 13:04:49 +00:00
Andrew Kingston 2242044f3b Allow deep-getting of pagination params from REST responses 2022-03-24 10:07:23 +00:00
Rory Powell 5851525c88 Merge branch 'master' into fix/cross-tenant-apps-with-session 2022-03-23 16:45:36 +00:00
Rory Powell a68abf2730 Fix cross tenant apps with session 2022-03-23 16:45:06 +00:00
Martin McKeaveney 5fc7cf7cb4 Merge pull request #4970 from Budibase/fix/analytics-cleanup
updating analytics endpoint, removing old NPS survey
2022-03-22 16:34:25 +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
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
Rory Powell 0a4b1eb552 Tests complete + backwards compatibility for deployment 2022-03-22 00:23:22 +00:00
mike12345567 ad27b41823 Fixing review comment. 2022-03-21 17:57:26 +00:00
mike12345567 5d9a34963a Adding the ability to expand the max number of rows retrieved by SQL queries (say for table exports). 2022-03-21 17:44:43 +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 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
Martin McKeaveney 0f4c0f3ed4 fix tests 2022-03-21 10:04:26 +00:00
Martin McKeaveney 411a7439c8 Merge pull request #4865 from Budibase/fix/patch-relationships
fixing enrichment of relationships in patch call
2022-03-21 08:24:35 +00:00
Martin McKeaveney dd1863d4c9 Merge pull request #4871 from Budibase/fix/date-filtering
Date filtering logic
2022-03-21 08:19:03 +00:00
Martin McKeaveney aaf84b6995 updating analytics endpoint, removing old NPS survey 2022-03-21 08:00:03 +00:00
Rory Powell 795b48bfb0 Published apps, automations and query count quotas 2022-03-20 01:13:54 +00:00
Michael Drury 2d011bce0d Merge pull request #4864 from mslourens/google_firebase_integration
Google firebase integration
2022-03-18 10:07:30 +00:00
Rory Powell 5380c46725 Fix base path in server url for openapi3 import 2022-03-18 09:20:30 +00:00
Rory Powell 661367333d Add developer usage restrictions to SSO user creation 2022-03-18 08:01:31 +00:00
Rory Powell 8b17493e16 Merge pull request #4773 from mslourens/openapi3-import
Support Openapi 3 import
2022-03-18 07:16:13 +00:00
Rory Powell e695a57853 Better error handling around license errors 2022-03-16 17:29:47 +00:00
Maurits Lourens 9ef6fdaec9 revert uncommenting code 2022-03-16 13:43:09 +01:00
Maurits Lourens 19ec76c49d Merge branch 'develop' into google_firebase_integration 2022-03-16 13:40:04 +01:00