Commit Graph

8565 Commits

Author SHA1 Message Date
Andrew Kingston d72094e8ad Set inputs to readonly when displaying the javascript function helper label to prevent accidentally setting explicit text 2021-11-23 16:41:09 +00:00
Andrew Kingston 5ecd09b39e Add readonly prop to combobox 2021-11-23 16:40:31 +00:00
Budibase Staging Release Bot 8e61944128 v0.9.185-alpha.16 2021-11-23 15:23:55 +00:00
Peter Clement ff9f633db6
Merge pull request #3503 from Budibase/feature/auto-screen-ui
fix bg color of screen wizard modal
2021-11-23 15:16:27 +00:00
Peter Clement 559aadebc7 remove log 2021-11-23 15:02:10 +00:00
Peter Clement 851bbdf07d issue with datasource plus autogen 2021-11-23 15:00:21 +00:00
Peter Clement 616c6538f4 fix bg color of screen wizard modal 2021-11-23 14:45:50 +00:00
Andrew Kingston 5f2f01851b Refactor client and server binding panels into single generic panel. Enable JS for formula fields 2021-11-23 14:05:20 +00:00
Budibase Staging Release Bot 8cb6e6e34c v0.9.185-alpha.15 2021-11-23 13:57:12 +00:00
Peter Clement b1b5197a31 show datasource plus popover conditionally 2021-11-23 13:54:05 +00:00
Peter Clement e996d4cc9d
Merge pull request #3488 from Budibase/feature/auto-screen-ui
Remove nav selection modal from screens UI (for now)
2021-11-23 13:48:14 +00:00
Rory Powell b631c8c624 Add returning 2021-11-23 13:27:38 +00:00
mike12345567 60f86184de Quick fix for #3485 - default the key to the primary key but allow another field to be selected. 2021-11-23 12:10:40 +00:00
Peter Clement 672cf93b50 Merge remote-tracking branch 'origin/develop' into fix/pc-generic-fixes 2021-11-23 10:24:27 +00:00
Peter Clement b381bd1e41 removing log 2021-11-23 09:43:21 +00:00
Peter Clement 1b69fb8349 fixng some auto screen bugs 2021-11-23 09:39:40 +00:00
Rory Powell dffb3064de Merge branch 'develop' into oracle-datasource 2021-11-23 09:27:55 +00:00
Peter Clement 6c46422d8c remove nav selection modal 2021-11-23 09:01:12 +00:00
Budibase Release Bot c71eab23f0 v0.9.189 2021-11-22 18:14:41 +00:00
Budibase Staging Release Bot 4e76951a03 v0.9.185-alpha.14 2021-11-22 18:04:40 +00:00
mike12345567 9dfa8c7651 Fixing issue from review, values weren't wiped when delete modals closed, also adding a fix for threading to disable it in development as node-ts was causing memory leaks on low memory systems (doesn't apply to production built version). 2021-11-22 17:42:41 +00:00
Martin McKeaveney b40fdc98de adding version metadata to docker build 2021-11-22 18:25:57 +01:00
Andrew Kingston 1e360d6873 Fix cypress tests 2021-11-22 16:29:03 +00:00
Andrew Kingston 5cf682e1f0 Update cypress tests to account for component restructuring 2021-11-22 15:26:41 +00:00
Rory Powell 3793c1784a Update locks, ignore oracle imports on m1 2021-11-22 15:26:31 +00:00
mike12345567 72bf66926d Updating UI to have a table/column deletion check which makes sure the user understands what they are doing, also disabling external table deletion. 2021-11-22 15:26:24 +00:00
Rory Powell 90885b998a Fix dependency issues on m1 2021-11-22 14:49:39 +00:00
Andrew Kingston ae19581288 Add button variant, size and quiet settings to dynamic filter. Allow dyanmic filter button text to be edited inline 2021-11-22 14:48:34 +00:00
Andrew Kingston 74289a4588 Reorganise component structure 2021-11-22 14:48:04 +00:00
Andrew Kingston 067e5d3a7d Removing log statement 2021-11-22 14:09:54 +00:00
Andrew Kingston 6f37fc27e1 Fix issue with not correctly removing dynamic filters when clearing all filters 2021-11-22 13:42:09 +00:00
Andrew Kingston 3c7f3ee694 Update default button text of dynamic filter component 2021-11-22 13:34:28 +00:00
Rory Powell 2edb24fa86 Use global sql type map, update base integration type defs 2021-11-22 11:38:17 +00:00
Budibase Staging Release Bot 95fcaeea06 v0.9.185-alpha.13 2021-11-22 11:13:33 +00:00
Rory Powell 85ef7838af Merge branch 'develop' into oracle-datasource 2021-11-22 11:07:11 +00:00
Michael Drury 7762c1cc80
Merge pull request #3444 from Budibase/fix/sql-invalid-cols
Disallow _id, _rev and tableId fields for SQL tables
2021-11-22 11:03:59 +00:00
Budibase Staging Release Bot c48ead6f49 v0.9.185-alpha.12 2021-11-22 10:53:34 +00:00
Rory Powell c36df3ad18 Merge branch 'oracle-datasource' into oracle-datatasource-plus 2021-11-22 10:50:34 +00:00
Rory Powell 56d8b29962 Merge branch 'develop' into oracle-datasource 2021-11-22 10:47:48 +00:00
Andrew Kingston 68d4376a71 Merge branch 'develop' of github.com:Budibase/budibase into multi-filter-component 2021-11-22 10:44:52 +00:00
Andrew Kingston 5cf9aad280
Merge pull request #3403 from Budibase/cheeks-lab-day
Inline text editing + perf. enhancements + preview enhancements
2021-11-22 10:44:38 +00:00
mike12345567 19c096c3e5 Updating inline alert component to handle newlines as different elements, putting out error with new lines. 2021-11-22 10:37:58 +00:00
Budibase Staging Release Bot d6018c2c9c v0.9.185-alpha.11 2021-11-22 10:26:21 +00:00
Peter Clement 8d93a89b1d
Merge pull request #3334 from Budibase/feature/auto-screen-ui
Feature/auto screen UI
2021-11-22 10:15:44 +00:00
Peter Clement 088e96332a Revert "remove delete button for datasource plus"
This reverts commit 6c9461834e.
2021-11-22 10:09:27 +00:00
Peter Clement 6c9461834e remove delete button for datasource plus 2021-11-22 10:07:30 +00:00
Peter Clement e91a8a175e fix broken automation test 2021-11-22 09:43:57 +00:00
Andrew Kingston 2ab40d51dc Update logic for determining whether to show empty state or not 2021-11-18 20:38:55 +00:00
Andrew Kingston 90b3e2a16d Update editable components to trim whitespace when editing inline 2021-11-18 20:32:57 +00:00
Andrew Kingston df29ad1092 Be more explicit about the boolean nature of component settings in the manifest and add back in a render key to fix toggling contenteditable attribute on dom elements 2021-11-18 20:32:42 +00:00
Andrew Kingston 0aa0f6a07d Enable dynamic filter component to update data provider queries 2021-11-18 20:32:00 +00:00
Andrew Kingston b2a58d1c35 Ensure important builder store variables do not get unassigned when setting the builder store state 2021-11-18 20:31:25 +00:00
Andrew Kingston c432c86419 Add modal container to top level of client apps 2021-11-18 20:31:00 +00:00
Andrew Kingston e1021f429c Refactor how extending data provider queries works to support multiple extensions per key 2021-11-18 18:41:37 +00:00
mike12345567 854cfd243d Fix for #2420 - don't allow columns which are considered invalid/not allowed. 2021-11-18 18:33:35 +00:00
Andrew Kingston 2bf6c951fd Merge branch 'cheeks-lab-day' of github.com:Budibase/budibase into multi-filter-component 2021-11-18 15:58:04 +00:00
Andrew Kingston e43d5ba158 Fix default form step context not being a svelte store 2021-11-18 15:57:29 +00:00
Andrew Kingston 75efe68f81 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day 2021-11-18 15:53:57 +00:00
Andrew Kingston b47a25a273 Add settings to dynamic filter to control button text and allowed filter fields 2021-11-18 15:43:51 +00:00
Andrew Kingston 038ec39143 Add dynamic filter component 2021-11-18 15:36:16 +00:00
Michael Drury 3dcec7671e
Merge pull request #3440 from Budibase/fix/export-sql
Fixing some issues with exporting CSV/JSON
2021-11-18 15:26:23 +00:00
Peter Clement 48942a6b85 disable ability to rename external datasource 2021-11-18 15:14:23 +00:00
mike12345567 2f282e70a9 Fixing issue with exporting CSV/JSON, also saving as right file type. 2021-11-18 14:57:17 +00:00
Andrew Kingston 661c2abd39 Remove log statement 2021-11-18 14:47:59 +00:00
Andrew Kingston d3407a2444 Fix bug with duplication of fields when re-registering existing fields 2021-11-18 14:43:02 +00:00
Andrew Kingston 6e3044f7c9 Make form step number dynamic 2021-11-18 14:42:49 +00:00
Peter Clement c40cffc34d remove uneeded add action button 2021-11-18 14:29:31 +00:00
Andrew Kingston c2bf1de547 Fix crash when component definition is not found 2021-11-18 14:24:10 +00:00
Andrew Kingston 4ce25fdf0b Allow dynamic re-registration of form field components 2021-11-18 14:18:06 +00:00
Rory Powell cb3495c831 Boolean support and linting 2021-11-18 13:35:22 +00:00
Rory Powell 1be2d006db Tests 2021-11-18 12:05:30 +00:00
Peter Clement ace9d9b878 fix bug with test results 2021-11-18 11:41:51 +00:00
Budibase Staging Release Bot a013c51e2b v0.9.185-alpha.10 2021-11-18 11:15:57 +00:00
Michael Drury 33e242b00b
Merge pull request #3433 from Budibase/dependabot/npm_and_yarn/packages/auth/stringstream-0.0.6
Bump stringstream from 0.0.5 to 0.0.6 in /packages/auth
2021-11-18 11:08:46 +00:00
Michael Drury 55c8bfbf67
Merge pull request #3434 from Budibase/dependabot/npm_and_yarn/packages/worker/sshpk-1.16.1
Bump sshpk from 1.13.0 to 1.16.1 in /packages/worker
2021-11-18 11:08:36 +00:00
Michael Drury b3af8f41cb
Merge pull request #3435 from Budibase/dependabot/npm_and_yarn/packages/server/sshpk-1.16.1
Bump sshpk from 1.13.0 to 1.16.1 in /packages/server
2021-11-18 11:08:27 +00:00
mike12345567 31606a8059 Upgrading to Node 14 across the board as recent packages don't support 12 anymore. 2021-11-18 10:59:35 +00:00
dependabot[bot] 8553949fee
Bump sshpk from 1.13.0 to 1.16.1 in /packages/server
Bumps [sshpk](https://github.com/joyent/node-sshpk) from 1.13.0 to 1.16.1.
- [Release notes](https://github.com/joyent/node-sshpk/releases)
- [Commits](https://github.com/joyent/node-sshpk/compare/v1.13.0...v1.16.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-18 10:52:11 +00:00
dependabot[bot] 01c6e6d60c
Bump sshpk from 1.13.0 to 1.16.1 in /packages/worker
Bumps [sshpk](https://github.com/joyent/node-sshpk) from 1.13.0 to 1.16.1.
- [Release notes](https://github.com/joyent/node-sshpk/releases)
- [Commits](https://github.com/joyent/node-sshpk/compare/v1.13.0...v1.16.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-18 10:52:08 +00:00
dependabot[bot] 81905bf668
Bump stringstream from 0.0.5 to 0.0.6 in /packages/auth
Bumps [stringstream](https://github.com/mhart/StringStream) from 0.0.5 to 0.0.6.
- [Release notes](https://github.com/mhart/StringStream/releases)
- [Commits](https://github.com/mhart/StringStream/compare/v0.0.5...v0.0.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-18 10:52:02 +00:00
Rory Powell 681cb1bbbc Detect auto columns 2021-11-18 10:49:53 +00:00
Budibase Release Bot a4b88dc2ca v0.9.188 2021-11-18 07:09:32 +00:00
Michael Drury 97721fe5e5 Updating filter modal to manage invalid schemas when view created. 2021-11-17 22:11:26 +00:00
Michael Drury 0b6eb6b71d Fixing issue discovered by test case. 2021-11-17 21:33:35 +00:00
mike12345567 0bff21f385 Reverting bbui lock, making sure it isn't upgrading again, fixing vite to the best version we can use. 2021-11-17 19:12:54 +00:00
mike12345567 e1de339f55 Downgrading typescript to match eslint required version. 2021-11-17 18:07:56 +00:00
mike12345567 4993329ceb Adding audit script and commiting all of the audits that it made, updating all yarn locks. 2021-11-17 18:04:16 +00:00
Rory Powell 1d53581f17 Datatypes working 2021-11-17 16:41:00 +00:00
mike12345567 32f4a87f95 Updating bullboard to use the new koa version (supported). 2021-11-17 16:30:06 +00:00
mike12345567 494e042dd8 Adding a mechanism for disabling cron jobs when an app is unpublished. 2021-11-17 16:28:52 +00:00
Rory Powell a2ea5e730f First pass end-to-end working 2021-11-17 14:34:16 +00:00
Peter Clement e81a008a1a fix animation issue with automation blocks 2021-11-17 14:28:14 +00:00
Mike Shanks 5f81613cd8 License cleanup 2021-11-17 14:21:16 +00:00
Peter Clement 2d76c530f7 save inputted test data 2021-11-17 13:49:34 +00:00
Budibase Staging Release Bot 402a16f387 v0.9.185-alpha.9 2021-11-17 11:47:25 +00:00
Michael Drury 361589d18a
Merge pull request #3338 from Budibase/feature/query-rbac-timeouts
Query RBAC, query and automation threading/timeouts
2021-11-17 11:39:09 +00:00
Budibase Staging Release Bot 8463afab10 v0.9.185-alpha.8 2021-11-17 11:28:58 +00:00
Peter Clement ac9f30612c more refactoring of screen wizard 2021-11-17 10:24:14 +00:00
dependabot[bot] 859ce467b3
Bump aws-sdk from 2.811.0 to 2.814.0 in /packages/worker
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.811.0 to 2.814.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.811.0...v2.814.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-16 22:39:40 +00:00
Budibase Staging Release Bot 5f6f2e6ed1 v0.9.185-alpha.7 2021-11-16 21:20:35 +00:00
mike12345567 3b9f3d6690 Fix for cypress test issues, when metadata is updated rapidly it could get into a bad state - this should resolve it. 2021-11-16 20:56:24 +00:00
mike12345567 3fdfc95298 Quick update, just to cover both queue add functions. 2021-11-16 19:02:55 +00:00
mike12345567 ba4c79895f Updating to manage completed events piling up, this will periodically clear out all events - repeats cannot be removed with the removeOnCompleted job option. 2021-11-16 18:58:24 +00:00
Andrew Kingston c309db623e Replace old usage of 'editable' manifest setting with 'static' 2021-11-16 18:33:14 +00:00
Andrew Kingston 53c7da348b Fix issue with data provider query not updating 2021-11-16 17:55:24 +00:00
Andrew Kingston 9fea436cc2 Remove log statements 2021-11-16 17:52:14 +00:00
Andrew Kingston 69422f374b Refactor some app components to remove dependency on static props 2021-11-16 17:52:00 +00:00
Andrew Kingston cc5e42e933 Update table to handle dynamic data provider prop 2021-11-16 17:51:05 +00:00
Andrew Kingston fa70eb540a Update forms to handle a dynamic schema prop 2021-11-16 17:42:27 +00:00
mike12345567 8d56fe1339 Adding a script to be able to debug backend like cypress runs, without needing to build everytime - fixing an issue that appears to only occur occasionally in the cypress environment. 2021-11-16 17:40:31 +00:00
Andrew Kingston 9aa03c39ba Optimise core memoization of client component props to improve performance significantly 2021-11-16 16:29:31 +00:00
Andrew Kingston 1432cbec72 Refactor how client app actions programmatically mutate data provider queries to allow for correctly handling removal of query extensions 2021-11-16 16:28:48 +00:00
mike12345567 b91f41163f Merge branch 'develop' of github.com:Budibase/budibase into fix/app-cache-invalid 2021-11-16 15:48:56 +00:00
mike12345567 a9c6395d72 Fixing issue discovered by cypress test. 2021-11-16 15:23:02 +00:00
Budibase Staging Release Bot 782a0cc175 v0.9.185-alpha.6 2021-11-16 14:37:51 +00:00
mike12345567 960ea66fd7 Quick update to the app caching to improve performance even further, cache when an app doesn't have metadata/is invalid, meaning we don't need to poll the database everytime to see if the metadata doc exists. 2021-11-16 14:15:13 +00:00
Budibase Staging Release Bot 1a9706bbb2 v0.9.185-alpha.5 2021-11-16 13:54:16 +00:00
Rory Powell 851850dc03
Merge pull request #3354 from Budibase/rory/fixes-platform-url
Fixes for google sso, cloud email url and cloud logo updates
2021-11-16 13:46:06 +00:00
Andrew Kingston e4eb925a15 Prevent unecessary updates to component settings to improve performance 2021-11-16 13:38:47 +00:00
Andrew Kingston 3acdf56679 Precent unecessary client app builder store updates to improve performance 2021-11-16 13:35:20 +00:00
Andrew Kingston e5f49c87f6 Ensure button is focused when starting to edit text 2021-11-16 13:22:31 +00:00
Andrew Kingston d13170ff57 Disable drag and drop for components in the selected path when edit mode is enabled to fix firefox issue with text selection when draggable attribute is set 2021-11-16 13:17:34 +00:00
Andrew Kingston 78eb7e63f9 Remove unused client event for iframe-loaded 2021-11-16 13:15:31 +00:00
Andrew Kingston 6d59124064 Fix race condition crash on initial builder data page load 2021-11-16 13:12:05 +00:00
Peter Clement 63fc3dcc13 refactor wizard into its own file 2021-11-16 12:18:13 +00:00
Budibase Staging Release Bot 4a22570b05 v0.9.185-alpha.4 2021-11-16 11:48:38 +00:00
Andrew Kingston c43927e863 Remove focus style on contenteditable components in chrome 2021-11-16 11:47:03 +00:00
Andrew Kingston 1cfb0f467d Prevent dragging of a component while being edited 2021-11-16 11:46:46 +00:00
Andrew Kingston fe7bc33566 Remove deprecated keydown event being sent by client library 2021-11-16 11:45:28 +00:00
Michael Drury 852f75ac48
Merge pull request #3392 from Budibase/fix/app-list-perf
Caching app metadata to improve application fetch performance
2021-11-16 11:37:54 +00:00
Andrew Kingston 638972804d Merge develop into editable text lab day 2021-11-16 11:14:46 +00:00
Budibase Staging Release Bot 144452346f v0.9.185-alpha.3 2021-11-16 11:12:03 +00:00
Andrew Kingston 3db13562d6
Merge pull request #3355 from Budibase/repeater-array
Data block + array fields as data sources
2021-11-16 11:03:30 +00:00
Andrew Kingston e1363dff11 Reset app name in deletion confirmation modal when closing modal 2021-11-16 10:52:43 +00:00
mike12345567 35d96f54c8 Adding specific error cases to all app ID checking functions - three cases, is dev/prod, isn't and no app/ID provided. 2021-11-16 10:30:37 +00:00
Michael Drury 0f37562ab6 Fixing issue presented by test, passing Couch instance around for when it is being used in memory. 2021-11-15 19:34:08 +00:00
Andrew Kingston b1a2bb59a6 Rename data block to repeater block 2021-11-15 18:07:51 +00:00
Andrew Kingston 9e94df969d Remove unused prop 2021-11-15 18:02:24 +00:00
Budibase Staging Release Bot 5bb8900cdd v0.9.185-alpha.2 2021-11-15 17:47:27 +00:00
mike12345567 7eb29ffc7d Updating the getAllApps function to use a cached version of the app metadata, rather than retrieving it individually everytime. Also invalidating the results everytime they are updated (at least in the important locations). 2021-11-15 17:40:45 +00:00
Budibase Release Bot bfc9a4157d v0.9.187 2021-11-15 17:04:12 +00:00
mike12345567 9b5909e367 Adding role, as it wasn't being set in metadata. 2021-11-15 16:46:56 +00:00
mike12345567 45af6be6de Fixing issue found by Mitch, with syncing not functioning for singular role updates. 2021-11-15 16:42:17 +00:00
mike12345567 624ab3648c Fixing issue where database wasn't accessible in authorized test. 2021-11-15 15:57:02 +00:00
mike12345567 e0f04abfb1 Updating to allow a list of roles to be retrieved, allowing resources to have multiple levels of role that they can be accessed via. 2021-11-15 15:26:09 +00:00
Budibase Staging Release Bot 38f0e8d665 v0.9.185-alpha.1 2021-11-15 14:43:16 +00:00
mike12345567 72a3532cc8 Merge branch 'feature/existing-table-import' of github.com:Budibase/budibase into feature/existing-table-import 2021-11-15 14:16:10 +00:00
mike12345567 c85b1a5a0c Adding a check to disable the display column options when importing to an existing table as it makes no sense in this scenario. 2021-11-15 14:15:14 +00:00
mike12345567 4268ad6f80 Fixing an issue discovered in #3385 - RBAC roles worked for applying lower levels of roles, but they didn't revoke access correctly, it would always fallback to the base permissions if higher permissions were set. 2021-11-15 13:48:26 +00:00
Andrew Kingston 1b4e95ed3c Be even more explicit about expecting an array data type for data provider rows 2021-11-15 12:26:13 +00:00