Commit Graph

40 Commits

Author SHA1 Message Date
admin 6f7a913e64 add user join hub 2026-04-27 20:16:36 +02:00
gitGnome 67203c5971 add hub message 2026-04-27 18:03:10 +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 9cb05e7155 rework of permissions needed 2026-04-23 20:52:14 +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 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 37ec877baf create types for hubs 2026-04-19 23:25:30 +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 61936b4576 add option for avatar/profileBg download 2026-04-19 01:20:23 +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
gitGnome 6d0eaa92e9 rename postgr fucntions 2026-04-15 14:18:22 +02:00
gitGnome 3c31e82061 add helper function for handling existing file in s3 2026-04-15 14:01:39 +02:00
gitGnome 90018bccdd first esitant check is needed 2026-04-15 10:08:20 +02:00
gitGnome fcda29a66b rename file_metadata_connections to file_connections 2026-04-15 07:42:14 +02:00
admin 53c2f71d5d continue minIo, rename convertion methods and http methods 2026-04-14 22:04:12 +02:00
admin 60a02b73c0 add paritional files uploading for minIO 2026-04-14 21:42:22 +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
gitGnome 2500418f80 idk 2026-04-14 13:02:01 +02:00
admin c90c13b468 start minIO, refactored files into packages 2026-04-13 20:22:38 +02:00