Commit Graph

11109 Commits

Author SHA1 Message Date
Kevin Lewis
f4f8a02e2e Broken import fixed (#20789) 2023-12-19 10:43:02 +01:00
Kevin Lewis
59d79787c7 Add docs guides for building modules (#20630)
* Add Create a Custom Portal Module

* Add Use Native Layout Features In Your Modules

* Added changeset

* Pascal's edits

* Update guide imports on extension type pages

* Changed livePreviewMode to a bool

* Please for formatter

* Rename file

* Replace all remaining imports while we're at it

* Finishing touch

* Update docs/guides/extensions/modules-native-layout-features.md

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-19 09:14:32 +00:00
dependabot[bot]
8148841829 Bump sharp from 0.33.0 to 0.33.1 (#20786)
Bumps [sharp](https://github.com/lovell/sharp) from 0.33.0 to 0.33.1.
- [Release notes](https://github.com/lovell/sharp/releases)
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md)
- [Commits](https://github.com/lovell/sharp/compare/v0.33.0...v0.33.1)

---
updated-dependencies:
- dependency-name: sharp
  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-19 02:56:27 +01:00
Mahendra Kumar
251e3e42be fix(sdk): changed keys to keysOrQuery to accept both keys and query in updateItems (#20774)
* fix(sdk): changed keys to keysOrQuery to accept both keys and query in updateItems

* Update .changeset/heavy-meals-poke.md

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* Update sdk/src/rest/commands/update/items.ts

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* Update sdk/src/rest/commands/update/items.ts

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-18 20:15:26 +01:00
Kevin Lewis
8d1cc722ba Adding blog posts to guides lists (#20779)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-18 19:00:35 +00:00
Esther Agbaje
33259fd4c4 Add documentation for Directus UI Components (#20675)
Co-authored-by: Kevin Lewis <kvn@lws.io>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-18 18:04:20 +00:00
weberet
b0f43e8658 Document DB_SSL__CA Environment Variable (#20616)
Co-authored-by: Kevin Lewis <kvn@lws.io>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-18 17:20:21 +00:00
Wasim Thoufiq
5f554018bd Do not show subdued color on delete collection/field option hover (#20518)
* Remove v-list-item-icon-color vars used in v-list-item

* add changeset

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>
2023-12-18 10:34:03 -05:00
Brainslug
7d9832c99f Publicly load custom translations (#20780) 2023-12-18 14:19:41 +01:00
Code IT
083a95d52d Add missing pong reply in docs (#20765)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-18 12:37:48 +00:00
Steve Fan
71032776f9 Add the latest version of oracledb to api/package.json (#19067)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-12-18 12:17:05 +00:00
Gerard Lamusse
bf8408d83b Fix one-to-many table design (#20772)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-18 12:00:11 +00:00
dependabot[bot]
9549fae231 Bump @types/node from 18.16.12 to 18.19.3 (#20777)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.16.12 to 18.19.3.
- [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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 02:42:45 +01:00
Pascal Jufer
9412ee5096 Split up server startup in cache purge test (#20773) 2023-12-17 23:22:34 +01:00
Gerard Lamusse
f79dbef7c0 Fix example output for array environment syntax prefix (#20771)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-17 13:43:54 +00:00
Pascal Jufer
875bd54ab2 Split up server startup in schema cache test (#20770) 2023-12-16 23:28:34 +01:00
Pascal Jufer
a885ccac01 Update Knex to v3 (#20766) 2023-12-16 02:00:10 +01:00
Pascal Jufer
73ea24e62c Small enhancement to extensions UI (#20763) 2023-12-16 01:31:37 +01:00
Pascal Jufer
863f1866c1 Update Vite to v5 (#20764) 2023-12-16 00:02:14 +01:00
Pascal Jufer
6b07ee29a8 Switch to pnpm 8.12.1 (#20761) 2023-12-15 22:05:31 +01:00
Azri Kahar
b83d23449c Fix boolean attributes for draggable component (#20760)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-15 19:03:30 +00:00
Brainslug
b576c6e5e0 Fixes enabling/disabling extensions (#20677)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-15 17:41:16 +00:00
daedalus
4607a80290 add a --no-install option to the extensions-sdk cli to skip dep install (#20752)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-15 14:02:49 +00:00
daedalus
9769c10a2e do not remove custom devDependencies on bundle add (#20750)
Co-authored-by: Pascal Jufer <5363448+paescuj@users.noreply.github.com>
2023-12-15 10:48:16 +01:00
dependabot[bot]
c8a1174182 Bump rate-limiter-flexible from 2.4.1 to 2.4.2 (#20755)
Bumps [rate-limiter-flexible](https://github.com/animir/node-rate-limiter-flexible) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/animir/node-rate-limiter-flexible/releases)
- [Commits](https://github.com/animir/node-rate-limiter-flexible/commits)

---
updated-dependencies:
- dependency-name: rate-limiter-flexible
  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-15 02:56:10 +01:00
dependabot[bot]
70adf49654 Bump @rollup/plugin-json from 6.0.1 to 6.1.0 (#20753)
Bumps [@rollup/plugin-json](https://github.com/rollup/plugins/tree/HEAD/packages/json) from 6.0.1 to 6.1.0.
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/json/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/url-v6.1.0/packages/json)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-json"
  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-15 02:44:10 +01:00
dependabot[bot]
46c6dac816 Bump pino-pretty from 10.2.3 to 10.3.0 (#20754)
Bumps [pino-pretty](https://github.com/pinojs/pino-pretty) from 10.2.3 to 10.3.0.
- [Release notes](https://github.com/pinojs/pino-pretty/releases)
- [Commits](https://github.com/pinojs/pino-pretty/compare/v10.2.3...v10.3.0)

---
updated-dependencies:
- dependency-name: pino-pretty
  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-15 02:43:49 +01:00
Wasim Thoufiq
12643385db Fix BigInt primary key routing (#20744)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-14 17:13:47 +00:00
Azri Kahar
4f3771cc9a Allow editing content versions without edit permission on the main version item (#20735)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-14 15:12:50 +01:00
daedalus
b872cc0a02 filter with implicit logical operator for a field results in infinite loop (#20736)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-14 02:47:07 +01:00
dependabot[bot]
643b44d82a Bump typescript from 5.3.2 to 5.3.3 (#20742)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.3.2 to 5.3.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.3.2...v5.3.3)

---
updated-dependencies:
- dependency-name: typescript
  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-14 02:26:47 +01:00
daedalus
aa9bd02a7a do not re-order package entries on bundle add (#20739)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-14 02:26:13 +01:00
Nick Crews
72a3eb3716 Add .env info to docker-compose guide (#20725)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Brainslug <tim@brainslug.nl>
2023-12-13 17:58:36 +00:00
Rijk van Zanten
b0f5baa394 Add @directus/memory package (#20514)
* Add analytics table

* Setup memory package boilerplate

* Bootstrap library

* [WIP] setup serialize/deserialize for data

* Finish compress/serialize utils

* Add get/set for local

* Add increments method

* Add delete + comments

* Add pub/sub methods

* Remove erroneous files

* Add has, setMax

* Restructure to 3 subclasses

* WIP add Redis cache

* Add set-max

* Add cacheMulti

* Add tests for redis cache

* Don't compress small values

* Only decompress values that are compressed

* Add test for arr-to-buf

* Add tests for multi-stage cache

* Add test for create

* Finish redis based messenger bus

* Add redis bus to createBus

* Resolve lock file conflict

* Align dev deps versions

* Format files

* Update packages/memory/package.json

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* It's okay, ESLint

* Add local rate limiter

* Add redis limiter

* Add simple readme

* Add changeset

* 'key value' -> 'key-value'

* Sort package.json

* Remove leftovers

* Move timer calls to corresponding test

* Add KV asbraction based on previous "cache"

* Update cache to use kv

* Add more specific console logs

* Only define setMax if not exists

* Run formatter

* Use parseJSON util

* Fix typo in class docs

* Install directus/utils

* Default to Map if LRU config isn't set

* Ignore errors thrown in handlers

* Create process-id util

* Use pubsub in multi-stage handler

* WIP Update tests

* Update package lock

* Fix formatting errors

* Fix timestamp in test

* Uno mas

* Fix mock order

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-13 11:29:22 -05:00
Pascal Jufer
bcbfa3f74a Fix various styling issues in block editor interface (#20733)
* Fix various styling issues for block editor

* Use border instead of box-shadow
2023-12-13 09:53:15 -05:00
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
Daniel Biegler
b232e18156 Add translatable label to themes and field translations (#20641)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-12 14:14:56 +01:00
Pascal Jufer
5e72ea1b08 Patch Tuesday 🐸 (#20714) 2023-12-12 04:36:50 +01:00
Pascal Jufer
50843eca55 Update Vue to 3.3.11 (#20711) 2023-12-11 21:33:50 +01:00
Pascal Jufer
1a07d7355d Update TypeScript to 5.3.3 (#20710) 2023-12-11 20:39:34 +01:00
Pascal Jufer
4e07626f14 Fix new postgis image versions (#20709) 2023-12-11 20:20:55 +01:00
Pascal Jufer
bec3b68351 Align versions in dev / test docker compose files (#20708) 2023-12-11 19:52:44 +01:00
Pascal Jufer
3aa704d694 Update blackbox test deps (#20706) 2023-12-11 18:27:35 +01:00
Pascal Jufer
eb9655ac1e Update GitHub actions in workflows (#20705) 2023-12-11 17:41:34 +01:00
Pascal Jufer
c4567f8dfa Update root deps (#20703) 2023-12-11 17:05:04 +01:00
Pascal Jufer
6ac532ef00 Switch to pnpm v8.12.0 (#20702) 2023-12-11 16:30:31 +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
0529b19537 Fix check for bootstrap success in blackbox test (#20695) 2023-12-10 20:51:30 +01:00