Commit Graph

116 Commits

Author SHA1 Message Date
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
gitGnome e7cf57d023 todo 2026-04-17 09:47:10 +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
gitGnome 6435206683 rename database to postgressql 2026-04-13 08:06:41 +02:00
gitGnome 554b7c338a add media attach to message 2026-04-12 22:36:00 +02:00
admin 1d9e9b7dab update todo 2026-04-12 20:44:51 +02:00
admin e7f408788c change colors to work in uint32 and Rgba type 2026-04-12 20:44:38 +02:00
admin 376992d2e1 update todo 2026-04-12 19:33:15 +02:00
admin 4f181b2d5c delete groups 2026-04-12 19:29:10 +02:00
admin 09a6255213 part of group messages history 2026-04-12 14:39:24 +02:00
admin 3be9619cca use uuid for everything 2026-04-12 14:19:46 +02:00
admin 18ebfd0416 add update group struct 2026-04-12 13:59:20 +02:00
admin 989b10ac4e fix spelling in todo 2026-04-12 13:22:23 +02:00
admin 63b585313a rework ws responses to user, send events to user via ws 2026-04-12 13:18:54 +02:00
admin 9076a5c5c8 update todo 2026-04-11 23:12:41 +02:00
admin ab9319a962 add user deletion and rename user http 2026-04-11 23:09:48 +02:00
admin 59e693dacd split http across files 2026-04-11 23:04:50 +02:00
admin 4c87222b43 message history for dm 2026-04-11 22:49:05 +02:00
admin 62ff403d92 fix base64 encode of jsons 2026-04-11 22:38:05 +02:00
admin d2cd784b6a fuck 2026-04-11 20:06:03 +02:00
admin 1c58954613 add fetching message history 2026-04-11 20:03:09 +02:00
admin 1c7d0a691d add fixes for db and http 2026-04-11 13:56:59 +02:00
admin 47c0bcbb0a rewrite connections, messages system, add dm message history, fix multiple bugs, update machine-client 2026-04-11 13:40:13 +02:00
gitGnome 9804a700ce add getUserById helper in http delete old connections code from http 2026-04-08 14:10:43 +02:00
admin 26fef0a777 use uuid in connection, message. Add fetch connections function 2026-04-07 20:06:06 +02:00
gitGnome 9b57157769 so much work to do :c 2026-04-05 22:38:02 +02:00
gitGnome 7f54cc7a40 mid prog 2026-04-05 16:24:06 +02:00
gitGnome f38b130c8f make login return id of user also 2026-04-05 15:13:44 +02:00
gitGnome f254a71ef8 rename group add user and add global for develop 2026-04-05 15:04:01 +02:00
admin b3cd97ef3c update todo 2026-04-05 13:21:02 +02:00