a0c205b379
feat(backend): file upload chat backend ( #8657 )
...
* Prepare image uploads in chat
* files instead of images
* Fix file type and query
* Add dummy data to resolver
* fix graphql types
* Fix file upload, remove unncessary code
* Re-add fetch
* Fix room order after sent message
* Update backend/src/graphql/queries/messageQuery.ts
* Move room to top of list when a message is received
* working prototype chat file upload
* remove console
* allow to upload all kinds of files
* multiple images
* revert changes in S3 Images
* tag mimetype
* accept any file
* lint fix
* remove snapshot flakyness
* remove whitelist test
* fix messages spec
* fix query
* more query fixes
* fix seed
* made message resolver tests independent
* lint
* started specc for attachments
* more tests & fixes
* fix empty room error
* remove console logs
* fix tests
* fix createRoom last Messsage error properly
* lint fixes
* reduce changeset
* simplify config check
* reduce changeset
* missing change
* allow speech capture
* Fix file download
* Implement proper download
---------
Co-authored-by: Maximilian Harz <maxharz@gmail.com>
2025-06-13 19:02:37 +00:00
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
2b0d38fdff
feat(backend): autoselect badges when rewarding and the user still have free slots ( #8577 )
...
* autoselect badges when rewarding and the suer still have free slots
* improve semantics
---------
Co-authored-by: Hendrik-cpu <62690517+Hendrik-cpu@users.noreply.github.com>
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-05-25 14:43:38 +02:00
34c0e5166f
fix(backend): fix statistics and introduce new values ( #8550 )
...
* fix statistics and introduce new values
* fix locales
2025-05-12 17:51:15 +00:00
989d5ff781
fix(backend): invite codes - hotfix 1 ( #8508 )
...
* hotfix invite codes
* fix tests & ensure correct behaviour
2025-05-08 22:57: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
6f4d347f69
refactor(backend): separate queries ( #8358 )
...
* separate all queries into one file each
* fix merge error
* fix lint
---------
Co-authored-by: mahula <lenzmath@posteo.de>
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-04-21 11:47:12 +00:00