1
0
Fork 0
mirror of synced 2024-09-30 00:57:16 +13:00
Commit graph

4814 commits

Author SHA1 Message Date
Martin McKeaveney
a5bdf70cf7 renamable buckets, started firebase tests, onboarding modal copy update 2022-04-26 17:12:47 +01:00
mike12345567
95c7963c0a Merge branch 'develop' of github.com:Budibase/budibase into fix/develop-merge 2022-04-26 16:31:17 +01:00
Rory Powell
b134528883 Fix startup 2022-04-26 16:19:41 +01:00
mike12345567
95d8a4b939 Fixing issues with automation test cases running steps outside of a tenant. 2022-04-26 15:50:35 +01:00
mike12345567
fe78f8d989 Merge branch 'fix/develop-merge' of github.com:Budibase/budibase into fix/develop-merge 2022-04-26 15:43:04 +01:00
mike12345567
8e5c4dea77 Fixing context issues in sync apps/rows test cases. 2022-04-26 15:42:21 +01:00
Rory Powell
50e2d3c686 Test fixes 2022-04-26 15:26:56 +01:00
Rory Powell
0f29b0cb03 Test fixes 2022-04-26 15:07:21 +01:00
mike12345567
bd72565e6f Fixing issue discovered by test case. 2022-04-26 14:58:59 +01:00
mike12345567
6880e7bde9 Fix for #5269 - the sub type was being lost in some scenarios related to the user table being updated - making sure it is consistently kept when dealing with either of the related tables. 2022-04-26 14:24:51 +01:00
Martin McKeaveney
630f29444d fix build 2022-04-26 13:58:33 +01:00
Dean
5545cd84c5 Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-26 12:12:50 +01:00
Martin McKeaveney
e01ef9bdfb merge with master 2022-04-26 10:21:45 +01:00
Martin McKeaveney
ff7ad47b0a PR review 2022-04-25 11:45:15 +01:00
Martin McKeaveney
b05d1d9708 merge 2022-04-25 10:24:49 +01:00
Martin McKeaveney
8f26196191 Merge branch 'gsheets-updates' of github.com:Budibase/budibase into gsheets-updates 2022-04-25 09:38:06 +01:00
Martin McKeaveney
9f0cb41f49
Merge branch 'master' into gsheets-updates 2022-04-25 09:27:38 +01:00
Martin McKeaveney
877dfb0e5d moving node fetch import into module 2022-04-25 00:05:32 +01:00
Martin McKeaveney
33717ceb30 auto fetch access token in gsheets integration 2022-04-24 23:32:47 +01:00
mike12345567
8f738f2c20 Quick fix for #5495 - managing when no relationships exist. 2022-04-23 13:12:57 +01:00
Michael Drury
ae385ffd16
Merge pull request #5542 from Budibase/fix/5495
Fix for SQL relationship based formulas
2022-04-22 16:51:24 +01:00
Dean
b7feb022b8 Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-22 16:39:59 +01:00
Michael Drury
a3321246e0
Merge pull request #5510 from Budibase/fix/pouch-leak
PouchDB memory leak protection
2022-04-22 15:32:51 +01:00
mike12345567
7e6eaf65d8 Fix for #5530 - make MySQL RejectUnauthorized SSL parameter accessible to the user. 2022-04-22 14:53:36 +01:00
mike12345567
89683f9de4 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
Vinoth Kirubakaran
3fe651b0fb chore: resolved merge conflicts from develop branch 2022-04-22 15:23:05 +05:30
Martin McKeaveney
690ba4f81f use ioredis mock for in memory redis tests 2022-04-21 20:24:43 +01:00
mike12345567
fe846f86a5 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
Dean
930b778108 Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-21 14:32:49 +01:00
Martin McKeaveney
f2d447153d
Merge pull request #5290 from Upgreydd/Do_not_validate_if_multi-select_options_length_is_0
Do not validate if multi-select options length is 0
2022-04-21 14:29:44 +01:00
Dean
91a6f8645c Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-21 14:10:58 +01:00
mike12345567
1d61ff906a 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
7792a07899 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
Rory Powell
2269bf677b Merge branch 'develop' into feature/licensing 2022-04-20 14:59:36 +01:00
Dean
9393cb40ec Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-20 12:54:58 +01:00
Mel O'Hagan
ec235a4e5c RevId should be optional for automation delete 2022-04-20 12:11:36 +01:00
Mel O'Hagan
d85e022182 Get latest RevId if not provided 2022-04-20 11:51:01 +01:00
Vinoth Kirubakaran
5803fcc6b1 feat: made changes to worker and server packages to use global-agent to setup proxy from env variables 2022-04-20 16:00:03 +05:30
Dean
5a87a00932 Added events for viewing a production application and unpublishing 2022-04-20 11:08:06 +01:00
Mel O'Hagan
8858a416ef Prettier comma fix 2022-04-20 11:02:27 +01:00
Mel O'Hagan
f0d7b15916 Remove Row Rev from UI 2022-04-20 11:00:58 +01:00
Dean
9a49535748 Cypress test fixes and refactoring. Removed debugging elements 2022-04-20 09:17:01 +01:00
mike12345567
ea6f580501 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
769f48f935 Remove remaining direct usage of CouchDB. Add common pouch config to backend-core 2022-04-19 16:45:27 +01:00
Dean
4cc1a85f25 Code style check 2022-04-19 14:56:56 +01:00
Dean
f3a1761299 Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-19 14:45:46 +01:00
Dean
3e74118f81 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
c7db0538c7 update required string 2022-04-19 10:45:40 +01:00
Peter Clement
453f49aed8 Merge remote-tracking branch 'origin/develop' into feature/foreach-block 2022-04-18 10:05:43 +01:00
Peter Clement
ef90021b05 Improve handling of loop handlebars string replacement 2022-04-18 09:22:23 +01:00
mike12345567
50f6dbebea Fixing REST UI query error notification and adding better error for query timeout. 2022-04-14 17:28:14 +01:00
mike12345567
5396a8d8e0 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
98eefb1dd2
Merge pull request #5272 from Budibase/cheeks-lab-day-devtools
DevTools
2022-04-14 12:57:01 +01:00
Rory Powell
5085358423 Merge branch 'develop' into feature/licensing 2022-04-13 21:24:07 +01:00
Rory Powell
b5de92d0a0 Add checkout pro step to budibase-ci 2022-04-13 21:13:01 +01:00
Peter Clement
47dcc24491 add environment variable 2022-04-13 10:23:40 +01:00
mike12345567
00bcdd317f 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
dd740df387 Merge branch 'develop' into feature/licensing 2022-04-12 16:18:41 +01:00
Martin McKeaveney
e2180397c2
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
a06fcd571b add max iterations env variable 2022-04-12 09:13:01 +01:00
Peter Clement
261b6ccb03 fix failure condition 2022-04-11 23:10:29 +01:00
Peter Clement
b58b84776e Add handling for failure conditions 2022-04-11 10:26:59 +01:00
Kacper
b0019c80c7 Move out QUERY_THREAD_TIMEOUT from to remove section 2022-04-08 16:20:55 +02:00
Kacper
3df18be4b2 added parseIntSafe function. 2022-04-08 16:17:19 +02:00
Kacper
33090d5d4f QUERY_THREAD_TIMEOUT is string instead of int fix 2022-04-08 13:23:44 +02:00
Peter Clement
53c676672a Merge remote-tracking branch 'origin/develop' into feature/foreach-block 2022-04-07 22:32:44 +01:00
Mel O'Hagan
ee1d7fbbd5 passing non-null required for doesContainStrings 2022-04-07 17:13:08 +01:00
Kacper
98a926cfca Do not validate if multi-select options length is 0 2022-04-07 12:01:05 +02:00
mike12345567
c4a42cc181 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
caff2d7508 Fix for tests when headers are undefined 2022-04-06 14:11:05 +01:00
Andrew Kingston
c25ca0cafd Tidy up 2022-04-06 13:40:07 +01:00
Andrew Kingston
7c91d9dceb Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-devtools 2022-04-06 11:50:43 +01:00
Martin McKeaveney
09694e0045 configure bash step to use automation query timeout 2022-04-06 10:43:08 +01:00
Michael Drury
959763d934
Merge pull request #5209 from Budibase/labday/single-docker
Single docker file lab-day
2022-04-05 12:16:09 +01:00
Martin McKeaveney
cf1e378b6e
Merge branch 'develop' into labday/integrations 2022-04-05 11:59:39 +01:00
mike12345567
cad32631a4 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
d152635e25 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
62f4ecf3e1 Fixing issue #5817 - making sure that date strings are correctly parsed into the bindings. 2022-04-01 17:13:28 +01:00
mike12345567
67beee7d93 Fixing test case. 2022-04-01 13:47:38 +01:00
Martin McKeaveney
6e9ddfd696 tidy up 2022-04-01 10:48:17 +01:00
mike12345567
40d38e6e3d Single docker container configuration. 2022-04-01 01:00:52 +01:00
Martin McKeaveney
6d8254d5f0 redis integration complete 2022-03-31 15:44:06 +01:00
Martin McKeaveney
81c662f0ca redis integration 2022-03-31 10:56:16 +01:00
Martin McKeaveney
6432ca102a
Update index.ts 2022-03-31 09:40:41 +01:00
Martin McKeaveney
e263cc31bb merge with master 2022-03-30 15:44:22 +01:00
Michael Drury
771dfefe68
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
5dcbef58a8 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
5da441cf55 Add additional logging to automations 2022-03-30 14:26:51 +01:00
Peter Clement
2381048c0f more parsing of output bindings 2022-03-29 10:29:51 +01:00
mike12345567
41ec92bf9b 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
ac129cee01
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
04b17fb634 re-add gsheets to self host 2022-03-28 16:46:05 +01:00
Martin McKeaveney
ee6a16827a fixing google sheets bug, respect google configuration hierarchy 2022-03-28 16:44:33 +01:00
mike12345567
e073bdb5a4 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
6ccf744557 update bindings to support looping 2022-03-28 10:01:56 +01:00
Rory Powell
00e85766c4 Merge branch 'master' into merge-master 2022-03-25 16:51:58 +00:00
Rory Powell
b4bad65cbf Fix app preview 2022-03-25 16:25:46 +00:00
Rory Powell
0ee41ea10c Merge branch 'master' into merge-master 2022-03-25 13:10:37 +00:00
mike12345567
7cb2cd2139 Linting. 2022-03-25 12:15:42 +00:00
David Duong
82620a9a7b fix: incorrect parameters for public rows editing 2022-03-25 12:09:39 +00:00