Commit Graph

778 Commits

Author SHA1 Message Date
Brainslug
595eb696ea Remove reference to readByQuery (#11188)
Updated order of examples and aligned titles to match
Added missing updateOne example
2022-01-20 15:24:40 -05:00
Eron Donevan Powell
f0a1177b98 moved sso doc over to configurations (#11041)
* moved sso doc over to configurations

* updated nav menu to link to SSO's new location
2022-01-20 10:08:57 -05:00
José Varela
f32f8eb19f add alert about nested alias (#11108) 2022-01-17 13:52:15 -05:00
Azri Kahar
74bb4a7c9a Add Unsupported Media Type Exception (#11096)
* add unsuported media type exception

* throw error when not multipart/form-data

* use unsupportedMediaType when checking import file

* add `UNSUPPORTED_MEDIA_TYPE` to Error Codes docs
2022-01-17 10:09:26 -05:00
Azri Kahar
e258f3d288 break word for code tags in custom blocks (#11085) 2022-01-17 04:49:37 +00:00
Jay Cammarano
154b919906 Update Running Locally docs to have correct paths in commands (#11038)
* removed /tests/ from the path since it says to be in tests

* Updated to remove the directory line instead of the tests path

* removed leading /

Co-authored-by: Jay Cammarano <jaycammarano@gmail.com>
2022-01-13 17:32:41 -05:00
Oreille
7e10d2017e End-to-end tests refactor (#10968)
* Refactor e2e tests

* Only install root dependencies for lint step

* Fix dumbest error ever

* Pass process.env too to spawned subprocess

* Suppress npm package installation prompt

* Improve error handling

* Add new compose file for tests

* Avoid port conflict with remoted

* Update docker-compose.yml

* Add test docs

* Use current branch workflow files and simplify skips

* Fix workflow file

* Fix workflow file

* Try adding `.yml` extension to allow reference in `uses`

* Place workflow file in folders to allow reference in `uses`

* Requires more work than expected, reverting

* Update docs to use correct compose file

* Remove comment / unused code

* Run tests from main

Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Jay Cammarano <jay.cammarano@gmail.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-01-13 16:32:45 -05:00
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