Commit Graph

7309 Commits

Author SHA1 Message Date
Ben Haynes
cae224e0c8 Sidebar styling (#9557)
* remove extra popup padding

* tweak sidebar spacing
2021-11-06 16:03:04 -04:00
Ben Haynes
24df365135 Data model dense (#9558)
* remove extra popup padding

* tweak sidebar spacing

* use dense on data model collection listing
2021-11-06 16:00:11 -04:00
Ben Haynes
be2d7b267d formatting 2021-11-06 11:50:40 -04:00
Ben Haynes
0f19bc86fe add translated field docs 2021-11-06 11:47:27 -04:00
Ben Haynes
a6bc1731a6 add installation to docs homepage 2021-11-06 11:09:28 -04:00
Adrian Dimitrov
b8fabe46f2 Fix missing and wrong translations (#9537) 2021-11-05 12:30:59 -04:00
Ben Haynes
2ff2f93028 divider title placeholder (#9532) 2021-11-05 12:09:22 -04:00
Nicola Krumschmidt
eeb78b96cc Include the ESM entrypoint when publishing to npm (#9535) 2021-11-05 12:06:33 -04:00
Pascal Jufer
111a3ef231 Update package-lock.json & fix warning from eslint (#9509)
* Update package-lock.json

To reflect latest release

* Fix warning from eslint
2021-11-05 09:56:34 -04:00
Pascal Jufer
b39aa02f45 Remove note about RC in the readme (#9513) 2021-11-05 09:49:25 -04:00
Azri Kahar
deae8cd929 fix repeater field names title format (#9504) 2021-11-05 09:40:56 -04:00
Pascal Jufer
a0e5d27a3a Remove quotes on string values for raw display (#9522) 2021-11-05 09:17:37 -04:00
Pascal Jufer
ef182940ce Add note about Directus version in bug report (#9517) 2021-11-05 09:04:15 -04:00
Pascal Jufer
c8f29b6a3a Update Docker installation documentation (#9514)
* Reflect new stable version and available Docker tags
* Clean-up
2021-11-05 08:58:34 -04:00
Pascal Jufer
8c5c607e76 Revert "Schedule Renovate on a daily basis for now (#9488)" (#9508)
This reverts commit 42512b8874.
2021-11-05 08:54:40 -04:00
Rijk van Zanten
28ac068720 Update changelog.md 2021-11-04 22:10:01 -04:00
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