Commit Graph

165 Commits

Author SHA1 Message Date
Artemy a8e31116b2 with out app.UseHttpsRedirection 2026-02-09 00:01:29 +07:00
Artemy f85e251277 with out https 2026-02-08 23:50:37 +07:00
Artemy 37d986bdbf applicationUrl 2026-02-08 23:43:17 +07:00
Artemy 0d9af9f437 new urls 2026-02-08 23:34:13 +07:00
Artemy f54b00ab31 set new UseUrls 2026-02-08 23:15:48 +07:00
Artemy bc4988a48d fix errors 2026-02-08 22:41:22 +07:00
Artemy cb1e769fa0 Merge branch 'master' of https://github.com/Govor-team/Govor 2026-02-08 22:31:02 +07:00
Artemy 0a43e35797 test to make server 2026-02-08 22:30:29 +07:00
stalcke2288969 e05f86f7a2 GITBOOK-13: No subject 2025-12-18 04:54:37 +00:00
Artemy cc2921d257 Updeted Session Model and Session Opener Service
renamed RefreshToken in model to RefreshTokenHash - now we have a hash of token, not a token
2025-12-14 14:03:18 +07:00
Artemy 0ad6b52de5 Merge branch 'master' of https://github.com/Govor-team/Govor 2025-12-12 17:28:37 +07:00
Artemy 7e6f914878 technical edits 2025-12-12 17:23:01 +07:00
Artemy 3a9985de3a Update README.md 2025-11-18 21:50:15 +07:00
Artemy c09de05d60 Update and rename README to README.md 2025-11-18 21:49:41 +07:00
Artemy 330b604410 Update README 2025-11-18 21:48:59 +07:00
Artemy d3ef67bfb3 Create README 2025-11-18 21:46:51 +07:00
Artemy bf2aca40d3 added https 2025-11-04 13:40:03 +07:00
Artemy ed03d6cbf7 part 2 to update applicationUrl 2025-11-04 13:03:07 +07:00
Artemy 595253d7c3 add 8080 to applicationUrl 2025-11-04 13:00:32 +07:00
Artemy 986f5ae6ea help me 2025-11-04 12:58:15 +07:00
Artemy b1e8cc83b2 update docker file 2025-11-04 12:49:41 +07:00
Artemy e6f7292bab AllowedHosts updated 2025-11-04 12:38:17 +07:00
Artemy 3385d484ff docker file update 2025-11-04 12:12:48 +07:00
Artemy c541c404b4 added new origins 2025-11-04 11:58:14 +07:00
Artemy c462d065f4 [TearDown] added 2025-11-04 11:51:37 +07:00
Artemy c720ae3667 Merge branch 'master' of https://github.com/Govor-team/Govor 2025-11-04 11:41:19 +07:00
Artemy a5a5fc4758 new app server and database + added hub and controller of user profile 2025-11-04 11:41:06 +07:00
stalcke2288969 6d4d269d74 GITBOOK-10: No subject 2025-10-31 09:17:16 +00:00
Artemy 1d442d037c Add cryptographic session key management for users
Introduces a new cryptographic key management system for user sessions, including models, DTOs, interfaces, and services for handling identity keys, signed pre-keys, and one-time pre-keys. Updates the SessionKeysController and DI configuration to use the new services. Adds related EF Core configurations and migrations, and updates the UserSession model to reference the new UserCryptoSession. Removes the obsolete ISessionKeyService interface.
2025-07-30 21:26:35 +07:00
Artemy dc560ba698 fix docs 2025-07-30 12:41:57 +07:00
Artemy 751c30dedd Add CurrentUserSessionService for session ID retrieval
Introduces ICurrentUserSessionService and its implementation to provide access to the current user's session ID via the 'sid' claim. Registers the service in DI and adds comprehensive unit tests to validate correct and error scenarios.
2025-07-25 18:07:05 +07:00
Artemy ce630fbe0a Add sessionId to JWT and update session handling
The JwtService now includes sessionId in access tokens, and all usages have been updated to pass sessionId when generating tokens. UserSession now supports public encryption and signing keys. Tests and session management logic have been updated to reflect these changes, ensuring session-specific claims in JWTs and improved session tracking.
2025-07-25 17:54:58 +07:00
Artemy e9eee5bfec UserSession namespace was changed 2025-07-24 21:37:12 +07:00
Artemy 5a734ecbdc Delete SUMMARY.md 2025-07-24 20:37:20 +07:00
Artemy 7ac5565aea re 2025-07-24 20:36:45 +07:00
Artemy 1fe6e015fc rework docs 2025-07-24 20:35:50 +07:00
stalcke2288969 a5614f7686 GITBOOK-9: No subject 2025-07-24 13:34:28 +00:00
stalcke2288969 ad4f052253 GITBOOK-8: No subject 2025-07-24 11:41:13 +00:00
stalcke2288969 e217716604 GITBOOK-7: No subject 2025-07-24 11:39:54 +00:00
Artemy a0ef087110 SessionControllerTests 2025-07-24 18:29:35 +07:00
Artemy 6a6c3d513d UserSessionRevoker 2025-07-24 18:05:11 +07:00
Artemy 15f9370dbe Created SessionController and UserSessionReader
+ tests for UserSessionReader
2025-07-24 17:03:51 +07:00
stalcke2288969 19f1ccdfd5 GitBook: No commit message 2025-07-24 08:07:52 +00:00
Artemy 53ea25f9fd small fix 2025-07-24 14:45:01 +07:00
Artemy 73f22a3ace more tests for PresenceHub 2025-07-24 13:54:59 +07:00
Artemy caefcd5827 test 2025-07-24 13:43:51 +07:00
Artemy d5299f2b79 Create PresenceHubTests.cs 2025-07-23 22:46:16 +07:00
Artemy e277159022 UserNotificationScopeServiceTests 2025-07-23 22:41:46 +07:00
Artemy be0edb0f94 Refactor user ID access in SignalR hubs and add online user tracking
Introduces IHubUserAccessor and its implementation to centralize user ID retrieval from SignalR HubCallerContext, replacing duplicated logic in ChatsHub, FriendsHub, and PresenceHub. Moves extension and mapping files to a Common directory, adds UserToUserDtoMappingAction for online status mapping, and implements OnlineUserStore with tests for tracking online users. Updates dependency injection and test code to use the new abstractions.
2025-07-23 22:21:51 +07:00
Artemy 31fdf4cb37 Add user online presence tracking and notification
Introduced interfaces and services for tracking user online status, including IOnlineUserStore, IUserNotificationScopeService, and IUserPresenceReader. Added PresenceHub for real-time presence updates via SignalR. Updated OnlinePingingController to use new services and return online status and last seen. Extended UserDto with IsOnline property. Updated dependency injection and privacy settings enum. Removed obsolete IUserPresenceService.
2025-07-23 21:07:29 +07:00