* initial data flows outline
* more details to data flows
* minor tweaks
* added basic explanation of variables, made other improvements
* more lil updates
* flows 70%, triggers 70%, operations 50%
* added most media, operations info, and made small tweaks on flow and triggers
* Revert "added most media, operations info, and made small tweaks on flow and triggers"
This reverts commit 3c35b8d728.
* Revert "Revert "added most media, operations info, and made small tweaks on flow and triggers""
This reverts commit eadfb33969.
* flows draft complete, not fully proof-edited
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.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>
* [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
* 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>
* 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>
* .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 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
* 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
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.