Commit Graph

536 Commits

Author SHA1 Message Date
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
Martin Emmert
fb715cc66a docs: update sdk doc with note on using multiple instances (#6311) 2021-06-16 10:34:40 -04:00
Rijk van Zanten
d56f02697a Allow overriding the s-maxage cache header (#6294)
* Allow overriding the s-maxage cache header

* Only load expiry / set headers when cache exists
2021-06-15 17:11:29 -04:00
Nicola Krumschmidt
4f9ae6591e Add workaround for vite auto-replacement in docs (#6284) 2021-06-15 10:55:20 -04:00
rijkvanzanten
68774e6f14 v9.0.0-rc.76 2021-06-14 17:12:51 -04:00
rijkvanzanten
95f4b1c521 Fix console log usages in linter 2021-06-14 15:10:50 -04:00
Rijk van Zanten
9f2feee602 Temp remove process env usage in docs (#6261) 2021-06-14 14:04:25 -04:00
Nicola Krumschmidt
4fc5ba6259 Update the app extension docs to work with Vue 3 (#6232) 2021-06-14 10:40:33 -04:00
Pascal Jufer
1dd6da2aa9 Fix OpenAPI specs (#6179)
* 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>
2021-06-14 10:38:43 -04:00
dependabot[bot]
a3e187e705 Bump npm-watch from 0.9.0 to 0.10.0 (#6239)
Bumps [npm-watch](https://github.com/M-Zuber/npm-watch) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/M-Zuber/npm-watch/releases)
- [Commits](https://github.com/M-Zuber/npm-watch/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: npm-watch
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 09:57:48 -04:00
Rijk van Zanten
8e92c6beaa Add date adjustment to NOW variable (#6221) 2021-06-11 20:59:50 -04:00
nichols-green
055cd331d9 Added support for nodemailer ignoreTLS option (#6216)
* added support for nodemailer ignoreTLS option

* update doc to show no default value
2021-06-11 12:48:22 -04:00
Rijk van Zanten
7373b43042 Add note on file env vars (#6209) 2021-06-11 10:07:07 -04:00