Commit Graph

1487 Commits

Author SHA1 Message Date
renovate[bot]
9967e59f67 update dependency @types/keyv to v3.1.2 (#6701)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 12:11:51 +00:00
renovate[bot]
f8dd7c20d4 update dependency @types/json2csv to v5.0.3 (#6696)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 10:23:23 +00:00
renovate[bot]
0655087f9c update dependency @types/jsonwebtoken to v8.5.4 (#6697)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 10:13:53 +00: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
renovate[bot]
bf61042d9c update dependency @types/js-yaml to v4.0.2 (#6694)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 11:44:20 +02:00
renovate[bot]
3d1a843559 update dependency @types/fs-extra to v9.0.12 (#6689)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 09:37:02 +00:00
renovate[bot]
5760b177c3 update dependency @types/body-parser to v1.19.1 (#6677)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 09:24:06 +00:00
renovate[bot]
6919571bcc update dependency @types/sharp to v0.28.4 (#6675)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 11:17:59 +02:00
rijkvanzanten
e56309a91a Bump knex-schema-inspector 2021-07-07 11:17:30 +02:00
renovate[bot]
55f14866a9 update dependency @types/async to v3.2.7 (#6676)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 11:13:48 +02:00
renovate[bot]
942ade0209 update dependency @types/busboy to v0.2.4 (#6678)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 11:11:20 +02:00
renovate[bot]
205235d2c4 update dependency @types/cors to v2.8.11 (#6682)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 11:08:05 +02:00
renovate[bot]
ffdb5da440 update dependency @types/express to v4.17.13 (#6686)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 11:03:46 +02:00
renovate[bot]
5bb678baec update dependency @types/express-session to v1.17.4 (#6687)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 11:03:35 +02:00
renovate[bot]
81bde51e86 update dependency @types/inquirer to v7.3.3 (#6690)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 11:02:53 +02:00
rijkvanzanten
e753e37cef Fix type warning 2021-07-05 11:51:39 +02:00
renovate[bot]
1c73c7de62 update dependency @types/uuid to v8.3.1 (#6627)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-04 11:54:11 +00:00
renovate[bot]
0f34129690 update dependency @types/stream-json to v1.7.1 (#6634)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-04 13:34:36 +02:00
renovate[bot]
585e36c8d2 update dependency ts-node-dev to v1.1.8 (#6607)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-02 11:54:19 +02:00
renovate[bot]
f88b1f4252 update dependency @types/jsonwebtoken to v8.5.3 (#6606)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-02 11:54:01 +02:00
renovate[bot]
18d6c0edbe update dependency typescript to v4.3.5 (#6592)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-30 20:02:38 -04:00
Alexander Krantz
43c4a49186 Fix extra dots being added (#6584) 2021-06-30 16:54:47 +00: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
renovate[bot]
17f0f4dd2a update dependency ts-node-dev to v1.1.7 (#6564)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-29 12:08:28 -04:00
Zorin Sergey
003d85f946 Add limit options for deleteMany files (#6561)
* Changed filesize to bigint for large files

* Update api/src/database/migrations/20210626A-change-filesize-bigint.ts

* add `limit -1` for deleteMany files options from #6560

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-06-29 09:22:47 -04:00
rijkvanzanten
f46d7e4dd6 v9.0.0-rc.82 2021-06-28 19:32:21 -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
Zorin Sergey
3ef8d25bef Changed filesize to bigint for large files (#6516)
* Changed filesize to bigint for large files

* Update api/src/database/migrations/20210626A-change-filesize-bigint.ts

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-06-28 14:11:37 -04:00
renovate[bot]
8a3796b8bb update dependency commander to v8 (#6498)
* update dependency commander to v8

* Update import to match new version

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-06-28 14:05:55 -04:00
Luan Mattner Müller
9da9874905 Fix MailService to throw sending errors (#6541) 2021-06-28 13:29:23 -04:00
Nicola Krumschmidt
ed1127f3b1 Fix extension loading when PUBLIC_URL is absolute without origin (#6534)
* Fix extension loading when PUBLIC_URL is absolute without origin

* Minify extension bundler output

* Make extension loading in dev more robust

* Rename ensureExtensionsDirs to ensureExtensionDirs
2021-06-28 11:20:30 -04:00
rijkvanzanten
a469bb728f v9.0.0-rc.81 2021-06-26 22:09:40 -04:00
rijkvanzanten
79eed74d43 Tweak asset transform max allowed default
Allows for Directus to run ootb on smaller containers/servers, while allowing higher processing speeds for  environments that can handle it
2021-06-26 22:03:25 -04:00
rijkvanzanten
5756954dd7 Fix edge case in fk replacing 2021-06-26 21:27:46 -04:00
Rijk van Zanten
c79e682327 Add missing field for required app access (#6481)
Fixes #6475
2021-06-24 12:37:43 -04:00
Nicola Krumschmidt
d544214c79 Fix extension loading on initial startup (#6471) 2021-06-23 18:16:13 -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
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
rijkvanzanten
b9a857ccd7 Fix missing type signature 2021-06-22 21:08:28 -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
Rijk van Zanten
25aaebacd4 Don't return default val for PK field in singleton (#6444)
Fixes #6429
2021-06-22 18:19:02 -04:00
Rijk van Zanten
1cb9181052 Add support for starts/ends with filters (#6437) 2021-06-22 14:28:11 -04:00
Nicola Krumschmidt
965bcde4ee Enforce latest node and npm version in dev (#6414)
* Enforce latest node and npm version in dev

* Update CI workflows to Node 16
2021-06-22 11:22:37 -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
rijkvanzanten
953db0a29d Fix type error 2021-06-20 19:32:45 -04:00
renovate[bot]
ac2da1e5f6 chore(deps): update dependency @types/inquirer to v7.3.2 (#6391) 2021-06-19 12:11:46 -04:00