Commit Graph

25032 Commits

Author SHA1 Message Date
Rory Powell 34ee521961
Logging type updates to fix account portal build (#9317) 2023-01-12 08:37:41 +00:00
Budibase Staging Release Bot 6229390451 Update pro version to 2.2.12-alpha.12 2023-01-11 20:54:14 +00:00
Budibase Staging Release Bot a27941213b v2.2.12-alpha.12 2023-01-11 20:50:39 +00:00
Rory Powell 6b2b46cc4a
Correlation id's and log context (#7232)
* Correlation id's and log context

* fix build

* Remove redundant fields from LoggingProcessor.ts

* Only log correlation id when present e.g. this is not present on startup / shutdown / automations
2023-01-11 20:39:33 +00:00
Budibase Staging Release Bot ca4463938e Update pro version to 2.2.12-alpha.11 2023-01-11 18:31:44 +00:00
Budibase Staging Release Bot d370d2a28c v2.2.12-alpha.11 2023-01-11 18:28:14 +00:00
mike12345567 b6a750a678 Fixing minor Typescript issue, some old requires. 2023-01-11 18:16:30 +00:00
Budibase Staging Release Bot bbd1967a87 Update pro version to 2.2.12-alpha.10 2023-01-11 15:52:41 +00:00
Budibase Staging Release Bot 6a925d5ad0 v2.2.12-alpha.10 2023-01-11 15:48:59 +00:00
melohagan 099e57a50e
Default source to Github (#9312) 2023-01-11 15:35:33 +00:00
Budibase Staging Release Bot 2579505c4f v2.2.12-alpha.9 2023-01-11 15:32:46 +00:00
Budibase Staging Release Bot e4c91545af Update pro version to 2.2.12-alpha.8 2023-01-11 12:33:54 +00:00
Budibase Staging Release Bot 93d815a2af v2.2.12-alpha.8 2023-01-11 12:30:22 +00:00
Mitch-Budibase 85b7f43d74 Increasing timeout after page reload
This applies to the following test:

'should run an invalid query within the transformer section'
2023-01-11 11:37:59 +00:00
Mitch-Budibase 27378fc871 Update QueryLevelTransformers Tests
There was an issue with forward slashes. Resolved and now passing again
2023-01-11 11:11:36 +00:00
Budibase Staging Release Bot 7a67c557cd Update pro version to 2.2.12-alpha.7 2023-01-11 10:39:04 +00:00
Budibase Staging Release Bot 8c7bf5732e v2.2.12-alpha.7 2023-01-11 10:35:25 +00:00
Rory Powell 13bfd5d8ff
Prefer app url resolution over referer (#9218)
* Prefer app url resolution over referer

* Update lockfiles
2023-01-11 10:24:57 +00:00
Budibase Staging Release Bot 7494aa7208 Update pro version to 2.2.12-alpha.6 2023-01-11 09:56:40 +00:00
Budibase Staging Release Bot 7c4bdc242d v2.2.12-alpha.6 2023-01-11 09:52:19 +00:00
Rory Powell 0b2a445a9a
Replace ts-jest with swc/jest (#9289)
- Add swc dependencies
- Add transform change to jest.config.ts
- Replace `export =` with `export default` in src code to enable code coverage to work with swc transformer
- Restructure backend-core errors package to allow for exporting error classes with ESM syntax
- Update backend-core to no longer use `export =`, export individual packages instead of replacing with `export default` for backwards compatibility
- Update event publishers to use `export default` - this was required for the `jest.spyOn` usage inside backend-core common mocks
- Restructure some jest.mock usages where declaring the jest.fn as a variable outside of the package mock threw an error
2023-01-11 09:37:37 +00:00
Budibase Staging Release Bot 16a5111fa4 Update pro version to 2.2.12-alpha.5 2023-01-10 17:26:37 +00:00
Budibase Staging Release Bot 1641ca6eac v2.2.12-alpha.5 2023-01-10 17:23:06 +00:00
Mel O'Hagan f28d887ec4 Refactor 2023-01-10 17:00:18 +00:00
Mel O'Hagan 7639c70dcb Refactor 2023-01-10 16:57:49 +00:00
Mel O'Hagan 76dd9872cf Merge branch 'develop' into bug/sev5/make-query-name-safe 2023-01-10 16:55:57 +00:00
melohagan 654b1d4ddb
Merge pull request #8911 from Budibase/bug/sev2/custom-sql-query-bindings
Update custom sql query in design when changed in the data section
2023-01-10 16:51:27 +00:00
Budibase Staging Release Bot 84d5caee27 Update pro version to 2.2.12-alpha.4 2023-01-10 15:00:11 +00:00
Budibase Staging Release Bot 90b3aaddb3 v2.2.12-alpha.4 2023-01-10 14:55:56 +00:00
Michael Drury 66f9154a5d
Merge pull request #9280 from Budibase/dependabot/npm_and_yarn/packages/server/luxon-3.2.1
Bump luxon from 3.0.1 to 3.2.1 in /packages/server
2023-01-10 14:27:57 +00:00
Michael Drury fc79392d52
Merge pull request #9281 from Budibase/dependabot/npm_and_yarn/packages/backend-core/luxon-3.2.1
Bump luxon from 3.0.4 to 3.2.1 in /packages/backend-core
2023-01-10 14:27:47 +00:00
dependabot[bot] 33d0ef932c
Bump luxon from 3.0.1 to 3.2.1 in /packages/server
Bumps [luxon](https://github.com/moment/luxon) from 3.0.1 to 3.2.1.
- [Release notes](https://github.com/moment/luxon/releases)
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moment/luxon/compare/3.0.1...3.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-10 11:19:36 +00:00
Budibase Staging Release Bot 2746cc682d Update pro version to 2.2.12-alpha.3 2023-01-10 11:17:26 +00:00
Budibase Staging Release Bot 55f2a50064 v2.2.12-alpha.3 2023-01-10 11:13:56 +00:00
dependabot[bot] fe6422bee6
Bump luxon from 3.0.4 to 3.2.1 in /packages/backend-core
Bumps [luxon](https://github.com/moment/luxon) from 3.0.4 to 3.2.1.
- [Release notes](https://github.com/moment/luxon/releases)
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moment/luxon/compare/3.0.4...3.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 14:37:39 +00:00
Budibase Staging Release Bot 8fd638da0c Update pro version to 2.2.12-alpha.2 2023-01-09 12:41:18 +00:00
Budibase Staging Release Bot f33fe0fc19 v2.2.12-alpha.2 2023-01-09 12:37:51 +00:00
Budibase Staging Release Bot 00fa98c510 Update pro version to 2.2.12-alpha.1 2023-01-09 08:37:58 +00:00
Budibase Staging Release Bot 7a8f43eb5e v2.2.12-alpha.1 2023-01-09 08:34:25 +00:00
Budibase Staging Release Bot e6c14a259b v2.2.12-alpha.0 2023-01-06 17:47:30 +00:00
mike12345567 894c128358 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-01-06 17:29:35 +00:00
Budibase Release Bot d92f6d2892 Update pro version to 2.2.11 2023-01-06 17:16:57 +00:00
Budibase Release Bot 0862c980b8 v2.2.11 2023-01-06 17:13:14 +00:00
Budibase Staging Release Bot 5646bc1634 Update pro version to 2.2.11-alpha.2 2023-01-06 17:10:16 +00:00
Budibase Staging Release Bot 5481dfb7a2 v2.2.11-alpha.2 2023-01-06 17:06:40 +00:00
mike12345567 aca98f7c6d Adding test cases for the attachment re-write feature, mocking the direct couch find functionality. 2023-01-06 13:33:22 +00:00
mike12345567 6595e1c122 Moving some stuff around to make more testable. 2023-01-06 12:47:12 +00:00
Budibase Staging Release Bot 81b73f0532 Update pro version to 2.2.11-alpha.1 2023-01-06 11:14:05 +00:00
Budibase Staging Release Bot a567ba6087 v2.2.11-alpha.1 2023-01-06 11:10:41 +00:00
Mitch-Budibase dd0c73610d Skip remaining appPublishWorkflow tests
No longer needed - We get coverage via QA Wolf
2023-01-06 10:39:49 +00:00
mike12345567 7084989896 Fix for #9249 - there was an issue with the updating of attachment URLs when importing an app/backup, this resolves it by utilising pagination in the CouchDB find API, making sure to iterate through all documents when there is a larger number. 2023-01-05 18:03:36 +00:00
Budibase Staging Release Bot 33e9c99755 Update pro version to 2.2.11-alpha.0 2023-01-05 17:38:59 +00:00
Budibase Staging Release Bot bbea278ad6 v2.2.11-alpha.0 2023-01-05 17:35:15 +00:00
Mitch-Budibase 826acca51d
Merge pull request #9247 from Budibase/cypress-updates
Removing Cypress Tests - No Longer Required
2023-01-05 17:12:16 +00:00
mike12345567 72fb4160ac Merge branch 'develop' of github.com:Budibase/budibase into develop 2023-01-05 17:09:02 +00:00
mike12345567 3b7760b53a Merge branch 'master' of github.com:Budibase/budibase into develop 2023-01-05 17:04:24 +00:00
Mitch-Budibase 7de4fb1160 Merge branch 'develop' into cypress-updates 2023-01-05 16:56:01 +00:00
Mitch-Budibase bdf3c7328a Removing Cypress Tests - No Loner Required
The following files now have tests skipped:

- accountPortal (Completely skipped)
- appPublishWorkflow (Some tests skipped)
- createView (Completely Skipped)
2023-01-05 16:55:26 +00:00
Budibase Release Bot 699769e5c0 Update pro version to 2.2.10 2023-01-05 16:33:11 +00:00
Budibase Staging Release Bot 9b2a62f992 Update pro version to 2.2.10-alpha.16 2023-01-05 16:30:32 +00:00
Budibase Release Bot c49b081829 v2.2.10 2023-01-05 16:29:16 +00:00
Budibase Staging Release Bot 7d2e9f0516 v2.2.10-alpha.16 2023-01-05 16:27:05 +00:00
Michael Drury 29af2c38c5
Merge pull request #9245 from Budibase/fix/dependabot-05012023
Merging all dependabot updates
2023-01-05 16:14:22 +00:00
Budibase Staging Release Bot 23e4b02a0a v2.2.10-alpha.15 2023-01-05 16:09:47 +00:00
mike12345567 9e1b5cd970 Merge branch 'dependabot/npm_and_yarn/packages/types/json5-2.2.3' of github.com:Budibase/budibase into fix/dependabot-05012023 2023-01-05 15:54:29 +00:00
mike12345567 01287437e6 Merge branch 'dependabot/npm_and_yarn/packages/backend-core/json5-2.2.3' of github.com:Budibase/budibase into fix/dependabot-05012023 2023-01-05 15:54:13 +00:00
mike12345567 8439277f95 Merge branch 'dependabot/npm_and_yarn/packages/string-templates/json5-2.2.3' of github.com:Budibase/budibase into fix/dependabot-05012023 2023-01-05 15:53:58 +00:00
mike12345567 cdbd494045 Merge branch 'dependabot/npm_and_yarn/packages/bbui/json5-1.0.2' of github.com:Budibase/budibase into fix/dependabot-05012023 2023-01-05 15:53:41 +00:00
mike12345567 26a04550c2 Merge branch 'dependabot/npm_and_yarn/packages/worker/json5-2.2.3' of github.com:Budibase/budibase into fix/dependabot-05012023 2023-01-05 15:53:26 +00:00
mike12345567 c8c0595c0a Merge branch 'dependabot/npm_and_yarn/packages/server/json5-2.2.3' of github.com:Budibase/budibase into fix/dependabot-05012023 2023-01-05 15:53:11 +00:00
mike12345567 608ebb0a06 Merge branch 'dependabot/npm_and_yarn/packages/client/json5-1.0.2' of github.com:Budibase/budibase into fix/dependabot-05012023 2023-01-05 15:52:48 +00:00
mike12345567 f9852b4623 Merge branch 'dependabot/npm_and_yarn/packages/builder/json5-2.2.3' of github.com:Budibase/budibase into fix/dependabot-05012023 2023-01-05 15:52:38 +00:00
Peter Clement 262aef7cf4 Merge remote-tracking branch 'origin/develop' into fix/looping-issue 2023-01-05 15:20:05 +00:00
Peter Clement 38ccf20357 assign wasLoopStep correctly 2023-01-05 12:16:45 +00:00
Peter Clement 7083b00f97 fix for looping issue wher output was incorrect 2023-01-05 10:52:50 +00:00
Budibase Staging Release Bot 64c7dd1ee2 v2.2.10-alpha.14 2023-01-05 10:05:47 +00:00
dependabot[bot] 65c7b2f5e7
Bump json5 from 2.2.1 to 2.2.3 in /packages/server
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-05 09:12:33 +00:00
dependabot[bot] f4e3c4b43f
Bump json5 from 2.2.1 to 2.2.3 in /packages/worker
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-05 09:12:23 +00:00
Budibase Staging Release Bot 683ef74356 Update pro version to 2.2.10-alpha.13 2023-01-05 09:10:01 +00:00
dependabot[bot] acec6305c9
Bump json5 from 2.2.0 to 2.2.3 in /packages/builder
Bumps [json5](https://github.com/json5/json5) from 2.2.0 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.0...v2.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-05 09:08:48 +00:00
dependabot[bot] 238658e4a0
Bump json5 from 1.0.1 to 1.0.2 in /packages/client
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-05 09:08:47 +00:00
dependabot[bot] 9efa64b0e4
Bump json5 from 2.2.0 to 2.2.3 in /packages/string-templates
Bumps [json5](https://github.com/json5/json5) from 2.2.0 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.0...v2.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-05 09:08:16 +00:00
dependabot[bot] 92ffdb04f3
Bump json5 from 1.0.1 to 1.0.2 in /packages/bbui
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-05 09:08:16 +00:00
dependabot[bot] 961eb3b68d
Bump json5 from 2.2.1 to 2.2.3 in /packages/backend-core
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-05 09:08:11 +00:00
dependabot[bot] d628def6e3
Bump json5 from 2.2.1 to 2.2.3 in /packages/types
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-05 09:08:10 +00:00
Budibase Staging Release Bot 5f90107ac5 v2.2.10-alpha.13 2023-01-05 09:06:35 +00:00
Hong Phuc Nguyen af3d736ea3
Doing sanitizeKey when doing deleteFile(s) (#9209)
* Doing sanitizeKey when doing deleteFile(s)

Doing sanitizeKey when doing deleteFile(s). 
In case of backup file name in backups bucket backup-2023-01-03T185512.686Z.tar.gz but in global-db store backup filename is backup-2023-01-03T18:55:12.686Z.tar.gz
sanitizeKey on deleteFile(s) method will prevent all other case related to this bug

* use .promise() instead callback for workaround aws-sdk bug
2023-01-05 08:54:10 +00:00
Mel O'Hagan 01f4820514 Cast bit buffer as boolean 2023-01-04 15:18:53 +00:00
Martin McKeaveney b7e4047016
Updating the client overlay to use the right method when event type is unknown (#9192) 2023-01-03 13:40:37 +00:00
Budibase Staging Release Bot d3a919cf33 Update pro version to 2.2.10-alpha.12 2022-12-23 15:46:07 +00:00
Budibase Staging Release Bot 6cab38e82f v2.2.10-alpha.12 2022-12-23 15:42:40 +00:00
dependabot[bot] ad5a996906
Bump jsonwebtoken from 8.5.1 to 9.0.0 in /packages/backend-core
Bumps [jsonwebtoken](https://github.com/auth0/node-jsonwebtoken) from 8.5.1 to 9.0.0.
- [Release notes](https://github.com/auth0/node-jsonwebtoken/releases)
- [Changelog](https://github.com/auth0/node-jsonwebtoken/blob/master/CHANGELOG.md)
- [Commits](https://github.com/auth0/node-jsonwebtoken/compare/v8.5.1...v9.0.0)

---
updated-dependencies:
- dependency-name: jsonwebtoken
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-22 16:37:01 +00:00
Budibase Staging Release Bot 611731e4bb Update pro version to 2.2.10-alpha.11 2022-12-22 16:27:58 +00:00
Budibase Staging Release Bot f1f83061a4 v2.2.10-alpha.11 2022-12-22 16:24:22 +00:00
Mitch-Budibase 5f42481fe4 Increasing timeouts for commands
Increased timeout values within the following commands:
- applicationInAppTable
- createTable

These will assist with the createApp tests that failed due to timing issues on the CI run
2022-12-22 15:09:32 +00:00
Mitch-Budibase 990d1ec3b0 Cypress: Create Views test update
Updating a couple of tests within createView
- Timing issues
- Ensuring we get the correct element for testing

Also updated QueryLevelTransformers test
- Timing issue
- I've extended the timeout value for when checking the nav item content (passes locally but timed out on the CI run)
2022-12-22 14:32:39 +00:00
Budibase Staging Release Bot 0bb92eb789 Update pro version to 2.2.10-alpha.10 2022-12-22 13:29:47 +00:00
Budibase Staging Release Bot ca2a0afa7e v2.2.10-alpha.10 2022-12-22 13:25:47 +00:00
Andrew Kingston 911f37572a
Ensure view names are properly encoded to handle certain special characters (#9145) 2022-12-22 13:09:07 +00:00
Budibase Staging Release Bot f59de7841d Update pro version to 2.2.10-alpha.9 2022-12-21 14:39:20 +00:00