Commit Graph

6796 Commits

Author SHA1 Message Date
rijkvanzanten
afe7b15990 v9.0.0-rc.95 v9.0.0-rc.95 2021-09-27 18:58:22 -04:00
renovate[bot]
480a81fbd1 Update dependency @types/lodash to v4.14.175 (#8361)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 22:30:26 +00:00
Nitwel
cf05527f0e Add dedicated "files" interface (#8110)
* add download button for m2m

* create files interface

* Add migration to use new files interface

* Fix linter warnings

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-09-27 22:27:03 +00:00
Rijk van Zanten
636ccf0503 New Crowdin updates (#8360)
* Update source file en-US.yaml

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Portuguese)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Slovak)

* New translations en-US.yaml (Serbian (Cyrillic))

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Ukrainian)

* New translations en-US.yaml (Chinese Traditional)

* New translations en-US.yaml (Portuguese, Brazilian)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Indonesian)

* New translations en-US.yaml (Spanish, Chile)

* New translations en-US.yaml (Thai)

* New translations en-US.yaml (Hindi)

* New translations en-US.yaml (Malay)

* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (Mongolian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Afrikaans)

* New translations en-US.yaml (Lithuanian)

* New translations en-US.yaml (Spanish, Latin America)

* New translations en-US.yaml (Slovenian)

* New translations en-US.yaml (Vietnamese)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Romanian)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Catalan)

* New translations en-US.yaml (Czech)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Greek)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Hebrew)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Georgian)

* New translations en-US.yaml (Persian)
2021-09-27 18:05:43 -04:00
Ben Haynes
6801ccf38e Style updates (#8359)
* badge sizing

* tailored chip padding based on size

* list style update

* round language progress bar

* remove whitespace causing odd gap after field

* complress field management grid

* add yellow to color options, make warning yellow
2021-09-27 17:43:30 -04:00
rijkvanzanten
c2c9ad4116 Add missing data field in sessions 2021-09-27 17:34:38 -04:00
Aiden Foxx
084c6117b7 Modular authentication (#6942)
* Moved refactoring from LDAP branch

* Moved Auth into packages

* Updated frontend to support custom auth providers and make implementation more flexible

* Fixed exception handling and numerous bugs. Also added provider support to graphql

* Updated frontend to be able to set provider and identifier

* Fixed issue with setting the auth provider in app

* Updated package-lock.json

* Updated package-lock.json

* Cleanup, adding type handling and disabled changing provider

* Added title formatting to SSO links

* Fixed incorrect type export

* Fixed incorrect rc

* Update api/src/services/authentication.ts

* Updated sub-dependencies to rc87

* Fixed linting errors

* Prefer sending provider name as config var

* Pass clone of user info to auth provider instead of reference

* Moved auth from packages into core

* Removed generic login handler

* Fixed graphql complaint

* Moved exception back to api and cleaned up URLs

* Minor tweak

* Pulled across improvements from openid branch

* Fixed fix that wasn't a fix

* Update auth.ts

* Update auth.ts

* Update authentication.ts

* Update login-form.vue

* Regression fixes and cleanup

* Minor flow improvements

* Flipped if and fixed linting warning

* Un-expanded object that didn't need to be expanded!

* Trimmed auth interface for consistency when verifying passwords

* Removed auth-manager, changed login endpoint, broke out SSO links, removed username support, disabled updating external_identifier, generate provider options as part of field generation

* Cleaned up some code comments

* Use named exports in local driver

* Use async defaults for auth abstract class

* Use JSON for auth_data field

* Move session data blob to directus_sessions

* Remove unused export, rename auth->authDriver

* Opinionated changes

* Move login route registration to driver file

* Revert app changes in favor of PR #8277

* Send session token to auth provider and opinionated changes

* Added missing translation

* Fixed empty elements for users without email

* Update api/src/auth/drivers/local.ts

* Move pw verify to local driver, remove CRUD

* Opinions > logical reasoning

* Use session data, cleanup login method on auth serv

* Remove useless null

* Fixed breaking changes from refactor, and fixed build

* Fixed lint warning

* Ignore typescript nonsense

* Update api/src/services/authentication.ts

* Fix provider name passthrough

Co-authored-by: Aiden Foxx <aiden.foxx@sbab.se>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-09-27 17:18:20 -04:00
Rijk van Zanten
356b96e3e2 Migrate down chronologically instead of by version (#8357)
Fixes #8254
2021-09-27 16:45:50 -04:00
rijkvanzanten
d4b2a05453 Use npm ci instead of install, only run e2e on main 2021-09-27 16:36:09 -04:00
José Varela
3124f5387d Fix getSchema while trx on postgres (#8335)
* Fix getSchema while trx on postgres

* Only attempt to read geometry types when PostGIS is enabled

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-09-27 16:35:01 -04:00
Rijk van Zanten
ac0bade2b4 Don't track primary keys of relations/fields (#8355)
Fixes #8161
2021-09-27 15:45:28 -04:00
Rijk van Zanten
292c66c4b2 Don't error on missing meta key for collection (#8352) 2021-09-27 15:26:47 -04:00
Rijk van Zanten
2fe8626b54 Add missing system data points (#8351) 2021-09-27 15:18:59 -04:00
Jay Cammarano
a7b0cbe69b GitHub workflow to run tests on pushes to main and PRs (#8247)
* testing workflow

* name changed

* generateHash working

* changed pendingMock() to 0 because ticks > 5000

* removed empty tests

* removed empty tests

* Update packages/sdk/tests/utils.ts

Co-authored-by: José Varela <joselcvarela@gmail.com>

* updated workflow to add build

* added npm run build

* fixed get-filter-operators

* added env to workflow

* potential fix to index.test.ts

* added env variables for index.test.ts

* added caching and node-version matrix

* added all supported node versions

* only supported node versions

* updated to only support 16

* removed duplicate workflow caching

Co-authored-by: José Varela <joselcvarela@gmail.com>
2021-09-27 15:10:29 -04:00
Rijk van Zanten
b3e8037e36 New Crowdin updates (#8312)
* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (French)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Czech)

* New translations en-US.yaml (Lithuanian)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Catalan)

* New translations en-US.yaml (Indonesian)

* New translations en-US.yaml (Spanish, Chile)

* New translations en-US.yaml (Thai)

* New translations en-US.yaml (Hindi)

* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (Portuguese, Brazilian)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Chinese Traditional)

* New translations en-US.yaml (Ukrainian)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (Vietnamese)

* New translations en-US.yaml (Slovenian)

* New translations en-US.yaml (Spanish, Latin America)

* Update source file en-US.yaml
2021-09-27 15:09:33 -04:00
Azri Kahar
4c48007549 Debounce app idle tracker autorefresh token (#8337)
* Debounce app autorefresh token process

* Bump debounce time a notch

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-09-27 15:08:43 -04:00
Rijk van Zanten
f5f68417cf Use field key instead of ID for group value (#8349)
* Add migration to replace group ID with group name

* Replace group IDs with field names

* Tweak group interfaces

* Ignore schema export
2021-09-27 15:06:19 -04:00
renovate[bot]
a03aee614a Update typescript-eslint monorepo to v4.32.0 (#8348)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 14:58:09 -04:00
José Varela
a230a7c2cf Fix panel not assigned on insights (#8346) 2021-09-27 13:20:35 -04:00
renovate[bot]
c3253edced Update dependency knex-schema-inspector to v1.6.2 (#8345)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 13:19:52 -04:00
Nitwel
550a7f3406 fix input not being masked (#8344) 2021-09-27 11:54:05 -04:00
Azri Kahar
220398f177 prevent ambiguous role selection in middleware (#8334) 2021-09-27 10:29:13 -04:00
Azri Kahar
915ff76ffc Fix multiple issues in Data Model view (#8333)
* disable the labels for disabled display templates

* fix color placeholder & field name

* fix singleton field label translation

* fix collections note placeholder translation
2021-09-27 10:10:39 -04:00
José Varela
437e52a47c use user language as first on translations (#8327) 2021-09-26 19:40:56 -04:00
renovate[bot]
d94942320d Update dependency nanoid to v3.1.28 (#8328)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-26 19:39:33 -04:00
renovate[bot]
611f9e1462 Update vue monorepo to v3.2.19 (#8320) 2021-09-25 15:41:36 -04:00
Azri Kahar
44a5ca208a fix target interface for o2m relationship (#8317) 2021-09-25 13:33:36 -04:00
renovate[bot]
3a4e826224 Update dependency @types/lodash to v4.14.174 (#8308) 2021-09-25 11:24:58 -04:00
renovate[bot]
2aae01a22c Update jest monorepo to v27.2.2 (#8316) 2021-09-25 11:24:19 -04:00
renovate[bot]
f3f8e5544f Update dependency @vitejs/plugin-vue to v1.9.2 (#8304)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-24 18:14:00 -04:00
renovate[bot]
054023c4a7 Update vue monorepo to v3.2.18 (#8303)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-24 16:47:47 -04:00
Rijk van Zanten
04fa2f3a54 New translations en-US.yaml (Chinese Simplified) (#8295) 2021-09-24 16:32:11 -04:00
José Varela
ca72073de3 Fix azure storage content-type (#8294)
* fix azure storage content-type

* Use ?? instead of ||

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-09-24 18:06:29 +00:00
renovate[bot]
2e7d640cf9 Update dependency vue to v3.2.17 (#8300)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-24 13:52:29 -04:00
renovate[bot]
ddd0b664a8 Update dependency @vue/compiler-sfc to v3.2.17 (#8299)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-24 13:36:47 -04:00
Pascal Jufer
4bc1c85243 Center content of v-button (#8293)
Seems to got lost in 19f87222dc
2021-09-24 13:36:32 -04:00
Rijk van Zanten
40496d6f41 New Crowdin updates (#8284)
* New translations en-US.yaml (German)

* New translations en-US.yaml (German)

* New translations en-US.yaml (German)

* New translations en-US.yaml (German)

* New translations en-US.yaml (German)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Czech)
2021-09-24 11:56:49 -04:00
Nitwel
08097d9f79 add missing null,nnull and remove unused file (#8285) 2021-09-24 11:56:38 -04:00
Nitwel
8f8e36f99a Allow for + in $NOW (#8286)
* allow for + before number and simplify regex

* fix regex
2021-09-24 11:55:21 -04:00
Azri Kahar
bc816ceaeb Fix sorting for alias fields (#8278) 2021-09-24 11:26:29 -04:00
Azri Kahar
0912bee30f Allow date strings gt(e)/lt(e)/between validation (#8283) 2021-09-24 11:05:43 -04:00
Azri Kahar
ad025c99c8 Prevent unnecessary interpolation by Vuepress (#8279) 2021-09-24 10:36:26 -04:00
Jay Cammarano
bcb0ddc44b Tests for pluralize, toArray, validateExtensionManifest, and parseFilter (#8276)
* pluralize tests passing, 100% coverage

* toArray tests passing, 100% coverage

* validate-extension-manifest tests passing, 100% coverage

* parse-filter tests passing, coverage 100%

* covered line 16
2021-09-23 22:11:04 +00:00
renovate[bot]
da16d69d74 Update dependency npm to v7.24.1 (#8275)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-23 21:20:45 +00:00
Azri Kahar
83d2b661c8 Allow environment syntax prefix per item within an array (#8257)
* Updating environment syntax prefix to identify prefix per item

* Updating environment syntax prefix documentation to show how to add prefix to array value

* Add additional example

Co-authored-by: Juan Carlos Blanco Delgado <juancarlosjr97@gmail.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-09-23 16:15:18 -04:00
Azri Kahar
8af51d852c reinstate v-click-outside event in v-menu (#8256) 2021-09-23 15:53:48 -04:00
Nitwel
f1e325ed10 Fix oas parameters (#8272) 2021-09-23 13:50:12 -04:00
renovate[bot]
35cebb0e7e Update dependency @vitejs/plugin-vue to v1.9.1 (#8273)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-23 13:46:51 -04:00
Rijk van Zanten
7ed2579005 New translations en-US.yaml (Bulgarian) (#8270) 2021-09-23 12:19:49 -04:00
Nitwel
b18e0da122 Fix primary key not being passed to v-form (#8260) 2021-09-23 11:43:29 -04:00