Commit Graph

25085 Commits

Author SHA1 Message Date
Budibase Staging Release Bot daacfe60b6 v2.2.12-alpha.22 2023-01-18 12:10:48 +00:00
Gerard Burns cde15b0b0b
Fix Table Creation With No Import (#9373) 2023-01-18 12:00:08 +00:00
Mel O'Hagan cc628529b1 Merge branch 'develop' into fix/support-primary-foreign-keys 2023-01-18 08:44:33 +00:00
Budibase Staging Release Bot dea4dd1de7 Update pro version to 2.2.12-alpha.21 2023-01-17 15:21:53 +00:00
Budibase Staging Release Bot 4aadbcd8a1 v2.2.12-alpha.21 2023-01-17 15:18:15 +00:00
Gerard Burns 36f9bd8d71
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
Budibase Staging Release Bot e3fee5c121 Update pro version to 2.2.12-alpha.20 2023-01-16 11:44:26 +00:00
Budibase Staging Release Bot bf18dd279d v2.2.12-alpha.20 2023-01-16 11:40:48 +00:00
Mitch-Budibase e92afe146a Skipping Screen Tests 2023-01-16 11:17:11 +00:00
Budibase Staging Release Bot 88ec8d4db0 Update pro version to 2.2.12-alpha.19 2023-01-16 11:03:36 +00:00
Budibase Staging Release Bot 0af40aa059 v2.2.12-alpha.19 2023-01-16 10:59:43 +00:00
Adria Navarro 2ebabbe0e7
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 46e8986566 Add test 2023-01-16 10:19:05 +00:00
Adria Navarro 17b7e18fe6 Type request and body 2023-01-16 10:15:00 +00:00
Budibase Staging Release Bot 87ef45dc73 Update pro version to 2.2.12-alpha.18 2023-01-13 18:35:36 +00:00
Budibase Staging Release Bot 62d16a66e3 v2.2.12-alpha.18 2023-01-13 18:32:00 +00:00
Mel O'Hagan 7f8dc77973 Remove existing relationships if table changed 2023-01-13 18:14:34 +00:00
Adria Navarro 1e259ca504 Allow same user to be updated multiple times 2023-01-13 17:59:50 +00:00
Mel O'Hagan 237f23768f Delete original relationship if table changes 2023-01-13 17:22:04 +00:00
Mel O'Hagan 7a8698e0ce Use original table names in delete 2023-01-13 16:42:29 +00:00
Mel O'Hagan e7bb80fcdb Use original relationship names on delete 2023-01-13 16:18:46 +00:00
Mel O'Hagan fa6c42f13c Validation improvements 2023-01-13 15:01:21 +00:00
Adria Navarro 4d11729159 Send old user on delete 2023-01-13 14:54:26 +00:00
Adria Navarro ce104b2bc9 Fix undefineds 2023-01-13 14:48:01 +00:00
Adria Navarro a183c85f8c Unify endpoints 2023-01-13 14:45:04 +00:00
Adria Navarro 6e45deb55a Rename and move type check 2023-01-13 13:36:35 +00:00
Adria Navarro 8e8b0f9b4e Fix copy on reponse message 2023-01-13 13:33:40 +00:00
Adria Navarro fe0b70d843 Replace BBContext for Ctx 2023-01-13 13:31:48 +00:00
Mel O'Hagan 3216a88c08 Use foreign key instead of parimary[0] 2023-01-13 12:41:41 +00:00
Mel O'Hagan 0ce32f4da5 Try to match primary key or take first 2023-01-13 11:47:09 +00:00
Budibase Staging Release Bot ed5982dd01 Update pro version to 2.2.12-alpha.17 2023-01-13 11:36:37 +00:00
Budibase Staging Release Bot bd6d97e3c9 v2.2.12-alpha.17 2023-01-13 11:33:13 +00:00
melohagan 8abacca25b
Allow primary keys to be foreign key (#9331) 2023-01-13 11:22:59 +00:00
Adria Navarro bc833ecf71 Delete instead of deactivating 2023-01-13 10:26:05 +00:00
Adria Navarro dc3b8fd092 Remove user within the app on deletion 2023-01-12 16:28:02 +00:00
Adria Navarro f8a0c0d446 Add endpoint to deactivate user from app on delete 2023-01-12 16:26:46 +00:00
Adria Navarro e1870f74bd Fix currentapp middleware to allow app_ parameters 2023-01-12 15:38:22 +00:00
Budibase Staging Release Bot dccd9b8667 Update pro version to 2.2.12-alpha.16 2023-01-12 13:12:03 +00:00
Budibase Staging Release Bot d66e245c28 v2.2.12-alpha.16 2023-01-12 13:07:46 +00:00
Budibase Staging Release Bot 3a5027f290 Update pro version to 2.2.12-alpha.15 2023-01-12 11:21:51 +00:00
Budibase Staging Release Bot eddf280f6e v2.2.12-alpha.15 2023-01-12 11:18:17 +00:00
Budibase Staging Release Bot 2d086ccd22 Update pro version to 2.2.12-alpha.14 2023-01-12 10:39:30 +00:00
Budibase Staging Release Bot 83fa4b8b12 v2.2.12-alpha.14 2023-01-12 10:35:45 +00:00
Rory Powell 3d115829d1
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 01dea583a8 Update pro version to 2.2.12-alpha.13 2023-01-12 08:52:22 +00:00
Budibase Staging Release Bot 8d0ddad5c0 v2.2.12-alpha.13 2023-01-12 08:48:54 +00:00
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
mike12345567 9482870d21 Merge branch 'develop' of github.com:Budibase/budibase into feature/test-image 2023-01-11 10:31:57 +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
mike12345567 a0dfe50fcc Merge branch 'develop' of github.com:Budibase/budibase into feature/test-image 2023-01-10 18:49:07 +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