Commit Graph

2746 Commits

Author SHA1 Message Date
dependabot[bot]
25190b42f1 Bump ws from 8.15.0 to 8.15.1 (#20726)
Bumps [ws](https://github.com/websockets/ws) from 8.15.0 to 8.15.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.15.0...8.15.1)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-13 02:24:07 +01:00
daedalus
f2728506d2 public_favicon should be a system relation (#20724) 2023-12-12 21:12:48 +01:00
Pascal Jufer
5e72ea1b08 Patch Tuesday 🐸 (#20714) 2023-12-12 04:36:50 +01:00
Pascal Jufer
1a07d7355d Update TypeScript to 5.3.3 (#20710) 2023-12-11 20:39:34 +01:00
Pascal Jufer
36c08e2265 Remove flaky api storage test (#20701) 2023-12-11 16:13:37 +01:00
dependabot[bot]
30d53c5df6 Bump @types/destroy from 1.0.0 to 1.0.3 (#20697)
Bumps [@types/destroy](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/destroy) from 1.0.0 to 1.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/destroy)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11 00:55:03 +00:00
Pascal Jufer
81c9156508 Update Vitest to v1 (#20694) 2023-12-10 19:49:45 +01:00
dependabot[bot]
76b7b85303 Bump @rollup/plugin-node-resolve from 15.0.2 to 15.2.3 (#20680)
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve) from 15.0.2 to 15.2.3.
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/node-resolve/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/node-resolve-v15.2.3/packages/node-resolve)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-node-resolve"
  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>
2023-12-08 13:11:03 +01:00
dependabot[bot]
30ccd9fdd9 Bump openid-client from 5.4.2 to 5.6.1 (#20678)
Bumps [openid-client](https://github.com/panva/node-openid-client) from 5.4.2 to 5.6.1.
- [Release notes](https://github.com/panva/node-openid-client/releases)
- [Changelog](https://github.com/panva/node-openid-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/panva/node-openid-client/compare/v5.4.2...v5.6.1)

---
updated-dependencies:
- dependency-name: openid-client
  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>
2023-12-08 11:15:09 +01:00
Brainslug
6671f1c603 GraphQL Content Versions (#20499)
* WIP alternative gql approach for versions

* incorrect schema type

* finally got something working

* ran prettier

* prettier

* prettier

* limited _by_version to items scope

* removed debug comments and logs

* fixed singleton versions

* updated docs

* Added breaking change notice

* undid unneed change

* prettier

* Create six-trees-cry.md

* Update api/src/services/graphql/index.ts

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>

---------

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2023-12-07 21:35:27 +08:00
dependabot[bot]
ae31ef8ac7 Bump @types/express from 4.17.17 to 4.17.21 (#20667)
Bumps [@types/express](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/express) from 4.17.17 to 4.17.21.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/express)

---
updated-dependencies:
- dependency-name: "@types/express"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-12-07 13:27:57 +01:00
dependabot[bot]
d7601b0fee Bump helmet from 7.0.0 to 7.1.0 (#20668)
Bumps [helmet](https://github.com/helmetjs/helmet) from 7.0.0 to 7.1.0.
- [Changelog](https://github.com/helmetjs/helmet/blob/main/CHANGELOG.md)
- [Commits](https://github.com/helmetjs/helmet/compare/v7.0.0...v7.1.0)

---
updated-dependencies:
- dependency-name: helmet
  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>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-12-07 13:27:21 +01:00
Rijk van Zanten
a94cd79e72 Update tedious (#20649)
* Update tedious

* Update tedious
2023-12-06 10:30:52 +01:00
Pascal Jufer
c357d8d5e3 Update tsx to 4.6.1 (#20602) 2023-12-01 12:32:22 +01:00
Pascal Jufer
d30bb69490 Clean-up deps (#20581) 2023-11-30 00:46:09 +01:00
Pascal Jufer
a5215d674b Update TypeScript to 5.3.2 (#20571) 2023-11-29 13:54:56 +01:00
Brainslug
abf0cba75d Fixed GraphQL SDL Error (#20535)
* Fixed missing accountability

* Add changeset

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-11-27 10:23:05 -05:00
Azri Kahar
a11fb2b59d Allow configuration to prevent server startup when an extension fails to load (#20495)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-11-23 16:37:57 +00:00
Brainslug
e05d9240de GQL directus_permissions ID nullable (#20511) 2023-11-23 14:18:19 +01:00
Rijk van Zanten
afc4b23fc7 v10.8.2 2023-11-22 15:23:38 -05:00
Azri Kahar
2ed5ac0871 Fix full permissions & minimal app permissions (#20505)
* revert #8391

* revert #20347

* revert #20347

* undo revert of validation and presets null logic

* add changeset
2023-11-22 14:56:29 -05:00
Pascal Jufer
c9b4119922 Update tsx to v4.1.4 (#20479) 2023-11-20 16:48:36 +01:00
Pascal Jufer
ba7fac402e Update Prettier v3.1.0 (#20481) 2023-11-20 16:23:22 +01:00
Pascal Jufer
454ecdbefe Update Vitest to v0.34.6 (#20477) 2023-11-20 13:04:56 +01:00
Azri Kahar
091d1a6ade fix default values for system-theme-overrides (#20464) 2023-11-17 23:53:13 +01:00
Pascal Jufer
be4410f948 v10.8.1 (#20463) 2023-11-17 17:38:16 +01:00
Pascal Jufer
c6f47f90b2 More accurate OAS based on authenticated user (#20462) 2023-11-17 17:24:18 +01:00
Pascal Jufer
6953ad46ad Fallback to hostname for OAS URL if no PUBLIC_URL specified (#20460)
* Fallback to hostname for OAS URL if no PUBLIC_URL specified

* Add changeset

* Clearer variable name
2023-11-17 16:49:38 +01:00
Brainslug
90422c30d8 OAS based on permissions (#20386) 2023-11-17 00:15:40 +01:00
Rijk van Zanten
7f5d690c4e v10.8.0 2023-11-16 16:59:46 -05:00
Rijk van Zanten
8d8b649a1f Theming various (#20426)
* Update the minimal theme

* Remove unused files

* Remove unused default dark theme

* Fix type error

* Fix the order of themes in the picker interface

* Fix account/sign-out not using module foreground color

* Fix module bar interface styling

* Update system match label

* Use half width for default appearance

* Fix preview changed based on appearance

* Add includeNull option to theme selector interface

* Add minimal theme extension docs

* Attempt to make typedoc play nice

* Remove module bar color override

* Add snippet on overrides interface

* Deprecate "normal" style v-notice

* System filter interface background

* Add menu scope

* Use colors consistent with interface previews

* Remove card-face-color usage

* Use consistent hover style in collections & fields

* Deprecate card-face-color

* Remove old --card vars

* Fix revisions divider styling

* Remove duplicate background from overview header

* Fix permissions overview corner overlap

* Make form input height configurable

* Allow overriding public form input height

* Rename text string

* updated data model icon

* Standardize form settings between scopes

* Allow overriding sidebar forms

* Add configurable form gap

* Add configurable input-padding

* Fix list-item padding

* Fix padding in block style

* Add links to defaults

* Apply color match updates

* Default to database icon

* Fix schaling of theme selector interface

* Fix font loading

* Fetch font weights from Google as well

* Use display weight in titles

* Fix color match display font

* Clean up font weights for labels

* Update test to remove normal state

* Remove typo

* Add lowercase dev

* Add changeset

* Remove font-weight

---------

Co-authored-by: Ben Haynes <ben@rngr.org>
2023-11-16 15:36:54 -05:00
daedalus
fdb2e42b29 Add ability to ignore specific paths from the HTTP logger (#20368)
* add changeset

* Add the ability to ignore specific paths from HTTP logger

* fix linting

* Cast env, clean-up, add test

* Use dedicated env config name

* Add docs

* Clean-up

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-11-16 15:31:42 -05:00
Aiden Foxx
a011095aeb [OpenID/OAuth2] Only update user information if payload not empty (#20451) 2023-11-16 19:52:22 +00:00
Pascal Jufer
23c286d9c1 Fail instance on error during extensions syncing (#20450) 2023-11-16 11:19:19 -05:00
Alex Gaillard
3b8d8521bd Update Email Templates to new White Label Style (#20390)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-11-16 14:56:36 +00:00
Rijk van Zanten
7df84c0a89 Add support for EXTENSIONS_LOCATION setting (#20207)
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-11-16 13:29:03 +00:00
Rijk van Zanten
4396ee5166 Add theme-selector (#20413)
* Enable theme fields

* Start adding more default themes

* WIP add theme selector interface

* Restructure, add rules-to-vars util

* Render used vars in local overrides

* Use local theme vars in theme preview

* Render theme option full-width

* Add more test colors

* Only override used variables

* Fix rendering bugs in preview

* Remove test theme

* Add small border to preview

* Add organic theme

* Add changeset

* Don't crash color interface on complex input bg

* Use themable color for disabled input

* Use nav-sidebar theme in v-drawer

* Use border width from the theme in panels

* Use theme border width for panel borders

* Use page background for panel edit buttons

* Fix Active state forselected panel

* Don't use primary for logout hover state

* Fix background color of item duplication fields

* Use form border/background in v-list block

* Use theme border width in hardcoded 2px sections

* fix chip padding

* Rename background-page to background,

rename background to background-normal

* Fix search input styling

* Tweak search input themability

* update icons

* Add border on sidebar section content

* Add color match, start on minimal

* Organize import

* Adjust spacing

* Ignore stylesheet files

* Ignore svg as well

---------

Co-authored-by: Ben Haynes <ben@rngr.org>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-11-14 13:43:43 -05:00
Pascal Jufer
b9532cabe3 App TS fixes (#20421) 2023-11-14 16:42:35 +01:00
Connor
5300443b46 Fix File Limit Erroring Logic and DB Merge Logic (#20392)
* Add Extended Busboy Type

* Change Types and Remove Limit Erroring from Controller

* Change File Upload Logic

* Fix Typescript HELL

* Create perfect-oranges-hear.md

* Update api/src/services/files.ts

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* Update api/src/services/files.ts

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* Update api/src/services/files.ts

Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>

* Change copy to move

* Fix TS

* Fix naming of BusboyFileStream type and Erroring

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>
2023-11-13 17:59:42 -05:00
Pascal Jufer
976ebf1330 Refactor env mocking (#20384) 2023-11-10 16:32:35 +01:00
Brainslug
fd6eff4a5a Show package version if available (#20303)
* Show package version if available

* Create nice-bottles-flow.md

* Colorize state chip

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-11-08 15:55:43 -05:00
Brainslug
b5d73a9013 Allow overriding asset presets (#20305)
* Allow overwriting preset asset transformations

* ran prettier

* Create strong-spoons-mate.md

* simplified transformationParams

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-11-08 14:01:18 -05:00
Azri Kahar
1b01f2c4b4 Preserve minimal app permissions/validations when merging (#20347)
* preserve app minimal permissions when merging

* update test

* add changeset
2023-11-08 18:06:19 +01:00
Brainslug
9a1ba0982c Delete files based on "filename_disk" (#20341)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-11-08 15:04:15 +01:00
Rijk van Zanten
40e7046ba8 Use server store for public theme information (#20324)
* from rainbow to lava lamp

* svg paths to divs for performance

* Clean up styles

* Public view themable options

* Make speed themable

* Use server store info for public theming

* Add changeset

---------

Co-authored-by: Ben Haynes <ben@rngr.org>
2023-11-03 15:21:33 -04:00
Rijk van Zanten
d4e3ab2c0d v10.7.2 2023-11-02 16:18:09 -04:00
Rijk van Zanten
bf21e6959c Improve rolling deployments from 10.6 to 10.7 (#20308)
* Temporarily add back theme field to permissions

* Mark it as alias to not load from db

* Add field to permissions

* Fetch all user fields

* Note it's only for 10.7

* Add changeset

* Format

* Fix unit test

* Fix tests some more
2023-11-02 15:49:11 -04:00
Brainslug
a09a45eaf7 Unable to import files with predefined ids (#20301)
* Add check for existing file

* Create five-balloons-drum.md
2023-11-02 13:53:40 +01:00
daedalus
3a4abb10cb fix: extension auto-load crashes directus if local extension is removed (#20259) 2023-11-01 02:19:19 +01:00
Brainslug
87cc9cb9a8 Validate the query for SEARCH requests (#20253)
* validate the query used in SEARCH requests

* Create ten-onions-shop.md
2023-10-30 11:18:39 -04:00