Commit Graph

24446 Commits

Author SHA1 Message Date
Dean ebded7c0b1 Merge remote-tracking branch 'origin/develop' into feature/auto-select-dataprovider-source 2022-11-17 15:36:20 +00:00
mike12345567 fcb6f985a6 Updating some enums, plural to single. 2022-11-17 14:59:18 +00:00
mike12345567 6e659f873c Fixing permission types. 2022-11-17 14:47:52 +00:00
Dean 2a990189f0 Ensure the navigation does not show the settings bar 2022-11-17 14:40:16 +00:00
mike12345567 1d7e9d2b62 Minor adjustment to interface type. 2022-11-17 14:38:02 +00:00
mike12345567 c4f041e511 Updating PouchLike to be an interface in types, with its impl stored in backend-core, now called Database. 2022-11-17 14:35:03 +00:00
Dean 312bc96770 Don't show delete or duplicate actions in the component settings bar 2022-11-17 14:10:55 +00:00
mike12345567 4c44b7a224 PR comments - still experiencing build issues. 2022-11-17 13:31:54 +00:00
Dean 2a7b90e46f Component settings bar now on by default. Manifest config cleared of showSettingsBar properties 2022-11-17 11:08:23 +00:00
Budibase Release Bot eaa6114d85 Update pro version to 2.1.29 2022-11-17 10:43:38 +00:00
Budibase Release Bot 997343feb2 v2.1.29 2022-11-17 10:40:06 +00:00
Andrew Kingston abaa83d4ad
Merge pull request #8608 from Budibase/fix/form-block
Fix form block issues
2022-11-17 10:28:33 +00:00
mike12345567 242a529b2e Fixes post merge. 2022-11-16 18:28:45 +00:00
Budibase Release Bot 4ef348a02e Update pro version to 2.1.28 2022-11-16 18:23:35 +00:00
Budibase Release Bot c659741a2f v2.1.28 2022-11-16 18:19:48 +00:00
mike12345567 0357d1c8e4 Some worker typescript conversions. 2022-11-16 18:13:34 +00:00
mike12345567 bf86640e9d Merge branch 'develop' of github.com:Budibase/budibase into feature/replace-pouch 2022-11-16 18:12:31 +00:00
mike12345567 4f64798ada Updating middlewares to Typescript, as well as some fixes based on running tests. 2022-11-16 17:24:13 +00:00
mike12345567 b0f6224c18 Some major reworks towards higher levels of typescript. 2022-11-16 17:23:12 +00:00
Dean b616378519 Ensure 'table' type sources are updated with a default datasource. Search visible settings sections for other elements IF a source is not already set. 2022-11-16 15:03:45 +00:00
Budibase Staging Release Bot f81c20811a Update pro version to 2.1.22-alpha.6 2022-11-16 13:37:23 +00:00
Budibase Staging Release Bot 395a9a21c2 v2.1.22-alpha.6 2022-11-16 13:33:51 +00:00
Rory Powell 78087eb2b3
Merge pull request #8623 from Budibase/subdomain-tenancy
Update tenancy detection to honour any subdomain pattern according to platform url
2022-11-16 13:20:20 +00:00
Rory Powell dc70022708 Test fixes 2022-11-16 13:06:30 +00:00
dependabot[bot] 29a402d72b
Bump loader-utils from 1.4.1 to 1.4.2 in /packages/bbui
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-16 12:15:18 +00:00
Budibase Staging Release Bot ec178a95d1 Update pro version to 2.1.22-alpha.5 2022-11-16 12:08:51 +00:00
Budibase Staging Release Bot 0367d466c3 v2.1.22-alpha.5 2022-11-16 12:04:59 +00:00
Dean 0df1779af1 Merge remote-tracking branch 'origin/develop' into feature/default-internal-datasource 2022-11-16 11:58:17 +00:00
Dean 982f070676 Merge remote-tracking branch 'origin/develop' into feature/auto-select-dataprovider-source 2022-11-16 11:57:20 +00:00
Rory Powell 6017f6be47 Add copy button to sso callback urls, e2e unit testing for OIDC, stub out other auth tests 2022-11-16 11:34:16 +00:00
Mitch-Budibase 32a12eff00 Skip revertApp Cypress Spec File
We have API Automation coverage for reverting applications
2022-11-16 11:33:30 +00:00
Mitch-Budibase 0a5839a82b Skipping createApp Tests & createAutomation Test Fix
Skipping createApp tests covered via API Automation.
Also updated the createAutomation test to fix an issue with the nightly build
2022-11-16 11:29:59 +00:00
mike12345567 cca1b59c76 Final server test fixes, after all updates to context/removal of context faking. 2022-11-15 19:04:39 +00:00
mike12345567 8b2cfd9dfa Converting further DB layers to TS - fixing mocks. 2022-11-15 18:33:24 +00:00
Mitch-Budibase 5692fca1e5 Skipping Screen Tests
There are 4 tests in this file
- Skipped create and delete screen tests (covered by API)
- Update URL test remains (will eventually be covered via E2E with QA Wolf)
- Create and filter screens by access level test remains (This is due for API coverage within another ticket)
2022-11-15 17:59:31 +00:00
mike12345567 3faac89c7a Some updates for currentapp.spec.js test case. 2022-11-15 17:35:17 +00:00
Dean 433a5d5f54 Merge remote-tracking branch 'origin/develop' into feature/auto-select-dataprovider-source 2022-11-15 17:13:41 +00:00
Dean eb57c6604d Merge remote-tracking branch 'origin/develop' into feature/default-internal-datasource 2022-11-15 17:11:19 +00:00
Dean f082e4596c Review updates 2022-11-15 17:03:35 +00:00
Mel O'Hagan a632f942e8 Allow underscores in column names 2022-11-15 16:57:18 +00:00
Budibase Staging Release Bot faab0a8405 Update pro version to 2.1.22-alpha.4 2022-11-15 16:52:47 +00:00
Budibase Staging Release Bot 061f060aeb v2.1.22-alpha.4 2022-11-15 16:49:11 +00:00
mike12345567 806c7dd1af Merge branch 'develop' of github.com:Budibase/budibase into feature/replace-pouch 2022-11-15 16:45:25 +00:00
Mitch-Budibase 590f2f36ca
Merge pull request #8692 from Budibase/cypress-automations-update
Updating createAutomation.spec.js
2022-11-15 16:35:29 +00:00
Mitch-Budibase 1246d25f0f Updating createAutomation.spec.js
The + symbol button for creating an automation has been removed. It has been replaced with a button which says 'Add automation'

I have updated the create automation test to now click on this button when creating a new automation. This test was failing due to the other button no longer existing
2022-11-15 16:20:40 +00:00
Rory Powell ad81adb30f Merge branch 'develop' into subdomain-tenancy 2022-11-15 16:18:59 +00:00
Rory Powell c16f731058
Merge pull request #8684 from Budibase/test-updates
Fail pro scripts on error, unify TS versions, update test and coverage configs, use pro source mappings
2022-11-15 16:09:20 +00:00
Rory Powell d205b5136b ensure fetch and aws are always mocked 2022-11-15 15:50:15 +00:00
Budibase Release Bot 7846f4cc38 Update pro version to 2.1.27 2022-11-15 15:33:11 +00:00
Budibase Release Bot dd901cb835 v2.1.27 2022-11-15 15:28:49 +00:00
mike12345567 8cd36e25a8 Updating pkg version from 5.7.0 -> 5.8.0. 2022-11-15 15:06:30 +00:00
Dean c41a0f8d78 Default datasource behaviour with order of preference: DefaultDB, Internal then External 2022-11-15 14:29:58 +00:00
Rory Powell e4810dff1e Update waitForCompletion and pouch / backup type 2022-11-15 14:28:02 +00:00
Budibase Staging Release Bot 53c1f63965 Update pro version to 2.1.22-alpha.3 2022-11-15 13:22:40 +00:00
Budibase Staging Release Bot 7c77ec1536 v2.1.22-alpha.3 2022-11-15 13:19:15 +00:00
Andrew Kingston 3b0bc310b3 Lint 2022-11-15 13:04:09 +00:00
Andrew Kingston 7b80dabfe2 Disregard block components from ejection which are unmounted during parent blocks lifecycles 2022-11-15 12:58:52 +00:00
Andrew Kingston e9c6aa2593 Ensure action parameters can never be null and fix display of close screen modal action 2022-11-15 12:52:06 +00:00
Andrew Kingston 17ebbc6c53 Merge branch 'master' of github.com:Budibase/budibase into fix/form-block 2022-11-15 12:45:24 +00:00
Pedro Silva 18b4d024dd Fix Failing tests 2022-11-15 12:38:48 +00:00
Dean 847245f275 Fix to ensure an appropriate internal source is selected when creating an internal table 2022-11-15 12:18:04 +00:00
Rory Powell 2212305f08 Bump jest and ts-jest to be consistent across backend packages to fix CI issue, test config updates 2022-11-14 22:55:47 +00:00
mike12345567 1af47003c5 Updating test cases - trying to get everything in order for merge. 2022-11-14 20:25:05 +00:00
mike12345567 380ee221b1 Updating context test, some minor adjustments based on getting the test working again. 2022-11-14 18:29:15 +00:00
mike12345567 c6d31a856a Replacing CLS with local-storage, simplified usage which should remove the memory leak permenantly. 2022-11-14 18:00:20 +00:00
deanhannigan d357b0135a
Merge pull request #8670 from Budibase/fix/attachment-row-delete
Fix for attachment cleanup on internal table delete.
2022-11-14 15:01:22 +00:00
Budibase Release Bot 1ca2d0f312 Update pro version to 2.1.26 2022-11-14 14:36:05 +00:00
Budibase Release Bot c61155e61e v2.1.26 2022-11-14 14:32:46 +00:00
Budibase Staging Release Bot 30e5550325 Update pro version to 2.1.22-alpha.2 2022-11-14 13:53:33 +00:00
Budibase Staging Release Bot ead55d1aed v2.1.22-alpha.2 2022-11-14 13:49:57 +00:00
Martin McKeaveney 0dba0f6b4b
Merge pull request #8549 from Budibase/feature/martin-small-ux-updates
bunch of small UX updates around row creation, borders, new buttons
2022-11-14 13:38:08 +00:00
Rory Powell fd913a5e76 Fail pro scripts on error, unify TS versions, update test and coverage configs, use pro source mappings 2022-11-14 13:29:46 +00:00
Budibase Staging Release Bot 11f796a17f Update pro version to 2.1.22-alpha.1 2022-11-14 12:09:46 +00:00
Budibase Staging Release Bot 1e415f89bd v2.1.22-alpha.1 2022-11-14 12:06:21 +00:00
Gerard Burns a33d4cae52
Add Row Explorer Block (#8454)
* Add Row Explorer Block and Row Details Component

* PR Feedback

* adding showSaveButton prop to formblock in row explorer

* PR Feedback

* PR Feedback

* Change row explorer name in manifest

Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
2022-11-14 11:54:44 +00:00
Andrew Kingston 7506b6384a Fix date time field inconsistency with showing time 2022-11-14 09:33:01 +00:00
Andrew Kingston dcc98e69f8 Adjust styles so placeholder component is left aligned 2022-11-14 09:25:45 +00:00
Dean 355419a722 Fixed imports 2022-11-13 22:34:01 +00:00
Dean 00545ee884 Default Datasource and sample row data 2022-11-13 21:37:50 +00:00
Dean 9974f78d5b Added multiselect/array options support to the view contains filter 2022-11-13 18:16:04 +00:00
Dean 15a96fb496 Fix for attachment cleanup on internal row delete. 2022-11-13 18:08:48 +00:00
Rory Powell 80b823f6cf Test fixes 2022-11-11 15:43:41 +00:00
Budibase Release Bot 1ecc6a42b4 Update pro version to 2.1.25 2022-11-11 12:54:20 +00:00
Budibase Release Bot 664bfae982 v2.1.25 2022-11-11 12:51:08 +00:00
mike12345567 a15a265bda Re-jigging things a bit, hiding as much of the couch/pouch stuff away. 2022-11-11 12:46:32 +00:00
mike12345567 3035c3a3a1 Typescript conversions - trying to get all of context/db layer into TS. 2022-11-11 11:57:50 +00:00
Rory Powell fbbc5f01b8 Fix logout race condition 2022-11-11 11:26:36 +00:00
Rory Powell 0bad2dd9ae Support path variable tenancy detection, add /api/system/* tests, update no tenancy matchers to be more accurate 2022-11-11 11:10:07 +00:00
mike12345567 fd624e097a Typescript conversions, as well as updating context to just use an object map. 2022-11-10 17:38:26 +00:00
mike12345567 c356e0d152 Re-building the context module to use a single object, meaning we can create new context frames and copy over whatever exists, then update. 2022-11-10 16:38:32 +00:00
Budibase Release Bot 5b8c49cf3a Update pro version to 2.1.24 2022-11-10 15:56:42 +00:00
Budibase Release Bot 97484b62e2 v2.1.24 2022-11-10 15:53:01 +00:00
melohagan 8bb7230655
Merge pull request #8635 from Budibase/bug/sev3/app-import-automations
App import automations - null pointer fix
2022-11-10 15:35:24 +00:00
melohagan b13723b1a3
Merge pull request #8593 from Budibase/bug/sev2/mongodb-aggregate-readable
MongoDB aggregate readable
2022-11-10 15:27:08 +00:00
Mel O'Hagan 531e30fa3d Null pointer fix 2022-11-10 15:22:05 +00:00
Mel O'Hagan 1532395033 Add readable flag to datasource validation 2022-11-10 14:23:22 +00:00
Budibase Release Bot 92fed8030c Update pro version to 2.1.23 2022-11-10 11:02:04 +00:00
Budibase Release Bot 19979ddf5d v2.1.23 2022-11-10 10:58:45 +00:00
melohagan 0f5c8a2961
Merge pull request #8597 from Budibase/bug/sev3/special-character-sorting
Prevent special characters being used in new internal DB column
2022-11-10 10:47:42 +00:00
mike12345567 1ee6761a69 Some minor updates based on getting the worker using the new pouchlike impl. 2022-11-09 17:53:35 +00:00
mike12345567 bbc8965d55 Major update - removing the use of context for PouchDB instances, swapping knowledge of PouchDB to the PouchLike structure that replaces it. 2022-11-09 16:53:42 +00:00
Rory Powell ada0eb79bc Update tenancy detection to honour any subdomain pattern according to platform url 2022-11-09 16:35:16 +00:00
mike12345567 fa78b8bc37 Merge branch 'develop' of github.com:Budibase/budibase into feature/replace-pouch 2022-11-09 14:44:01 +00:00
Budibase Release Bot 78d6365e77 Update pro version to 2.1.22 2022-11-09 14:31:12 +00:00
Budibase Release Bot bc54e8d11a v2.1.22 2022-11-09 14:27:49 +00:00
Budibase Staging Release Bot e63afd560a Update pro version to 2.1.22-alpha.0 2022-11-09 14:01:24 +00:00
Budibase Staging Release Bot 840413462c v2.1.22-alpha.0 2022-11-09 13:57:34 +00:00
Martin McKeaveney 04cc71624f patching sub dep for loader-utils to patch security vulnerability 2022-11-09 13:57:22 +00:00
mike12345567 e0cf213ad5 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-11-09 13:41:51 +00:00
Budibase Staging Release Bot 6a11134380 Update pro version to 2.1.19-alpha.1 2022-11-09 13:24:05 +00:00
Budibase Staging Release Bot bc666d26c6 v2.1.19-alpha.1 2022-11-09 13:20:20 +00:00
Michael Drury 480a8b5ce2
Merge pull request #8582 from Budibase/dependabot/npm_and_yarn/packages/server/loader-utils-2.0.3
Bump loader-utils from 2.0.2 to 2.0.3 in /packages/server
2022-11-09 12:54:26 +00:00
Michael Drury 61402ec135
Merge pull request #8583 from Budibase/dependabot/npm_and_yarn/packages/bbui/loader-utils-1.4.1
Bump loader-utils from 1.4.0 to 1.4.1 in /packages/bbui
2022-11-09 12:54:17 +00:00
Michael Drury a6478784f1
Merge pull request #8584 from Budibase/dependabot/npm_and_yarn/packages/client/loader-utils-1.4.1
Bump loader-utils from 1.4.0 to 1.4.1 in /packages/client
2022-11-09 12:54:08 +00:00
Andrew Kingston 349cbf2866 Refactor form block to use a different structure depending on type, and fix issue with bindings breaking and forms not appearing 2022-11-09 10:28:15 +00:00
Budibase Release Bot bb5f0944cc Update pro version to 2.1.21 2022-11-08 20:48:06 +00:00
Budibase Release Bot 723a2de735 v2.1.21 2022-11-08 20:44:21 +00:00
Michael Drury 2e0041a1d6
Merge pull request #8599 from Budibase/fix/8578
Fix for groups access
2022-11-08 20:30:39 +00:00
Michael Drury 53b5cd1e1c Removing timeout for export apps - #8589. 2022-11-08 20:12:32 +00:00
Michael Drury 0af56bed25 Exporting roles differently to fix issue raised by test. 2022-11-08 20:01:01 +00:00
Michael Drury 9cfdfc174b Quick fix to not expose the builder ID outside of the role impl. 2022-11-08 19:48:16 +00:00
mike12345567 4dceee33c5 Exporting some functions that were previously exported. 2022-11-08 18:35:21 +00:00
mike12345567 189fb90bb0 Typescript re-write of the roles layer, this is the backbone of a lot of our security features, and I believe the issue was generally to do with a lack of handling of null-ish inputs. 2022-11-08 18:25:37 +00:00
Budibase Release Bot 3ef02a6181 Update pro version to 2.1.20 2022-11-08 17:23:42 +00:00
Budibase Release Bot be9e2f8327 v2.1.20 2022-11-08 17:20:53 +00:00
Mel O'Hagan b3c8e4f77e Use whitelist instead 2022-11-08 17:16:35 +00:00
Mel O'Hagan c89c0f32c0 Missed colon 2022-11-08 17:07:25 +00:00
Mel O'Hagan 94f12ad3e7 Remove escaped characters 2022-11-08 17:03:13 +00:00
Mel O'Hagan 8beaa09328 Block lucene special characters from new column 2022-11-08 17:02:31 +00:00
mike12345567 b89588af51 Getting basic pouch replacement working. 2022-11-08 16:32:13 +00:00
Mel O'Hagan f518cd8572 Added readable prop to aggregate function 2022-11-08 14:31:36 +00:00
mike12345567 3014558803 Merge branch 'develop' of github.com:Budibase/budibase into feature/replace-pouch 2022-11-08 13:03:51 +00:00
Budibase Release Bot 6a8edb8520 Update pro version to 2.1.19 2022-11-08 12:46:43 +00:00
Budibase Release Bot c3873a6508 v2.1.19 2022-11-08 12:42:41 +00:00
Michael Drury 9b1c883955
Merge pull request #8586 from Budibase/fix/x-amz-meta-invalid
Fixing x-amz-meta-fieldname invalid value issue
2022-11-08 12:27:58 +00:00
mike12345567 687aa1c6f3 Adding more type handling around the upload object store function. 2022-11-08 11:49:07 +00:00
mike12345567 862525cc0e Fixing an issue which was alerting, x-amz-meta-fieldname contains an invalid value, this error isn't really documented, but comes from if a metadata tag is sent up with nullish, or a non-string type. Fixing this in the core library, removing an invalid inputs. 2022-11-08 11:34:16 +00:00
dependabot[bot] 4c6152bd28
Bump loader-utils from 2.0.2 to 2.0.3 in /packages/server
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.3/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.2...v2.0.3)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 11:26:13 +00:00
Budibase Staging Release Bot fb7a0b996c Update pro version to 2.1.19-alpha.0 2022-11-08 11:22:11 +00:00
Budibase Staging Release Bot 8159f0503b v2.1.19-alpha.0 2022-11-08 11:17:54 +00:00
dependabot[bot] 9b95326d34
Bump loader-utils from 1.4.0 to 1.4.1 in /packages/client
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 11:09:38 +00:00
dependabot[bot] af9cf3a5ca
Bump loader-utils from 1.4.0 to 1.4.1 in /packages/bbui
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 11:09:02 +00:00
Rory Powell 9714df8316 Merge branch 'master' into develop 2022-11-08 10:28:05 +00:00
mike12345567 8210793953 First version of pouch-like system, a wrapper for Couch nano. 2022-11-07 18:27:39 +00:00
Budibase Staging Release Bot ca44f74b16 Update pro version to 2.1.14-alpha.3 2022-11-07 17:50:28 +00:00
Budibase Staging Release Bot 6869bfe593 v2.1.14-alpha.3 2022-11-07 17:46:24 +00:00
Mitch-Budibase 3559c19991 Cypress - Skipping 2 Test Files
The files are:

- addMultiOptionDatatype
- addRadioButtons

These tests are flakey from time to time and we no longer need them to be run consistently through Cypress. We will have E2E coverage via QAWolf and will also have some coverage via API Automation
2022-11-07 17:10:35 +00:00
Budibase Release Bot ff50b50cda Update pro version to 2.1.18 2022-11-07 15:48:53 +00:00
Budibase Release Bot 4f24bccda4 v2.1.18 2022-11-07 15:45:04 +00:00
Rory Powell 85dbf90e5d Configurable CDN 2022-11-07 15:27:03 +00:00