Commit Graph

6843 Commits

Author SHA1 Message Date
Jay Cammarano
2be2c36dc2 Unit tests for get-extensions.ts (#8470)
* root removed

* get extensions passing, 95% coverage

* removed root

* fixed root on listExtensionsChildren
2021-10-01 11:01:33 -04:00
Pascal Jufer
e493639a48 Fix "Unrestricted file system access to" messages (#8486) 2021-10-01 15:54:32 +02:00
Nitwel
4fd9f4c31c Add Filter interface (#7492)
* initial tests and preparation for filter interface

* get basic structure down

* improve visuals and interaction

* stop modifying props 🙃

* update logic blocks style

* clean up filter interface

* lint css

* support m2a and simplify visited relations

* allow for recursive loading of fields

* use filter interface on conditions

* Use dynamic useFilterTree instead of old one (#7569)

* use advanced field tree on field template

* update to advanced field tree

* remove old useFieldTree

* update to new design

* add border on nested nodes

* tweak styling

* Fix linter warnings

* Fix field-setup

* clean up interface

* clean up interface

* clean up and rename files

* clean up code

* use default filter structure

* fix changing fields

* Add monospace style option to tooltips

* Various small stylistic tweaks

* Add menu placement

* Cleanup "big interface" usage

* Remove seamless

* Add dropdown on add filter

* Cleanup import/export, add v-select-placeholder-co

* Fix staging issue

* Allow overriding preview slow, fix padding

* Show field path inline

* Cleanup empty state

* Use new filter-interface in permissions setup

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-09-30 17:17:29 -04:00
Nicola Krumschmidt
4b17abf755 Fix types of mime package (#8474) 2021-09-30 20:50:39 +00:00
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