Commit Graph

16 Commits

Author SHA1 Message Date
admin 015c79bf09 user no stays in cache forever, fix some hubs bugs and add new enpoints 2026-05-04 14:03:02 +02:00
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
cos 0afed9a326 add hub function 2026-04-30 11:44:54 +02:00
admin 909d222a89 rework of hubs 2026-04-29 19:32:26 +02:00
admin 221fb47495 add hub get logic and part of client 2026-04-28 21:22:33 +02:00
admin a49f9f4615 add message in hub 2026-04-28 20:17:37 +02:00
gitGnome 8697cd2632 add new user set avatar and profile background 2026-04-28 11:16:37 +02:00
admin 6f7a913e64 add user join hub 2026-04-27 20:16:36 +02:00
admin ca084a21fa rethink needed 2026-04-26 21:56:00 +02:00
admin 9c73a01101 needed save users that can view channel instead of checking 2026-04-26 15:09:35 +02:00
gitGnome 635139aad2 idk how to plan this out 2026-04-24 15:34:58 +02:00
admin 9cb05e7155 rework of permissions needed 2026-04-23 20:52:14 +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 61936b4576 add option for avatar/profileBg download 2026-04-19 01:20:23 +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