4322 Commits

Author SHA1 Message Date
dependabot[bot]
b5b0dcd9c1
build(deps): bump @aws-sdk/lib-storage in /backend (#8769)
Bumps [@aws-sdk/lib-storage](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/lib/lib-storage) from 3.842.0 to 3.844.0.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/lib/lib-storage/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.844.0/lib/lib-storage)

---
updated-dependencies:
- dependency-name: "@aws-sdk/lib-storage"
  dependency-version: 3.844.0
  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>
2025-07-28 21:32:13 +00:00
dependabot[bot]
0cb4c1f3b7
build(deps): bump node from 24.4.0-alpine to 24.4.1-alpine in /backend (#8778)
Bumps node from 24.4.0-alpine to 24.4.1-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-version: 24.4.1-alpine
  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>
2025-07-28 11:13:16 +00:00
dependabot[bot]
e990b9c8ac
build(deps): bump @aws-sdk/client-s3 from 3.844.0 to 3.850.0 in /backend (#8785)
Bumps [@aws-sdk/client-s3](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3) from 3.844.0 to 3.850.0.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-s3/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.850.0/clients/client-s3)

---
updated-dependencies:
- dependency-name: "@aws-sdk/client-s3"
  dependency-version: 3.850.0
  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>
2025-07-28 12:27:38 +02:00
dependabot[bot]
6895a73b15
build(deps): bump cross-env from 7.0.3 to 10.0.0 in /backend (#8787)
Bumps [cross-env](https://github.com/kentcdodds/cross-env) from 7.0.3 to 10.0.0.
- [Release notes](https://github.com/kentcdodds/cross-env/releases)
- [Changelog](https://github.com/kentcdodds/cross-env/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kentcdodds/cross-env/compare/v7.0.3...v10.0.0)

---
updated-dependencies:
- dependency-name: cross-env
  dependency-version: 10.0.0
  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>
2025-07-28 11:27:23 +02:00
dependabot[bot]
e9213effc1
build(deps-dev): bump @types/node from 24.0.14 to 24.1.0 in /backend (#8788)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.0.14 to 24.1.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-version: 24.1.0
  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>
2025-07-28 07:46:10 +00:00
dependabot[bot]
572bc5281a
build(deps-dev): bump @types/node from 24.0.10 to 24.0.13 in /backend (#8757)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.0.10 to 24.0.13.
- [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-version: 24.0.13
  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>
2025-07-17 11:15:35 +00:00
Robert Schäfer
3b2b3f0014
refactor(backend): remove obsolete code (#8752)
We kept this code for backwards compatibility but since we already deployed S3 to our kubernetes cluster and we're using it locally, let's remove this code. It will also make it easier to implement the image resize service as it reduces the total amount of code to maintain.

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-07-14 07:28:07 +00:00
dependabot[bot]
588e9bee8d
build(deps): bump node from 24.3.0-alpine to 24.4.0-alpine in /backend (#8756)
Bumps node from 24.3.0-alpine to 24.4.0-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-version: 24.4.0-alpine
  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>
2025-07-12 13:15:52 +00:00
dependabot[bot]
66d591404e
build(deps): bump @aws-sdk/client-s3 from 3.842.0 to 3.844.0 in /backend (#8759)
Bumps [@aws-sdk/client-s3](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3) from 3.842.0 to 3.844.0.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-s3/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.844.0/clients/client-s3)

---
updated-dependencies:
- dependency-name: "@aws-sdk/client-s3"
  dependency-version: 3.844.0
  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>
2025-07-12 12:44:15 +00:00
dependabot[bot]
4e68a88a24
build(deps-dev): bump @types/lodash from 4.17.19 to 4.17.20 in /backend (#8741)
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.17.19 to 4.17.20.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

---
updated-dependencies:
- dependency-name: "@types/lodash"
  dependency-version: 4.17.20
  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>
2025-07-07 22:07:21 +00:00
dependabot[bot]
853f7cd26e
build(deps-dev): bump @faker-js/faker from 9.8.0 to 9.9.0 in /backend (#8740)
Bumps [@faker-js/faker](https://github.com/faker-js/faker) from 9.8.0 to 9.9.0.
- [Release notes](https://github.com/faker-js/faker/releases)
- [Changelog](https://github.com/faker-js/faker/blob/next/CHANGELOG.md)
- [Commits](https://github.com/faker-js/faker/compare/v9.8.0...v9.9.0)

---
updated-dependencies:
- dependency-name: "@faker-js/faker"
  dependency-version: 9.9.0
  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>
2025-07-07 21:47:18 +00:00
dependabot[bot]
1ebbb1ca62
build(deps-dev): bump eslint-plugin-n in /backend (#8742)
Bumps [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n) from 17.20.0 to 17.21.0.
- [Release notes](https://github.com/eslint-community/eslint-plugin-n/releases)
- [Changelog](https://github.com/eslint-community/eslint-plugin-n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint-community/eslint-plugin-n/compare/v17.20.0...v17.21.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-n
  dependency-version: 17.21.0
  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>
2025-07-07 21:02:06 +00:00
dependabot[bot]
747b0d9f94
build(deps): bump nodemailer from 7.0.3 to 7.0.4 in /backend (#8743)
Bumps [nodemailer](https://github.com/nodemailer/nodemailer) from 7.0.3 to 7.0.4.
- [Release notes](https://github.com/nodemailer/nodemailer/releases)
- [Changelog](https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodemailer/nodemailer/compare/v7.0.3...v7.0.4)

---
updated-dependencies:
- dependency-name: nodemailer
  dependency-version: 7.0.4
  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>
2025-07-07 22:29:41 +02:00
Robert Schäfer
432ae4a906
refactor(backend): silence neo4j-graphql-js (#8751)
Except if you enable it with:
```
DEBUG=neo4j-graphql-js
```
.. in your `backend/.env`
2025-07-07 14:40:55 +00:00
Robert Schäfer
e0719c405e
refactor(backend): use apollo test setup (#8750)
.. in two more specs.

Apparently this got overlooked. In #8558 these tests will fail.
2025-07-07 20:46:34 +07:00
ee7af8e788
v3.11.0 (#8749) 2025-07-05 17:00:37 +02:00
dependabot[bot]
348598e487
build(deps-dev): bump eslint-plugin-import in /backend (#8705)
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.31.0 to 2.32.0.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.31.0...v2.32.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-version: 2.32.0
  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>
2025-07-03 17:59:30 +00:00
dependabot[bot]
1058752b1c
build(deps): bump the metascraper group in /backend with 12 updates (#8717)
Bumps the metascraper group in /backend with 12 updates:

| Package | From | To |
| --- | --- | --- |
| [metascraper](https://github.com/microlinkhq/metascraper) | `5.47.1` | `5.49.0` |
| [metascraper-author](https://github.com/microlinkhq/metascraper) | `5.47.1` | `5.47.2` |
| [metascraper-date](https://github.com/microlinkhq/metascraper/tree/HEAD/packages/metascraper-date) | `5.47.1` | `5.47.2` |
| [metascraper-description](https://github.com/microlinkhq/metascraper/tree/HEAD/packages/metascraper-description) | `5.47.1` | `5.47.2` |
| [metascraper-image](https://github.com/microlinkhq/metascraper/tree/HEAD/packages/metascraper-image) | `5.47.1` | `5.47.2` |
| [metascraper-lang](https://github.com/microlinkhq/metascraper/tree/HEAD/packages/metascraper-lang) | `5.47.1` | `5.47.2` |
| [metascraper-logo](https://github.com/microlinkhq/metascraper/tree/HEAD/packages/metascraper-logo) | `5.47.1` | `5.47.2` |
| [metascraper-publisher](https://github.com/microlinkhq/metascraper/tree/HEAD/packages/metascraper-publisher) | `5.47.1` | `5.47.2` |
| [metascraper-title](https://github.com/microlinkhq/metascraper) | `5.47.1` | `5.47.2` |
| [metascraper-url](https://github.com/microlinkhq/metascraper) | `5.47.1` | `5.47.2` |
| [metascraper-video](https://github.com/microlinkhq/metascraper/tree/HEAD/packages/metascraper-video) | `5.47.1` | `5.47.2` |
| [metascraper-youtube](https://github.com/microlinkhq/metascraper/tree/HEAD/packages/metascraper-youtube) | `5.47.1` | `5.47.2` |


Updates `metascraper` from 5.47.1 to 5.49.0
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/compare/v5.47.1...v5.49.0)

Updates `metascraper-author` from 5.47.1 to 5.47.2
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/compare/v5.47.1...v5.47.2)

Updates `metascraper-date` from 5.47.1 to 5.47.2
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/packages/metascraper-date/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/commits/v5.47.2/packages/metascraper-date)

Updates `metascraper-description` from 5.47.1 to 5.47.2
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/packages/metascraper-description/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/commits/v5.47.2/packages/metascraper-description)

Updates `metascraper-image` from 5.47.1 to 5.47.2
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/packages/metascraper-image/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/commits/v5.47.2/packages/metascraper-image)

Updates `metascraper-lang` from 5.47.1 to 5.47.2
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/packages/metascraper-lang/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/commits/v5.47.2/packages/metascraper-lang)

Updates `metascraper-logo` from 5.47.1 to 5.47.2
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/packages/metascraper-logo/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/commits/v5.47.2/packages/metascraper-logo)

Updates `metascraper-publisher` from 5.47.1 to 5.47.2
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/packages/metascraper-publisher/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/commits/v5.47.2/packages/metascraper-publisher)

Updates `metascraper-title` from 5.47.1 to 5.47.2
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/compare/v5.47.1...v5.47.2)

Updates `metascraper-url` from 5.47.1 to 5.47.2
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/compare/v5.47.1...v5.47.2)

Updates `metascraper-video` from 5.47.1 to 5.47.2
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/packages/metascraper-video/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/commits/v5.47.2/packages/metascraper-video)

Updates `metascraper-youtube` from 5.47.1 to 5.47.2
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/packages/metascraper-youtube/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/commits/v5.47.2/packages/metascraper-youtube)

---
updated-dependencies:
- dependency-name: metascraper
  dependency-version: 5.49.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: metascraper
- dependency-name: metascraper-author
  dependency-version: 5.47.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: metascraper
- dependency-name: metascraper-date
  dependency-version: 5.47.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: metascraper
- dependency-name: metascraper-description
  dependency-version: 5.47.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: metascraper
- dependency-name: metascraper-image
  dependency-version: 5.47.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: metascraper
- dependency-name: metascraper-lang
  dependency-version: 5.47.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: metascraper
- dependency-name: metascraper-logo
  dependency-version: 5.47.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: metascraper
- dependency-name: metascraper-publisher
  dependency-version: 5.47.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: metascraper
- dependency-name: metascraper-title
  dependency-version: 5.47.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: metascraper
- dependency-name: metascraper-url
  dependency-version: 5.47.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: metascraper
- dependency-name: metascraper-video
  dependency-version: 5.47.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: metascraper
- dependency-name: metascraper-youtube
  dependency-version: 5.47.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: metascraper
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-03 19:41:37 +02:00
dependabot[bot]
db4305ee01
build(deps-dev): bump eslint-plugin-jest in /backend (#8706)
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 28.13.5 to 29.0.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v28.13.5...v29.0.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-jest
  dependency-version: 29.0.1
  dependency-type: direct:development
  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>
2025-07-03 16:15:45 +02:00
dependabot[bot]
3e9e3a7446
build(deps): bump @aws-sdk/lib-storage in /backend (#8723)
Bumps [@aws-sdk/lib-storage](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/lib/lib-storage) from 3.828.0 to 3.832.0.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/lib/lib-storage/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.832.0/lib/lib-storage)

---
updated-dependencies:
- dependency-name: "@aws-sdk/lib-storage"
  dependency-version: 3.832.0
  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>
2025-07-03 13:17:47 +02:00
dependabot[bot]
fdc4684c2e
build(deps): bump @aws-sdk/client-s3 from 3.832.0 to 3.839.0 in /backend (#8722)
Bumps [@aws-sdk/client-s3](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3) from 3.832.0 to 3.839.0.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-s3/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.839.0/clients/client-s3)

---
updated-dependencies:
- dependency-name: "@aws-sdk/client-s3"
  dependency-version: 3.839.0
  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>
2025-07-03 10:28:27 +00:00
Robert Schäfer
61813c4eb8
refactor(backend): put config into context (#8603)
This is a side quest of #8558. The motivation is to be able to do dependency injection in the tests without overwriting global data. I saw the first merge conflict from #8551 and voila: It seems @Mogge could have used this already.

refactor: follow @Mogge's review

See: https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/8603#pullrequestreview-2880714796

refactor: better test helper methods

wip: continue refactoring

wip: continue posts

continue

wip: continue groups

continue registration

registration

continue messages

continue observeposts

continue categories

continue posts in groups

continue invite codes

refactor: continue notificationsMiddleware

continue statistics spec

followed-users

online-status

mentions-in-groups

posts-in-groups

email spec

finish all tests

improve typescript

missed one test

remove one more reference of CONFIG

eliminate one more global import of CONFIG

fix language spec test

fix two more test suites

refactor: completely mock out 3rd part API request

refactor test

fixed user_management spec

fixed more locatoin specs

install types for jsonwebtoken

one more fetchmock

fixed one more suite

fix one more spec

yet another spec

fix spec

delete whitespaces

remove beforeAll that the same as the default

fix merge conflict

fix e2e test

refactor: use single callback function for `context` setup

refactor: display logs from backend during CI

Because why not?

fix seeds

fix login

refactor: one unnecessary naming

refactor: better editor support

refactor: fail early

Interestingly, I've had to destructure `context.user` in order to make
typescript happy. Weird.

refactor: undo changes to workflows - no effect

We're running in `--detached` mode on CI, so I guess we won't be able to
see the logs anyways.

refactor: remove fetch from context after review

See:

refactor: found an easier way for required props

Co-authored-by: Max <maxharz@gmail.com>
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-07-03 11:58:03 +02:00
dependabot[bot]
3c59e08412
build(deps): bump dotenv from 16.5.0 to 17.0.0 in /backend (#8726)
---
updated-dependencies:
- dependency-name: dotenv
  dependency-version: 17.0.0
  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>
2025-07-03 11:00:19 +02:00
dependabot[bot]
4cd2c45442
build(deps-dev): bump @types/node from 24.0.3 to 24.0.6 in /backend (#8721)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.0.3 to 24.0.6.
- [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-version: 24.0.6
  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>
2025-07-02 18:01:16 +02:00
dependabot[bot]
e606b90ed2
build(deps-dev): bump prettier from 3.5.3 to 3.6.2 in /backend (#8729)
---
updated-dependencies:
- dependency-name: prettier
  dependency-version: 3.6.2
  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>
2025-07-02 10:41:16 +02:00
dependabot[bot]
eb33e6cb08
build(deps-dev): bump eslint-import-resolver-typescript in /backend (#8725)
---
updated-dependencies:
- dependency-name: eslint-import-resolver-typescript
  dependency-version: 4.4.4
  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>
2025-07-01 19:23:53 +00:00
dependabot[bot]
a1dede81c4
build(deps-dev): bump @types/lodash from 4.17.18 to 4.17.19 in /backend (#8727)
---
updated-dependencies:
- dependency-name: "@types/lodash"
  dependency-version: 4.17.19
  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>
2025-07-01 19:06:12 +00:00
dependabot[bot]
a6ceedb02d
build(deps-dev): bump eslint-plugin-prettier in /backend (#8728)
---
updated-dependencies:
- dependency-name: eslint-plugin-prettier
  dependency-version: 5.5.1
  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>
2025-07-01 18:29:34 +00:00
dependabot[bot]
eba43c5e9b
build(deps): bump node from 24.2.0-alpine to 24.3.0-alpine in /backend (#8730)
Bumps node from 24.2.0-alpine to 24.3.0-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-version: 24.3.0-alpine
  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>
2025-07-01 14:35:02 +00:00
Moriz Wahl
8ae4e309c3
fix(backend): mask jwt token in log (#8737) 2025-07-01 14:41:45 +02:00
Robert Schäfer
c9b429878a
refactor(backend): fix tests for #8714 (#8716)
This fixes the tests for #8714.

The Images type now has the callbacks only for backwards compatibility with local uploads. Next step is to remove the obsolete code and make S3 configuration parameters required.
2025-06-30 10:18:21 +00:00
Max
32927ea96e
fix(backend): refactor S3 usage and always apply protocol fix (#8714)
- Cleanup s3 code, so we use the same code for uploading files in chat and images in posts.
- Protocol is added to the location, when missing
2025-06-30 11:59:57 +02:00
Moriz Wahl
f3788b84a5
feat(backend): all db node properties (#8635)
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-06-25 21:21:41 +02:00
Moriz Wahl
4eff0fb497
fix(webapp): catch possibe errors on request geolocation (#8640)
* catch possibe errors on request geolocation

* proper toast error

* remove deprecated request package, use node fetch instead, set timeout

---------

Co-authored-by: Max <maxharz@gmail.com>
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-06-25 17:45:46 +00:00
Moriz Wahl
75d106e847
feat(devops): tool versions (#8709) 2025-06-23 11:50:42 +02:00
dependabot[bot]
f5253af447
build(deps): bump the metascraper group across 1 directory with 12 updates (#8572)
Bumps the metascraper group with 12 updates in the /backend directory:

| Package | From | To |
| --- | --- | --- |
| [metascraper](https://github.com/microlinkhq/metascraper) | `5.46.11` | `5.46.15` |
| [metascraper-author](https://github.com/microlinkhq/metascraper) | `5.46.11` | `5.46.15` |
| [metascraper-date](https://github.com/microlinkhq/metascraper/tree/HEAD/packages/metascraper-date) | `5.46.11` | `5.46.15` |
| [metascraper-description](https://github.com/microlinkhq/metascraper/tree/HEAD/packages/metascraper-description) | `5.46.11` | `5.46.15` |
| [metascraper-image](https://github.com/microlinkhq/metascraper/tree/HEAD/packages/metascraper-image) | `5.46.11` | `5.46.15` |
| [metascraper-lang](https://github.com/microlinkhq/metascraper/tree/HEAD/packages/metascraper-lang) | `5.46.11` | `5.46.15` |
| [metascraper-logo](https://github.com/microlinkhq/metascraper/tree/HEAD/packages/metascraper-logo) | `5.46.11` | `5.46.15` |
| [metascraper-publisher](https://github.com/microlinkhq/metascraper/tree/HEAD/packages/metascraper-publisher) | `5.46.11` | `5.46.15` |
| [metascraper-title](https://github.com/microlinkhq/metascraper) | `5.46.11` | `5.46.15` |
| [metascraper-url](https://github.com/microlinkhq/metascraper) | `5.46.11` | `5.46.15` |
| [metascraper-video](https://github.com/microlinkhq/metascraper/tree/HEAD/packages/metascraper-video) | `5.46.11` | `5.46.15` |
| [metascraper-youtube](https://github.com/microlinkhq/metascraper/tree/HEAD/packages/metascraper-youtube) | `5.46.11` | `5.46.15` |



Updates `metascraper` from 5.46.11 to 5.46.15
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/compare/v5.46.11...v5.46.15)

Updates `metascraper-author` from 5.46.11 to 5.46.15
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/compare/v5.46.11...v5.46.15)

Updates `metascraper-date` from 5.46.11 to 5.46.15
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/packages/metascraper-date/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/commits/v5.46.15/packages/metascraper-date)

Updates `metascraper-description` from 5.46.11 to 5.46.15
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/packages/metascraper-description/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/commits/v5.46.15/packages/metascraper-description)

Updates `metascraper-image` from 5.46.11 to 5.46.15
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/packages/metascraper-image/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/commits/v5.46.15/packages/metascraper-image)

Updates `metascraper-lang` from 5.46.11 to 5.46.15
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/packages/metascraper-lang/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/commits/v5.46.15/packages/metascraper-lang)

Updates `metascraper-logo` from 5.46.11 to 5.46.15
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/packages/metascraper-logo/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/commits/v5.46.15/packages/metascraper-logo)

Updates `metascraper-publisher` from 5.46.11 to 5.46.15
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/packages/metascraper-publisher/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/commits/v5.46.15/packages/metascraper-publisher)

Updates `metascraper-title` from 5.46.11 to 5.46.15
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/compare/v5.46.11...v5.46.15)

Updates `metascraper-url` from 5.46.11 to 5.46.15
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/compare/v5.46.11...v5.46.15)

Updates `metascraper-video` from 5.46.11 to 5.46.15
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/packages/metascraper-video/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/commits/v5.46.15/packages/metascraper-video)

Updates `metascraper-youtube` from 5.46.11 to 5.46.15
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/packages/metascraper-youtube/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/commits/v5.46.15/packages/metascraper-youtube)

---
updated-dependencies:
- dependency-name: metascraper
  dependency-version: 5.46.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: metascraper
- dependency-name: metascraper-author
  dependency-version: 5.46.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: metascraper
- dependency-name: metascraper-date
  dependency-version: 5.46.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: metascraper
- dependency-name: metascraper-description
  dependency-version: 5.46.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: metascraper
- dependency-name: metascraper-image
  dependency-version: 5.46.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: metascraper
- dependency-name: metascraper-lang
  dependency-version: 5.46.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: metascraper
- dependency-name: metascraper-logo
  dependency-version: 5.46.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: metascraper
- dependency-name: metascraper-publisher
  dependency-version: 5.46.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: metascraper
- dependency-name: metascraper-title
  dependency-version: 5.46.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: metascraper
- dependency-name: metascraper-url
  dependency-version: 5.46.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: metascraper
- dependency-name: metascraper-video
  dependency-version: 5.46.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: metascraper
- dependency-name: metascraper-youtube
  dependency-version: 5.46.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: metascraper
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-21 17:31:27 +00:00
dependabot[bot]
6c1113dcbf
build(deps): bump @aws-sdk/client-s3 from 3.828.0 to 3.832.0 in /backend (#8708)
Bumps [@aws-sdk/client-s3](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3) from 3.828.0 to 3.832.0.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-s3/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.832.0/clients/client-s3)

---
updated-dependencies:
- dependency-name: "@aws-sdk/client-s3"
  dependency-version: 3.832.0
  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>
2025-06-21 07:38:48 +00:00
dependabot[bot]
9458d5113a
build(deps): bump linkifyjs from 4.2.0 to 4.3.1 in /backend (#8531)
Bumps [linkifyjs](https://github.com/nfrasser/linkifyjs/tree/HEAD/packages/linkifyjs) from 4.2.0 to 4.3.1.
- [Release notes](https://github.com/nfrasser/linkifyjs/releases)
- [Changelog](https://github.com/nfrasser/linkifyjs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nfrasser/linkifyjs/commits/v4.3.1/packages/linkifyjs)

---
updated-dependencies:
- dependency-name: linkifyjs
  dependency-version: 4.3.1
  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>
2025-06-21 07:14:10 +00:00
dependabot[bot]
2c07178c1b
build(deps-dev): bump @types/node from 24.0.1 to 24.0.3 in /backend (#8707)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.0.1 to 24.0.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-version: 24.0.3
  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>
2025-06-21 06:47:19 +00:00
dependabot[bot]
48ed8e8064
build(deps-dev): bump @types/lodash from 4.17.17 to 4.17.18 in /backend (#8702)
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.17.17 to 4.17.18.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

---
updated-dependencies:
- dependency-name: "@types/lodash"
  dependency-version: 4.17.18
  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>
2025-06-21 06:21:45 +00:00
Wolfgang Huß
aab14b7aa5
chore(other): set some 'nvm' versions to '24.2.0' (#8691)
* Set some 'nvm' versions to '24.2.0'
2025-06-20 19:55:25 +00:00
Max
cc96698300
Put message creation in a transaction with file uploads to avoid empty messages (#8694)
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-06-20 18:32:00 +00:00
Wolfgang Huß
a912a353e4
Release v3.10.1 (#8692) 2025-06-19 13:44:02 +00:00
Moriz Wahl
3216b50d1a
feat(backend): logger (#8655)
* add logger to context

* add apollo logger

* apollo logger plugin must be set on createServer to avoid spam in unit tests
2025-06-19 12:59:15 +00:00
Max
d656ac00a1
Add protocol if missing (#8689)
Apparently Hetzner returns locations without protocol. So we add it if necessary.
2025-06-19 12:43:06 +02:00
61c1cc965a
v3.10.0 (#8683) 2025-06-16 00:51:57 +02:00
dependabot[bot]
1ddbdce3fc
build(deps): bump nodemailer from 6.10.1 to 7.0.3 in /backend (#8527)
Bumps [nodemailer](https://github.com/nodemailer/nodemailer) from 6.10.1 to 7.0.3.
- [Release notes](https://github.com/nodemailer/nodemailer/releases)
- [Changelog](https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodemailer/nodemailer/compare/v6.10.1...v7.0.3)

---
updated-dependencies:
- dependency-name: nodemailer
  dependency-version: 7.0.3
  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>
2025-06-15 10:55:37 +00:00
dependabot[bot]
9af7cdb1c9
build(deps): bump cheerio from 1.0.0 to 1.1.0 in /backend (#8669)
Bumps [cheerio](https://github.com/cheeriojs/cheerio) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/cheeriojs/cheerio/releases)
- [Commits](https://github.com/cheeriojs/cheerio/compare/v1.0.0...v1.1.0)

---
updated-dependencies:
- dependency-name: cheerio
  dependency-version: 1.1.0
  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>
2025-06-15 10:09:15 +00:00
dependabot[bot]
765838f6bf
build(deps): bump minimatch from 9.0.5 to 10.0.3 in /backend (#8673)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 9.0.5 to 10.0.3.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v9.0.5...v10.0.3)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 10.0.3
  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>
2025-06-15 09:32:33 +00:00
dependabot[bot]
7763ca6a7d
build(deps): bump @aws-sdk/lib-storage in /backend (#8667)
Bumps [@aws-sdk/lib-storage](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/lib/lib-storage) from 3.817.0 to 3.826.0.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/lib/lib-storage/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.826.0/lib/lib-storage)

---
updated-dependencies:
- dependency-name: "@aws-sdk/lib-storage"
  dependency-version: 3.826.0
  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>
2025-06-15 10:52:10 +02:00