Commit Graph

15713 Commits

Author SHA1 Message Date
Adria Navarro 70168a20fa Prevent killing tests when stopping the server 2023-01-17 16:07:26 +00:00
Adria Navarro ffc322da88 Treat new tests are "no tests" 2023-01-17 16:05:02 +00:00
Adria Navarro 9fc8785900 Remove moduleNameMapper in jest 2023-01-17 15:49:56 +00:00
Adria Navarro 7c05b45408 Merge remote-tracking branch 'origin/develop' into test/9339-sqlpostgres-row-api-test-suite 2023-01-17 15:25:25 +00:00
Budibase Staging Release Bot acafdf52bf Update pro version to 2.2.12-alpha.21 2023-01-17 15:21:53 +00:00
Budibase Staging Release Bot 3dc1f80abf v2.2.12-alpha.21 2023-01-17 15:18:15 +00:00
Gerard Burns 48e1695318 JSON import changes (#9288)
* JSON import changes

* Fix lockfiles

* PR Feedback, fix tests

* fix tests

* pr feedback
2023-01-17 15:07:52 +00:00
Adria Navarro da8f7eff6c Delete apps on end 2023-01-17 10:28:51 +00:00
Adria Navarro eedc49de14 Type s3 responses 2023-01-17 10:27:45 +00:00
Adria Navarro 343a19250b Typing supertest parameters 2023-01-16 15:35:41 +00:00
Budibase Staging Release Bot c9d2743d1e Update pro version to 2.2.12-alpha.20 2023-01-16 11:44:26 +00:00
Budibase Staging Release Bot e08d4f1498 v2.2.12-alpha.20 2023-01-16 11:40:48 +00:00
Mitch-Budibase 7bb0246271 Skipping Screen Tests 2023-01-16 11:17:11 +00:00
Budibase Staging Release Bot 14d42b3824 Update pro version to 2.2.12-alpha.19 2023-01-16 11:03:36 +00:00
Budibase Staging Release Bot d8ec4dff94 v2.2.12-alpha.19 2023-01-16 10:59:43 +00:00
Adria Navarro 70a01c48f1 Merge pull request #9337 from Budibase/bug/#7220-removing-user-from-auth-does-not-remove-from-app
Bug - #7220 removing user from auth does not remove from app
2023-01-16 10:49:27 +00:00
Adria Navarro dc8e54cd84 Add test 2023-01-16 10:19:05 +00:00
Adria Navarro 946cc35ff7 Type request and body 2023-01-16 10:15:00 +00:00
Budibase Staging Release Bot 9196972b33 Update pro version to 2.2.12-alpha.18 2023-01-13 18:35:36 +00:00
Budibase Staging Release Bot 55c8405977 v2.2.12-alpha.18 2023-01-13 18:32:00 +00:00
Adria Navarro 0d1f7b4945 Allow same user to be updated multiple times 2023-01-13 17:59:50 +00:00
Adria Navarro 23266bd456 Send old user on delete 2023-01-13 14:54:26 +00:00
Adria Navarro 748b55c732 Fix undefineds 2023-01-13 14:48:01 +00:00
Adria Navarro ff10fa422b Unify endpoints 2023-01-13 14:45:04 +00:00
Adria Navarro c853d2c78e Rename and move type check 2023-01-13 13:36:35 +00:00
Adria Navarro 50565dc226 Fix copy on reponse message 2023-01-13 13:33:40 +00:00
Adria Navarro a5c145d9f6 Replace BBContext for Ctx 2023-01-13 13:31:48 +00:00
Budibase Staging Release Bot 2cb280ee72 Update pro version to 2.2.12-alpha.17 2023-01-13 11:36:37 +00:00
Budibase Staging Release Bot a3b6ac1fa4 v2.2.12-alpha.17 2023-01-13 11:33:13 +00:00
melohagan 5477cf420a Allow primary keys to be foreign key (#9331) 2023-01-13 11:22:59 +00:00
Adria Navarro 34cd26781b Delete instead of deactivating 2023-01-13 10:26:05 +00:00
Adria Navarro 09570e26f6 Remove user within the app on deletion 2023-01-12 16:28:02 +00:00
Adria Navarro 09b4533cc8 Add endpoint to deactivate user from app on delete 2023-01-12 16:26:46 +00:00
Adria Navarro 24f8f3a7cb Fix currentapp middleware to allow app_ parameters 2023-01-12 15:38:22 +00:00
Budibase Staging Release Bot e55f4d1981 Update pro version to 2.2.12-alpha.16 2023-01-12 13:12:03 +00:00
Budibase Staging Release Bot b8ccc9f0b4 v2.2.12-alpha.16 2023-01-12 13:07:46 +00:00
Budibase Staging Release Bot 0e6b5bdb96 Update pro version to 2.2.12-alpha.15 2023-01-12 11:21:51 +00:00
Budibase Staging Release Bot c26546562b v2.2.12-alpha.15 2023-01-12 11:18:17 +00:00
Budibase Staging Release Bot 5a659fc315 Update pro version to 2.2.12-alpha.14 2023-01-12 10:39:30 +00:00
Budibase Staging Release Bot d16ea35871 v2.2.12-alpha.14 2023-01-12 10:35:45 +00:00
Rory Powell f85ecd4810 Fix pino request id generation (#9324)
Remove the duplicated pino config in favour of the common config. Move request id generation into common configuration
2023-01-12 10:25:21 +00:00
Budibase Staging Release Bot 88564b0a7b Update pro version to 2.2.12-alpha.13 2023-01-12 08:52:22 +00:00
Budibase Staging Release Bot 7ce6c8e5f2 v2.2.12-alpha.13 2023-01-12 08:48:54 +00:00
Rory Powell 92ba282ee5 Logging type updates to fix account portal build (#9317) 2023-01-12 08:37:41 +00:00
Budibase Staging Release Bot e398baca3e Update pro version to 2.2.12-alpha.12 2023-01-11 20:54:14 +00:00
Budibase Staging Release Bot 006f4d1f26 v2.2.12-alpha.12 2023-01-11 20:50:39 +00:00
Rory Powell e5e767f18d 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 cce4e7daf9 Update pro version to 2.2.12-alpha.11 2023-01-11 18:31:44 +00:00
Budibase Staging Release Bot b55b39413f v2.2.12-alpha.11 2023-01-11 18:28:14 +00:00
mike12345567 c479a7da2f Fixing minor Typescript issue, some old requires. 2023-01-11 18:16:30 +00:00
Budibase Staging Release Bot 56f9ead3ca Update pro version to 2.2.12-alpha.10 2023-01-11 15:52:41 +00:00
Budibase Staging Release Bot f13569f4a8 v2.2.12-alpha.10 2023-01-11 15:48:59 +00:00
melohagan c6e2033cd4 Default source to Github (#9312) 2023-01-11 15:35:33 +00:00
Budibase Staging Release Bot 89cc5531a4 v2.2.12-alpha.9 2023-01-11 15:32:46 +00:00
Budibase Staging Release Bot d11d635904 Update pro version to 2.2.12-alpha.8 2023-01-11 12:33:54 +00:00
Budibase Staging Release Bot c8215530e3 v2.2.12-alpha.8 2023-01-11 12:30:22 +00:00
Mitch-Budibase 339cfe09a1 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 967d8ae5c8 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 4775a25570 Update pro version to 2.2.12-alpha.7 2023-01-11 10:39:04 +00:00
Budibase Staging Release Bot e92f365784 v2.2.12-alpha.7 2023-01-11 10:35:25 +00:00
Rory Powell e95222c0f4 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 cca09eaba1 Update pro version to 2.2.12-alpha.6 2023-01-11 09:56:40 +00:00
Budibase Staging Release Bot c9b717d8de v2.2.12-alpha.6 2023-01-11 09:52:19 +00:00
Rory Powell fba7ef26ad 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 908d8d9066 Update pro version to 2.2.12-alpha.5 2023-01-10 17:26:37 +00:00
Budibase Staging Release Bot 2e6837f4f2 v2.2.12-alpha.5 2023-01-10 17:23:06 +00:00
Mel O'Hagan 77ff0d36b7 Refactor 2023-01-10 17:00:18 +00:00
Mel O'Hagan dd4fbd075a Refactor 2023-01-10 16:57:49 +00:00
Mel O'Hagan 293efae980 Merge branch 'develop' into bug/sev5/make-query-name-safe 2023-01-10 16:55:57 +00:00
melohagan 88bda769a4 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 2471c2698f Update pro version to 2.2.12-alpha.4 2023-01-10 15:00:11 +00:00
Budibase Staging Release Bot f17610ce50 v2.2.12-alpha.4 2023-01-10 14:55:56 +00:00
Michael Drury 8f0c8f07a1 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 dff5bca464 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] c6e5a946f4 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 9c6ee67709 Update pro version to 2.2.12-alpha.3 2023-01-10 11:17:26 +00:00
Budibase Staging Release Bot daf1e8f6cc v2.2.12-alpha.3 2023-01-10 11:13:56 +00:00
dependabot[bot] 5de138ae67 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 d8f900fa62 Update pro version to 2.2.12-alpha.2 2023-01-09 12:41:18 +00:00
Budibase Staging Release Bot 332532c978 v2.2.12-alpha.2 2023-01-09 12:37:51 +00:00
Budibase Staging Release Bot 21a4a34ac1 Update pro version to 2.2.12-alpha.1 2023-01-09 08:37:58 +00:00
Budibase Staging Release Bot 3f4487180f v2.2.12-alpha.1 2023-01-09 08:34:25 +00:00
Budibase Staging Release Bot b17f655e38 v2.2.12-alpha.0 2023-01-06 17:47:30 +00:00
mike12345567 f4f730aae2 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-01-06 17:29:35 +00:00
Budibase Release Bot 6e34e717cc Update pro version to 2.2.11 2023-01-06 17:16:57 +00:00
Budibase Release Bot f73ab88122 v2.2.11 2023-01-06 17:13:14 +00:00
Budibase Staging Release Bot faf173bd7f Update pro version to 2.2.11-alpha.2 2023-01-06 17:10:16 +00:00
Budibase Staging Release Bot 10f57ab753 v2.2.11-alpha.2 2023-01-06 17:06:40 +00:00
mike12345567 76825c38b9 Adding test cases for the attachment re-write feature, mocking the direct couch find functionality. 2023-01-06 13:33:22 +00:00
mike12345567 cf90282303 Moving some stuff around to make more testable. 2023-01-06 12:47:12 +00:00
Budibase Staging Release Bot 1e046b9d7f Update pro version to 2.2.11-alpha.1 2023-01-06 11:14:05 +00:00
Budibase Staging Release Bot 1373d12f11 v2.2.11-alpha.1 2023-01-06 11:10:41 +00:00
Mitch-Budibase 3db260d897 Skip remaining appPublishWorkflow tests
No longer needed - We get coverage via QA Wolf
2023-01-06 10:39:49 +00:00
mike12345567 0c37c57a4b 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 e8ecdefb14 Update pro version to 2.2.11-alpha.0 2023-01-05 17:38:59 +00:00
Budibase Staging Release Bot a21e9d0ffd v2.2.11-alpha.0 2023-01-05 17:35:15 +00:00
Mitch-Budibase 77b057c307 Merge pull request #9247 from Budibase/cypress-updates
Removing Cypress Tests - No Longer Required
2023-01-05 17:12:16 +00:00
mike12345567 a079cb6fec Merge branch 'develop' of github.com:Budibase/budibase into develop 2023-01-05 17:09:02 +00:00
mike12345567 3cd097a7f1 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-01-05 17:04:24 +00:00
Mitch-Budibase d75bd37fb5 Merge branch 'develop' into cypress-updates 2023-01-05 16:56:01 +00:00