Commit Graph

4765 Commits

Author SHA1 Message Date
Michael Drury 8e786bfd53 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-04-26 20:10:26 +01:00
mike12345567 95bcb1ca9c Fixing issue with db init as part of the jest require. 2022-04-26 18:28:37 +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