rijkvanzanten
c95add08ef
v9.0.0
v9.0.0
2021-11-04 22:03:10 -04:00
Oreille
5f43b20ebf
Update geometric types and patch new field flow. ( #9397 )
...
* Update geometric types and patch new field flow.
* Add migration
* Fixed migrations
* Also fixed migrations
* Update migration ID
* Cleanup type selector a bit
* Add missing fallback interface/display for new types
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-11-04 21:47:54 -04:00
Nicola Krumschmidt
13b479ad49
Fix importing the SDK from a Node ESM environment ( #9502 )
2021-11-04 21:01:12 -04:00
Oreille
ef3da32ab3
Properly handle M2A fields in fieldStore and useFieldTree ( #9432 )
...
* Properly handle M2A fields in fieldStore and useFieldTree
* Fix addNode
* Rewrote use-field-tree
* Remember visited paths
* Fix error whith undefined relation.meta
2021-11-04 20:35:05 -04:00
Rijk van Zanten
b2f3091826
Prevent negative hashes from being generated ( #9501 )
...
Fixes #9499
2021-11-04 20:21:39 -04:00
Tyler Forest-Hauser
3cbd908839
Small fixes for Hooks documentation ( #9497 )
...
Remove erroneous closing bracket and remove index position from input as it should be an object in this context, not an array.
2021-11-04 23:16:09 +00:00
Rijk van Zanten
4b2b74840e
Don't show all migrations logged on init ( #9496 )
2021-11-04 23:05:11 +00:00
Rijk van Zanten
dbe29554e7
Move union query application to applyQuery, fix where clause ( #9494 )
...
* Move union query application to applyQuery, fix where clause
Fixes #9228
* Handle case where union IDs length = 0
* Return modified db query
* Apply union last
2021-11-04 22:55:10 +00:00
Nicola Krumschmidt
ae15f39091
Clean up interface options type ( #9447 )
2021-11-04 18:31:31 -04:00
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