Commit Graph

8554 Commits

Author SHA1 Message Date
Rory Powell 7135599295 Add returning 2021-11-23 13:27:38 +00:00
mike12345567 8be84e5602 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 1da1331b3a Merge remote-tracking branch 'origin/develop' into fix/pc-generic-fixes 2021-11-23 10:24:27 +00:00
Peter Clement abe7cdfcf7 removing log 2021-11-23 09:43:21 +00:00
Peter Clement a68247ffcb fixng some auto screen bugs 2021-11-23 09:39:40 +00:00
Rory Powell 1a0c66beb6 Merge branch 'develop' into oracle-datasource 2021-11-23 09:27:55 +00:00
Peter Clement 33f1264cbb remove nav selection modal 2021-11-23 09:01:12 +00:00
Budibase Release Bot d227e192ae v0.9.189 2021-11-22 18:14:41 +00:00
Budibase Staging Release Bot f158ee8f57 v0.9.185-alpha.14 2021-11-22 18:04:40 +00:00
mike12345567 0335b1cee3 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 d5a5f4d227 adding version metadata to docker build 2021-11-22 18:25:57 +01:00
Andrew Kingston 6b2e235c35 Fix cypress tests 2021-11-22 16:29:03 +00:00
Andrew Kingston d9b7426d29 Update cypress tests to account for component restructuring 2021-11-22 15:26:41 +00:00
Rory Powell 4acfc668ef Update locks, ignore oracle imports on m1 2021-11-22 15:26:31 +00:00
mike12345567 ea0000df51 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 b1ac42875b Fix dependency issues on m1 2021-11-22 14:49:39 +00:00
Andrew Kingston 4ef99cd603 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 0fcc7619d0 Reorganise component structure 2021-11-22 14:48:04 +00:00
Andrew Kingston f12ab5aebd Removing log statement 2021-11-22 14:09:54 +00:00
Andrew Kingston ab7959a32c Fix issue with not correctly removing dynamic filters when clearing all filters 2021-11-22 13:42:09 +00:00
Andrew Kingston aa46f15ff6 Update default button text of dynamic filter component 2021-11-22 13:34:28 +00:00
Rory Powell ac7137c4a0 Use global sql type map, update base integration type defs 2021-11-22 11:38:17 +00:00
Budibase Staging Release Bot 2f9941f40c v0.9.185-alpha.13 2021-11-22 11:13:33 +00:00
Rory Powell 154a5cab26 Merge branch 'develop' into oracle-datasource 2021-11-22 11:07:11 +00:00
Michael Drury ddcc94c772 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 01e7cccb65 v0.9.185-alpha.12 2021-11-22 10:53:34 +00:00
Rory Powell d58b90cac1 Merge branch 'oracle-datasource' into oracle-datatasource-plus 2021-11-22 10:50:34 +00:00
Rory Powell f94a0eadbe Merge branch 'develop' into oracle-datasource 2021-11-22 10:47:48 +00:00
Andrew Kingston 8f9dba0db3 Merge branch 'develop' of github.com:Budibase/budibase into multi-filter-component 2021-11-22 10:44:52 +00:00
Andrew Kingston 6c0a1e99da 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 9be833d5e1 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 fe5c3d78f4 v0.9.185-alpha.11 2021-11-22 10:26:21 +00:00
Peter Clement 7bbf5500c6 Merge pull request #3334 from Budibase/feature/auto-screen-ui
Feature/auto screen UI
2021-11-22 10:15:44 +00:00
Peter Clement cc019feab1 Revert "remove delete button for datasource plus"
This reverts commit fbe1b02e93.
2021-11-22 10:09:27 +00:00
Peter Clement fbe1b02e93 remove delete button for datasource plus 2021-11-22 10:07:30 +00:00
Peter Clement 8581c06721 fix broken automation test 2021-11-22 09:43:57 +00:00
Andrew Kingston 9057b8e521 Update logic for determining whether to show empty state or not 2021-11-18 20:38:55 +00:00
Andrew Kingston bfe562c9ea Update editable components to trim whitespace when editing inline 2021-11-18 20:32:57 +00:00
Andrew Kingston a9a50545c9 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 a1b2f9d57d Enable dynamic filter component to update data provider queries 2021-11-18 20:32:00 +00:00
Andrew Kingston 327ee5726d 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 b7b424b7f8 Add modal container to top level of client apps 2021-11-18 20:31:00 +00:00
Andrew Kingston 33e5e198b7 Refactor how extending data provider queries works to support multiple extensions per key 2021-11-18 18:41:37 +00:00
mike12345567 38c7f3ab90 Fix for #2420 - don't allow columns which are considered invalid/not allowed. 2021-11-18 18:33:35 +00:00
Andrew Kingston 8f981704d6 Merge branch 'cheeks-lab-day' of github.com:Budibase/budibase into multi-filter-component 2021-11-18 15:58:04 +00:00
Andrew Kingston e35fe3685f Fix default form step context not being a svelte store 2021-11-18 15:57:29 +00:00
Andrew Kingston 4ebb4d6b25 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day 2021-11-18 15:53:57 +00:00
Andrew Kingston 34a00df86b Add settings to dynamic filter to control button text and allowed filter fields 2021-11-18 15:43:51 +00:00
Andrew Kingston f77f7c1e5f Add dynamic filter component 2021-11-18 15:36:16 +00:00
Michael Drury 773bc06f7f 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 0b8c074b81 disable ability to rename external datasource 2021-11-18 15:14:23 +00:00
mike12345567 1d9b4be249 Fixing issue with exporting CSV/JSON, also saving as right file type. 2021-11-18 14:57:17 +00:00
Andrew Kingston cd5aaf69cb Remove log statement 2021-11-18 14:47:59 +00:00
Andrew Kingston 8e58cde6ec Fix bug with duplication of fields when re-registering existing fields 2021-11-18 14:43:02 +00:00
Andrew Kingston 9f30599ec1 Make form step number dynamic 2021-11-18 14:42:49 +00:00
Peter Clement d16ea91082 remove uneeded add action button 2021-11-18 14:29:31 +00:00
Andrew Kingston 347a0d1d0f Fix crash when component definition is not found 2021-11-18 14:24:10 +00:00
Andrew Kingston 5f5ca5fdf7 Allow dynamic re-registration of form field components 2021-11-18 14:18:06 +00:00
Rory Powell b0df7fb28f Boolean support and linting 2021-11-18 13:35:22 +00:00
Rory Powell 345490fed3 Tests 2021-11-18 12:05:30 +00:00
Peter Clement b902e017dd fix bug with test results 2021-11-18 11:41:51 +00:00
Budibase Staging Release Bot a1ff7e7262 v0.9.185-alpha.10 2021-11-18 11:15:57 +00:00
Michael Drury 7783443441 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 007d6e8e92 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 d2e07590c4 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 8a1a2c5305 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] 2e09b5e855 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] 2632698842 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] 6e8db66b57 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 5d8c90c5f2 Detect auto columns 2021-11-18 10:49:53 +00:00
Budibase Release Bot 85425520ac v0.9.188 2021-11-18 07:09:32 +00:00
Michael Drury 1003c0d55e Updating filter modal to manage invalid schemas when view created. 2021-11-17 22:11:26 +00:00
Michael Drury 0623dc2981 Fixing issue discovered by test case. 2021-11-17 21:33:35 +00:00
mike12345567 1ba0584c64 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 fa6875190e Downgrading typescript to match eslint required version. 2021-11-17 18:07:56 +00:00
mike12345567 7802bb1e45 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 c810bacaf9 Datatypes working 2021-11-17 16:41:00 +00:00
mike12345567 047318fdf7 Updating bullboard to use the new koa version (supported). 2021-11-17 16:30:06 +00:00
mike12345567 bb8fe8e941 Adding a mechanism for disabling cron jobs when an app is unpublished. 2021-11-17 16:28:52 +00:00
Rory Powell 0cedd1d57b First pass end-to-end working 2021-11-17 14:34:16 +00:00
Peter Clement f237cd891e fix animation issue with automation blocks 2021-11-17 14:28:14 +00:00
Mike Shanks 3db48e3b45 License cleanup 2021-11-17 14:21:16 +00:00
Peter Clement 5311c8ee7e save inputted test data 2021-11-17 13:49:34 +00:00
Budibase Staging Release Bot 9d74aa2a44 v0.9.185-alpha.9 2021-11-17 11:47:25 +00:00
Michael Drury a726d158b8 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 623cd0c0b0 v0.9.185-alpha.8 2021-11-17 11:28:58 +00:00
Peter Clement 776e4e2d20 more refactoring of screen wizard 2021-11-17 10:24:14 +00:00
dependabot[bot] 38c353f94d 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 33fef40292 v0.9.185-alpha.7 2021-11-16 21:20:35 +00:00
mike12345567 7170c00a4f 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 e75a9d3d1d Quick update, just to cover both queue add functions. 2021-11-16 19:02:55 +00:00
mike12345567 11debac115 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 9b988b60b0 Replace old usage of 'editable' manifest setting with 'static' 2021-11-16 18:33:14 +00:00
Andrew Kingston 9bd01987af Fix issue with data provider query not updating 2021-11-16 17:55:24 +00:00
Andrew Kingston 9420ee2b5e Remove log statements 2021-11-16 17:52:14 +00:00
Andrew Kingston 76579e5968 Refactor some app components to remove dependency on static props 2021-11-16 17:52:00 +00:00
Andrew Kingston 427bb01e51 Update table to handle dynamic data provider prop 2021-11-16 17:51:05 +00:00
Andrew Kingston a2b9fb3434 Update forms to handle a dynamic schema prop 2021-11-16 17:42:27 +00:00
mike12345567 aaff5260d3 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 f61d89436b Optimise core memoization of client component props to improve performance significantly 2021-11-16 16:29:31 +00:00
Andrew Kingston 6ca6eb0d4b 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 5a50129186 Merge branch 'develop' of github.com:Budibase/budibase into fix/app-cache-invalid 2021-11-16 15:48:56 +00:00
mike12345567 a7cf64ce9e Fixing issue discovered by cypress test. 2021-11-16 15:23:02 +00:00
Budibase Staging Release Bot c42acf9bb7 v0.9.185-alpha.6 2021-11-16 14:37:51 +00:00
mike12345567 720fa12b21 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 8529510e04 v0.9.185-alpha.5 2021-11-16 13:54:16 +00:00
Rory Powell 4235aba7a2 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 9728c6c947 Prevent unecessary updates to component settings to improve performance 2021-11-16 13:38:47 +00:00
Andrew Kingston b1f5782984 Precent unecessary client app builder store updates to improve performance 2021-11-16 13:35:20 +00:00
Andrew Kingston 5021f3df47 Ensure button is focused when starting to edit text 2021-11-16 13:22:31 +00:00
Andrew Kingston ce75b8c9a7 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 f14e6d8e22 Remove unused client event for iframe-loaded 2021-11-16 13:15:31 +00:00
Andrew Kingston 4e4e07d1f2 Fix race condition crash on initial builder data page load 2021-11-16 13:12:05 +00:00
Peter Clement f3cddaaf08 refactor wizard into its own file 2021-11-16 12:18:13 +00:00
Budibase Staging Release Bot 9650cee4d4 v0.9.185-alpha.4 2021-11-16 11:48:38 +00:00
Andrew Kingston 96fdcb6d93 Remove focus style on contenteditable components in chrome 2021-11-16 11:47:03 +00:00
Andrew Kingston 07e455257c Prevent dragging of a component while being edited 2021-11-16 11:46:46 +00:00
Andrew Kingston 0bac3765b3 Remove deprecated keydown event being sent by client library 2021-11-16 11:45:28 +00:00
Michael Drury 1bfe8527e6 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 2adbaea026 Merge develop into editable text lab day 2021-11-16 11:14:46 +00:00
Budibase Staging Release Bot 3d2447db34 v0.9.185-alpha.3 2021-11-16 11:12:03 +00:00
Andrew Kingston 4c84f713b9 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 bb02491f41 Reset app name in deletion confirmation modal when closing modal 2021-11-16 10:52:43 +00:00
mike12345567 289c1325f8 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 5470b77fb3 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 7a1b22ef5f Rename data block to repeater block 2021-11-15 18:07:51 +00:00
Andrew Kingston cc4702909c Remove unused prop 2021-11-15 18:02:24 +00:00
Budibase Staging Release Bot 3ffa27969d v0.9.185-alpha.2 2021-11-15 17:47:27 +00:00
mike12345567 f13257bebe 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 e48fc8de3d v0.9.187 2021-11-15 17:04:12 +00:00
mike12345567 0f54787072 Adding role, as it wasn't being set in metadata. 2021-11-15 16:46:56 +00:00
mike12345567 ce47eb6cff Fixing issue found by Mitch, with syncing not functioning for singular role updates. 2021-11-15 16:42:17 +00:00
mike12345567 9b8df32c52 Fixing issue where database wasn't accessible in authorized test. 2021-11-15 15:57:02 +00:00
mike12345567 bf4a8737f0 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 3a8e08d3cc v0.9.185-alpha.1 2021-11-15 14:43:16 +00:00
mike12345567 d137cb46e8 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 68ea45b854 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 e918efe8c2 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 f47112e7de Be even more explicit about expecting an array data type for data provider rows 2021-11-15 12:26:13 +00:00
Andrew Kingston a721619a06 Update literal helper to return an empty string rather than the string 'undefined' when the value is undefined 2021-11-15 12:25:30 +00:00
Andrew Kingston 3470b1ea1b Update data sources to correctly include block context suffixes in provider IDs 2021-11-15 12:25:01 +00:00
Peter Clement 3b74481708 fix accidentally changed cypress port 2021-11-15 11:19:09 +00:00
Peter Clement a6d8c791e1 fix cypress tests 2021-11-15 11:04:22 +00:00
Peter Clement fba0975c54 Add deletion modal and hover on delete icon 2021-11-15 11:03:09 +00:00
Michael Drury 0ac5c4713a Fixing test case (didn't provide a schema). 2021-11-12 20:23:00 +00:00
mike12345567 1d7fe369c6 Linting and updating csv parser test case to match new functionality. 2021-11-12 19:39:12 +00:00
mike12345567 d9d5391a40 Some UI work, as well as moving SQL to using a proper bulk insert method and fixing an issue found with csv parsing and removing of invalid columns. 2021-11-12 19:24:56 +00:00
mike12345567 0095f470e3 Adding in existing external table import. 2021-11-12 18:39:33 +00:00
mike12345567 af5e196b4c Adding all required controls for data import to internal tables, just need to implement external table data import. 2021-11-12 18:26:57 +00:00
Andrew Kingston c922f4a7b9 Replace manual usage of square brackets with string-templates makePropSafe util 2021-11-12 15:28:08 +00:00