Commit Graph

6839 Commits

Author SHA1 Message Date
Rijk van Zanten
44192ab965 New Crowdin updates (#8465)
* 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 (Norwegian)

* 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 (Korean)

* 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)

* 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 (Norwegian)

* 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 (Korean)

* 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-30 15:25:34 -04:00
Rijk van Zanten
405487ec43 e2e test improvement (#8469)
* Improve e2e test setup per file

* Improve e2e test setup
2021-09-30 15:19:41 -04:00
Nicola Krumschmidt
28a2f4594b Removed unused properties from ModuleConfig (#8468) 2021-09-30 14:14:14 -04:00
renovate[bot]
482348a52c Update dependency vite to v2.6.2 (#8466)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-30 13:11:25 -04:00
renovate[bot]
e95404a1da Update dependency @popperjs/core to v2.10.2 (#8455)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-30 11:19:00 -04:00
renovate[bot]
bfe83d444e Update dependency pinia to v2.0.0-rc.10 (#8453)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-30 09:52:15 -04:00
Rijk van Zanten
55e790c725 New Crowdin updates (#8441)
* New translations en-US.yaml (Vietnamese)

* New translations en-US.yaml (French)

* New translations en-US.yaml (French)
2021-09-30 09:20:25 -04:00
renovate[bot]
cb7b6a9108 Update dependency @types/dompurify to v2.3.1 (#8439)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 19:04:11 -04:00
Jay Cammarano
1eb39b2e39 Tests for generate-joi.ts (#8437)
* exported Joi from generate-joi.ts

* all tests passing except contains, ncontains

* contains and ncontaints functions

* tests passing, covering all lines except 36+56 }

* fixed linting issue
2021-09-29 17:28:35 -04:00
renovate[bot]
4c217ba0c7 Update dependency vite to v2.6.1 (#8436)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 16:06:59 -04:00
Rijk van Zanten
22cc8a3563 New Crowdin updates (#8421)
* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Bulgarian)
2021-09-29 15:21:02 -04:00
Jay Cammarano
e9fb8f79a3 Tests for deep-map.ts (#8433)
* deepmap tests passing, 100% coverage

* using a valid filter for parse-filter
2021-09-29 17:06:37 +00:00
renovate[bot]
7dd8ae845f Update dependency vite to v2.6.0 (#8430)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 12:38:03 -04:00
renovate[bot]
93553aebe5 Update dependency tedious to v13 (#8414)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 12:31:25 -04:00
renovate[bot]
bc83050283 Update dependency codemirror to v5.63.1 (#8429)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 16:29:11 +00:00
Rijk van Zanten
c8d205c8e4 Create codeql-analysis.yml 2021-09-29 12:03:01 -04:00
renovate[bot]
3f56a6d5f5 Update jest monorepo to v27.2.4 (#8426)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 15:57:30 +00:00
rijkvanzanten
42f72acb60 Fix aggregation 2021-09-29 11:46:55 -04:00
José Varela
15859e5316 Fix sanitize aggregate on parse objects (#8423) 2021-09-29 11:32:06 -04:00
Nitwel
bd791bcb95 use display template for button links (#7546) 2021-09-28 19:18:19 -04:00
José Varela
1ff3adbb46 Convert to object default json value (#8041)
* convert to object default json value

* return same value if falsy or parse fail
2021-09-28 19:16:30 -04:00
Nitwel
d082836e0a Add save and delete shortcuts (#8108)
* add save and delete shortcuts

* Remove delete shortcuts

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-09-28 19:14:59 -04:00
Jay Cammarano
e7b4153028 Tests for listFolders, resolvePackage (#8356)
* listFolders test passing 100% coverage

* added tmp package

* listFolders test updated to use random temp folder

* add package tmp to workspace

* tmp as dev dependency

* direct imports

* resolve-packages passing 100% coverage

* fixed tmpdir location in list-folders

* Pin tmp

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-09-28 19:10:08 -04:00
renovate[bot]
4e70169a72 Pin dependency tmp to v0.0.33 (#8405)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-28 19:05:38 -04:00
ian
ff315456e8 Fix relative link routing in button links (#8365)
* Fix relative link routing in button links

* Refactor to href for uniformity
2021-09-28 18:59:17 -04:00
Jay Cammarano
732e631ccc Tests for validatePayload, generateExtensionsEntry, and ensureExtensionsDir (#8353)
* Passing tests

* filter operators working

* generateExtensionsEntry tests passing, 100% cov

* validatePayload tests passing, 100% coverage

* fixed typo

* changed folder to remove conflicts w/ other tests

* removed unfinished test

* remove => removeSync

* using tmp package for folder gen

* added tmp to workspace

* reset timers after use

* Update packages/shared/src/utils/node/generate-extensions-entry.test.ts

Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de>

* Update packages/shared/src/utils/node/generate-extensions-entry.test.ts

Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de>

* tmp => dev dependancy

* moved before/after into describe

* moved rootdir var into describe

* removed unused file

* explicit imports

Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de>
2021-09-28 18:58:48 -04:00
ian
ff99d0aad8 Add discard confirmation prompt for project settings (#8373) 2021-09-28 18:58:16 -04:00
Rijk van Zanten
ec32c9e0fe Fix group migration on MySQL (#8404)
* Remove groupsInUse check

* Fix group migration on MySQL

Fixes #8369
2021-09-28 22:46:26 +00:00
renovate[bot]
c6c126f755 Update dependency @types/dompurify to v2.3.0 (#8403)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-28 18:21:35 -04:00
ian
1b92d711d4 Refactor action value from authenticate to login in directus_activity (#8397)
* Refactor action value from authenticate to login in directus_activity

* Fix incorrect where clause in migration

* Add missing authenticate uses

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-09-28 20:59:27 +00:00
Rijk van Zanten
1ffd1c7bc3 Fix email migration for MS SQL (#8399)
Fixes #8396
2021-09-28 16:23:50 -04:00
rijkvanzanten
728a9397e7 Improve e2e tests, fail when directus fails 2021-09-28 15:42:50 -04:00
ian
7456de19db Remove invalid CSS from presets item view (#8388)
* Remove hinvalid CSS from presets item view

* Set warning colour as interim solution

* Fix whitespace
2021-09-28 14:39:27 -04:00
rijkvanzanten
fc6b44441c Add keycloak to docker-compose 2021-09-28 12:53:04 -04:00
Rijk van Zanten
01c65f5fe7 Add defaults for null fields in permissions (#8391)
Fixes #8253
2021-09-28 11:27:27 -04:00
Aiden Foxx
f475c877ec Send correct payload to auth provider for oauth (#8389) 2021-09-28 14:21:03 +00:00
Azri Kahar
18b20e7d54 fix "add conditions to fields" migration (#8375) 2021-09-28 10:04:35 -04:00
Nicola Krumschmidt
f555eb80db Fix popper modifier validation error (#8382) 2021-09-28 10:04:22 -04:00
ian
a806dc373a Fix marginTop not implemented in presentation divider (#8379) 2021-09-28 09:52:39 -04:00
renovate[bot]
18846527c8 Update jest monorepo to v27.2.3 (#8380)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-28 09:51:51 -04:00
Nicola Krumschmidt
7eb2b53927 Remove duplicate directus_migrations collection (#8383)
The collection is already defined on line 29.
2021-09-28 09:48:27 -04:00
renovate[bot]
99c55e58b0 Update dependency @types/inquirer to v8.1.3 (#8371)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-28 09:34:53 -04:00
Rijk van Zanten
51148c11d6 Update changelog.md 2021-09-27 19:01:04 -04:00
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