Commit Graph

30 Commits

Author SHA1 Message Date
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
gitGnome 6378966267 add hub menagment functions 2026-04-29 14:46:22 +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
admin 79219971d0 add new event types 2026-04-28 16:38:16 +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 472b4ea703 add per channel/group for user cahcing 2026-04-26 17:44:31 +02:00
admin 9c73a01101 needed save users that can view channel instead of checking 2026-04-26 15:09:35 +02:00
admin f22bb43346 add bit mask for bounded roles resolving 2026-04-25 20:42:37 +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 8aaa27a6dc complete hub save endpoint 2026-04-23 20:07:09 +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 35827f7214 create db structure for hubs 2026-04-22 22:15:34 +02:00
admin f4dfd63c58 Rename Role* constants to Permission* 2026-04-22 15:10:49 +02:00
admin 37ec877baf create types for hubs 2026-04-19 23:25:30 +02:00
admin b8b1b4a0bc rename connection elevation data 2026-04-19 22:08:38 +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
gitGnome f0fdaedd8c idk 2026-04-16 14:23:14 +02:00
admin 48d3c6f857 add file storage: metadata schema, minio upload/download, content-type extension mapping
- add files_metadata and files_metadata_connections tables with CRUD helpers
- add FileMetadata type and Sha256Hash typedef; replace Media struct
- add minio upload, presigned download URL, and key generation
- fix bucket existence check to use FileStorageBucketName instead of hardcoded "main"
- fix files_metadata_connections table name and trailing comma in DDL
- fix column name original -> name in files_metadata schema
- add canonical MIME-to-extension map with .unk fallback
- add FileDownloadLinkTtl constant (24h)
2026-04-14 18:55:22 +02:00
gitGnome 39a28ee888 idk 2026-04-14 15:58:10 +02:00
gitGnome a020c13394 idk 2026-04-14 14:11:38 +02:00
admin c90c13b468 start minIO, refactored files into packages 2026-04-13 20:22:38 +02:00