Commit Graph

1492 Commits

Author SHA1 Message Date
Oreille
22f2e4662f Add support for adding a collection accent color (#5818)
* Added icon_color to directus_collections
Added migrations
Added color property to select-icon
Fixed select-icon placeholder

* Use icon color in collection header bar.

* Set `collection` and `note` fields to hald witdh

* Rename icon_color->color

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-06-03 13:04:19 -04:00
Rijk van Zanten
e6364d99a4 Extract IPTC title and keywords (#6035)
* Fix title IPTC extraction

* Pull IPTC keywords as tags
2021-06-03 12:37:50 -04:00
Rijk van Zanten
32b714208b Upgrade dependencies (#6032)
* Apply minors/patches

* Apply (safe) major upgrades
2021-06-03 12:10:04 -04:00
dependabot[bot]
755efeeec7 Bump argon2 from 0.27.2 to 0.28.1 (#6021)
Bumps [argon2](https://github.com/ranisalt/node-argon2) from 0.27.2 to 0.28.1.
- [Release notes](https://github.com/ranisalt/node-argon2/releases)
- [Commits](https://github.com/ranisalt/node-argon2/compare/v0.27.2...v0.28.1)

---
updated-dependencies:
- dependency-name: argon2
  dependency-type: direct:production
  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-03 11:07:52 -04:00
dependabot[bot]
f03b4e64de Bump @types/node from 15.6.0 to 15.9.0 (#6018)
* Bump @types/node from 15.6.0 to 15.9.0

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.6.0 to 15.9.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* Fix type issues

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-06-03 11:07:03 -04:00
rijkvanzanten
44e443bf99 v9.0.0-rc.71 2021-06-02 13:28:26 -04:00
Rijk van Zanten
45730c6860 Resolve linter warnings (#6008) 2021-06-02 13:21:13 -04:00
nichols-green
e1e47453ef Changed PORT type from number to string (#6001) 2021-06-02 11:47:12 -04:00
Rijk van Zanten
77e00b7db4 Don't initialize database on file require (#6003) 2021-06-02 11:41:42 -04:00
Rijk van Zanten
02fc696c53 Fix env var validation in database loading step (#6002)
Fixes #5980
2021-06-02 11:17:50 -04:00
Rijk van Zanten
7f51ec9f16 Remove stray console.log in dependency (#5998)
Fixes #5987
2021-06-02 09:20:49 -04:00
dependabot[bot]
7993b2e869 Bump fs-extra from 9.1.0 to 10.0.0 (#5982)
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 9.1.0 to 10.0.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/9.1.0...10.0.0)

---
updated-dependencies:
- dependency-name: fs-extra
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-02 09:04:14 -04:00
rijkvanzanten
a6a354a0ae v9.0.0-rc.70 2021-06-01 20:17:10 -04:00
rijkvanzanten
c4b4e3586f Cleanup FK indexes in MySQL uses 2021-06-01 18:49:52 -04:00
rijkvanzanten
01bc1f6545 Upgrade knex-schema-inspector 2021-06-01 17:45:40 -04:00
rijkvanzanten
65240fff3b Make DB migrations for FK constraints safer 2021-06-01 16:44:10 -04:00
dependabot[bot]
b1f1e09428 Bump typescript from 4.2.4 to 4.3.2 (#5967)
* Bump typescript from 4.2.4 to 4.3.2

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.4 to 4.3.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.4...v4.3.2)

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

* Fix typing quirk

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-06-01 15:02:44 -04:00
rijkvanzanten
d61dacbe34 Merge branch 'aggregation' into insights 2021-06-01 12:30:56 -04:00
rijkvanzanten
894625ed09 Merge branch 'main' into aggregation 2021-06-01 12:30:42 -04:00
dependabot[bot]
b811218618 Bump inquirer from 8.0.0 to 8.1.0 (#5966)
Bumps [inquirer](https://github.com/SBoudrias/Inquirer.js) from 8.0.0 to 8.1.0.
- [Release notes](https://github.com/SBoudrias/Inquirer.js/releases)
- [Commits](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.0.0...inquirer@8.1.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-01 09:52:32 -04:00
dependabot[bot]
a11d97ded6 Bump execa from 4.1.0 to 5.0.1 (#5952)
Bumps [execa](https://github.com/sindresorhus/execa) from 4.1.0 to 5.0.1.
- [Release notes](https://github.com/sindresorhus/execa/releases)
- [Commits](https://github.com/sindresorhus/execa/compare/v4.1.0...v5.0.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 10:47:03 -04:00
rijkvanzanten
2c3ecdb0ec Merge branch 'aggregation' into insights 2021-05-28 10:23:54 -04:00
rijkvanzanten
749ce52da4 Merge branch 'main' into aggregation 2021-05-28 10:23:47 -04:00
dependabot[bot]
c19d25b6f7 Bump sharp from 0.27.2 to 0.28.3 (#5924)
Bumps [sharp](https://github.com/lovell/sharp) from 0.27.2 to 0.28.3.
- [Release notes](https://github.com/lovell/sharp/releases)
- [Changelog](https://github.com/lovell/sharp/blob/master/docs/changelog.md)
- [Commits](https://github.com/lovell/sharp/compare/v0.27.2...v0.28.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-28 10:07:32 -04:00
rijkvanzanten
367d781ee6 Various tweaks and fixes 2021-05-27 18:29:49 -04:00
rijkvanzanten
c16063f14b Fix o2m fetch when not grouping 2021-05-27 12:25:30 -04:00
rijkvanzanten
aa9157778b Add functional time-series chart 2021-05-26 22:55:30 -04:00
Rijk van Zanten
02089a6227 Tweak default cache ttl 2021-05-26 10:52:16 -04:00
dependabot[bot]
9482e0d319 Bump express-session from 1.17.1 to 1.17.2 (#5890)
Bumps [express-session](https://github.com/expressjs/session) from 1.17.1 to 1.17.2.
- [Release notes](https://github.com/expressjs/session/releases)
- [Changelog](https://github.com/expressjs/session/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/session/compare/v1.17.1...v1.17.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-26 10:04:16 -04:00
rijkvanzanten
28e857bde4 Render panel selection 2021-05-25 20:36:53 -04:00
rijkvanzanten
c79b48e08f Add dashboard creation flow 2021-05-25 18:18:17 -04:00
rijkvanzanten
56841ca66b Render insights overview page 2021-05-25 17:12:37 -04:00
rijkvanzanten
a7d8d0fafc Add schema, rest/gql resolvers for insights 2021-05-25 16:16:42 -04:00
rijkvanzanten
8fad805607 Add new system tables 2021-05-25 15:40:59 -04:00
rijkvanzanten
124ef9df34 Validate for new group/aggr query params 2021-05-25 14:31:47 -04:00
rijkvanzanten
137f08aab0 Sanitize incoming group/aggr fields 2021-05-25 14:31:44 -04:00
rijkvanzanten
2805506f5b Override fields/sortField when group/aggr is used 2021-05-25 14:31:17 -04:00
rijkvanzanten
b80bdb7146 Apply aggregation query to dbQuery 2021-05-25 14:31:01 -04:00
rijkvanzanten
2f6a90ee14 Add new aggregation types to query type 2021-05-25 14:30:45 -04:00
rijkvanzanten
51bc0a8c9f Check permissions before aggregating fields 2021-05-25 14:30:33 -04:00
rijkvanzanten
ce9296162c Make sure aggregated columns are returned 2021-05-25 14:30:15 -04:00
rijkvanzanten
c3589d138f Remove remaining leftovers from deprecated single query param 2021-05-25 11:38:33 -04:00
dependabot[bot]
1e7bb0ee23 Bump nanoid from 3.1.22 to 3.1.23 (#5869)
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.22 to 3.1.23.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.22...3.1.23)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 11:07:36 -04:00
dependabot[bot]
266b1bb4b5 Bump liquidjs from 9.24.1 to 9.25.0 (#5865)
Bumps [liquidjs](https://github.com/harttle/liquidjs) from 9.24.1 to 9.25.0.
- [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.24.1...v9.25.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 08:28:08 -04:00
dependabot[bot]
6cc189e0f0 Bump ms from 2.1.2 to 2.1.3 (#5867)
Bumps [ms](https://github.com/vercel/ms) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/vercel/ms/releases)
- [Commits](https://github.com/vercel/ms/compare/2.1.2...2.1.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 08:25:06 -04:00
dependabot[bot]
1dd3df4714 Bump @types/lodash from 4.14.169 to 4.14.170 (#5866)
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.169 to 4.14.170.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 08:24:24 -04:00
dependabot[bot]
66295e10a1 Bump keyv-memcache from 1.2.4 to 1.2.5 (#5870)
Bumps [keyv-memcache](https://github.com/jaredwray/keyv-memcache) from 1.2.4 to 1.2.5.
- [Release notes](https://github.com/jaredwray/keyv-memcache/releases)
- [Commits](https://github.com/jaredwray/keyv-memcache/compare/v1.2.4...v1.2.5)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 08:24:14 -04:00
rijkvanzanten
95307cee97 Fix o2m updates not saving revisions nested 2021-05-24 21:05:50 -04:00
rijkvanzanten
a1f55b0933 Update knex-schema-inspector 2021-05-24 15:41:05 -04:00
rijkvanzanten
1bbc8535a5 Move nodemailer setup to src root 2021-05-24 13:36:12 -04:00