Commit Graph

91 Commits

Author SHA1 Message Date
Joe Innes
987442c03a Allow passing 'version' to Knex (#10960)
* Allow passing 'version' to Knex

* Exclude version from being passed into connection object
2022-01-10 17:23:35 +00:00
Nicola Krumschmidt
0d9de79abf Add documentation for EXTENSIONS_AUTO_RELOAD (#10922)
* Add documentation for EXTENSIONS_AUTO_RELOAD

* Add note to creating-extensions as well

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-01-10 09:37:56 -05:00
Josh Kramer
2a98f26bc5 Clarify case rules for storage env vars (#10891) 2022-01-06 13:26:33 -05:00
Azri Kahar
e9445df387 update docs on descriptor in project settings (#10813) 2022-01-03 09:56:50 -05:00
Rijk van Zanten
ec86d5412d Add Content-Security-Policy header by default (#10776) 2021-12-30 16:51:49 -05:00
Rijk van Zanten
7833160348 Add ability to configure IP extraction (#10765)
* Add ability to configure IP extraction

* Add comment on ipv4 v ipv6

* Uninstall unused is-ip package
2021-12-30 11:34:49 -05:00
Paul Boudewijn
02950ea32e exclude MS-SQL system table 'sysdiagrams' (#10713) 2021-12-27 18:50:05 +00:00
Azri Kahar
d0134247c2 update cli docs (#10543) 2021-12-16 09:20:43 -05:00
rijkvanzanten
0cfb901b07 Document oauth2/openid params 2021-12-08 10:12:30 -05:00
ryntab
abbc334518 Tweak for logical operators snippet (#10382)
Might be less confusing to use the default collection field value of "user_created" instead of "owner" in this example. This snippet could then be used as a custom item permission out of the box.
2021-12-07 19:25:32 -05:00
Azri Kahar
19cbe896b4 docs updates on file library, content sidebar etc (#10334) 2021-12-06 09:36:00 -05:00
Dorian Zedler
94e53212b4 Implement AUTH_DISABLE_DEFAULT config option (#9322)
* Implement AUTH_DISABLE_DEFAULT config option

* Disable default auth rute if set to disabled

* Add disableDefault to API docs

* Update app/src/routes/login/login.vue

Co-authored-by: Aiden Foxx <aiden.foxx.mail@gmail.com>

* Remove watch block

* Remove useless variable

* Don't import watch

Co-authored-by: Aiden Foxx <aiden.foxx.mail@gmail.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-12-03 14:13:50 -05:00
rijkvanzanten
ebbbdf6a5c Tweak relationships information re m2a 2021-12-03 12:32:26 -05:00
Rijk van Zanten
d2e228f30b Add missing docs for collection hierarchy and auth-refresh mode (#10278)
* Add docs on collection hierarchy

Fixes #10265

* Add missing docs on "mode" flag for auth refresh

Fixes #10007

* Fix wrong quotes in gql
2021-12-03 11:25:57 -05:00
Azri Kahar
e25043dd96 tweaks for mentions, notifications & conditions (#10184) 2021-12-01 09:48:50 -05:00
Azri Kahar
f5b8c53bd2 Update documentation for project settings (#9800) 2021-11-24 17:48:21 -05:00
Aiden Foxx
8b9671baaa Added scope support to LDAP group and user search (#9529)
* Added scope support LDAP group and user search

* Fixed linter screwing up my markdown

* Update docs/configuration/config-options.md

* Always return correct DN for user with sub scope
2021-11-22 15:05:01 -05:00
rijkvanzanten
2e606672a1 Document permissions cache 2021-11-15 11:19:21 -05:00
Azri Kahar
da3808b50f Add references for social & material icons (#9689) 2021-11-10 10:29:40 -05:00
José Varela
67b51b7d44 Add support for AWS SES (#9625) 2021-11-08 17:35:05 -05: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
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
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
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
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
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
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
Rijk van Zanten
cfe9d0ffb9 Re-add missing oauth docs (#9170) 2021-10-26 14:17:15 -04:00
rijkvanzanten
b24b1dfc28 Add missing config options file 2021-10-26 11:18:39 -04:00
Ben Haynes
1b87e4555f Docs structure (#9071)
* WIP

* updates

* docs updates

* structure

* big structure update

* docs module icon change

* in-app docs nav

* more content and structure changes

* Remove redundant

* Fix docs build in app

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-10-25 21:19:23 -04:00