Commit Graph

253 Commits

Author SHA1 Message Date
Pyll Gomez
09b19b9191 Session store knex (#5432)
* Rotate JPG image on upload #4206

* fixes #3949 width/height generated for gif and tif

* API hooks for event added for auth.login #4079

* updated doc for api hooks for new auth.login event

* Style tweaks

* Update docs

* Tweak docs some more

* Spelling error

* Allow non-required flags and pass to hook

* SDK - Persistent login refresh fixes #4113

* Fixed #4145 SDK, Token Expired error

* Spell check

* Docs Spell check

* Docs Spell check

* Docs Spell check

* update docs for sdk-js

* To delete all expired session from db on login

* corrected the condition for the delete

* changed the from Date.now to new date .

* Move it inline

* Added Knex option for Session store

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-05-03 11:46:42 -04:00
dependabot[bot]
7817f8f9bb Bump liquidjs from 9.23.3 to 9.24.1 (#5429)
Bumps [liquidjs](https://github.com/harttle/liquidjs) from 9.23.3 to 9.24.1.
- [Release notes](https://github.com/harttle/liquidjs/releases)
- [Changelog](https://github.com/harttle/liquidjs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/harttle/liquidjs/compare/v9.23.3...v9.24.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-03 09:58:13 -04:00
dependabot[bot]
8783e6f7a9 Bump graphql from 14.7.0 to 15.5.0 (#5426)
Bumps [graphql](https://github.com/graphql/graphql-js) from 14.7.0 to 15.5.0.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v14.7.0...v15.5.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-03 09:56:04 -04:00
rijkvanzanten
c653b16729 v9.0.0-rc.62 2021-05-03 09:32:25 -04:00
Rijk van Zanten
a3898fa321 Add SESSION_STORE options (#5403)
* Allow configuring the session storage driver

Fixes #3814

* Document SESSION_STORE env var

* Add missing dependency

* Docs tweak
2021-04-30 18:18:39 -04:00
rijkvanzanten
aad350e7e5 Bump schema inspector 2021-04-30 12:14:18 -04:00
dependabot[bot]
0ad699d25f Bump @types/js-yaml from 4.0.0 to 4.0.1 (#5388) 2021-04-30 14:32:45 +00:00
dependabot[bot]
99ccc90fd7 Bump @types/sharp from 0.27.3 to 0.28.0 (#5387) 2021-04-30 10:04:13 -04:00
dependabot[bot]
0bee49a355 Bump fs-extra from 7.0.1 to 9.1.0 (#5390)
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 7.0.1 to 9.1.0.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases)
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/7.0.1...9.1.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-30 09:33:32 -04:00
rijkvanzanten
99fcf12e73 Fix linter workflow 2021-04-29 16:24:31 -04:00
dependabot[bot]
57ae282b57 Bump js-yaml from 4.0.0 to 4.1.0 (#5357)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.0.0...4.1.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-29 10:33:09 -04:00
dependabot[bot]
d5a701ba8d Bump date-fns from 2.20.1 to 2.21.1 (#5353)
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.20.1 to 2.21.1.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.20.1...v2.21.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-29 09:57:22 -04:00
dependabot[bot]
e336f4421d Bump @types/node from 14.14.37 to 15.0.1 (#5352)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.37 to 15.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-29 09:57:07 -04:00
dependabot[bot]
b741c14408 Bump chalk from 1.1.3 to 4.1.1 (#5317) 2021-04-28 14:08:35 +00:00
dependabot[bot]
a3590c1706 Bump @types/fs-extra from 8.1.1 to 9.0.11 (#5314) 2021-04-28 09:18:06 -04:00
dependabot[bot]
f5f6f325f7 Bump uuid from 3.3.2 to 8.3.2 (#5292)
Bumps [uuid](https://github.com/uuidjs/uuid) from 3.3.2 to 8.3.2.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v3.3.2...v8.3.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-27 15:11:23 -04:00
dependabot[bot]
f1bed254be Bump express-pino-logger from 5.0.0 to 6.0.0 (#5288)
Bumps [express-pino-logger](https://github.com/pinojs/express-pino-logger) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/pinojs/express-pino-logger/releases)
- [Commits](https://github.com/pinojs/express-pino-logger/compare/v5.0.0...v6.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-27 14:58:06 -04:00
rijkvanzanten
b13c464c1e Remove express-graphql 2021-04-27 10:13:32 -04:00
rijkvanzanten
3e89bcc239 v9.0.0-rc.61 2021-04-26 18:49:04 -04:00
rijkvanzanten
d9b0fc1e33 v9.0.0-rc.60 2021-04-22 17:59:11 -04:00
rijkvanzanten
0dfad1e96e v9.0.0-rc.59 2021-04-15 12:09:58 -04:00
rijkvanzanten
16b1a4e76e v9.0.0-rc.58 2021-04-14 19:52:03 -04:00
rijkvanzanten
1bfa128308 v9.0.0-rc.57 2021-04-09 20:30:10 -04:00
rijkvanzanten
52ee17dc33 Fix dev scripts on root 2021-04-09 16:34:52 -04:00
rijkvanzanten
f8f843e5be v9.0.0-rc.56 2021-04-08 17:41:53 -04:00
rijkvanzanten
73f7ac8f3f v9.0.0-rc.55 2021-04-07 13:00:16 -04:00
rijkvanzanten
08958fec23 v9.0.0-rc.54 2021-04-06 18:45:32 -04:00
Anton Strandman
2cfc2cb48e Freeze internal dependencies to current version (#4770) 2021-03-31 09:29:43 -04:00
Rijk van Zanten
f90c31b798 GraphQL 2.0 (#4625)
* Start on GraphQL "2.0", add methodnotallowed exceptoin

* Fix relative file pointer in peer dep

* [WIP] Add pre-filtered schema to SchemaOverview

* Use root schema as is, add reduce-schema util

* Use reduceSchema in the wild

* Base schema on local reduced schema

* Remove todo

* Use graphql-compose to build out schema

* Start restructuring resolvers

* Add create mutation

* Return boolean true for empty create mutation selections

* Add update mutation

* Add delete mutation

* Add system/items scoping

* Fix merge conflicts for real now

* Use system services, rename ids->keys

* Start on docs on mutations

* Updates to match main

* Add fetch-by-id

* Add one/many resolvers for mutations

* Check system collection rows for singleton

* Fix resolver extraction for single read

* Share delete return type

* Add comments

* Use collection root name for readable type

* Add specs endpoint for GraphQL SDL

* Update docs

* Add note on SDL spec

* Fix delete single example

* Remove package-lock

* Fix collection read scoping in non-read
2021-03-30 17:06:35 -04:00
rijkvanzanten
fb91fd57e0 v9.0.0-rc.53 2021-03-30 13:17:52 -04:00
rijkvanzanten
9b6869e068 v9.0.0-rc.52 2021-03-29 14:53:22 -04:00
rijkvanzanten
e0fd5b2a89 Update knex-schema-inspector
Fixes #4708
2021-03-29 14:38:52 -04:00
rijkvanzanten
2d59412209 Update knex 2021-03-25 15:30:05 -04:00
Rijk van Zanten
c310afa846 Rely on npm Workspaces for module resolving (#4656)
* Move devDeps to API

* Move app to npm workspaces

* Tweaks / add lockfiles

* Add locks, fix devdeps across packages

* Move eslint config rootlevel

* Use eslint fix for vue files instead of vue-cli-service

* Add global prettier format option

* Create lockfiles for all packages

* Replace husky with simple-git-hooks
2021-03-24 16:01:49 -04:00
rijkvanzanten
10050b32ba Lock directus internal versions
Fixes #4598
2021-03-22 20:19:52 -04:00
rijkvanzanten
aa15da7c65 v9.0.0-rc.51 2021-03-16 15:56:56 -04:00
Nicola Krumschmidt
068fcb3afa Remove dotenv preloading from api dev script (#4540)
Now that there is a native way to specify the config path by using the
CONFIG_PATH env var, this is not needed anymore and even prevents that
env var from working correctly because the preloaded dotenv overwrites
the specified config file.
2021-03-15 10:15:41 -04:00
rijkvanzanten
42507ae52f v9.0.0-rc.50 2021-03-12 18:32:20 -05:00
rijkvanzanten
b17f3e0911 v9.0.0-rc.49 2021-03-11 18:57:25 -05:00
rijkvanzanten
3803333025 v9.0.0-rc.48 2021-03-11 07:42:15 -05:00
rijkvanzanten
71bf628955 v9.0.0-rc.47 2021-03-11 07:38:26 -05:00
rijkvanzanten
33f36d2485 v9.0.0-rc.46 2021-03-10 17:39:31 -05:00
rijkvanzanten
87ed604f18 v9.0.0-rc.45 2021-03-05 18:03:27 -05:00
Nicola Krumschmidt
08293b8570 Update Knex to version 0.95.0 (#4374)
* Update Knex to version 0.95.0

* Fix formatting in schema dialects

* Fix Knex imports

* Update package-lock

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-03-03 19:37:44 -05:00
rijkvanzanten
8aedc29aa1 v9.0.0-rc.44 2021-02-26 17:32:48 -05:00
Rijk van Zanten
1d9ffc2d7f Tweak asset metadata on upload (#4317)
* Update sharp

* Only read image metadata after upload

Preserves animated gifs and other files

Fixes #4297

* Rotate thumbnails based on exif data

Ref #4206
2021-02-26 17:18:17 -05:00
rijkvanzanten
64b012bccc Revert "Link devDependencies"
This reverts commit 63ec4b8e60.
2021-02-24 19:03:26 -05:00
rijkvanzanten
63ec4b8e60 Link devDependencies 2021-02-24 18:27:01 -05:00
rijkvanzanten
42ab1cce49 v9.0.0-rc.43 2021-02-23 17:18:22 -05:00
rijkvanzanten
055ebcb69b v9.0.0-rc.42 2021-02-19 17:22:06 -05:00