Commit Graph

664 Commits

Author SHA1 Message Date
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
rijkvanzanten
43cf4023b1 Fix link/method ref 2021-10-26 11:25:57 -04:00
rijkvanzanten
b24b1dfc28 Add missing config options file 2021-10-26 11:18:39 -04:00
renovate[bot]
07485de5e3 Update dependency micromark to v3.0.7 (#9141)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 14:42:53 +00:00
José Varela
224f6cb0bf docs: improve running locally (#9142) 2021-10-26 10:16:55 -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
José Varela
a7c16ca975 Feat: allow ctrl click to open new tab on tabular (#9115)
* feat: allow ctrl click to open new tab on tabular

* support metaKey + click
2021-10-25 11:22:48 -04:00
Paul Boudewijn
fb93ee0c86 Update introduction.md (#9063) 2021-10-22 10:24:24 -04:00
Paul Boudewijn
12524fe3a8 Update running-locally.md (#9068) 2021-10-22 10:24:00 -04:00
rijkvanzanten
7c88f03884 v9.0.0-rc.99 2021-10-21 19:52:37 -04:00
Aiden Foxx
fa3b1171e8 New OpenID and OAuth2 drivers (#8660)
* Moved over oauth impl to new interface

* Fixed most build issues and started addind schema to auth drivers

* Finished up OAuth2 and OpenID drivers

* Removed unused migration and utils

* Fixed minor todos

* Removed old oauth flow

* Changed oauth flow to re-use refresh token

* Added new oauth frontend

* Added font awesome social icons

* Updated authentication documentation

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

* Tested implementation and fixed incorrect validation

* Updated docs

* Improved OAuth error handling and re-enabled creating users with provider/identifier

* Removed Session config from docs

* Update app/src/components/v-icon/v-icon.vue

* Removed oauth need to define default roleID

* Added FormatTitle to SSO links

* Prevent local auth without password

* Store OAuth access token in session data

* Update docs/guides/api-config.md

* Fixed copy and removed fontawesome-vue dependency

* More docs fixes

* Crucialy importend type fiks

* Update package-lock

* Remove is-email-allowed check

In favor of more advanced version based on filtering coming later

* Fix JSON type casting

* Delete unused util

* Update type signature to include name

* Add warning when code isn't found in oauth url

and remove obsolete imports

* Auto-continue on successful SSO login

* Tweak type signature

* More type casting shenanigans

* Please the TS gods

* Check for missing token before crashing

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-10-21 17:45:01 -04:00
Paul Boudewijn
deea6c787b Update iis.md (#8948)
the web.config example didn't work because the url value of the match element was not a valid regex.
2021-10-19 23:12:04 +00:00
ian
6db9e0cd7d Fix field duplicate typo (#8879) 2021-10-17 21:45:39 +08:00
rijkvanzanten
0dd0e1b1c1 v9.0.0-rc.98 2021-10-15 20:13:07 -04:00
rijkvanzanten
392d8bd1df v9.0.0-rc.97 2021-10-14 21:47:50 -04:00
José Varela
fcdb0aa620 docs: replace 'files.create' by 'files.upload' (#8783)
because 'files.create' does not exist
2021-10-14 05:20:05 +00:00
Nicola Krumschmidt
2908063d86 Transpile docs to vue components at build time (#8743) 2021-10-12 14:22:14 -04:00
Rijk van Zanten
3712892e79 Add missing geo type filters (#8742) 2021-10-12 14:13:35 -04:00
rijkvanzanten
6b1c151839 Cleanup supported versions 2021-10-12 11:46:34 -04:00
Pascal Jufer
11ca5336f2 Add required envs to plain docker command (#8719)
As reported on Discord
2021-10-12 09:21:12 -04:00
rijkvanzanten
435cc0cc67 v9.0.0-rc.96 2021-10-07 18:39:54 -04:00
heyarne
0d7d63f9fe Check for duplicate migration keys (#8597)
* Check for duplicate migration keys

* Run prettier
2021-10-07 18:00:31 -04:00
Rijk van Zanten
521eda5367 Update users.md 2021-10-06 11:26:02 -04:00
Nicola Krumschmidt
8f54c8d40d Recommend npm init directus-project to create a project (#8590)
This slightly nicer syntax was introduced back in "npm@6.1.0".
"node@12.20.0", which is the minimum version we require, ships with "npm@6.14.8".
"npm@6" versions below "6.1.0" were never actually shipped with any node version, so it should be very safe to use this syntax.
2021-10-06 09:56:48 -04:00
rijkvanzanten
79361e3d42 List DB_CHARSET for mysql in reference 2021-10-05 11:02:57 -04:00
renovate[bot]
320a9cb1b4 Update dependency slugify to v1.6.1 (#8532)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-04 10:19:09 -04:00
Rijk van Zanten
403d19f024 Update environment-variables.md 2021-10-04 09:38:06 -04:00
Rijk van Zanten
9d915ec1c1 Update environment-variables.md
Fixes #8522
2021-10-04 09:37:47 -04:00
Nicola Krumschmidt
46f00d6202 Drop support for display handler functions in favor of functional components and make the routes module config required (#8475)
* Make routes in ModuleConfig required

* Make Panel options nullable

* Clean up InterfaceConfig and LayoutConfig types

* Remove DisplayHandlerFunction and rename handler to component

* Use template interpolation when registering extensions
2021-10-01 11:52:57 -04:00
rijkvanzanten
afe7b15990 v9.0.0-rc.95 2021-09-27 18:58:22 -04:00
Azri Kahar
ad025c99c8 Prevent unnecessary interpolation by Vuepress (#8279) 2021-09-24 10:36:26 -04:00
Azri Kahar
83d2b661c8 Allow environment syntax prefix per item within an array (#8257)
* Updating environment syntax prefix to identify prefix per item

* Updating environment syntax prefix documentation to show how to add prefix to array value

* Add additional example

Co-authored-by: Juan Carlos Blanco Delgado <juancarlosjr97@gmail.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-09-23 16:15:18 -04:00
rijkvanzanten
7e41860cbf v9.0.0-rc.94 2021-09-22 15:53:24 -04:00
Jay Cammarano
a7228f2815 Tests are written for get-relation-type.ts (#8245)
* setup jest in shared. adjust-date tests.

* define-extensions

* filters to query

* get-fields-from-template.test.ts
base coverage

* get filter operators for type

* tests passing, 100% coverage

* formatting

* removed unneccessary tests
2021-09-22 15:22:24 -04:00
ian
da367a4136 Add documentation for module bar (#8242) 2021-09-22 12:27:07 -04:00
renovate[bot]
e7c8bef308 Update dependency directory-tree to v3 (#8234)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-22 10:11:26 -04:00
Gökay Gürcan
5b37bd6480 fix(docs): update link in persistence section (#8192) 2021-09-21 16:50:30 +08:00