e87a33eb3f
feat(backend): push posts ( #8609 )
...
* push posts
push posts
* unpush posts
* fix comment query
* locales
* fix locales
* fix tests
* Update webapp/locales/de.json
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
* Update webapp/locales/de.json
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
* Update webapp/locales/de.json
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
* fix unpushedSuccessfully english message
* remove paremeters from unpushPost
* rename pushPostToTop -> pushPost, tests
* update locales & tests webapp
* fix lint
---------
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-06-03 17:57:21 +02:00
b4b9b842b3
fix(backend): hotfix - allow more user fields to be queried ( #8632 )
...
* allow to query user id & slug
* skip tests
2025-06-02 08:50:42 +00:00
Moriz Wahl
b736a2a2e3
feat(backend): pin more than one post ( #8598 )
...
* feat(backend): pin more than one post
* add postPinnedCount query, better names for env variable
* add store and mixin for pinned posts counts
* test pinned post store
* context menu for pin posts
* fix typos
* unpin posts is always possible
---------
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-05-28 19:12:27 +02:00
Moriz Wahl
d4a9694657
feat(webapp): redirect to group after registration with invite to group ( #8540 )
2025-05-10 10:10:55 +00:00
3f4d648562
feat(backend): group invite codes ( #8499 )
...
* invite codes refactor
typo
* lint fixes
* remove duplicate initeCodes on User
* fix typo
* clean permissionMiddleware
* dummy permissions
* separate validateInviteCode call
* permissions group & user
* test validateInviteCode + adjustments
* more validateInviteCode fixes
* missing test
* generatePersonalInviteCode
* generateGroupInviteCode
* old tests
* lint fixes
* more lint fixes
* fix validateInviteCode
* fix redeemInviteCode, fix signup
* fix all tests
* fix lint
* uniform types in config
* test & fix invalidateInviteCode
* cleanup test
* fix & test redeemInviteCode
* permissions
* fix Group->inviteCodes
* more cleanup
* improve tests
* fix code generation
* cleanup
* order inviteCodes result on User and Group
* lint
* test max invite codes + fix
* better description of collision
* tests: properly define group ids
* reused old group query
* reuse old Groupmembers query
* remove duplicate skip
* update comment
* fix uniqueInviteCode
* fix test
2025-05-08 19:18:40 +00:00
edce234745
move models into database folder ( #8471 )
...
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-05-02 11:34:43 +00:00
839ffb29ee
refactor(backend): move resolvers into graphql folder ( #8470 )
...
* move resolvers into graphql folder
* lint fixes
2025-05-02 07:47:39 +00:00
f8864a779c
move distanceToMe onto Location ( #8464 )
2025-05-01 10:33:53 +02:00
507179738a
refactor(backend): types for neo4j & neode ( #8409 )
...
* type for neo4j and neode
* fix build
* remove flakyness
* wait for neode to install schema
* remove flakyness
* explain why we wait for a non-promise
2025-04-25 08:04:58 +00:00
5131752710
refactor(backend): lint @typescript-eslint/strict ( #8408 )
...
* lint @typescript-eslint/recommended
* lint @typescript-eslint/recommended-requiring-type-checking
fix type not detected locally due to wierd uuid typings
missing save
error not reported locally
* lint @typescript-eslint/strict
---------
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-04-21 11:09:47 +00:00
b464a380ca
refactor(backend): lint @typescript-eslint/recommended-requiring-type-checking ( #8407 )
...
* lint @typescript-eslint/recommended
* lint @typescript-eslint/recommended-requiring-type-checking
fix type not detected locally due to wierd uuid typings
missing save
error not reported locally
---------
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-04-21 10:32:44 +00:00
53f3a4e2e6
lint @typescript-eslint/recommended ( #8406 )
...
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-04-21 12:01:53 +02: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
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
Moriz Wahl
aedf8d93c7
feat(backend): notify posts in groups ( #8346 )
...
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-04-11 20:50:59 +00:00
Max
1b07b06ca7
feat(webapp): notification settings frontend ( #8320 )
...
Implements detailed settings for email notifications.
Issues
relates 🚀 [Feature] Drei neue Interaktions-Benachrichtigungen #8280
2025-04-09 13:21:38 +00:00
f782032563
refactor(backend): lint - import/order ( #8350 )
...
* lint - import/no-relative-parent-imports
fix build error
* fix md
* lint import/order
enabled rule import/order and fixed impot order in each file
2025-04-09 09:44:48 +02:00
a4f391930c
lint - import/no-relative-parent-imports ( #8349 )
...
enable import/no-relative-parent-imports
2025-04-08 23:18:07 +02:00
01027e42cc
feat(webapp): track online status ( #8312 )
...
* client
* backend
* tests
* also save awaySince timestamp
* remove console.log
2025-04-03 17:19:53 +02:00
Moriz Wahl
538f409086
feat(backend): observe posts ( #8292 )
...
* 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 observation of a post on and off
2025-03-26 22:16:06 +01:00
Moriz Wahl
09be4d3442
test unread rooms query
2023-07-14 14:40:38 +02:00
Moriz Wahl
9f1f028454
handle seen prop
2023-07-12 11:53:49 +02:00
Moriz Wahl
ae131cc656
add permissions for messages
2023-06-14 16:15:28 +02:00
Moriz Wahl
a51f357357
filter that only the rooms of the current user are returned
2023-06-14 15:00:23 +02:00
Moriz Wahl
d548fc2b84
simple create room mutation
2023-06-14 12:09:52 +02:00
ebddfa7df4
all files as .ts
2023-06-12 13:25:21 +02:00