* fix replacing process.env.NODE_ENV on backend extensions
* use actual process.env['NODE_ENV']
* default to production to make it less of a breaking change
* Update shiny-eagles-stare.md
---------
Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>
* treat all IDs as string for comparison
* Create orange-rules-train.md
* Update .changeset/orange-rules-train.md
---------
Co-authored-by: ian <licitdev@gmail.com>
* sanitize filename_disk
* removed comments
* using default uuid instead
* make sure we clean up temp files on database error
* rethrow original error
* move ops to single var
* Add missing `requireSelection` check. Fixes#25385
Should resolve the 403 error on manual flows with no selection.
* add `requireSelection` check before key permission check
* Fix type error
* add changeset
* Update famous-drinks-stare.md
* Adjust permission check to be based on targetKeys
* Ensure at least one targetKey exists before permission check
---------
Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>
* Removed incorrect open api spec version
* added unique hashed version
* Added changeset
* ran prettier
* Changes
---------
Co-authored-by: ian <licitdev@gmail.com>
* Added backlink query param
* add to sdk
* fmt
* fix and add more tests
* fmt
* Add check for boolean just in case
Query params should be strings, adding check since type is unknown
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Ensure no duplication
* small fix
* Create shaggy-bears-begin.md
* Update .changeset/shaggy-bears-begin.md
Co-authored-by: ian <licitdev@gmail.com>
---------
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Set array type for groupClaimName
* Change if statement
* Update contributors.yml
* Fix prettier
* Update groups type of openid and oauth2 drivers
* Update contributors.yml
* simplify groups check further with ternary
* Do not log debug iof no rolemapping
* add changeset
* fmt
---------
Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>
* Add key/value infomation to db errors
* make key/value error info consistent across DBs
* fmt and fix tests
* fix errors and clean up code
* fix tests
* fmt and fix tests
* fix linter...
* fix tests
* jeezz that formatter and linter.....
* fix fields in pg error
* rename key to value
* Update .changeset/sour-lands-sniff.md
---------
Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>
* Install uuid
* Add project id on migrate/install
* Include project id in telemetry
* Add changeset
* Fix snapshot
* Use migration timestamp for project_id UUID generation
Updated the migration to use the timestamp from 'directus_migrations' as the msecs value when generating the project_id UUID.
* Fix formatting
* Add into types and sdk
* update changeset
---------
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Connor Winston <connor@winston.guru>
Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>
* attempt to re-create client if preload failed
* allow for client failure exit
* allow for client http option overrides
* add changeset
* Show "Service Unavailable" if provider is not available on sso button
---------
Co-authored-by: Nitwel <mail@nitwel.de>
* fix logging of invalid url in isUrlAllowed
The logger just logged the URL that is checked instead of the URL that we try to parse.
* sign Contributor License Agreement
* Create slimy-peas-pump.md
---------
Co-authored-by: ian <licitdev@gmail.com>
* Build out license-banner component
* Implement display logic
* Add migration
* Mobile styles and add correct links
* Add dynamic color support for license SVG
* Add UTM links
* Changes from design review
* Copy changes and styles to fit
* Add changeset
* Add all packages to changeset
* Improve translation interpolation to allow for accurate translations
* Combine license_banner_seen and license_banner_disabled to accepted_terms and rename env var
* Format
* Capitalize translation
* Fix formatting error
* Use nbsp character instead of interpolation (#25308)
Co-authored-by: Alex Gaillard <alex@directus.io>
---------
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
* fix cohersion of values only in rest
* fix tests
* Update late-pans-draw.md
* default back to keep old behavior
* fmt
* combined mapValuesDeep into deepMap and cleaned function up.
* ran formatter
* Update .changeset/fine-boats-brush.md
---------
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Brainslug <tim@brainslug.nl>
Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>
* fix cohersion of values only in rest
* fix tests
* Update late-pans-draw.md
* default back to keep old behavior
* fmt
* slight test cleanup
* test name
* feat: added and removed extensions in `extensions.reload` event
* chore: sign CLA and added name to contributors list
* fix: spacing typo
* feat: added loaded and unloaded event in ExtensionManager class
* chore: updated the docs to reflect changes for new events in ExtensionManager class
* fix: typos and docs
* fix: quick fix on triggers
* feat: emitting event for install and uninstall extensions
* chore: quick update in triggers.ts
* chore: format in manager.ts
---------
Co-authored-by: Nitwel <mail@nitwel.de>