* 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>
Since we might need information from database, we must provide the
current transaction, instead of the connection.
Otherwise, databases like SQLite which only accepts a single connection
will throw an error of knex timeout.
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
* New translations en-US.yaml (Russian)
* New translations en-US.yaml (Bulgarian)
* New translations en-US.yaml (Bulgarian)
* New translations en-US.yaml (Japanese)
* New translations en-US.yaml (Japanese)
* New translations en-US.yaml (German)
* New translations en-US.yaml (Finnish)
* New translations en-US.yaml (French)
* New translations en-US.yaml (French)
* New translations en-US.yaml (French)
* 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
* Rotate JPG image on upload #4206
* fixes#3949 width/height generated for gif and tif
* API hooks for event added for auth.login #4079
* updated doc for api hooks for new auth.login event
* Style tweaks
* Update docs
* Tweak docs some more
* Spelling error
* Allow non-required flags and pass to hook
* SDK - Persistent login refresh fixes#4113
* Fixed#4145 SDK, Token Expired error
* Spell check
* Docs Spell check
* Docs Spell check
* Docs Spell check
* update docs for sdk-js
* To delete all expired session from db on login
* corrected the condition for the delete
* changed the from Date.now to new date .
* Move it inline
* Fixes#4653
* added docs and cleaned up the hooks payload
* use req.accountability
* added req.params.provider to payload
* provide scope for login
* docs updated for oauth hook
* Update api/src/controllers/auth.ts
* updated provider to redirect and docs
* added payload
* Make schema available in redirect hook
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
* New translations en-US.yaml (French)
* New translations en-US.yaml (Lithuanian)
* New translations en-US.yaml (Dutch)
* New translations en-US.yaml (Turkish)
* New translations en-US.yaml (Portuguese, Brazilian)
* New translations en-US.yaml (Spanish, Chile)
* New translations en-US.yaml (Spanish, Latin America)
* New translations en-US.yaml (Bulgarian)
* New translations en-US.yaml (German)
* New translations en-US.yaml (Swedish)
* New translations en-US.yaml (Chinese Traditional)
* New translations en-US.yaml (Russian)
* New translations en-US.yaml (Spanish)
* New translations en-US.yaml (Finnish)
* New translations en-US.yaml (Thai)
* New translations en-US.yaml (Japanese)
* New translations en-US.yaml (German)
* New translations en-US.yaml (German)
* New translations en-US.yaml (German)
* New translations en-US.yaml (Bulgarian)
* New translations en-US.yaml (Bulgarian)
* New translations en-US.yaml (French)
* New translations en-US.yaml (French)
* New translations en-US.yaml (Lithuanian)
* New translations en-US.yaml (Dutch)
* New translations en-US.yaml (Polish)
* New translations en-US.yaml (Turkish)
* New translations en-US.yaml (Portuguese, Brazilian)
* New translations en-US.yaml (Spanish, Chile)
* New translations en-US.yaml (Spanish, Latin America)
* New translations en-US.yaml (Italian)
* New translations en-US.yaml (Bulgarian)
* New translations en-US.yaml (Swedish)
* New translations en-US.yaml (Russian)
* New translations en-US.yaml (Spanish)
* New translations en-US.yaml (Finnish)
* New translations en-US.yaml (Thai)
* add custom interface for presets
* add defaults and change naming
* Fix type issue, put current selection on top
* Fetch email as name fallback
* Opinionated code changes
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>