Commit Graph

10632 Commits

Author SHA1 Message Date
mike12345567 d36fc9c7ba Fix for #5530 - make MySQL RejectUnauthorized SSL parameter accessible to the user. 2022-04-22 14:53:36 +01:00
Budibase Staging Release Bot 894bcdaca2 v1.0.105-alpha.34 2022-04-22 13:43:43 +00:00
Vinoth Kirubakaran 2c5cca5daa chore: updated yarn.lock in packages/worker 2022-04-22 18:55:56 +05:30
Vinoth Kirubakaran 33cd2eafab chore: resolved merge conflicts from develop branch 2022-04-22 18:17:41 +05:30
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 Staging Release Bot 30cdd57ab3 v1.0.105-alpha.33 2022-04-22 11:52:44 +00:00
Dean 1885a3e275 Refactored the screen wizard to separate out the role selection. Design and layout updates to address feedback 2022-04-22 12:22:21 +01:00
Vinoth Kirubakaran ef3c604395 chore: resolved merge conflicts from develop branch 2022-04-22 16:42:31 +05:30
Budibase Staging Release Bot d91558486c v1.0.105-alpha.32 2022-04-22 10:58:15 +00:00
Budibase Staging Release Bot a8b963083c v1.0.105-alpha.31 2022-04-22 10:11:20 +00:00
Vinoth Kirubakaran e2ea748ce6 chore: resolved merge conflicts from develop branch 2022-04-22 15:30:43 +05:30
Budibase Release Bot ab6473dfb7 v1.0.115 2022-04-22 09:55:33 +00:00
Budibase Staging Release Bot 7bf32ddcb2 v1.0.105-alpha.30 2022-04-22 09:55:26 +00:00
Vinoth Kirubakaran 7ffe77c72d chore: resolved merge conflicts from develop branch 2022-04-22 15:23:05 +05:30
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
Andrew Kingston 1614f88087 Merge pull request #5315 from Budibase/data-ui-empty-states
Data UI empty states
2022-04-22 10:48:28 +01:00
Andrew Kingston 754aa82cec Merge pull request #5417 from Budibase/form-actions
Form actions
2022-04-22 10:47:57 +01:00
Budibase Staging Release Bot e2e5f73549 v1.0.105-alpha.29 2022-04-22 09:30:17 +00:00
Rory Powell eac8c421a7 Merge branch 'develop' into pro-build-fixes 2022-04-22 10:18:36 +01:00
Rory Powell e10bbb5eb0 Pro build fixes 2022-04-22 10:16:09 +01:00
Budibase Staging Release Bot 21735dae0a v1.0.105-alpha.28 2022-04-22 08:54:21 +00:00
Rory Powell 0edc8800bd Pro build fixes 2022-04-22 09:43:51 +01:00
Budibase Staging Release Bot f0eaf68a5e v1.0.105-alpha.27 2022-04-22 08:11:17 +00:00
Budibase Staging Release Bot 1a9e89c211 v1.0.105-alpha.26 2022-04-22 07:56:32 +00:00
Martin McKeaveney 79a8a63ede use ioredis mock for in memory redis tests 2022-04-21 20:24:43 +01:00
Budibase Release Bot 980c9d1444 v1.0.114 2022-04-21 14:31:17 +00: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
Rory Powell 5ae3645015 Merge branch 'develop' into pro-build-fix 2022-04-21 15:10:54 +01:00
Rory Powell 81cb05b9ef Add explicit pro dependency to worker and server 2022-04-21 15:08:14 +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
Dean bfce5ccf3f Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-21 14:46:17 +01:00
Budibase Staging Release Bot 851c62d71a v1.0.105-alpha.25 2022-04-21 13:36:43 +00:00
Dean c904bc6273 Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-21 14:32:49 +01:00
Martin McKeaveney 701cc93866 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 61150c82cf Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-21 14:10:58 +01:00
Dean 0d63f5d6be Refactored workflow tests to remove use of variables 2022-04-21 14:01:25 +01:00
Budibase Staging Release Bot 389221a58e v1.0.105-alpha.24 2022-04-21 11:52:07 +00:00
Dean 6bd59e7f8f Minor test enhancements and publish workflow test spec added 2022-04-21 11:59:59 +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
Rory Powell d2a4e0a934 Merge branch 'develop' into feature/licensing 2022-04-20 14:59:36 +01:00
Dean 2fb9fa55bd Minor refactor of the deploy modal flow 2022-04-20 14:58:18 +01:00
Dean 103511bc40 Added the hover message for the publish menu icon 2022-04-20 14:37:24 +01:00
Dean 0305719fe3 Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-20 12:54:58 +01:00
Dean ea164cb6aa Added cypress attributes for the popover menu 2022-04-20 12:51:44 +01:00
Budibase Staging Release Bot 282d2b73cc v1.0.105-alpha.23 2022-04-20 11:45:43 +00:00
Mel O'Hagan 611b170874 RevId should be optional for automation delete 2022-04-20 12:11:36 +01:00
Mel O'Hagan 9b5ad2dacc Get latest RevId if not provided 2022-04-20 11:51:01 +01:00
Dean 5e21757ef1 Added missing import 2022-04-20 11:31:54 +01:00
Vinoth Kirubakaran ad87bc2bcf 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 1eff790fe8 Added events for viewing a production application and unpublishing 2022-04-20 11:08:06 +01:00
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
Rory Powell c92e7120de Move upgrade page check into self hosted block 2022-04-20 10:07:36 +01:00
Rory Powell 46965bbb44 Feature flag upgrade page 2022-04-20 09:46:20 +01:00
Dean d94ff81e0e Simplified modal header construction 2022-04-20 09:23:09 +01:00
Dean b2b5fde7ba Cypress test fixes and refactoring. Removed debugging elements 2022-04-20 09:17:01 +01:00
Dean 04b4ee7a51 Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-20 09:10:09 +01:00
Budibase Staging Release Bot b18c47a586 v1.0.105-alpha.22 2022-04-20 07:47:53 +00: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
Budibase Staging Release Bot c8d3c9ded4 v1.0.105-alpha.21 2022-04-19 12:05:43 +00:00
Peter Clement b91a37675f Merge pull request #5145 from Budibase/feature/foreach-block
Foreach Automation Block
2022-04-19 12:58:00 +01:00
Andrew Kingston 943ae42b27 Fix sticky hover state for icons on mobile 2022-04-19 10:55:53 +01:00
Peter Clement d997ab76da update required string 2022-04-19 10:45:40 +01:00
Budibase Staging Release Bot d1c6aaa245 v1.0.105-alpha.20 2022-04-19 08:48:18 +00: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
Budibase Staging Release Bot c53c350879 v1.0.105-alpha.19 2022-04-14 19:50:11 +00:00
Mitch-Budibase 55588415b0 Updated MySQL Duplicate Query test
Fixing the navigation used when selecting queries
2022-04-14 20:20:09 +01:00
Budibase Staging Release Bot 8c613db188 v1.0.105-alpha.18 2022-04-14 16:55:46 +00:00
Mitch-Budibase 83c7eb3fc3 Merge pull request #5425 from Budibase/cypress-testing
Smoke Build Changes
2022-04-14 17:49:10 +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
Mitch-Budibase 377345a828 Smoke Build Changes
Datasource (MySQL, PostgreSQL)
- Test should now pass for smoke build

Table Tests
- Removed pagination tests - no pagination in the smoke build test run
2022-04-14 17:15:34 +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
Budibase Staging Release Bot 3b7a03c7a9 v1.0.105-alpha.17 2022-04-14 12:05:50 +00:00
Andrew Kingston f6eef900ad Merge pull request #5272 from Budibase/cheeks-lab-day-devtools
DevTools
2022-04-14 12:57:01 +01:00
Andrew Kingston e60c1a9685 Capitalise on change labels for form fields 2022-04-14 10:38:24 +01:00
Budibase Staging Release Bot b37dd1c229 v1.0.105-alpha.16 2022-04-14 09:14:11 +00:00
Andrew Kingston 3875cb02f0 Fix typo 2022-04-14 10:12:49 +01:00
Mitch-Budibase 4dcb320561 Merge pull request #5400 from Budibase/cypress-testing
Updated Datasource Testing
2022-04-14 10:05:02 +01:00
Andrew Kingston 8ab79c3cbb Add on change action to S3 upload field 2022-04-14 10:04:38 +01:00
Andrew Kingston b3ca4357b2 Add on change action to relationship field 2022-04-14 10:01:14 +01:00
Andrew Kingston 02178d3f2b Add on change action to options field 2022-04-14 09:54:49 +01:00
Andrew Kingston bd7c009537 Add on change action to multi-select field 2022-04-14 09:51:41 +01:00
Andrew Kingston bd313c7204 Add on change action to long form field 2022-04-14 09:49:13 +01:00
Andrew Kingston b886fe95c2 Add on change action to string field 2022-04-14 09:47:27 +01:00
Andrew Kingston 0957b3195a Add on change action to JSON field 2022-04-14 09:47:00 +01:00
Andrew Kingston bbaec2e50f Add on change action to datetime field 2022-04-14 09:46:46 +01:00
Andrew Kingston ede7f684c4 Add on change action to boolean field 2022-04-14 09:46:36 +01:00
Andrew Kingston 8b3cf851b8 Add on change action to attachment field 2022-04-14 09:46:24 +01:00
Andrew Kingston 9545b3af1b Add button actions to update form field values 2022-04-14 09:46:07 +01:00
Budibase Staging Release Bot 5044094fb0 v1.0.105-alpha.15 2022-04-14 07:49:18 +00:00
melohagan 39316a1967 Merge pull request #5399 from Budibase/bug/sev3/settings_bar_covering_button
Move settings bar below element if at very top [TWEAK]
2022-04-14 08:41:18 +01:00
melohagan 07d72294ed Merge pull request #5298 from Budibase/bug/sev3/js_scripting_binding_label
Display correct selector label for JS Scripting
2022-04-14 08:40:32 +01:00
Rory Powell 03c3ebbbbf Handle no developers on first time startup migration 2022-04-13 23:14:36 +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
Mitch-Budibase 56b8774b13 lint 2022-04-13 16:02:57 +01:00
Mitch-Budibase 45c39cbcc0 Updated PostgreSQL & Oracle Tests
PostgreSQL
- Test fixes (May still fail due to connection issues on smoke build)

Oracle
- Test fixes
- Skipping most tests (Oracle host needs configured)

commands.spec.js
- minor change to addDatasourceConfig function
2022-04-13 15:54:40 +01:00
Mel O'Hagan bf4b2f65d8 Only apply to small components (button, headline) 2022-04-13 15:53:26 +01:00
Andrew Kingston 1c4294fb13 Fix sizing of create new app screen 2022-04-13 14:42:09 +01:00
Mitch-Budibase 57284ec219 Updated MySQL Tests
It may still fail as part of the smoke build due to connection issues - for now, direct test issues are resolved
2022-04-13 14:33:37 +01:00
Budibase Staging Release Bot 06f22413cb v1.0.105-alpha.14 2022-04-13 13:20:56 +00:00
Andrew Kingston 5e19a93726 Merge pull request #5369 from Budibase/fix-query-block-search
Fixes for custom queries
2022-04-13 14:13:46 +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
Mel O'Hagan d8f487288e Change to startsWith JS. Remove index decrement. 2022-04-13 13:27:17 +01:00
Budibase Release Bot f2abbc8377 v1.0.113 2022-04-13 12:21:10 +00:00
Budibase Staging Release Bot 0197b96be4 v1.0.105-alpha.13 2022-04-13 11:22:17 +00:00
Mitch-Budibase 0c880dd714 Merge pull request #5371 from Budibase/cypress-testing
Smoke Build Test Changes
2022-04-13 12:15:02 +01:00
Michael Drury 420f40d4a5 Merge pull request #5343 from daawaan/fix/win10-dev
Support Windows 10 development
2022-04-13 12:12:02 +01:00
Budibase Staging Release Bot 69904fd870 v1.0.105-alpha.12 2022-04-13 10:40:51 +00:00
Mel O'Hagan 7c828382a3 Merge branch 'develop' into bug/sev3/js_scripting_binding_label 2022-04-13 11:35:01 +01:00
melohagan 54b975cb9f Merge pull request #5304 from Budibase/bug/sev3/empty_static_formula_column
Fix for empty static formula column creation error
2022-04-13 11:33:20 +01:00
melohagan 776761fcb3 Merge pull request #5325 from Budibase/bug/sev3/require-option-values
Added validation for options editor
2022-04-13 11:31:04 +01:00
Andrew Kingston cb90b872f5 Ensure existing invalid datasource definitions are also fixed by checking data source type before fetching table definitions 2022-04-13 10:28:55 +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
Peter Clement 43b4dd8737 add environment variable 2022-04-13 10:23:40 +01:00
Budibase Staging Release Bot b8042b60fe v1.0.105-alpha.11 2022-04-13 09:19:50 +00:00
Michael Drury 3c44a94871 Merge pull request #5382 from Budibase/dependabot/npm_and_yarn/packages/server/urijs-1.19.11
Bump urijs from 1.19.8 to 1.19.11 in /packages/server
2022-04-13 10:13:16 +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
dependabot[bot] 6c322867fe Bump urijs from 1.19.8 to 1.19.11 in /packages/worker
Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.8 to 1.19.11.
- [Release notes](https://github.com/medialize/URI.js/releases)
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md)
- [Commits](https://github.com/medialize/URI.js/compare/v1.19.8...v1.19.11)

---
updated-dependencies:
- dependency-name: urijs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-13 00:14:21 +00:00
dependabot[bot] 6264bbb48f Bump urijs from 1.19.8 to 1.19.11 in /packages/server
Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.8 to 1.19.11.
- [Release notes](https://github.com/medialize/URI.js/releases)
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md)
- [Commits](https://github.com/medialize/URI.js/compare/v1.19.8...v1.19.11)

---
updated-dependencies:
- dependency-name: urijs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-13 00:14:16 +00: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
Mitch-Budibase 0446c5f2e2 lint 2022-04-12 17:33:17 +01:00
Mitch-Budibase f81aed711d Updated createApp.spec.js
The test 'should provide filterable templates' was failing on the smoke build.

Updated to check existence of apps and act accordingly
2022-04-12 17:24:15 +01:00
Andrew Kingston 3bb9834895 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-12 16:58:26 +01:00
Andrew Kingston e692dc9095 Use the readable schema when generating search field options 2022-04-12 16:27:14 +01:00
Mitch-Budibase 29d7987768 Fixed Table Pagination Tests
Previous issues with the second page loading - reloading the page solves it
2022-04-12 16:20:15 +01:00
Rory Powell 03ba6d914f Merge branch 'develop' into feature/licensing 2022-04-12 16:18:41 +01:00
Mitch-Budibase 87ac25bcea Updated deleteApp function
Added a check for app name, function returns if app does not exist, rather than trying to delete
2022-04-12 15:59:12 +01:00
Mel O'Hagan 6ee859b04e Default option labels and values 2022-04-12 14:54:15 +01:00
Mel O'Hagan ac772c2f5b Merge branch 'develop' into bug/sev3/require-option-values 2022-04-12 14:40:38 +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
Peter Clement 03b1805030 uneeded reactive statement 2022-04-12 11:43:01 +01:00
Budibase Staging Release Bot 4340a46fe7 v1.0.105-alpha.10 2022-04-12 09:14:08 +00:00
Peter Clement 8bacbae496 fix cypress 2022-04-12 09:44:24 +01:00
Peter Clement cfbd729c75 fix automation 2022-04-12 09:15:40 +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
Mel O'Hagan 6850bb77fd Added error messages to inputs instead 2022-04-11 16:08:25 +01:00
Mel O'Hagan 6c9ee5e27c Merge branch 'develop' into bug/sev3/require-option-values 2022-04-11 15:18:10 +01:00
Peter Clement 999199dcf6 Add handling for failure conditions 2022-04-11 10:26:59 +01:00