16238 Commits

Author SHA1 Message Date
mahula
e1971f883c
e2e: fix typo in chat email test
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-04-16 08:52:07 +02:00
mahula
39d42c7703 e2e: refactor chat message notification email test feature 2025-04-15 21:57:42 +02:00
mahula
d73453a201 cypress: add backend url to config 2025-04-15 21:51:10 +02:00
mahula
3afd3a0087 cypress: add backend env file for test ci 2025-04-15 13:46:24 +02:00
mahula
dadebaac1c e2e: add user blocking step to chat notification test 2025-04-15 13:43:23 +02:00
mahula
e5c6f12610 Revert "e2e: add e2e ci specific env file"
This reverts commit f4154d70c438fc172bc16450c4220a590e61733a.
2025-04-15 10:30:19 +02:00
mahula
40fdc29f04
Merge branch 'master' into chat-message-notification-e2e-tests 2025-04-15 09:45:36 +02:00
dependabot[bot]
b31a439c8b
build(deps): bump graphql-upload from 11.0.0 to 13.0.0 in /backend (#8375)
Bumps [graphql-upload](https://github.com/jaydenseric/graphql-upload) from 11.0.0 to 13.0.0.
- [Release notes](https://github.com/jaydenseric/graphql-upload/releases)
- [Changelog](https://github.com/jaydenseric/graphql-upload/blob/master/changelog.md)
- [Commits](https://github.com/jaydenseric/graphql-upload/compare/v11.0.0...v13.0.0)

---
updated-dependencies:
- dependency-name: graphql-upload
  dependency-version: 13.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>
b3.3.0-1057
2025-04-15 01:10:42 +00:00
dependabot[bot]
adcbf81a53
build(deps-dev): bump the typescript group across 1 directory with 2 updates (#8383)
Bumps the typescript group with 2 updates in the /backend directory: [ts-jest](https://github.com/kulshekhar/ts-jest) and [tsc-alias](https://github.com/justkey007/tsc-alias).


Updates `ts-jest` from 29.3.1 to 29.3.2
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v29.3.1...v29.3.2)

Updates `tsc-alias` from 1.8.14 to 1.8.15
- [Release notes](https://github.com/justkey007/tsc-alias/releases)
- [Commits](https://github.com/justkey007/tsc-alias/compare/v1.8.14...v1.8.15)

---
updated-dependencies:
- dependency-name: ts-jest
  dependency-version: 29.3.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: typescript
- dependency-name: tsc-alias
  dependency-version: 1.8.15
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: typescript
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
b3.3.0-1056
2025-04-14 20:29:58 +00:00
dependabot[bot]
c2fd4484d2
Bump graphql from 14.7.0 to 15.10.1 in /webapp (#8157)
Bumps [graphql](https://github.com/graphql/graphql-js) from 14.7.0 to 15.10.1.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v14.7.0...v15.10.1)

---
updated-dependencies:
- dependency-name: graphql
  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>
b3.3.0-1055
2025-04-14 19:14:18 +00:00
Max
fb12a139bc
fix(webapp): better settings ux (#8347)
* Scroll to notification settings when opened (for mobile)

* scroll to settings content when clicking on menu entry

* Scroll to settings content on mobile and fix weird loading state

* Add fail-safety

* Fix linting
b3.3.0-1054
2025-04-14 17:56:29 +00:00
dependabot[bot]
4509633248
Bump bcryptjs from 2.4.3 to 3.0.2 (#8218)
Bumps [bcryptjs](https://github.com/dcodeIO/bcrypt.js) from 2.4.3 to 3.0.2.
- [Release notes](https://github.com/dcodeIO/bcrypt.js/releases)
- [Commits](https://github.com/dcodeIO/bcrypt.js/compare/2.4.3...v3.0.2)

---
updated-dependencies:
- dependency-name: bcryptjs
  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>
b3.3.0-1053
2025-04-14 17:15:57 +00:00
dependabot[bot]
1afd9576ce
Bump bcryptjs from 2.4.3 to 3.0.2 in /backend (#8224)
Bumps [bcryptjs](https://github.com/dcodeIO/bcrypt.js) from 2.4.3 to 3.0.2.
- [Release notes](https://github.com/dcodeIO/bcrypt.js/releases)
- [Commits](https://github.com/dcodeIO/bcrypt.js/compare/2.4.3...v3.0.2)

---
updated-dependencies:
- dependency-name: bcryptjs
  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>
b3.3.0-1052
2025-04-14 18:43:23 +02:00
dependabot[bot]
9396f840f4
build(deps-dev): bump cypress from 14.2.1 to 14.3.0 in the cypress group (#8366)
Bumps the cypress group with 1 update: [cypress](https://github.com/cypress-io/cypress).


Updates `cypress` from 14.2.1 to 14.3.0
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/v14.2.1...v14.3.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-version: 14.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: cypress
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
b3.3.0-1051
2025-04-14 08:34:55 +00:00
mahula
6e88b3f2bc
Merge branch 'master' into chat-message-notification-e2e-tests 2025-04-14 08:31:16 +02:00
dependabot[bot]
af5f506d22
build(deps-dev): bump eslint-import-resolver-typescript in /backend (#8369)
Bumps [eslint-import-resolver-typescript](https://github.com/import-js/eslint-import-resolver-typescript) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/import-js/eslint-import-resolver-typescript/releases)
- [Changelog](https://github.com/import-js/eslint-import-resolver-typescript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-import-resolver-typescript/compare/v4.3.1...v4.3.2)

---
updated-dependencies:
- dependency-name: eslint-import-resolver-typescript
  dependency-version: 4.3.2
  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>
b3.3.0-1050
2025-04-13 12:49:18 +00:00
dependabot[bot]
d34798a9d9
build(deps-dev): bump dotenv from 16.4.7 to 16.5.0 (#8367)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.4.7 to 16.5.0.
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.4.7...v16.5.0)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-version: 16.5.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>
b3.3.0-1049
2025-04-13 14:20:50 +02:00
dependabot[bot]
25552431b5
build(deps): bump ioredis from 4.16.1 to 5.6.1 in /backend (#8371)
Bumps [ioredis](https://github.com/luin/ioredis) from 4.16.1 to 5.6.1.
- [Release notes](https://github.com/luin/ioredis/releases)
- [Changelog](https://github.com/redis/ioredis/blob/main/CHANGELOG.md)
- [Commits](https://github.com/luin/ioredis/compare/v4.16.1...v5.6.1)

---
updated-dependencies:
- dependency-name: ioredis
  dependency-version: 5.6.1
  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>
b3.3.0-1048
2025-04-13 09:03:41 +00:00
dependabot[bot]
63cd1d36b1
build(deps): bump dotenv from 16.4.7 to 16.5.0 in /backend (#8372)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.4.7 to 16.5.0.
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.4.7...v16.5.0)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-version: 16.5.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>
b3.3.0-1047
2025-04-12 20:55:41 +00:00
dependabot[bot]
7b8fdbebbe
build(deps-dev): bump eslint-config-prettier in /webapp (#8377)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 10.1.1 to 10.1.2.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v10.1.1...v10.1.2)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-version: 10.1.2
  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>
b3.3.0-1046
2025-04-12 20:20:01 +00:00
dependabot[bot]
4f375c3f76
build(deps-dev): bump @types/node from 22.14.0 to 22.14.1 in /backend (#8374)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.14.0 to 22.14.1.
- [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: 22.14.1
  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>
b3.3.0-1045
2025-04-12 19:18:17 +00:00
8aa00216df
v3.3.0 (#8380)
regenerate changelog
b3.3.0-1044 3.3.0
2025-04-12 12:47:01 +00:00
Wolfgang Huß
a494f5e41e
fix(webapp): refine group muting locales (#8378)
* Refine group muting locales

* Revert toast message text in locale DE
b3.2.1-1043
2025-04-12 11:55:12 +00:00
Wolfgang Huß
2c7bfc700e
chore(backend): add e-mail setting for our new 'mailserver' to our backend .env.template (#8359)
* Add e-mail setting for our new 'mailserver' to our backend .env.template

* Reverse to default settings

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
b3.2.1-1042
2025-04-12 11:27:03 +00:00
mahula
7d9b0e6437
refactor(backend): set up smtp pooling for nodemailer (#8167)
* backend: active SMTP pooling in Nodemailer configuration

* backend: add max SMTPconnections and messages to Nodemailer configuration

* move transport outside function to ensure pooling can work

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
b3.2.1-1041
2025-04-12 12:59:56 +02:00
04bf693453
release script does not include commits (#8381) b3.2.1-1040 2025-04-12 10:18:05 +00:00
117c0d75e7
refactor(backend): user graphql (#8354)
* refactor user graphql

- remove isLoggedIn query
- currentUser query only for authenticated, currenUser always returns a
User
- currentUser query implementation uses neo4jgraphql with id parameter
- remove custom email field from user
- fix bug in frontend when there is no categories

* remove comment

* remove unused filter

* fix currentuser test

* fixedswitchUserRole mutation

* fix categories
b3.2.1-1039
2025-04-12 00:50:16 +00:00
fa0280f9e9
fix block user (#8363) b3.2.1-1038 2025-04-11 23:44:21 +00:00
Max
caeff070b7
feat(webapp): add mute/unumute group to menu (#8335)
* basics to notify a user when a followed user posted

* do not notify following user on posts in groups

* followig user wrote post notification

* notify regular group members when a new post is posted in the group

* mute and unmute groups

* clean database at end

* locale for post in group notification

* post in group notification triggers correctly

* email settings for post in group

* Add mute/unumute group to menu (WIP)

* Add mute group functionality (WIP)

* Add locales; use mute/unmute mutations, cleanup tests

* Overhaul group content menu test

* Rename isMuted to isMutedByMe and add it to group query

* Add German and English locales

* Add spanish translations

* Add missing translation keys (with null values)

* Remove console statement

* Add snapshot

* Replace mount by render

* Mock Math.random(), add tests for mute/unmute

* Use container instead of baseElement for snapshots

* fix group slug tests

* undo wrong variable naming

* rename parameter to groupId of mute/unmute group mutation

* rename parameter to groupId of mute/unmute group mutation

* only non pending members have access to the comtext menu

---------

Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
b3.2.1-1037
2025-04-11 23:10:42 +00:00
Moriz Wahl
7a44e1aa4e
test that there is no email sent when no notification (#8362) b3.2.1-1036 2025-04-11 23:49:31 +02:00
Moriz Wahl
aedf8d93c7
feat(backend): notify posts in groups (#8346)
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
b3.2.1-1035
2025-04-11 20:50:59 +00:00
mahula
7b4b0774e4
docker compose files: use current maildev image from the right repo (#8351) b3.2.1-1034 2025-04-11 19:44:22 +02:00
Moriz Wahl
3734e2ef56
feat(backend): notify users when a followed user posted (#8313) b3.2.1-1033 2025-04-11 17:56:11 +02:00
mahula
31f120cfd8 e2e: fix email check step for case of empty email list 2025-04-11 14:43:30 +02:00
mahula
6f708de78d
Merge branch 'master' into chat-message-notification-e2e-tests 2025-04-11 13:12:00 +02:00
mahula
8abef9c932 e2e: add email check step to chat notification test 2025-04-11 12:59:27 +02:00
Wolfgang Huß
bda0de0249
fix(backend): fixing admin email notification settings (#8356)
* Fix admin e-mail notification settings

* Optimize migration '20250405030454-email-notification-settings.ts' down

* Update backend/src/db/admin.ts

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
b3.2.1-1032
2025-04-11 10:00:15 +00:00
mahula
ac57bd85e8 e2e: add user muting step to chat notification test 2025-04-11 10:03:08 +02:00
mahula
3b491900fc
Merge branch 'master' into chat-message-notification-e2e-tests 2025-04-10 20:25:50 +02:00
711061b0c0
fix(backend): error when there is an abandoned email (#8315)
* fix error when there is an abandoned email

We check beforehand if an email has an user attached, but we never
delete an email without user. This will violate a unique constraint
blocking that particular email from ever being used again.

* fix tests
b3.2.1-1031
2025-04-10 18:17:51 +00:00
Moriz Wahl
abd13a6cff
migrate commenting users to observe commented posts (#8308) b3.2.1-1030 2025-04-10 19:36:26 +02:00
ab6fe37c3e
refactor(backend): new chat message notification email (#8357)
* new chat message notification email

- new mail features name in subject and text

* fix english version

* typo

* fix typos

* adjust tests
b3.2.1-1029
2025-04-10 16:38:51 +00:00
fcc99ab58e
refactor(backend): clean migrate scripts (#8317)
* clean migrate scripts

- refactor migrate:init
  - separate admin seed
  - separate categories seed
- rework backend README regarding the database
- remove `db:clean` command as its a duplicate of `db:reset`
- remove `__migrate` helper alias

* renamed clean.ts to reset.ts

* set indices & constrains in init function

* fix comment

* disable migrations touching indices

* remove obsolete comment

* always run init on kubernetes

* reset db with or without migrations

* lint fixes

* Refine 'README.md'

* Refine more 'README.md'

* fix lint

---------

Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
b3.2.1-1028
2025-04-10 09:52:49 +02:00
mahula
41e77f5473
Merge branch 'master' into chat-message-notification-e2e-tests 2025-04-10 09:14:59 +02:00
mahula
303981bdab e2e workflow: add mailserver 2025-04-10 09:11:08 +02:00
mahula
f4154d70c4 e2e: add e2e ci specific env file 2025-04-09 22:40:15 +02:00
mahula
174637073b cypress: initial chat notification feature file 2025-04-09 16:30:37 +02:00
Max
1b07b06ca7
feat(webapp): notification settings frontend (#8320)
Implements detailed settings for email notifications.

Issues
relates 🚀 [Feature] Drei neue Interaktions-Benachrichtigungen #8280
b3.2.1-1027
2025-04-09 13:21:38 +00:00
mahula
c2cb7803e2 cypress: add mailserver url to config 2025-04-09 13:20:43 +02:00
Moriz Wahl
fe7bab4675
posts and comments created by the factory set the observe relation (#8344) b3.2.1-1026 2025-04-09 08:36:56 +00:00