José Varela
ca19cb1a99
emit auth.jwt on refresh ( #9661 )
2021-11-09 14:01:38 -05:00
Oreille
e208e94101
Use Postgis image in docker-compose example from the docs ( #9657 )
2021-11-09 11:41:59 -05:00
gkielwasser
053d2a6a37
Expose server instance in action hook 'server.start' ( #9616 )
...
* Expose server instance in action hook 'server.start'
* Expose server in start/stop
* Update documentation
2021-11-09 16:28:24 +00:00
renovate[bot]
ad3a503f25
Update NPM dependencies (non-major) ( #9585 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-11-09 11:18:41 -05:00
Ben Haynes
e6927cd715
collections to content ( #9607 )
2021-11-09 20:05:03 +08:00
Ben Haynes
b885d5724e
clean up in-app docs ( #9606 )
2021-11-09 20:04:22 +08:00
Ben Haynes
a3516c6bcd
doc app links should not point externally ( #9605 )
2021-11-09 20:03:42 +08:00
José Varela
67b51b7d44
Add support for AWS SES ( #9625 )
2021-11-08 17:35:05 -05:00
Ben Haynes
1a93c39a78
update in-app docs nav ( #9610 )
...
* update in-app docs nav
* remove section from in-app docs
2021-11-08 15:43:50 +00:00
Azri Kahar
82e62bc113
Minor docs fixes ( #9553 )
2021-11-06 16:04:22 -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
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
rijkvanzanten
c95add08ef
v9.0.0
2021-11-04 22:03:10 -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
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
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
Azri Kahar
fed2efbb92
fix docs homepage header responsiveness ( #9450 )
2021-11-04 13:48:35 -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
rijkvanzanten
37cf80e0fe
v9.0.0-rc.101
2021-11-03 19:29:41 -04:00
Nicola Krumschmidt
69d893123e
Add exports fields to all packages ( #9443 )
2021-11-03 18:59:45 -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
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
Ben Haynes
0fb4f4f108
remove module and collection overrides from role
2021-11-03 15:09:22 -04: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
Azri Kahar
c8dc6f6b9a
Update users.md ( #9382 )
2021-11-03 03:50:03 +00:00
Rijk van Zanten
2d4d923d78
Docs live chat tweak ( #9374 )
...
* add live chat to public docs
* moving snippet to correct element
Co-authored-by: Ben Haynes <ben@rngr.org >
2021-11-02 16:15:27 -04:00
Ben Haynes
2936db522e
add live chat to public docs ( #9373 )
2021-11-02 16:10:14 -04:00
Jay Cammarano
fb7ee458db
Fixes broken links in the documentation ( #9354 )
...
* broken links
* more broken links
* last but not least
2021-11-02 10:27:15 -04:00
Jay Cammarano
6be0ab2c25
Fixes broken docs links ( #9327 )
...
* a few more dead links
* one last link set
* fixed bad link
2021-11-01 17:37:50 -04:00
Jay Cammarano
28c59c2dc4
fixes many dead links ( #9325 )
2021-11-01 21:11:12 +00:00
Ben Haynes
fa816107cc
add content and fix broken links ( #9321 )
2021-11-01 16:52:07 -04:00
Dorian Zedler
106d207238
Feat/custom ldap mail attribute ( #9307 )
...
* Allow custom email field for LDAP
* Update docs
* Break out into variable and don't cast to String
2021-11-01 15:57:57 +00:00
Aiden Foxx
192de4affa
Fixed Github oauth config ( #9256 )
2021-10-30 13:02:59 -04:00
rijkvanzanten
7e1034d9d4
v9.0.0-rc.100
2021-10-29 14:40:05 -04:00
Ben Haynes
3c0b1a9445
Merge branch 'main' of https://github.com/directus/directus into main
2021-10-29 12:32:15 -04:00
Ben Haynes
6ec467e1dc
Fixes for docs links
2021-10-29 12:32:02 -04:00
Aiden Foxx
b7ee318e43
LDAP auth provider ( #9074 )
...
* Added LDAP implementation
* Cleanup and added refresh checking
* Added provider check to ldap
* Added LDAP docs
* Always update LDAP user role on authentication
* Fetched package-json from github
* Fixed lint error
* Update api/src/auth/drivers/ldap.ts
* Update api/src/auth/drivers/ldap.ts
* Added missing locale key
* Update docs/guides/api-config.md
* Update docs/configuration/config-options.md
* Update api/src/auth/drivers/ldap.ts
* Added back LDAP example
* Update config-options.md
* getUserID function sjhouldn't care about password
* Added LOCKOUT to INVALID_ACCOUNT_FLAGS
* Update styling approach for v-select
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-10-29 11:58:10 -04:00
Ben Haynes
f3c47ebf5d
broken database docs mirroring link
2021-10-29 10:57:51 -04:00
Jakob
15b875728b
Add configurable headers for webhooks ( #8855 )
...
* Add configurable headers for webhooks
* Update api/src/database/migrations/20211016A-add-webhook-headers.ts
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
2021-10-29 10:52:44 -04:00
Ben Haynes
037fbd231a
Update popular links
2021-10-28 19:21:45 -04:00
Aiden Foxx
fc3e24be12
Clarified some oauth things in the docs ( #9203 )
2021-10-27 17:38:06 -04:00
Nicola Krumschmidt
eed8c0bf97
Export API dist folder at the root of the package path ( #9199 )
2021-10-27 17:37:26 -04:00
Jay Cammarano
29b0fb9b8b
Fixes broken links in docs ( #9172 )
...
* first half of broken links fixed
* next chunk of broken links resolved
* next chunk of urls
* last chunk of links
* one more
* filter rules
* homepage links
* removed localhost
* filter rules for query
* updated links
* relationships link
* changed links from references to glossary
2021-10-27 17:22:43 -04:00
Aiden Foxx
b6cb3253f6
Added the provider to auth hooks ( #9059 )
...
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-10-26 15:36:08 -04:00
Rijk van Zanten
cfe9d0ffb9
Re-add missing oauth docs ( #9170 )
2021-10-26 14:17:15 -04:00
rijkvanzanten
7d209aa571
Remove homepage redirect
2021-10-26 11:28:42 -04:00