* 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>
* Update interfaces.md
vue-template-compiler => rollup-plugin-vue@next
It resolves rollup halting with error
* Update other extension types as well
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
* 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
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
I think it's worth mentioning that `items.create` is the same as the old (v8) `items.create.after`.
I personally tried putting .after and it didn't call, only to realize that it's not needed anymore.
* add override support for env module
* Override instead of merge w/ config file
* Default to reading .env instead of process.env
* Make env available in process.env
* Add docs for config-files
* Extend note
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
* Adds `not_found` hook
* Separate hooks and endpoints initialization process
* Adds additional application events
* Remove unused import
* Change the event order to accound for notFound and errorHandler
* Change emitAsync.catch to use the emitAsyncSafe function
* Updated docs, reordered table by lifecycle and usage
- Ports are not required here, as all three containers share the same 'directus' network. They can communicate with each other internally. Opening the ports only exposes the database and cache to the world (the internet) unnecessarily, posing more of a security issue.
- 'Container name:' ensures that the container adopts that specific name. While by default the container will start with the name specified at the top of each container section (i.e. directus, cache, database), if one of those names is occupied it risks reverting to an alternative, which will have networking implications as those specific hostnames are sought from the other containers. With 'container name:' set, it will return an error that the container name is in use. Adopting here the 'explicit is better than implicit' approach.
'Depends on:' as the name suggests, ensures that the database and cache are up and running before Directus starts.