Commit Graph

21 Commits

Author SHA1 Message Date
admin c0d4483154 fix hub bugs, add channel role permission endpoints
Covers: snake_case param renames, mutex RLock/Unlock mismatches, user.Hubs keyed by hub.Id, hub color using new_name, DELETE params sent as query, delete(target.Hubs, hub.Id), root/member role Id swap, and the three new PATCH
  /hub/channel/roles/* handlers.
2026-05-03 15:51:57 +02:00
admin 40cb7736c2 fix channel caches, add hub functions to api endpoints 2026-05-02 12:59:57 +02:00
cos 0afed9a326 add hub function 2026-04-30 11:44:54 +02:00
gitGnome 6378966267 add hub menagment functions 2026-04-29 14:46:22 +02:00
admin 79219971d0 add new event types 2026-04-28 16:38:16 +02:00
admin df1e969d49 revork structures for hub 2026-04-25 16:04:53 +02:00
gitGnome 635139aad2 idk how to plan this out 2026-04-24 15:34:58 +02:00
admin c0d7e53884 add hubs create in http 2026-04-23 18:14:05 +02:00
admin 8a66a905cb add configs from file, continue develpoment on hubs 2026-04-23 14:34:47 +02:00
admin 5f40a47a02 fix getting unread messages, ws endpoint 2026-04-22 14:44:10 +02:00
admin 422c4eb419 update naming of functions, add option to get count of unread messages of user 2026-04-21 19:50:14 +02:00
admin 7f3f77bff6 changed endpoints to work as should in first place 2026-04-21 18:22:56 +02:00
admin 35a6d2dc25 remove forced POST in request 2026-04-20 20:44:39 +02:00
admin c7da6a3b4f fix deelevation of connection, update client 2026-04-19 22:19:23 +02:00
admin b8b1b4a0bc rename connection elevation data 2026-04-19 22:08:38 +02:00
admin dc1b9eab09 add connection delevation option 2026-04-19 18:40:02 +02:00
admin f24cab8fb0 getting user; mod: avatar, profileBg, profile now working 2026-04-19 18:27:36 +02:00
admin a0140ec0a7 add getting user 2026-04-19 00:37:49 +02:00
admin a47654428c add option for avatar/profilebg change 2026-04-19 00:06:17 +02:00
gitGnome c85c66e43a add dynamic profile update, connection helper, file download metadata
- replace UserSetColor/UserSetPronouns with single UserUpdateProfile that dynamically builds one UPDATE query from UserProfileUpdateList
- add getConnectionWithResponseOnFail helper to deduplicate connection ID parsing and validation across handlers
- rename file.go to attachmentFile.go and update handler names
- GetDownloadUrlAndMetadata now fetches object metadata via StatObject and returns it alongside the presigned URL
- file download endpoint returns JSON with url and originalName
- add description field to user and DB schema
- remove unused ConnectionState variants (GroupFellow, GroupFriend)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-17 13:28:27 +02:00
admin 84e3f852fe working file sharing 2026-04-16 20:38:16 +02:00