* 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>
* [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>
* 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
* 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
* 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>
* 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>
* 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
* Added scope support LDAP group and user search
* Fixed linter screwing up my markdown
* Update docs/configuration/config-options.md
* Always return correct DN for user with sub scope
* first half of broken links fixed
* next chunk of broken links resolved
* next chunk of urls
* last chunk of links
* one more
* filter rules
* homepage links
* removed localhost
* filter rules for query
* updated links
* relationships link
* changed links from references to glossary