Commit Graph

7284 Commits

Author SHA1 Message Date
Rijk van Zanten
2bf8282cc2 New Crowdin updates (#9493)
* Update source file en-US.yaml

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

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

* New translations en-US.yaml (Indonesian)

* New translations en-US.yaml (Persian)

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

* New translations en-US.yaml (Thai)

* New translations en-US.yaml (Breton)

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

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

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Portuguese)

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Vietnamese)

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

* New translations en-US.yaml (French)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Bulgarian)

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

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Lithuanian)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Slovenian)
2021-11-04 22:23:32 +00:00
Rijk van Zanten
b0f09b0917 Remove beta flag from insights & enable by default (#9491) 2021-11-04 18:00:25 -04:00
Rijk van Zanten
2e0ad10ad1 Remove collection listing option from role settings (#9490)
* Fixes #8920

* Revert changes in seeds / migrations

* Add new migration to drop column

Co-authored-by: Yannick Mol <yannick@molmediasolutions.nl>
2021-11-04 21:55:34 +00:00
Farid Saud
493a35da90 Use hash instead of random for default index name (#9448)
* [Fix]: Use hash instead of random for default index name

* Move hash function to separate util file

* Reduce max size of index name to 60 from 64

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-11-04 21:37:03 +00:00
Pascal Jufer
42512b8874 Schedule Renovate on a daily basis for now (#9488) 2021-11-04 17:05:21 -04:00
Nicola Krumschmidt
7fcebf3768 Clarify hook register function parameter descriptions in docs (#9489)
* Clarify hook register function parameter descriptions in docs

* Update package-lock.json

* Update docs/extensions/hooks.md

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2021-11-04 17:03:15 -04:00
José Varela
21dbe06e4b fix docs about sdk refactor (#9486) 2021-11-04 15:50:31 -04:00
Rijk van Zanten
d3639983df Fix presentation-links interfaces (#9485)
Fixes #9457
2021-11-04 18:57:26 +00:00
Rijk van Zanten
16e28c16f0 Fix m2a relations on editing field (#9484)
Fixes #9463
2021-11-04 18:17:09 +00:00
Rijk van Zanten
71ec7115c0 Fix nested system-interface-options usage (#9483)
* Improve null check in list

* Fix options syncing in system-interface-options
2021-11-04 18:12:37 +00:00
Rijk van Zanten
9c48eed176 New translations en-US.yaml (Italian) (#9482) 2021-11-04 17:53:49 +00:00
Azri Kahar
fed2efbb92 fix docs homepage header responsiveness (#9450) 2021-11-04 13:48:35 -04:00
Rémi Alvergnat
198fb67b6f Fix render template for number template parts (#9406) (#9407) 2021-11-04 13:33:56 -04:00
Pascal Jufer
942d7d39fe Fixing some type errors in app (#9466)
* Fixing some type errors in app

* Remove unused import

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-11-04 13:32:47 -04:00
José Varela
23f6baa4db SDK: refactor constructors (#9080)
* refactor: more intuitive interfaces

* refactor: simpler refresh
before: on every request we were debouncing a refresh request
after: call refresh only once before now() + 'expires'

* refactor: prefix on base storage

* fixup! refactor: simpler refresh before: on every request we were debouncing a refresh request after: call refresh only once before now() + 'expires'

* refactor: simpler axios transport
before: handle auth headers
after: auth headers are handled on directus instance

* refactor: simpler usage of Directus constructor

* fixup! refactor: simpler refresh before: on every request we were debouncing a refresh request after: call refresh only once before now() + 'expires'

* refactor: fix tests based on previous changes

* refactor: better auth constructor
before: depends on SDK instance
after: depends on Transport and Storage instance

* accept staticToken from auth

* make transport and storage as optional on options

* fix type auth refresh

* simplify transport

* fix test for previous changes

* improve auth class

* revert some IAuth props because tests

* allow to force memory of localstorage on storage

* add tests for previous change

* document everything and simplify some things

* fix override headers on request

* better name typing

* fix private axios

* removed boolean from CLI auth.refresh()

* fix missing url in some examples

* soem grammar updates

Co-authored-by: Jay Cammarano <jay.cammarano@gmail.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-11-04 13:30:30 -04:00
Rémi Alvergnat
3cd32d533b Fix invalid collection for Interface Display Template for M2M relationships (#9420)
* Fix invalid collection for Interface Display Template (#9419)

* use o2m ollection on m2m interface

* apply same fix on files

Co-authored-by: Jose Varela <joselcvarela@gmail.com>
2021-11-04 13:20:55 -04:00
Pascal Jufer
7dc80c2f3b Group Renovate updates & schedule weekly (#9479) 2021-11-04 13:19:32 -04:00
rijkvanzanten
4259587ce5 Remove leading slash 2021-11-04 12:09:42 -04:00
Rijk van Zanten
abfc7ba899 Resolve calendar link to detail page (#9477) 2021-11-04 12:08:46 -04:00
Rijk van Zanten
a9345b9bf5 New translations en-US.yaml (Italian) (#9476) 2021-11-04 15:56:01 +00:00
Rijk van Zanten
b1d5ae14d0 New translations en-US.yaml (Italian) (#9472) 2021-11-04 15:22:01 +00:00
Rijk van Zanten
63309c9d26 New translations en-US.yaml (Italian) (#9458) 2021-11-04 11:15:27 +00:00
Rijk van Zanten
5d3a041ca2 Update changelog.md 2021-11-03 19:35:58 -04:00
rijkvanzanten
37cf80e0fe v9.0.0-rc.101 v9.0.0-rc.101 2021-11-03 19:29:41 -04:00
Rijk van Zanten
428e5d4ea9 Rename activity->notifications module (#9446) 2021-11-03 19:09:26 -04:00
Nicola Krumschmidt
69d893123e Add exports fields to all packages (#9443) 2021-11-03 18:59:45 -04:00
Rijk van Zanten
caa053a467 Rename Collections Modules to Content Module (#9441)
* Rename collections->content module

* Replace collection name

* Replace some loose ends
2021-11-03 18:34:55 -04:00
Rijk van Zanten
47a29dfd16 New Crowdin updates (#9442)
* New translations en-US.yaml (Serbian (Latin))

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

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

* New translations en-US.yaml (Thai)

* New translations en-US.yaml (Breton)

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

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Estonian)

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

* New translations en-US.yaml (French)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Catalan)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Lithuanian)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Slovenian)
2021-11-03 22:25:40 +00:00
Rijk van Zanten
c5bb836689 Tweak project-settings page (#9440) 2021-11-03 18:07:17 -04:00
Nicola Krumschmidt
03cf03b1bf Clean up API exports (#9418)
* Move API entrypoint to typescipt

* Remove explicit cli exort from API

The "./*" export should export all subpaths, so explicitly exporting the cli shouldn't be necessary.

* Remove dedicated start script from API

This script isn't even included in the final npm package and it's only used by the test Dockerfile.
2021-11-03 17:34:48 -04:00
Rijk van Zanten
0a4db66659 Fix duplicate hubspot injection (#9437) 2021-11-03 17:26:12 -04:00
Nicola Krumschmidt
3d0e086c55 Rework hook registration (#8027)
* Rework hook registration

* Remove event and action fields from hook payloads

* Move "error" action to "request.error" filter

* Emit meta and context objects in filters and actions

* Run filters sequentially

* Update hook templates

* Fix CLI hook test

* Also emit `<collection>.items.crud` when emitting `items.crud`.

* Update hook docs

Co-authored-by: Oreilles <oreilles.github@nitoref.io>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-11-03 17:18:56 -04:00
renovate[bot]
0aa5026aa9 Update dependency pinia to v2.0.2 (#9436)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 17:11:43 -04:00
Rijk van Zanten
65291b95c4 Allow dynamic user variables to be used with filter rules (cont.) (#9376)
* Move permissions extraction to accountability

* Fix permissions retrieval for public user

* Fetch user / role context in permissions middleware

* Remove unnecessary parseFilter

* Rename schemaCache to systemCache

* Add permissions caching

* Add system cache invalidation on permission changes

* Improve caching perf by reducing scope

* Add note to docs

* Clarify compatibility with conditional fields/filters

* Fix lint warning

* Allow nested vars in system-filter-input

* Add custom getter function that resolves arrays

* Add is-dynamic-variable util

* Export new util

* Cleanup parse filter

* Fix build

* Move debounce up to use-items

* Remove unused prop

* 🧹

* Fix input pattern usage w/ vars

* Remove debounce from search-input, increase throttle
2021-11-03 16:56:16 -04:00
Rémi Alvergnat
72a88696ec Fix related value for alias typed fields (#9210) (#9401) 2021-11-03 19:39:21 +00:00
Azri Kahar
22d4de7c5b Add placeholder to Language Indicator Field for first Translations setup (#9337)
* Hide Language Indicator Field initially

* fix lint error

* revert hiding languageFIeld & add placeholder
2021-11-03 15:30:59 -04:00
renovate[bot]
80a7c4cb0c Update dependency tinymce to v5.10.1 (#9385)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 15:30:28 -04:00
renovate[bot]
f62c59d626 Update fullcalendar monorepo to v5.10.1 (#9386)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 15:30:11 -04:00
Ben Haynes
0fb4f4f108 remove module and collection overrides from role 2021-11-03 15:09:22 -04:00
Pascal Jufer
c298942a1d Move renovate config into .github (#9404) 2021-11-03 13:18:34 -04:00
Oreille
013733a8b9 Use primary key as default sort in map layout (#9403) 2021-11-03 13:17:51 -04:00
Jay Cammarano
99f0c6c65f Fixed SET NULL on directus_files for MSSQL (#9425)
* fixed migration on mssql

* removed useless migration
2021-11-03 17:14:45 +00:00
renovate[bot]
d577075bf2 Update dependency pinia to v2.0.1 (#9428)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 17:07:00 +00:00
Aiden Foxx
3ca490289a Update config-options.md (#9218)
* Update config-options.md

* Update config-options.md
2021-11-03 13:03:16 -04:00
José Varela
f94740e8ec fix corresponding field name (#9393) 2021-11-03 11:27:55 -04:00
Pascal Jufer
1f86a920a0 Link to all (open & closed) issues in bug report (#9394) 2021-11-03 11:27:11 -04:00
Aiden Foxx
2f33f71a6a Added user rebinding on reconnect in LDAP (#9339)
* Added reconnect handling code for LDAP

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

* Improved error handling

* Updated re-bind so we can await it when required

* Added bind check before operations to ensure client has user

* Cleaned up reconnect handling in LDAP

* Minor cleanup

* Minor cleanup
2021-11-03 11:12:50 -04:00
Rémi Alvergnat
1bd43bd25f Fix hover effect on o2m and m2a lists (#9412) (#9414) 2021-11-03 15:12:08 +00:00
Pascal Jufer
1514b878fa Enhance comments in CI workflow (#9408) 2021-11-03 11:10:00 -04:00
Rijk van Zanten
e9e4a97da4 New translations en-US.yaml (Bulgarian) (#9415) 2021-11-03 14:21:25 +00:00