* app: encode primary key
Since primary keys could be manually entered strings,
we should encode those in order to prevent accessing
inexistent routes.
E.g.
Document with primary key: 'clients/John Doe'
* fixup! app: encode primary key Since primary keys could be manually entered strings, we should encode those in order to prevent accessing inexistent routes. E.g. Document with primary key: 'clients/John Doe'
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
* Reset v-textfield to null when cleared
* Add option to configure nullable to textarea interface
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
* Add accountability column
* Add field info for accountability
* Add accountability to collection type
* Fetch accountability info from collection meta
* Add field name translation for accountability field
* Hide revisions drawer detail if revisions aren't available
* Only save activity where accountability flag matches
* Disable revisions for directus_presets
Fixes#3767
* Tweak field option naming
* fix drawer item title not showing data
* load template items relational
* Only render preview on first load
* Fix type issue
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
* add auto refresh
* add refresh_interval to DB
* remove refresh_interval template
* set refresh interval default to null
* Fix typo in filename
* Rename sidebar-auto-refresh to refresh-sidebar-detail
* Rename import
* Add badge on active refresh, change options
* Fix refresh not working on refresh
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
* Make headline visible if title is short
Fixes#4101
* Revert "Make headline visible if title is short"
This reverts commit eb5ef8212d.
* Add min-width to title-container
Not the most beautiful solution, but it works for most cases.
* Revert "Add min-width to title-container"
This reverts commit 6d0afb7e43.
* Move title-outer inside title-container
* add expand_more icons to sidebar detail
* remove moving sidebar header
* Use mandatory for open state
* Use mandatory to toggle first item
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
* first try on fixing bookmarks
* fix bookmarks and search not updating on single word
* Fix double inject on paste
Fixes#3792
* Remove unused import
* Set bookmark saved state on clear local value
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
* Pass relations through schema, instead of individual reads
* Fetch field transforms upfront
* Fix length check
* List if user has app access or not in accountability
* Load permissions up front, merge app access minimal permissions
* Show app access required permissions in permissions overview
* Show system minimal permissions in permissions detail
* Fix app access check in authenticate for jwt use
* Fix minimal permissions for presets
* Remove /permissions/me in favor of root use w/ permissions
* Fix logical nested OR in an AND
* Use root permissions endpoint with filter instead of /me
* Allow filter query on /permissions
* Add system minimal app access permissions into result of /permissions
* Remove stray console log
* Remove stray console.dir
* Set current role as role for minimal permissions
* Fix no-permissions state for user detail
* Add filter items function that allows altering existing result set