* - Added escaping on file paths including "\u" as JS inteprets this as hexa value
-- Occurs on Windows OS due nodejs path.join converting paths from "/" to "\"
* Use path/posix to normalize paths interpreted as URLs
Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de>
* Remove return from api cli entrypoint
* Add directus-extension cli to extension-sdk
The initial version only implements the "build" command.
Executing "build" in the root of an extension package bundles the
extension to a single distributable and loadable entrypoint.
* Update extension docs to use directus-extension build
* Rework cache handler to be function export
* Add default schema caching
* Add schema cache
* Auto purge schema cache on schema change from api
* Only set last_access value on login
* Add note on schema cache setting
* Unique operationIds for users/me methods
* Fix specs for /users/invite/accept and rename files
* Add missing parameters definition for /utils/sort
* Add .yaml to lint-staged and format cmd
* Format .yaml files
* Fix small linting issue
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
* 6113 add tfa generate endpoint
* 6113 implement tfa otp check in user settings
* 6113 add autfocus for otp field on login form
* update package-lock
* improve TFA uri with user email
* fix vue 3 compatibility
* reduce code duplication for enableTFA
* Remove unnecessary parameters
* Use project name in otp url when available
* Update docs/reference/api/system/users.md
Co-authored-by: Wendelin Peleska <wendu@pm.me>
* Revert back to using query params for bookmarks
Aka "this hurts so much"
* Fix collection navigation active state
* Add active and query props to v-button
Also unify active and activated state.
* Remove not needed exact prop from collections navigation
* Fix DB column update for types with length or boolean as default value
* Add docs/index.json to gitignore
* Remove specificType support
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
* Add support for _FILE environment variables
* Enhance processing of _FILE env vars
* Same processing as with other env vars (do not simply treat as string)
- tested successfully
* Warn if both variables are set (EXAMPLE and EXAMPLE_FILE)
* Add comments to make it easier to understand the code
* Set newKey only after file read was successful
* Don't convert value > MAX_SAFE_INTEGER to number
Thanks to @skizer!
As stated by @skizer (from #6119):
Altho it seems that we do have a numerical value
it can happen that its outside of Number.MAX_SAFE_INTEGER
thus resulting in a change of the original intended value
e.g oauth -> discord -> client_id
* Fix recursive logger-env import
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>