Commit Graph
100 Commits
Author SHA1 Message Date
admin f68a249268 add join role endpoint and persistency for hubs 2026-05-06 19:08:18 +02:00
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 22e2d18810 add set background and icon of hub functions 2026-05-03 19:30:22 +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
admin cb003d235f add channel set desc 2026-05-02 13:01:14 +02:00
admin 40cb7736c2 fix channel caches, add hub functions to api endpoints 2026-05-02 12:59:57 +02:00
admin 89101adf2f channel get tbd 2026-05-01 18:56:58 +02:00
admin 33794bb671 add channel: remove create set name logic 2026-05-01 18:50:46 +02:00
admin 7c4f326410 only lower id roles can be modfified, add new hub endpoints 2026-05-01 14:28:07 +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
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
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 a554c870ef update todo again 2026-04-21 18:35:27 +02:00
admin 1bff2ad401 update client and todo 2026-04-21 18:33:47 +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
admin 84e3f852fe working file sharing 2026-04-16 20:38:16 +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
admin c90c13b468 start minIO, refactored files into packages 2026-04-13 20:22:38 +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
admin 26fef0a777 use uuid in connection, message. Add fetch connections function 2026-04-07 20:06:06 +02:00
admin b3cd97ef3c update todo 2026-04-05 13:21:02 +02:00
admin ee0163d52c now direct messaging fully works 2026-04-05 13:19:58 +02:00
admin 27cce022a4 add client client messaging 2026-04-05 13:10:37 +02:00
admin cf8a635dd7 update test client 2026-04-05 13:06:30 +02:00
admin 9d279c9680 fix changes from debug, edit groups return, add new connections func 2026-04-05 12:55:36 +02:00
admin 8f5e405532 fix connection handlers, group ops, and various HTTP handler bugs 2026-04-04 19:56:20 +02:00
admin e30a3077b1 fix db function naming, connections query, and nil map init 2026-04-04 16:45:01 +02:00
admin 55095d5f02 refactor db functions 2026-04-04 13:05:39 +02:00
admin fc14987d6d add db function for user connections 2026-04-04 12:55:35 +02:00
admin 91220c37ca mod todo, add mod appearence, about for user 2026-04-04 12:14:15 +02:00
admin a7c58f4037 refactor naming in db, add user delete, update todo 2026-04-03 20:04:27 +02:00
admin bd1168aef7 change client to user 2026-04-03 19:33:26 +02:00
admin 8d97e28dde update todo, delete uneccessary body http respons 2026-04-03 01:00:00 +02:00
admin 922f13c64f fix main change owner route, fix group create id return, add new client 2026-04-02 23:29:45 +02:00
admin 3d1c7afdd7 fix owner change typo in main, create new client 2026-04-02 14:49:44 +02:00
admin 5d60c5120f implement all http functions in codebase 2026-04-02 14:01:49 +02:00
admin b8690f5093 add group color, owner manipulation 2026-04-02 14:00:21 +02:00
admin 8459975f0c update todo 2026-04-01 20:16:09 +02:00
admin b00eff5c47 add brief for functions in db, implemet full group manipulation (except owner,color), some fixes 2026-04-01 20:13:50 +02:00
admin 81d0d19064 changed http handle func dir for adding members to group 2026-04-01 18:52:36 +02:00
admin c5fc74d142 add client and groups member logic 2026-03-27 18:49:45 +01:00
admin a95bc43be6 fix first critical issiue 2026-03-27 16:06:23 +01:00
admin 04da887e4d add TODO 2026-03-26 20:47:17 +01:00
admin 3d230717f6 complete logic for login and responses of http functions 2026-03-26 20:45:28 +01:00
admin 9693e9ee88 add logic for login register 2026-03-22 20:06:59 +01:00
admin d756023952 new start 2026-03-22 14:26:49 +01:00
admin d3fc2a65d9 Add saving user, add nonpersistant register login handling 2026-03-17 21:40:48 +01:00
admin e496cb0017 omg 2026-03-17 19:51:47 +01:00
admin bbd3d390c2 all clients should be saved in cache 2026-03-16 18:02:32 +01:00
admin 9a677d7e46 before rewrite 2026-03-15 17:59:22 +01:00
admin c97b21a39e add cache for groups and clients, http sending message remains to be add 2026-03-15 14:15:24 +01:00
admin 76fbb8b970 rewrite needed, local group connections 2026-03-13 18:55:47 +01:00
admin bb1acfe38f complete group creation endpoint with auth and validation, change parameter and return pointer usage in some get func 2026-03-13 09:56:08 +01:00
admin eeea54492b mid chat group ccreation implementation 2026-03-12 22:54:31 +01:00
admin afdc3f96a0 irc working 2026-03-11 20:08:33 +01:00
admin 58fc553f04 register, login logic works 2026-03-11 19:46:37 +01:00
admin 744dd7f42d implemented login logic 2026-03-11 19:23:58 +01:00