Commit Graph

830 Commits

Author SHA1 Message Date
Rijk van Zanten
1c3e94d830 Add new export experience (#12201)
* Use script setup

* Start on export dialog

* Use new system field interface, replace limit with numeric input

* Set placeholder

* Add sort config

* Use folder picker, correct layoutQuery use

* Add local download button

* Allow writing exports to file

* Add notification after export

* Fix sort config, use new export endpoint

* Setup notification hints

* Add information notice

* Fix local limit, cancel button

* Add (basic) docs for export functionality

* Fix json export file format

* Implement xml batch stitching

* Resolve review points
2022-03-17 15:43:45 -04:00
Eron Donevan Powell
29cf8e1519 Docs: File Library (#11950)
* restructured file-library outline

* completed 3 sections, added action btn to CSS

* finished upload file and replace file sections

* completed full documentation refactor. media and proofreading remain

* updated media, except rename and delete folder vids

* copy ready. Links tested

* last second tweaks to copy and media

* stated multiple files can be uploaded

* Rijk's suggestions added and one final pass on copy edits

Co-authored-by: Eron Powell <eronpowell@Erons-MBP-2.local>
Co-authored-by: Eron Powell <eronpowell@Erons-MBP-2.hitronhub.home>
2022-03-14 16:07:56 -04:00
rijkvanzanten
02747d9afc Fixed typo 2022-03-11 10:23:59 -05:00
Dominic Marcelino
625c89f74c Update hooks.md - add system collection "files", fix payload parameter (#12094)
* Update hooks.md

* Delete event does not contains the whole payload but the payload keys
* files filter and hooks exist except for create/update

* Update docs/extensions/hooks.md

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-03-11 09:50:25 -05:00
Azri Kahar
3445114296 Remove outline prop from v-icons (#12092)
* remove unused outline prop from icons

* update docs
2022-03-11 09:48:42 -05:00
Eron Donevan Powell
a76e6b2120 Docs: User Directory (#11728)
* .gitignored package-lock.json that was created in the docs subfolder

* First User Directory Rough Draft Complete

* added footer

* restructured outline

* 2nd Rough Draft Complete, no pics and not proofread

* added photos

* added all media and polished copy

* Finished admin options section

* Applied Rijk's copy suggestions

* fixed date in information bar media issue

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
Co-authored-by: Eron Powell <eronpowell@Erons-MBP-2.local>
2022-03-10 09:58:37 -05:00
Eron Donevan Powell
e66452ac6f Docs: Settings (#12038)
* initial pass on copy

* Finished Settings

* rijk's suggestions

* real final tweak

Co-authored-by: Eron Powell <eronpowell@Erons-MBP-2.local>
2022-03-10 09:56:09 -05:00
Eron Donevan Powell
6006b1215b Docs: Filters (#11330)
* added package-lock.json into gitignore

* added filters.md draft doc

* added header intro and section headers

* full outline and 60% of copy

* more fitlers doc copy

* copy 95% complete

* Filters doc as good as done

* small copy tweaks

* Decrease size of dividers in nav, add section with filters

* fixed dynamic var vid

* fixed filter-rules type-o

Co-authored-by: Eron Powell <eronpowell@Erons-MBP-2.local>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-03-07 19:22:46 -05:00
Rijk van Zanten
6da3f1ed50 Add support for import ip deny list (#12025)
* Add support for import ip deny list

* Fix typo
2022-03-07 18:09:08 -05:00
Rijk van Zanten
826404bcbe Default CORS to disabled (#12022)
* Default CORS to disabled

* Update docs to match
2022-03-07 21:05:02 +00:00
Rijk van Zanten
a8df6d9653 Allow configuring /assets endpoint CSP separately (#12020)
* Allow configuring CSP for /assets seperately

* Document assets-csp config

* Remove double header
2022-03-07 15:41:13 -05:00
Spencer Jones
469f6400b7 add --dry-run flag to schema apply CLI command (#12006)
Co-authored-by: Spencer Jones <sjones@morningconsult.com>
2022-03-07 17:52:02 +00:00
rijkvanzanten
eba2576227 v9.6.0 2022-03-04 20:25:43 -05:00
Rijk van Zanten
eec21d8d9a Add "items.sort" event (#11954)
* Adds the 'sort_updated' event emit after items are sorted

Signed-off-by: Mihovil Ilakovac <mihovil.ilakovac@gmail.com>

* Updates the event name to 'sort_update'. Docs.

Signed-off-by: Mihovil Ilakovac <mihovil.ilakovac@gmail.com>

* Updates the event name to `sort`

* Add item/to to hook, fix docs

Co-authored-by: Mihovil Ilakovac <mihovil.ilakovac@gmail.com>
2022-03-04 19:58:47 -05:00
Rijk van Zanten
6a3eb823c3 Update base theme of the App (#11952)
* Add migration to remove default value from project_color

* Upgrade the default theme

* Do a pass over the header buttons

* Do another pass over --warning uses

* Little things

* Tweak smoke

* Use updated map

* Use dark system elements in dark mode

* Remove outdated files, update toasts

* Use correct delete button style for role

* Use primary for created point

* Tweak spacing in revisions section

* Use primary for sidebar sections

* Various color tweaks and changes

* Update base color palette

* Update "css reset" code

* Remove splashscreens, add default favicon

* Add primary highlight to datamodel page

* dark mode color update

* fix sign out hover color

* Does this help?!

* This fixes some loading issues

Fixes https://github.com/directus/directus/issues/10707

* Calculate default pretty background?

* Fix public view with logo

* Fix responsiveness of login page

* adjust notification group width to be equal

* Do an absolute pointless task that doesn't do anything

It was suggested that it could fix the stylelint error in tests, but alas

* Remove stylelint

Doesn't seem to play nice with script setup and other changes

Co-authored-by: Ben Haynes <ben@rngr.org>
2022-03-04 18:53:39 -05:00
Rijk van Zanten
eea9f45624 Add authenticate hook to implement custom auth checks against current request (#11942)
* Add "authenticate" filter hook that allows custom auth check

* Start on test

* Update Jest, restructure API tests, start implementing authenticate test

* Move access token verify to util function

* Ensure jest can show inline warnings on correct lines

* Update is-directus-jwt to use jsonwebtoken decode + add tests

* Remove unused package

* Tweak and finish + test authenticate

* Tweak test

* Add authenticate filter to docs

* Don't scan tests for codeql

* No seriously, ignore tests
2022-03-03 16:29:13 -05:00
Rijk van Zanten
962af79dbc Replace union query approach with updated table scan (#11246)
* Start by stripping out the previous Union attempt

* Then set limit to -1, causing massive memory issues on big data sets

* Now fix the memory problem by batching the responses

* Use env var for max relational batch size

* Rename env var, add to docs
2022-03-01 18:20:00 -05:00
Michael Lopez
c561826572 Support listen parameter (#11465)
* Support listen option for allowing server to listen on wanted IP address or host

* Change default listen value from localhost to 0.0.0.0

* Update LISTEN variable to HOST

* fix formatting

* Update docs/configuration/config-options.md

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-02-28 21:09:27 +00:00
José Varela
d4be6e0437 Add support to extend server properties (#11869) 2022-02-26 12:11:24 -05:00
Azri Kahar
0bad2744b3 Clarify default role ID format for SSO (#11855)
* clarify default role ID format for SSO

* tweak
2022-02-25 11:28:29 +00:00
Dominic Marcelino
45344284bf Update plesk docs: Create / apply snapshots (#11819)
* Update plesk docs: Create / apply snapshots

Add a script wrapper to support snapshots on plesk servers. 

Not sure if the example script should stay here or be added next to the other wrapper on the cli-page.

* Update docs/getting-started/installation/plesk.md

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-02-23 16:32:41 -05:00
schlagmichdoch
dacce8e472 Fix anonymous binding ldap (#11750)
* fix anonymous binding ldap by correcting condition for throwing InvalidConfigException

* add anonymous bind option to docs

Co-authored-by: Dominik Tils <d.tils@studentec.de>
2022-02-23 15:47:59 -05:00
Chris Bartley
bd89fe2a4c Fixed readByQuery's sort parameter in custom API endpoint example (#11662) 2022-02-22 14:36:30 +08:00
Azri Kahar
97fcefc268 Docs dark mode fix v2 (#11782)
* fix docs dark mode

* tweak code token color

* dynamic color for homepage elements

* swap primary/secondary for dark mode

* add dark variant of header background
2022-02-22 05:22:06 +00:00
Azri Kahar
f4358cd04b Fix dark mode for docs (#11781)
* fix docs dark mode

* tweak code token color
2022-02-21 23:58:59 -05:00
Eron Donevan Powell
1bc7da6967 Docs: update CSS and pics (#11634)
* .gitignored package-lock.json that was created in the docs subfolder

* tweaked color names, except the ones in in vue files

* converted terminal screencaps into markdown

* updated images in 'Content'

* updated user-directory images

* updated media in file-library

* moved picsto cloud in reference>files

* updated images in config > datamodels > relationships

* updated primary colors in app-overview.svg

* updated insights images

* swapped quickstart-guide media and touched up copy

* Update last colors, remove linting from docs temporarily

* Fix theme color

* Update homepage header image

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-02-21 15:32:09 -05:00
rijkvanzanten
247b4f0564 Update supported DBs 2022-02-18 18:59:17 -05:00
rijkvanzanten
47a5da78fb v9.5.2 2022-02-18 11:45:07 -05:00
Abdón Rodríguez Davila
3de9bc1ada Update rollup-plugin-styles to v4 (#11689)
* Update rollup-plugin-styles to v4

* Update Rollup packages
2022-02-18 11:25:50 -05:00
Dominic Marcelino
c148e1d441 CLI docs Tip: Create date based snapshots (#11698)
A small custom script to create multiple snapshots organized by date. Can be used e.g on a server where git is not available for snapshot versionizing.
2022-02-18 10:28:31 -05:00
Néstor Sabater
a00ad5aaa2 fix/removed typo: duplicated word (#11704) 2022-02-18 10:23:11 -05:00
Dominic Marcelino
9a4ed5fcfb Update docs: plesk document_root (#11687)
* Update docs: plesk document_root

The domain’s document root directory must be a subdirectory of the application root directory.

See Plesk documentation: https://docs.plesk.com/en-US/obsidian/administrator-guide/website-management/nodejs-support.76652/

* update image
2022-02-17 10:04:00 -05:00
José Varela
de5b34d87b SDK: split readMany into itself and readByQuery (#11204)
* split readMany into self and readByQuery

* add tests

* run tests only on `test` folder

* fix docs

* fix in `cli`
2022-02-16 09:52:42 -05:00
Yann Coleu
15b9f57ded minor typo in google cloud documentation (#11583)
* minor gcp typo

* fix typo container
2022-02-11 19:14:32 +08:00
Stephan Schmitz
64dfc04a86 Fix snapshot options documentation error (#11540)
Closes #11537
2022-02-09 18:30:10 +08:00
ijpatricio
646a4f8bd1 Fixes reference to documentation about environment variables. (#11488) 2022-02-08 07:03:05 +08:00
Ismail D
36ebe275e5 Fix GCP Kubernetes Engine typo (#11485) 2022-02-08 07:01:11 +08:00
rijkvanzanten
c0c412d30b v9.5.1 2022-02-03 20:41:49 -05:00
keesvanbemmel
cf5cebef33 Added / amended env vars in docs example for Google Cloud Logging (#11336)
* Added missing data field to sessions yaml

* rebased sessions.yaml

* Added complete GCP logging env vars to example

* Revert "Added complete GCP logging env vars to example"

This reverts commit eb9f95556b.

* Added correct env vars for GCP cloud logging
2022-02-03 17:55:08 -05:00
Stephan Schmitz
f7507dc906 Document --yes option for creating schema snapshots (#11366) 2022-01-31 14:30:28 -05:00
Stephan Schmitz
fab37abb60 Document --yes option to skip manual confirmation when applying a schema snapshot (#11356)
There's an undocumented `--yes` option, which is a rather valuable information and should be documented. For example, when you run the migration step in a CI/CD workflow, you don't want the manual prompt.
2022-01-31 11:10:04 -05:00
Nitwel
156bf0c8e9 fix icon image having a border. (#11339) 2022-01-29 14:56:29 -05:00
Eron Donevan Powell
8daed9c41b Docs: The Insights Module (#11175)
* Added insights docs draft and images

* updated insights draft doc images, grammar, links and beyond

* adjusted text and formatting in several areas

* minor language tweak

* removed local images. refromatted ::: on tips

* spaced ::: before and after

* Minor editing tweaks to headers and copy

* added link to explain panels in 'how it works'

* Added link on time sseries 'group aggregation' to the 'more on aggregate functions' section.

* Add standardized style for images/videos

* fixed naming on mp4 videos

* Tweak styles a bit

* Remove old nav link

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-01-29 17:41:57 +00:00
Nitwel
1e37429d7e Make docs a lot more fancy. (#10898)
* add images to content, file-library and user-directory pages of docs

* turn buttons from png to inline html and replace gifs with mp4s

* add a ton of icons everywhere

* add icons to presets & bookmarks

* add icons to webhooks

* add icons and clean up quickstart guide

* clean up icons and videos

* Move video assets to CDN

* Use updated video file naming system

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-01-29 12:25:54 -05:00
Josh Dean
7497676794 Documentation Polishing (#11267)
* glossary.md small typo

Documentation

* update docs glossary.md type

Documentation

* docs config-options.md typo

Documentation

* Update relationships.md

Documentation small typo

* Update relationships.md

documentation, small typo

* Update relationships.md

Documentation typo. I believe line 261 is an alias for the junction table.

* Update relationships.md

Docs Typo

* Update relationships.md

Docs Typos

* Update data-model.md

Docs Typo.

* Update sso.md

docs typo

* Update introduction.md

docs typo

* Update query.md

example isn't "on right" when read on mobile.

* Update introduction.md

Docs - confusing phrasing. Hope this helps.

* Update sdk.md

Unfinished sentence removed. Likely a copy paste from a discussion of instance prefixes.

* Update activity.md

Docs extra word
2022-01-25 13:06:10 -05:00
rijkvanzanten
f2552222e4 Tweak note on mysql 2022-01-24 19:51:19 -05:00
rijkvanzanten
78a25fe953 v9.5.0 2022-01-24 15:53:29 -05:00
rijkvanzanten
3baa0e5eb0 Tweak wording in docs 2022-01-24 10:47:46 -05:00
Juan José Miranda
717280b883 Change "register" for "handler" in the example (#11224)
* Change "register" for "handler" in the example

Change "register" for "handler" in the example custom endpoint route using id for access endpoints.

* Tweak name in reference points

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-01-24 09:51:18 -05:00
Nicola Krumschmidt
aa5da81fc0 Remove no-break space characters with regular spaces (#11232)
There are quite a few other occurrences all over the translation files,
some of which feel intentionally placed.
2022-01-24 09:43:57 -05:00