* add docs to eslint
* update prettier ignore
* fix vitepress linting
* eslint ignore fixes
* prettier run
* update prettier ignore
* fix formatting
* enable linting of markdown files
* revert format command change
* fix irregular whitespace
* update dictionary
* (Changelog) Create four-boxes-shake.md
* Rework ESLint / Prettier setup
- Disable js/ts/vue files for Prettier to ensure linting/formatting is
only happening via ESLint
- Rework formatting of code blocks in md files
- Disable formatting of code blocks in md files under '/docs' by Prettier
- Instead use "eslint-plugin-markdown" to format & __lint__ js*/ts*/vue such code blocks
- Replace unmaintained "eslint-plugin-md" plugin by official "eslint-plugin-markdown" plugin
- I'll check whether we can use this to format other code blocks
(json, html, ...) as well
- Restructure, clean-up and apply some fixes to the ESLint config
(Note: Not ready for flat config yet since not supported by
vscode-eslint)
- Enable cache for ESLint / Prettier in scripts
- Clean-up ignore file
- Explicit folder declaration (.../)
- Don't ignore all 'extensions' folders in ESLint (only
'/api/extensions/')
- Enable formatting in '/.github' folder
* Fix all formatting issues with Prettier
* Update md files under /docs/.typedocs
* Fix lint issues in vue/js files
* ESLint / Prettier config revision v2
Enable Prettier for md code blocks, but only as warnings since it can
get into the way with Vitepress md extensions like '[!code ...]'
comments
* Remove prettier-ignore comments
* Make spellchecker happy
* Remove changeset
* Revert lint setup for code blocks
There are many cases in the docs where linting / formatting of code
blocks doesn't make
sense:
- Code block is only an excerpt - linter fails
- Code block contains special comments (e.g. markdown extensions) which
needs to remain at the same place - formatting would break it
- ...
* Apply lint issues / formatting from temp lint setup
* Run formatter
* Fix merge failure
* Simplify & modernize ESLint / Prettier setup
No longer run Prettier via ESLint. Nowadays, this is the recommended
setup. There's no real need to run it this way, it's just an additional
layer.
Add VS Code settings to make the work with the new setup easier.
* Remove unused eslint disable directives
* Make editorconfig more useful
* Fix formatting issues reported by editorconfig
* Format files with Prettier
* Enable formatting of source translations file
* Format source translations file
* Remove unnecessary console error
* Remove unnecessary line
* Only ignore md files under .changeset
* Add CI reporter for Prettier
* Fail job on wrongly formatted files
* Fix format
* Test Prettier action on changed/added file
* Use simple CI format check for now & no cache
* Revert "Test Prettier action on changed/added file"
This reverts commit 4f7d8826ad.
* Introduce code blocks check for docs
* Fix code block issues
* Ignore auto-generated packages dir
* Fix comment position
* Also lint `/app/.storybook`
* Reformat modified files
---------
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
* moved config-options.md to self-hosted
* added non-docs files that link to config-options
* moved SSO and fixed links
* moved upgrades-migrations into self-hosted
* moved filter-rules into reference docs and fixed broken links
* initializing architecture doc
* first draft complete
* added media and improved copy
* final proofread
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
* created self-hosted section, moved installation guides, and re-edited first draft of the cloud quickstart guide
* refactored step 1 into two steps
* added media
* pre-mgmt submission proofread
* pulled down on wrong branch.
Revert "pre-mgmt submission proofread"
This reverts commit dfd678d083.
* first draft, halfway done
* first draft done
* added directus cloud section, first draft
* second draft, applied ben's desired edits
* moved resources out of intro and into separate page
* tiny tweaks
* heavily edited whats directus and tidied up lower sections
* link checked and proofedited with grammarly
* Update docs/getting-started/resources.md
* Update docs/getting-started/introduction.md
* Auto-format indentation
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
* created self-hosted section, moved installation guides, and re-edited first draft of the cloud quickstart guide
* refactored step 1 into two steps
* added media
* pre-mgmt submission proofread
* pulled down on wrong branch.
Revert "pre-mgmt submission proofread"
This reverts commit dfd678d083.
* proof-edited
* forgot to save before last comit
* fixed italic issue where I started with _ and ended with *
* tiny tweaks
* tiny tweak 2.0
* tiny tweak 4
* tiny tweak 5
* .gitignored package-lock.json that was created in the docs subfolder
* added cloud section structure
* set initial article outlines
* drafter accts-teams and shifted cloud docs in navbar
* added overview and projects draft
* added tiers and billing outline and basics
* added image to drafts and polished text. needs one more pass. added css for dngr on icons
* Added photos to overview
* minor tweak on images
* imrpoved copy and expanded CSS for inline icons
* expnaded CSS and, added images and finished copy on acct-n-team
* more copy touchups
* Add divider between cloud and regular docs
* Fix capitalization of Github -> GitHub
* fixed overview images and tweaked copy
* recructured pages. Added writing tasks on appropriate pages
* added accts, options, and teams pages
* Overview intro (re)written)
* overview initial copy
* Overview first draft complete, links not added, media not added
* accounts initial draft complete, no media
* teams redrafted, projects and options partial refactoring
* projects redrafted
* finalized 5th page as glossay and reformatted
* refactored glossary structure
* glossary terms p1
* glossary copy 80% complete
* more glossary copy
* cloud glossary basic copy probably 100% done
* checked hyperlinks
* initial proofread on overview
* initial accounts proofread
* re-edited billing sections
* re-editec projects section and glossary
* re-edited teams
* small edits
* edited accounts, teams, projects
* re-edited glossary
* added screenshot-based media, still need graphic illustrations
* small, tiny edits
* fixed GitHub capitalization and other small type error
* applied ben's edit suggestions on overview, accounts, and 1/2 of projects
* applied the rest of Ben's edits
* added missing screenshots
* proof-read
* Fixed Team proejcts title
* tweaked copy after my ~10 questions to ben
* reworked 'projects > create a project' sections and 'glossary > data-processing' section
* final copy touchup, link check, still missing Rijk's review
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
Co-authored-by: Eron Powell <eronpowell@Erons-MBP-2.local>
Co-authored-by: Eron Powell <eronpowell@Erons-MBP-2.hitronhub.home>
* Remove UTC conversion from date, time and datetime fields
* Fix mysql / maria timestamps when not in UTC timezone
* Add sequential tests with node timezone change
* Increase connection attempt check
* Add error catching in tests flow setup
* Check for server connectivity
* Fix promises
* Fix timestamp inconsistencies
* Revert to previously used parseISO
* Ensure database and directus connection
* Add another timezone to test positive and negative GMT
* Set local server hostname to localhost
* Add tests for SQLite
* Use notNullable primary key
* Revert connection testing sleep duration
* Fix nested transactions on SQLite
* Increase MSSQL request timeout
* Add type override flag for SQLite
* Remove commented code
* Add type override flags for Oracle
* Updated test file path
* Increase test servers launch timeout
* Increase test servers launch timeout
* Update format of tests
* Fix typo
* Increase test timeout for CockroachDB
* Add type overrides when creating fields through collections service
* Remove time field type conversion for Oracle
* Update collections list in test
* Remove check for time field in Oracle
* Add missing continue...
* Remove database override
* Add note for SQLite
* Rename flags and extract shared util
* Abstract remaining DB specific checks
* Revert flags renaming except renaming of test files
* Use date helper to add field flag
* Move field date typecasting upstream
* Use timestamp helper for date-created and date-updated
* Fix tests
* Remove unused vars
* Add tests for date-created
* Increase connection attempt count
* Fix test for mariadb
* Increase allowable difference to account for delays
* Add tests for date-updated
* Fix tests again for mariadb
* Add date helpers post merge
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
* 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>
* 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>
* .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>
* 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
* 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>
* 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>
* 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.
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.
* 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