* GraphQL count aggregation for all fields
Fixes#11792
* Rename countRows to countAll
* moved function to new apply-query folder
Co-authored-by: jaycammarano <jay.cammarano@gmail.com>
* Fix docs homepage sidebar
* Update progress indicator's color
* Apply style to homepage sidebar only
* Set different progress indicator color for light mode
* small tweaks on content page, pushing to origin
* collectionsfirst edit half done
* improved tip on create an item
* reworked intro sections of content docs
* added on import/export and layouts pages
* finished content.md first draft, added some structural details
* content-collections.md first draft complete
* renamed content-collections.md to 'Collection Page' and content-items.md to 'Item Page'
* content-items.md first draft finished
* content-layouts.md first draft complete
* import/export first draft *almost* done
* imports/export first draft done
* forgot to manually add import/export file to commit
* moved layouts into utilities
* import-export first draft done
* Initial proofread of all content docs
* addressed most comments from github review
* media added
* widows
* Update docs/app/content.md
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
* applied half of rijk's edit requests, waiting for replies to add the other half
* finished applying rijk's edit requests
* Fix active link style in docs sidebar nav
* Add cloud exclusive mention
* The last of it... Until Loris edits
* final proofread
Co-authored-by: Eron Powell <eronpowell@Erons-MBP-2.local>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
* add simple emoji picker and improve comments
* add v-md option to open in new tab
* fix styling when editing comment
* clean up code
* use script setup
* use different emoji lib
* fix inserting emojis into text
* fix search styling
* always show cancel button
* comment style tweaks
* clean up emoji picker
* add placeholder to v-template-input
* cleanup comments some more
* clean up comments sooooome more
* fix notify message on update
* update comment markdown styling
* button and icon hover colors
* move styling to global file
* clean up code
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
Co-authored-by: Ben Haynes <ben@rngr.org>
* small tweaks on content page, pushing to origin
* collectionsfirst edit half done
* improved tip on create an item
* reworked intro sections of content docs
* added on import/export and layouts pages
* finished content.md first draft, added some structural details
* content-collections.md first draft complete
* renamed content-collections.md to 'Collection Page' and content-items.md to 'Item Page'
* content-items.md first draft finished
* content-layouts.md first draft complete
* import/export first draft *almost* done
* imports/export first draft done
* forgot to manually add import/export file to commit
* moved layouts into utilities
* import-export first draft done
* Initial proofread of all content docs
* addressed most comments from github review
* media added
* widows
* Update docs/app/content.md
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
* applied half of rijk's edit requests, waiting for replies to add the other half
* finished applying rijk's edit requests
* Fix active link style in docs sidebar nav
* Add cloud exclusive mention
* The last of it... Until Loris edits
Co-authored-by: Eron Powell <eronpowell@Erons-MBP-2.local>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
* Text edits
Edited for grammar, style.
* text changes
Edits for grammar, style, consistency.
* text changes
Edited for grammar, style, consistency
* text edits
Edited for grammar, style and consistency
* a few more changes
punctuation
* text edits
Edited for grammar, style, consistency.
* fixed type-errors
* fixed type errors and widows
* fixed type errors
* fixed type errors
* fixed type errors
* Update docs/cloud/glossary.md
Co-authored-by: lmaupas <103216525+lmaupas@users.noreply.github.com>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
* add basic util function for later use
* sketch up useRelationMultiple implementation
* update relation util and start reworking relational interfaces
* support filter in m2o
* start working on useRelationMultiple
* continue working on relational foundation
* finish basic use-relation-multiple composable
* get o2m pretty close to being finished
* finish up list-o2m
* replace old interfaces
* copy existing interface
* rewrite vue file
* highlight deleted items
* use Search instead of Get
* support selection on m2m
* finish up m2m
* replace old files
* update files interface
* fix permission checks
* fix styling
* add sketches to explain relations
* rewrite m2a interface
* add usage hint to use-relation-multiple
* update file interface to use new composable
* update file-image interface
* fix image not being shown
* revert names
* fix selection of existing items
* fix loading selected items
* in between commit
* update translations interface
* try using composable recursive
* try linear approach on value modeling
* finish rewriting list-o2m-tree-view interface
* revert api changes
* fix sorting for list-o2m-tree-view
* fix selected items in created array
* Add direct download option to files interface
* Fix linter warnings
* Weird that it's being difficult, but ok
* Cast existingItemCount to number at all times
* fix page gets set below 1
* align pagination to the right
* highlight deselecting row
* show min 1 skeleton loader
* only filter selected when item exists
* fix working on new items
* Fix linter warning
* fix deselecting selected items
* show different icon depending if icon is local
* add changes from #12611
* Add _some vs _none support to o2m
* finish filtering out selected items
* Use get instead of search request
* fix save and stay
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
* fix adding items to m2o
* Fix linter warning
* Handle no-type better
* Clean up axios usage
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
* Adds x-directus-cache response header with HIT value
* Added ENV var for cache header and MISS, UNCACHEABLE
* Rename CACHE_HEADER_KEY -> CACHE_STATUS_HEADER
Tad opinionated, but I feel like it describes the functionality slightly better
* Return miss consistently
Uncacheable doesn't quite describe what's happening. The user actively requests the cache to be skipped, which should result in an expected miss. The value isn't un-cacheable, the cache is skipped on purpose
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
* add `Last-Modified` header to `/assets/*` responses
only affects assets with a valid `modified_on` DB field
* update docs about `Last-Modified`
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
* .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>
* [Related to #11292] Safe Metadata Upload
- Created FILE_METADATA_ALLOWLIST
- Added test library for `FilesService`
* Rename ALLOWLIST->ALLOW_LIST to be consistent with other env vars
* Make sure it still works for files without Exif
* Prevent breaking changes in metadata formatting
* Allow * for all
* Fix md sup
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>