Commit Graph

5709 Commits

Author SHA1 Message Date
rijkvanzanten
0a9b9f8d68 Merge branch 'main' into aggregation 2021-06-11 18:01:14 -04:00
Aiden Foxx
6283b649f5 Removed lowercase remap from Oracle schema (#6214) 2021-06-11 12:54:46 -04:00
nichols-green
055cd331d9 Added support for nodemailer ignoreTLS option (#6216)
* added support for nodemailer ignoreTLS option

* update doc to show no default value
2021-06-11 12:48:22 -04:00
Nicola Krumschmidt
427b339e04 Fix proxying to the app from a subpath (#6212) 2021-06-11 11:23:27 -04:00
Aiden Foxx
ec72249ab5 Optimized oracle schema overview query (#6211)
* Optimized oracle schema overview query

* Fixed oracle overview query indentation
2021-06-11 11:22:59 -04:00
Nicola Krumschmidt
a137bbd9e8 Chore cleanup (#6213)
* Log vite env directly

* Remove istanbul comments
2021-06-11 11:22:26 -04:00
Rijk van Zanten
7373b43042 Add note on file env vars (#6209) 2021-06-11 10:07:07 -04:00
dependabot[bot]
f22281b107 Bump rollup from 2.51.1 to 2.51.2 (#6201)
Bumps [rollup](https://github.com/rollup/rollup) from 2.51.1 to 2.51.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.51.1...v2.51.2)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-11 09:55:56 -04:00
rijkvanzanten
d041053ce7 Remove comment 2021-06-11 09:48:01 -04:00
dependabot[bot]
cd2e24d82c Bump vuedraggable from 4.0.1 to 4.0.3 (#6197)
* Bump vuedraggable from 4.0.1 to 4.0.3

Bumps [vuedraggable](https://github.com/SortableJS/Vue.Draggable) from 4.0.1 to 4.0.3.
- [Release notes](https://github.com/SortableJS/Vue.Draggable/releases)
- [Commits](https://github.com/SortableJS/Vue.Draggable/commits)

---
updated-dependencies:
- dependency-name: vuedraggable
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update vite as well

* Update vite, fix imports

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-06-11 09:43:31 -04:00
dependabot[bot]
8695050a4d Bump eslint-plugin-vue from 7.10.0 to 7.11.0 (#6200)
Bumps [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue) from 7.10.0 to 7.11.0.
- [Release notes](https://github.com/vuejs/eslint-plugin-vue/releases)
- [Commits](https://github.com/vuejs/eslint-plugin-vue/compare/v7.10.0...v7.11.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-vue
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-11 09:21:17 -04:00
dependabot[bot]
6eac933cdf Bump aws-sdk from 2.925.0 to 2.926.0 (#6199)
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.925.0 to 2.926.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.925.0...v2.926.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-11 09:01:38 -04:00
dependabot[bot]
210fe91eba Bump gatsby-source-filesystem from 3.7.0 to 3.7.1 (#6198)
Bumps [gatsby-source-filesystem](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-source-filesystem) from 3.7.0 to 3.7.1.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/gatsby-source-filesystem@3.7.1/packages/gatsby-source-filesystem/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-filesystem@3.7.1/packages/gatsby-source-filesystem)

---
updated-dependencies:
- dependency-name: gatsby-source-filesystem
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-11 09:01:23 -04:00
Oreille
46c77f70c8 Moved special check above localTypeMap check. (#6208) 2021-06-11 08:59:20 -04:00
Rijk van Zanten
31fbb5f06f Fix type casting of boolean env var (#6190)
Fixes #6189
2021-06-10 16:44:56 -04:00
Rijk van Zanten
4ac610c795 Update changelog.md 2021-06-10 16:26:33 -04:00
rijkvanzanten
779a252ce2 v9.0.0-rc.75 v9.0.0-rc.75 2021-06-10 16:17:32 -04:00
rijkvanzanten
9af8d43cdd npm vs dependabot round 5 2021-06-10 16:17:13 -04:00
Juan Carlos Blanco Delgado
5826fd6110 Adding an example to cron hook (#6188)
* Adding an example to cron hook

* Update docs/guides/api-hooks.md

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-06-10 16:16:33 -04:00
Rijk van Zanten
4cb8d1f814 Add additional check to Two-Factor Authentication (by @masterwendu) (#6187)
* 6113 add tfa generate endpoint

* 6113 implement tfa otp check in user settings

* 6113 add autfocus for otp field on login form

* update package-lock

* improve TFA uri with user email

* fix vue 3 compatibility

* reduce code duplication for enableTFA

* Remove unnecessary parameters

* Use project name in otp url when available

* Update docs/reference/api/system/users.md

Co-authored-by: Wendelin Peleska <wendu@pm.me>
2021-06-10 15:36:34 -04:00
Nicola Krumschmidt
f55a2072e1 Refactor bookmark query navigation (#6170)
* Revert back to using query params for bookmarks

Aka "this hurts so much"

* Fix collection navigation active state

* Add active and query props to v-button

Also unify active and activated state.

* Remove not needed exact prop from collections navigation
2021-06-10 15:11:01 -04:00
Rijk van Zanten
976baa7206 Add number formatting to formatted-values display (#6186)
* Render number values as formatted numbers

* Allow for 0 in formatted-values display

* Use isNil for empty check
2021-06-10 12:45:34 -04:00
dependabot[bot]
34d0d2d2c0 Bump aws-sdk from 2.924.0 to 2.925.0 (#6177)
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.924.0 to 2.925.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.924.0...v2.925.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-10 10:25:03 -04:00
dependabot[bot]
4cc4868eb7 Bump jest-environment-jsdom from 26.6.2 to 27.0.3 (#6175)
* Bump jest-environment-jsdom from 26.6.2 to 27.0.3

Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom) from 26.6.2 to 27.0.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v27.0.3/packages/jest-environment-jsdom)

---
updated-dependencies:
- dependency-name: jest-environment-jsdom
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Remove jest-env-jsdom

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-06-10 10:24:40 -04:00
dependabot[bot]
acb31abe3e Bump @azure/storage-blob from 12.5.0 to 12.6.0 (#6176)
Bumps [@azure/storage-blob](https://github.com/Azure/azure-sdk-for-js) from 12.5.0 to 12.6.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-js/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-js/compare/@azure/storage-blob_12.5.0...@azure/storage-blob_12.6.0)

---
updated-dependencies:
- dependency-name: "@azure/storage-blob"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-10 09:24:34 -04:00
rijkvanzanten
1b319706b3 Remove unused import 2021-06-10 09:24:00 -04:00
Rijk van Zanten
11ea192368 Fix issue that would cause sort order of fields to be corrupted on field changes (#6174)
Fixes #6091
2021-06-09 20:13:21 -04:00
Rijk van Zanten
1f2bce9fd2 Prevent translation rows from being edited before existing values are loaded (#6173)
Fixes #6094
2021-06-09 19:13:03 -04:00
Rijk van Zanten
e9a8850a58 Fix translations hint not linking to collection (#6172) 2021-06-09 19:10:11 -04:00
Rijk van Zanten
e20ad6c6b5 Use JSON editor for JSON field type default value (#6171)
Fixes #6088
2021-06-09 18:52:48 -04:00
Pascal Jufer
927b9f8cc2 Fix DB column update for data types with length or boolean as default value (#6163)
* Fix DB column update for types with length or boolean as default value

* Add docs/index.json to gitignore

* Remove specificType support

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-06-09 18:30:59 -04:00
rijkvanzanten
8ac6c44c95 Align styling of list-m2m list-o2m 2021-06-09 17:48:54 -04:00
rijkvanzanten
094819acb7 Fix styling of list-rows 2021-06-09 17:46:22 -04:00
Rijk van Zanten
76a31ca020 Don't initialize mailer on startup (#6169)
* Fix m2m relationship not showing current col/pk

* Don't initialize mailer on first boot

Another step to serverless!
2021-06-09 17:31:50 -04:00
rijkvanzanten
61f66eaf5d Fix m2m relationship not showing current col/pk 2021-06-09 17:26:00 -04:00
Rijk van Zanten
c2c57ef567 Show better message for improperly formatted emails (#6168)
Closes #6115
2021-06-09 17:14:56 -04:00
Rijk van Zanten
fb908efe8f Cleanup one_allowed_collections field on collection delete (#6167)
Fixes #6161
2021-06-09 17:02:47 -04:00
Rijk van Zanten
b5abb0fb20 New translations en-US.yaml (Spanish) (#6164) 2021-06-09 16:39:03 -04:00
Adam Sparks
c1b30a6d8c match url whitelist to domain (#5694)
* match url whitelist to domain

* Improve url-domain check

* Update lockfile

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-06-09 15:12:34 -04:00
rijkvanzanten
c2c78792b1 Merge branch 'main' into aggregation 2021-06-09 14:16:36 -04:00
Tien Tran
7ecbe49bb6 Support async preRegisterCheck for custom modules (#6118)
* Support async preRegisterCheck for custom modules

* Make loop a tad more expressive

* Update type to indicate potential promise return

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-06-09 14:16:17 -04:00
Pascal Jufer
a2a35aaab5 Add support for _FILE environment variables (#6101)
* Add support for _FILE environment variables

* Enhance processing of _FILE env vars

* Same processing as with other env vars (do not simply treat as string)
- tested successfully
* Warn if both variables are set (EXAMPLE and EXAMPLE_FILE)
* Add comments to make it easier to understand the code

* Set newKey only after file read was successful

* Don't convert value > MAX_SAFE_INTEGER to number

Thanks to @skizer!

As stated by @skizer (from #6119):
  Altho it seems that we do have a numerical value
  it can happen that its outside of Number.MAX_SAFE_INTEGER
  thus resulting in a change of the original intended value
  e.g oauth -> discord -> client_id

* Fix recursive logger-env import

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-06-09 14:08:26 -04:00
Rijk van Zanten
1a867f17d1 New Crowdin updates (#6154)
* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Spanish)
2021-06-09 13:56:08 -04:00
Rijk van Zanten
61f2e48ced Allow any of grant's (nested) configuration parameters (oAuth) (#6155)
* Allow underscore configuration extraction

* Allow any of grants config properties
2021-06-09 12:08:48 -04:00
skizer
ad8bd3e7cd Don't treat numbers larger than the JS max number size as number values in environment variables (#6119)
* Incorrect parsing of numeric values in env.

* Fixes incorrect parsing of the env. file with numeric values that are outside of Number.MAX_SAFE_INTEGER resulting in unwanted behaviour.
- Like wrong client_ids for oauth. (tested with discord oauth)
* Removed unnecessary multiple "IF" statements since value can only be ether one of the listed values.

* Implements custom_param for OAUTH via grant

According to grants documentation you can provide additionally custom parameters to supported OAUTH provider with ```custom_params```.
This change allows to add them in JSON format and thus adding multiple parameters.

* Fix linter warnings, remove JSON support in favor of nested Grant support

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-06-09 11:53:57 -04:00
dependabot[bot]
792281ceb6 Bump dotenv from 9.0.2 to 10.0.0 (#6147)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 9.0.2 to 10.0.0.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v9.0.2...v10.0.0)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-09 11:20:21 -04:00
Rijk van Zanten
a26d2473d2 Update knex-schema-inspector (#6153) 2021-06-09 11:19:59 -04:00
Rijk van Zanten
7da3f2c701 New Crowdin updates (#6148)
* New translations en-US.yaml (German)

* New translations en-US.yaml (German)

* New translations en-US.yaml (German)

* New translations en-US.yaml (French)
2021-06-09 11:18:47 -04:00
Nicola Krumschmidt
12a3b22aa1 App type improvements (#6151)
* Fix v-table interalItems type

* Fix useGroupable return type

* Fix useCollection return type

* Fix useCustomSelection return type

* Fix useElementSize return type

* Fix useFormFields return type

* Fix useItem return type

* Fix useItems return type

* Prepend composable return type name with "Usable"

* Fix usePreset return type

* Fix useScrollDistance return type

* Fix useTitle return type

* Fix useWindowSize return type

* Fix usePermissions return type

* Fix useTemplateData return type

* Fix a few type issues in field store

* Fix extension getter return types

* Fix hydrate store type issue and double-hydrating users store

* Fix code interface type issue

* Fix m2m composables return types

* Fix html editor composables return types

* Fix collections module composables return types

* Fix files module composable return type

* Fix settings module composable return type

* Fix settings module roles composables return types

* Fix settings module users composable return type

* Fix return type issues in utils and a nasty parameter overwrite

* Fix modelValue casing in template
2021-06-09 11:18:21 -04:00
dependabot[bot]
70c8e08476 Bump jest-environment-jsdom from 26.6.2 to 27.0.3 (#6146)
Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom) from 26.6.2 to 27.0.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v27.0.3/packages/jest-environment-jsdom)

---
updated-dependencies:
- dependency-name: jest-environment-jsdom
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-09 09:34:44 -04:00