Tim
2c9ff3bca6
Allow custom transformations of assets ( #6593 )
...
* Allow custom transformations of assets
This exposes one query parameter `transforms`, which is a JSON array of
shard transformation operations.
It also updates the asset presets. The UX for this still needs some work
* Rename options to arguments for presets
More explicit
* options -> arguments in setting spec
* Better errors for invalid JSON in asset presets
* Add limit to transforms query parameter
* Use flattened option for extra transforms
* Fix placeholder color of code input
* Allow "simple mode" aliases
* Add documentation
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-07-21 15:57:47 -04:00
j3n57h0m45
79c91ed50d
enable custom name for refresh token ( #6890 )
2021-07-20 15:29:11 +02:00
Rijk van Zanten
d68df58347
Fix update/delete relation docs ( #6878 )
...
Fixes #6872
2021-07-19 15:23:09 +02:00
Pascal Jufer
667db994b1
Add note about change in naming of Docker tags ( #6876 )
...
* https://github.com/directus/directus/pull/6759#issuecomment-881462198
* https://github.com/directus/directus/issues/6859
2021-07-19 09:13:44 -04:00
Rijk van Zanten
11479313c9
Use / as default value for public_url ( #6860 )
2021-07-16 17:45:39 +02:00
Nicola Krumschmidt
e44e485939
Correctly document the default value of PUBLIC_URL ( #6846 )
2021-07-15 18:18:35 -04:00
Rijk van Zanten
f360a2d445
Fixed issue that would cause the wrong field to be extracted when using "detailed" updates in o2m with non-"id" primary keys ( #6841 )
...
Fixes #6817
2021-07-15 23:40:04 +02:00
Dieter Luypaert
99184a2fd7
Fix session memcache variable name ( #6830 )
2021-07-15 17:21:53 -04:00
Rijk van Zanten
262e8cdbb8
Show warning when PUBLIC_URL isn't correctly configured ( #6840 )
...
Closes #6539
2021-07-15 23:20:35 +02:00
renovate[bot]
ce1748c354
update dependency slugify to v1.6.0 ( #6839 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-07-15 17:08:44 -04:00
Nicola Krumschmidt
f96eeb2c83
v9.0.0-rc.85
2021-07-15 21:22:54 +02:00
Nicola Krumschmidt
a65c3d3df9
Fix production build on node versions <16 ( #6836 )
2021-07-15 15:19:04 -04:00
rijkvanzanten
f60deb9ca2
Remove prepublish build step, handled in CI
2021-07-15 14:23:48 -04:00
rijkvanzanten
ddab55d190
v9.0.0-rc.84
2021-07-15 14:10:01 -04:00
Rijk van Zanten
5f7dce54e2
Use stricter Vue eslint setting ( #6833 )
2021-07-15 13:49:59 -04:00
rijkvanzanten
2a60a0fd88
Revert "v9.0.0-rc.84"
...
This reverts commit a4945a64fd .
2021-07-15 10:29:18 -04:00
Rijk van Zanten
1713f0cbf2
Allow setting a custom mailgun host ( #6804 )
...
Fixes #6787
2021-07-15 01:28:50 +02:00
rijkvanzanten
6d7dc17852
Remove oracle from optionaldependencies
2021-07-14 18:18:16 -04:00
rijkvanzanten
a4945a64fd
v9.0.0-rc.84
2021-07-14 17:26:35 -04:00
rijkvanzanten
628b4efc29
Revert "v9.0.0-rc.84"
...
This reverts commit 18e62086f7 .
2021-07-14 17:25:52 -04:00
rijkvanzanten
ce50209ff6
Attempt to fix Release CD
2021-07-14 17:25:33 -04:00
rijkvanzanten
18e62086f7
v9.0.0-rc.84
2021-07-14 16:57:41 -04:00
Sean Goff
b67b9d824a
Build improvements ( #6759 )
...
* test
* ci improvements
* fix image names
* improve docs
* Update .github/workflows/release.yml
Co-authored-by: Pascal Jufer <paescuj@users.noreply.github.com >
* Update docker/pack.js
Co-authored-by: Pascal Jufer <paescuj@users.noreply.github.com >
* improvements proposed by @paescuj
* improve Dockerfile comment
* fix .PHONY
* rm tarballs before building final image
Co-authored-by: Pascal Jufer <paescuj@users.noreply.github.com >
2021-07-14 16:40:38 -04:00
Pascal Jufer
3bc5f7ff4f
Add note about sensitive values in Docker guide ( #6784 )
2021-07-14 10:53:55 -04:00
Pascal Jufer
0b55035588
Clarify definition of environment variables ( #6785 )
2021-07-14 10:51:09 -04:00
Thijs-Jan
18ef097402
Fix item.read hook not firing for readByQuery ( #6645 )
...
* Move read hook to readByQuery method
* Return query to items.read hook, update docs accordingly
2021-07-07 12:13:38 +02:00
Tommaso Bartolucci
0cca732f2f
Add skip admin init flag ( #6576 )
...
* adds skipAdminInit flag to bootstrap
* checks for skipAdminInit flag
* update docs for skipAdminInit
2021-06-30 09:31:59 -04:00
Nicola Krumschmidt
31c74e01f2
Update the required Node version to 12.20.0 ( #6578 )
2021-06-30 09:16:45 -04:00
rijkvanzanten
04976eb13f
v9.0.0-rc.83
2021-06-29 16:18:56 -04:00
rijkvanzanten
f46d7e4dd6
v9.0.0-rc.82
2021-06-28 19:32:21 -04:00
Matt
64a50e5e31
Added escaping on file paths including "\u" ( #6215 )
...
* - 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 >
2021-06-28 16:46:37 -04:00
Nicola Krumschmidt
7f60fb0fc1
Add directus-extension CLI to extension-sdk ( #6548 )
...
* 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
2021-06-28 15:56:01 -04:00
WoLfulus
043ae13e40
Adds request and response interceptors on Axios transport ( #6538 )
2021-06-28 18:44:38 +00:00
rijkvanzanten
a469bb728f
v9.0.0-rc.81
2021-06-26 22:09:40 -04:00
Rijk van Zanten
352f6056ae
Update support.md
2021-06-26 12:01:59 -04:00
Nicola Krumschmidt
051df415df
Fix extensions ( #6377 )
...
* Add support for npm extensions
* Allow extensions to import vue from the main app
* Bundle app extensions on server startup
* Fix return type of useLayoutState
* Add shared package
* Add extension-sdk package
* Add type declaration files to allow deep import of shared package
* Add extension loading to shared
* Refactor extension loading to use shared package
* Remove app bundle newline replacement
* Fix extension loading in development
* Rename extension entrypoints
* Update extension build instructions
* Remove vite auto-replacement workaround
* Update package-lock.json
* Remove newline from generated extension entrypoint
* Update package-lock.json
* Build shared package as cjs and esm
* Move useLayoutState composable to shared
* Reverse vite base env check
* Share useLayoutState composable through extension-sdk
* Update layout docs
* Update package versions
* Small cleanup
* Fix layout docs
* Fix imports
* Add nickrum to codeowners
* Fix typo
* Add 'em to vite config too
* Fix email
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-06-23 12:43:06 -04:00
Anton Strandman
c6698a3f2d
Import a File link in Assets tip broken ( #6467 )
...
Fixed the link
2021-06-23 10:36:15 -04:00
rijkvanzanten
465c10d4c7
v9.0.0-rc.80
2021-06-22 22:00:55 -04:00
rijkvanzanten
5e0328fea0
v9.0.0-rc.79
2021-06-22 21:08:49 -04:00
Rijk van Zanten
44082c60e1
Add schema caching ( #6456 )
...
* 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
2021-06-22 20:50:20 -04:00
renovate[bot]
c69f7625bf
chore(deps): update dependency micromark to v3 ( #6446 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-06-22 18:26:25 -04:00
Rijk van Zanten
1cb9181052
Add support for starts/ends with filters ( #6437 )
2021-06-22 14:28:11 -04:00
rijkvanzanten
93b7aeb788
v9.0.0-rc.78
2021-06-21 17:56:34 -04:00
rijkvanzanten
7a09711c42
v9.0.0-rc.77
2021-06-21 16:11:06 -04:00
Ben Haynes
c7557f3d10
Update items.md
2021-06-20 08:57:22 -04:00
Pascal Jufer
4a2ea9a03e
Add "require('axios')" in API hooks examples ( #6360 )
...
* Docs: Add "require('axios')" in API hooks examples
* Move "require('axios')" to top
2021-06-18 09:28:12 -04:00
renovate[bot]
411d259ed6
chore(deps): update dependency fs-extra to v10 ( #6334 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-06-17 16:02:26 +00:00
Thijs-Jan
e4b9bf06a0
Add support for read hooks on items ( #6341 )
...
* Add emitter on item read
* Add performance warning to docs
* Make result instead of query the payload
2021-06-17 10:56:52 -04:00
renovate[bot]
d4be69afef
fix(deps): pin dependencies ( #6323 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-06-17 09:50:17 -04:00
Geert Ijewski
02ec28f5f3
fix link ( #6339 )
2021-06-17 09:19:30 -04:00