Commit Graph

771 Commits

Author SHA1 Message Date
keesvanbemmel
ee7e678f24 Adds possible extra pino logger options through env vars (#10911)
* Added missing data field to sessions yaml

* rebased sessions.yaml

* Added custom pino logger options from env vars

* Added LOGGER_ explanation to docs

* Added similar functionality for pino http, so level of request logs can be set
2022-01-12 10:41:28 -05:00
keesvanbemmel
b13afc7445 Installation guide for Google Cloud Platform (#10936)
* Added missing data field to sessions yaml

* rebased sessions.yaml

* Initial commit

* Initial complete guide

* Added LOGGER_LEVELS addition

* Removed redundant VPC cost aspect

* Added login details after deployment

* Minor textual changes

* Made requested changes by @azrikahar

* Changed github repo link from keesvanbemmel to gcp-example in community

* Added Run on Google Cloud button to readme.
2022-01-12 10:35:57 -05:00
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
Azri Kahar
ed70219ecb fix Read By Query example code (#10943) 2022-01-10 04:15:26 +00:00
rijkvanzanten
65bfe68b0c v9.4.3 2022-01-07 16:11:24 -05:00
Josh Kramer
2a98f26bc5 Clarify case rules for storage env vars (#10891) 2022-01-06 13:26:33 -05:00
José Varela
fd885b14ea Docs(SDK): use top level await upload (#10827) 2022-01-03 15:04:07 +00:00
Azri Kahar
e9445df387 update docs on descriptor in project settings (#10813) 2022-01-03 09:56:50 -05:00
Azri Kahar
f4720f6ed2 minor fix for closing tag in file upload example (#10816) 2022-01-03 06:42:41 +00:00
José Varela
865a69a359 Add example of upload file on SDK (#10787) 2021-12-31 12:06:04 +00:00
rijkvanzanten
1a5a9180ee v9.4.2 2021-12-30 21:11:32 -05:00
Wryn (yage) Wagner
b9636e3243 [#10500] update_users_me to graphql; added documentation for users/me update for both REST and graphql api (#10622)
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-12-30 20:11:48 -05:00
Rijk van Zanten
ec86d5412d Add Content-Security-Policy header by default (#10776) 2021-12-30 16:51:49 -05:00
Adam Miedema
6fd42bdc38 Add link to Cleavr deployment guide (#10761)
Added a link to Cleavr's instructions for deploying Directus to a VPS. Or, if you prefer to have a guide on docs.directus.io, let me know and would be happy to do so.
2021-12-30 15:03:53 -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
rijkvanzanten
4991ba858b v9.4.1 2021-12-28 20:17:21 -05:00
Paul Boudewijn
02950ea32e exclude MS-SQL system table 'sysdiagrams' (#10713) 2021-12-27 18:50:05 +00:00
rijkvanzanten
a47b9cec0f v9.4.0 2021-12-23 22:46:18 -05:00
rijkvanzanten
4b444baf5b v9.3.0 2021-12-16 18:48:10 -05:00
Azri Kahar
4d97597e8f Add Archive sidebar component (#10513)
* move archive to dedicated sidebar component

* fix unarchive dialog & notification

* update docs on viewing archived items

* remove commented code

* use radio btns, update options text & query string

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-12-16 22:30:00 +00:00
Azri Kahar
d0134247c2 update cli docs (#10543) 2021-12-16 09:20:43 -05:00
Brainslug
35c3f90c9a added event emitter to extension context and updated docs (#10529) 2021-12-15 21:29:06 +00:00
Azri Kahar
4d909cfa30 fix links to types (#10467) 2021-12-13 08:45:29 +00:00
Azri Kahar
0ec5f9f2db Fix search suggestion in dark mode (#10465) 2021-12-13 08:29:26 +00:00
rijkvanzanten
546d525175 v9.2.2 2021-12-10 15:53:08 -05:00
Jay Cammarano
00a838f020 Docs for testing the API (#10275)
* mock-knex

* test on the migrations run started.

* test passing for run.up()

* reorganize /tests/ to allow integration tests

* e2e setup changes

* e2e jest.config moved

* e2e paths fixed, integration config

* add nonadmin role and user seed+migration

* auth/login w/ documentation (docs will be moved)

* update user seed

* add postgres10 to the ci?

* argon2 saves the day

* items tests passing with postgres10 support

* removed comments

* move generateHash out of directus_users

Co-authored-by: Jay Cammarano <jaycammarano@gmail.com>
2021-12-10 14:58:51 -05:00
Azri Kahar
f09862e865 clarify "folder" collections & references in docs (#10408) 2021-12-09 18:17:35 -05:00
Azri Kahar
f071a4a933 add custom panel extensions template & docs (#10386) 2021-12-08 11:13:10 -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
rijkvanzanten
1d4e9c425c v9.2.1 2021-12-06 14:31:01 -05:00
Nicola Krumschmidt
90b59d89e0 Extension docs updates (#8611)
* Rename API Endpoints docs to Endpoints to align with Hooks

* Add a Creating Extensions page to the docs

* Update individual extension docs pages

* Apply latest changes to hook docs

* Move available events to a dedicated section in hook docs
2021-12-06 13:08:31 -05:00
Azri Kahar
19cbe896b4 docs updates on file library, content sidebar etc (#10334) 2021-12-06 09:36:00 -05:00
rijkvanzanten
776c105aac v9.2.0 2021-12-03 16:16:38 -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
Azri Kahar
cb45ba1ba5 Docs styles (#10286)
* Update docs to use CSS variables

* remove previous dark mode styles
2021-12-03 13:53:15 -05:00
rijkvanzanten
ebbbdf6a5c Tweak relationships information re m2a 2021-12-03 12:32:26 -05:00
Rijk van Zanten
032ec99be1 Add note to enable module in settings after completion (#10280)
Fixes #10259
2021-12-03 11:42:41 -05:00
Oreille
e03bb391b0 Add items.read filter hook (#10279) 2021-12-03 16:37:04 +00: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
Rijk van Zanten
6a6a525940 Fix border colors in docs dark mode (#10277)
Fixes #10266
2021-12-03 11:09:47 -05:00
Łukasz Szcześniak
e17048e653 Remove runMigrations from database install (#9911) (#10003)
* Remove `runMigrations` from `database install` (#9911)

* Fix typo (#9911)

* Remove unnecessary import (#9911)
2021-12-02 16:05:54 -05:00
Gerard Lamusse
0993264215 Add dark mode to docs (#10098)
* Add dark mode to docs
Respects prefers-color-scheme

* Changed dark mode to just use styles instead of via component

* Don't change navbar
2021-12-02 10:57:04 -05:00
Azri Kahar
f8dae46754 add sidebar link to notifications API reference (#10221) 2021-12-02 10:56:02 -05:00
Joe Innes
4d4c7de74d Add a tip explaining HTTP Only cookies issue (#9574)
* Add a tip explaining HTTP Only cookies issue

Watching the Discord, I see this issue coming up fairly frequently, when someone is developing a front end app locally, and their app suddenly stops working with the message

> Error: "refresh_token" is required in either the JSON payload or Cookie

This tip explains the cause of the issue, and two different workarounds.

* use relative link

Co-authored-by: Azri Kahar <azrikahar@outlook.com>
2021-12-01 17:21:01 -05:00
Azri Kahar
0dc0fd4360 Simplify presentation/aliases & accordion setup flow (#9742)
* move title input up for dividers

* WIP

* simplify key id

* add contrast to notices in field configuration

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-12-01 21:29:02 +00:00
José Varela
6ae3eca47f add SSO guide (#10104)
- adds new section "Guides" to Sidebar
- example with Google OpenID
- SSO and cookies across domains
2021-12-01 12:46:02 -05:00
Azri Kahar
e25043dd96 tweaks for mentions, notifications & conditions (#10184) 2021-12-01 09:48:50 -05:00
Jay Cammarano
57494d8cca removed security hole (#10174) 2021-11-30 21:28:33 +00:00