2638 Commits

Author SHA1 Message Date
Max
c090db3866
feat(webapp): badges admin settings (#8401)
Adds a link to badges settings in the user table, where admins can set the available badges.
2025-04-22 17:28:51 +00:00
8cf405c549
feat(backend): badges (#8391)
* delete all old badges

* reward/unrewardBadge

* verification Badges

* name all badged accordingly

* more tests, lint

* seed badges

* profileBadge mechanic

* badgesUnusedCount

* seed profileBadges set

* configure profile badge count

* insert badges db:data:badges:default

* seed commands to seed default badges and allow to seed branding data

* copy data migrations when building docker

* typo

* correct data:branding command & document it

* test new functionality

* Update backend/src/db/seed/badges.ts

Co-authored-by: Max <maxharz@gmail.com>

* Update backend/src/db/seed/badges.ts

Co-authored-by: Max <maxharz@gmail.com>

* Update backend/src/db/seed/badges.ts

Co-authored-by: Max <maxharz@gmail.com>

* naming coventions

* final naming fix

lint

fix build

fix badge type in test

renamed badge_ to trophy_

lint fixes

small renameing

fixes

fix users spec

fix webapp queries

fix display

* expose badge description

---------

Co-authored-by: Max <maxharz@gmail.com>
2025-04-17 23:08:54 +00:00
Wolfgang Huß
a31274c793
refactor(webapp): refactor branding of post ribbons and chat etc. (#8395)
* Refactor branding of post ribbons

* Refactor chat to be more brandable

* Refine avatar menu logout item to have danger color

* Change login menu item color to '$text-color-link'
2025-04-17 17:48:59 +02: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
2025-04-12 00:50:16 +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>
2025-04-11 23:10:42 +00:00
Max
1e6a74b8ce
feat(frontend): observe posts (#8293)
* After creating the post, the author of it automatically observes it to get notifications when there are interactions

* a user that comments a post, automatically observes that post to get notifications when there are more interactions on that post

* mutation that switches the state of the obeservation of a post on and off

* remove duplicate code

* fix unit tests

* add metric observed users count to posts

* change naming

* Add follow post entry to post menu

* Add FollowButton (WIP), show unfollow in menu when already followed

* Follow/unfollow post => observe

* Update slashed bell

* Add requests to observe/unobserve posts

* Add ObserveButton functionality

* Rename isObservedByMe

* Add observingUsersCount; simplify ObserveButton and menu entries

* Fix locales

* Add snapshot test for ObserveButton (WIP)

* Remove empty routes push

* Add test for ObserveButton

* Add test for ContentMenu, improve ObserveButton test

* Remove unneeded fields from PostQuery

---------

Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2025-04-04 11:54:43 +00:00
Wolfgang Huß
87e5fc6bf8
feat(webapp): implement configurable custom button in header (#8215)
* Implement configurable custom button in header

* Implement default values for 'headerMenu'

---------

Co-authored-by: mahula <lenzmath@posteo.de>
2025-03-01 08:00:41 +01:00
Wolfgang Huß
74989cff54 Move 'if' property from 'div' tag to 'ds-flex-item' tag
- Remove the previously added 'div' tag.
2025-01-05 13:31:29 +01:00
475d4abc06
hide invite button on mobile if disabled
The invite button was displayed even when the functionality was
dsiabled. This was caused by a missing check for the corresponding flag.
2024-12-19 01:13:58 +01:00
Wolfgang Huß
71b1992f80 Fix linting 2024-10-30 13:09:45 +01:00
Maximilian Harz
b14d873c9f Fix unrelated linting errors 2024-10-29 11:12:20 +01:00
Maximilian Harz
0ae4881805 Fix linting 2024-10-29 11:11:48 +01:00
Maximilian Harz
c16ad813aa Adapt to different logo sizes, including fixes for Safari 2024-10-29 11:06:51 +01:00
mahula
89d870f7f1 fix change, which accedentally was merged 2024-10-28 14:27:16 +01:00
Wolfgang Huß
1e02dc4e87
Merge branch 'master' into dependabot-degroup 2024-10-28 12:15:38 +01:00
mahula
09498bc4e5 adapt nuxt config to use hoisting @use imports 2024-10-27 11:06:10 +01:00
mahula
2b281ccf97 remove unplanned changes 2024-10-26 13:09:29 +02:00
mahula
7923078523 migrate sass devisions 2024-10-23 05:28:03 +02:00
mahula
e11f8e36ae migrate sass devisions 2024-10-23 04:49:51 +02:00
mahula
47d79544c6 adapt name and random faking to updates faker api 2024-04-29 08:18:00 +02:00
mahula
d8e47238bb adapt faker import in webapp to package update 2024-04-29 07:44:49 +02:00
mahula
73fac22148 linting according to updated linter 2024-03-10 22:49:46 +01:00
Wolfgang Huß
4c0eed3e92 Fix wrong master merge 2024-02-12 11:23:48 +01:00
mahula
fb56539dff
Merge branch 'master' into 6979-make-relative-date-configurable 2024-02-07 09:56:58 +01:00
Wolfgang Huß
2b1ba71a43 Fix linting 2024-02-05 17:48:54 +01:00
Wolfgang Huß
4fa8ecf772 Implement config for 'date-time' format 2024-02-05 17:41:44 +01:00
Markus
d8ceca17da fixed issue in postteaser 2024-02-01 15:48:42 +01:00
Markus
15786d48d1 fixed css warning 2024-02-01 11:56:55 +01:00
Markus
3707fade72 [feature] redesigned post teaser date info 2024-02-01 10:03:41 +01:00
Wolfgang Huß
0ef5adb66c Fix webapp tests 2024-01-25 12:57:12 +01:00
Wolfgang Huß
9d9b325d43 Add 'Map' entry to user menu 2024-01-24 15:05:01 +01:00
Wolfgang Huß
3afa99e116 Change menu tool tip 'Show map' to 'Map' and rename identifier from 'map.button.tooltip' to 'header.map.tooltip' 2024-01-24 14:55:02 +01:00
Wolfgang Huß
c90d5b7edb Change menu tool tip 'Show groups' to 'Groups' and rename identifier from 'group.button.tooltip' to 'header.groups.tooltip' 2024-01-24 14:50:52 +01:00
Wolfgang Huß
47305320d6 Change menu tooltip 'My notifications' to 'Notifications' and rename identifier from 'notifications.headerMenuButton.tooltip' to 'header.notifications.tooltip' 2024-01-24 14:32:03 +01:00
Wolfgang Huß
51e663e0a6 Change menu tooltip 'My chats' to 'Chats' and rename identifier from 'header.chat.tooltip' to 'header.chats.tooltip' 2024-01-24 13:54:57 +01:00
Wolfgang Huß
4090a8b6b3 Split locales entry 'notifications.pageLink' by adding a 'header.avatarMenu.notifications' entry to have them seperated 2024-01-24 13:25:56 +01:00
Wolfgang Huß
6f4c6c2fd6 Add 'Chats' entry to user menu 2024-01-24 12:18:01 +01:00
Hannes Heine
57c9406f74
Merge branch 'master' into feature-improve-registration-slide-nonce-text 2023-12-12 18:37:27 +01:00
mahula
852e97b166 adapt linting of current frontend to new eslint-plugin-vue rules 2023-12-11 17:15:10 +01:00
elweyn
8f471a5e9d Add the text block div 2023-11-21 10:19:12 +01:00
Wolfgang Huß
35f01d45e5
Merge branch 'master' into fix-event-date-format 2023-10-31 20:31:33 +01:00
mahula
6d53fb97ff
Merge branch 'master' into replace-deprecated-jest-method 2023-10-31 19:31:58 +01:00
Wolfgang Huß
1a1338ce75
Merge branch 'master' into fix-event-date-format 2023-10-31 19:12:41 +01:00
mahula
7480f2c523 replace deprecated jest methods in webapp unit tests 2023-10-31 11:10:38 +01:00
Wolfgang Huß
34ac7b97bd Make filter menu visible if categories are inactive 2023-10-30 15:57:30 +01:00
Moriz Wahl
d1b7ac62bb fix(webapp): event date format 2023-10-09 14:20:30 +02:00
Tarun Samanta
8699d1049e
Update webapp/components/_new/generic/CounterIcon/CounterIcon.vue
Applied v-if only to the span tag

Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2023-09-26 20:37:53 +05:30
Tarun Samanta
d07fa4be0e
Update CounterIcon.vue 2023-09-26 02:39:47 +05:30
Tarun Samanta
76736b1d52 [Feature] Chat: Only show counter if unread messages exist 2023-09-25 23:28:06 +05:30
Wolfgang Huß
d13aaebb76
Merge branch 'master' into 6665-filtermenu-mobile-bug 2023-08-23 11:51:36 +02:00