f8864a779c
move distanceToMe onto Location ( #8464 )
2025-05-01 10:33:53 +02:00
21f343b8cf
feat(backend): distanceToMe ( #8462 )
...
* calculate distance between current user and queried user
* fix query for unset location
* use database to calculate distance
* rename distance to distance to me, 100% calculation done in DB
* distanceToMe tests
* lint fixes
2025-04-30 18:12:20 +00:00
5883818b91
refactor(backend): default badges, always return a badge ( #8430 )
...
* default badges, always return a badge
- default badges for trophy and verification
- always return a badge instead of null
- isDefault field on Badge
lint fixes
* default_verification svg
* add default-trophy
Co-authored-by: Sebastian Stein <sebastian@codepassion.de>
---------
Co-authored-by: Sebastian Stein <sebastian@codepassion.de>
2025-04-23 17:12:24 +00:00
873cd6cd34
refactor(backend): allow to set selected badge-slot to null ( #8421 )
...
* allow to set selected badgeslot to null
Free a specific badge slot by setting it to null
* Update backend/src/schema/resolvers/users.ts
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
---------
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
Co-authored-by: Max <maxharz@gmail.com>
2025-04-23 18:21:06 +02:00
7592fe29be
move graphql types into graphql folder ( #8420 )
2025-04-22 13:28:01 +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
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
Wolfgang Huß
64f276e56c
Fix divers links etc. in diverse readmes
2023-10-26 19:04:51 +02:00
f9dad608c7
Merge branch 'master' into chat-last-messages
2023-07-18 15:22:56 +02:00
cca020b6b3
aligned backend and frontend queries, show last message and unread count in room list
2023-07-18 11:14:06 +02:00
98cad5b568
changed order of room to lastMessageAt
2023-07-18 10:47:56 +02:00
Moriz Wahl
c05d39f4e6
Merge branch 'master' into new-room-properties
2023-07-17 14:11:33 +02:00
mahula
58e25e6361
Merge branch 'master' into chat-order-by-indexid
2023-07-17 13:36:52 +02:00
Moriz Wahl
1ac3553200
Merge branch 'master' into new-room-properties
2023-07-17 13:06:35 +02:00
Moriz Wahl
edaf72b674
add room query pagination
2023-07-17 11:56:58 +02:00
1e77e9aec0
Merge branch 'master' into unread-rooms-query
2023-07-17 10:23:56 +02:00
661c2f1b71
implement room order
2023-07-15 12:51:33 +02:00
5f4a973e2a
backend allow room filter by id for single rooms
2023-07-15 10:38:35 +02:00
Moriz Wahl
3d4def7c10
Merge branch 'master' into new-room-properties
2023-07-14 19:56:42 +02:00
Moriz Wahl
09be4d3442
test unread rooms query
2023-07-14 14:40:38 +02:00
Moriz Wahl
4310b3fa48
create message mutation returns full message object
2023-07-14 12:51:54 +02:00
Moriz Wahl
1fd67aa581
add unreadCount property
2023-07-14 12:34:12 +02:00
Moriz Wahl
2fe93892a1
full room object for create room mutation
2023-07-14 12:21:40 +02:00
Moriz Wahl
1d92b40f50
lastMessage in room working
2023-07-14 11:52:51 +02:00
54cf5b37a5
order by indexId instead of createdAt
2023-07-14 11:09:04 +02:00
a9ad8c34c8
Merge branch 'master' into message-pagination
2023-07-14 09:13:40 +02:00
Moriz Wahl
032bca1b64
add last message at, use cypher statements for roomName and avatar
2023-07-13 19:09:17 +02:00
06b15dcd5c
expect specific order of elements when querying, fix pagination query
2023-07-13 12:18:05 +02:00
a82e76f366
test message ordering & pagination
2023-07-13 11:13:06 +02:00
Moriz Wahl
9f1f028454
handle seen prop
2023-07-12 11:53:49 +02:00
Moriz Wahl
2ea77b784d
add saved, distributed and seen props. Handle distributed
2023-07-12 11:01:17 +02:00
aaa033c6a3
lint fixes
2023-06-21 16:43:18 +02:00
Moriz Wahl
02ffdda69d
Merge branch 'master' into message-properties
2023-06-20 20:24:28 +02:00
Moriz Wahl
6a3ec44f4d
feat(backend): message properties
2023-06-20 19:19:54 +02:00
Moriz Wahl
c68339fedf
roomName property
2023-06-16 13:07:10 +02:00
Moriz Wahl
cd23b88dd6
room users complete
2023-06-16 12:53:48 +02:00
Moriz Wahl
64120a0009
_id property for user
2023-06-16 09:13:29 +02:00
Moriz Wahl
5d4c4f3c98
roomId property
2023-06-16 09:08:31 +02:00
Moriz Wahl
d2beca22c9
set up unit tests for messages
2023-06-14 17:27:42 +02:00
Moriz Wahl
5b859bbcb5
test roomms resolver
2023-06-14 15:38:05 +02:00
ebddfa7df4
all files as .ts
2023-06-12 13:25:21 +02:00
Wolfgang Huß
54c7f9e38d
Merge branch 'master' of github.com:Ocelot-Social-Community/Ocelot-Social into event-master
2023-05-30 10:53:20 +02:00
Wolfgang Huß
cb1473b748
Set 'DEBUG=true' in backend '.env.template' to use GraphQL Playground
...
- Mention in docs as well.
2023-05-24 18:01:17 +02:00
Moriz Wahl
71d8d4f0b4
fix(backend): recover missing changes
2023-04-25 19:02:01 +02:00
Moriz Wahl
b327cae02d
Merge pull request #6255 from Ocelot-Social-Community/filter-events
...
feat(backend): filter posts by post type
2023-04-25 13:49:35 +02:00
Moriz Wahl
e69c036c80
order events by event date, filter outdated events
2023-04-24 16:21:50 +02:00
Moriz Wahl
b13325659d
remove changes from other branch
2023-04-20 13:40:16 +02:00
Moriz Wahl
8c0a833d0b
feat(backend): further event params
2023-04-19 09:09:08 +02:00
Moriz Wahl
0c225715fa
test create post with event properties
2023-03-30 14:43:25 +02:00
Moriz Wahl
2c52d08a94
test update posts for categories again
2023-03-29 17:26:15 +02:00