* add more ignore pattern for git
* revert the change for api/.gitignore
* fix issue-5344 support autofocus on first non-readonly form field on open drawer
* fix use a more accurate variable name
* Rename autofocusonfirstitem to autofocus
Co-authored-by: Jian Liao <jianliao@adobe.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
* Declare return types on functions
And a very few other type related minor fixes
* Minor syntax fixes
* Remove unnecessary escape chars in regexes
* Remove unnecessary awaits
* Replace deprecated req.connection with req.socket
* Replace deprecated upload with uploadOne
* Remove unnecessary eslint-disable-next-line comments
* Comment empty functions / catch or finally clauses
* Fix irregular whitespaces
* Add missing returns (null)
* Remove unreachable code
* A few logical fixes
* Remove / Handle non-null assertions which are certainly unnecessary (e.g. in
tests)
* Add singular/plural options to collection translations
* Use singular/plural item names in related values
* Use singular / plural names on item detail
* Use singular/plural for drawer item
* Fix translation
* Check auth password policy on user modifications
* Show validation errors in drawer-batch
* Allow custom password policy, add placeholder
* Add UserSuspended exception
* Add user suspended error translation
* Move rate limiter creation into root helper
* Add login attempts support to authentication service
* Don't authenticate into settings service when checking password policy
* 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