Commit Graph

21 Commits

Author SHA256 Message Date
d583ca1228 - update: default skills are set by the character service, not the database service 2025-03-09 18:39:19 -04:00
14c6aa485a - add: redis cache refresh function sets the ttl for a key
- update: session service refresh session function now just updates the ttl of the session instead of calling set
2025-03-09 17:08:56 -04:00
dfd98e96d2 - add: money is now sent with the character data sent to the client 2025-03-09 13:53:26 -04:00
8ba8fce20b - update: schema now sets the skills column to prevent a crash
- update: frontend to only pass the session id
- update: launcher to pass the session correctly
- update: validate session response now returns the session id and user id to the requester
- update: auth client based on session id instead of a jwt token
2025-03-08 13:47:53 -05:00
4f28e92685 - update: proto files and code referencing them to make it more clear what service they are 2025-02-27 22:42:54 -05:00
a9a6c52b00 - update: proto files to move common stuff into common proto files
- update: made changes for new proto paths
- add: skills to character table
- add: load and send skills to client from db
- add: chat proto
2025-02-27 22:11:17 -05:00
32fe2d65a7 - add: select character now actually sends the character data to the client
- add: character data response when a character is requested from the service
2025-01-08 03:46:08 -05:00
6d35d15ac3 - add: ability to refresh the current session
- add: delete type to delete character request
- add: ability to update key in redis
- add: handle alive packet to refresh the session
- fix: delete now actually returns the time remaining correctly
- fix: character list now has the correct time until character deletion
2025-01-08 02:03:27 -05:00
db868cc1ac - add: Character service now loads the data from the database and sends it in the character list packet
- add: character id list to the connection state for tracking the real character database id's for when the client requests actions on the character
- fix: sql error when trying to create a character
2025-01-07 22:16:47 -05:00
cb6ee657f0 - add: Character service can now actually create a character correctly in the database
- add: character db client to allow the character service to talk to the database service
- update: character.proto to make character data shared
2025-01-07 13:41:07 -05:00
b01432501c - update: character service grpc protocol additions for create, delete and get character with stubs 2025-01-05 17:16:02 -05:00
7417d2d6dd - update: grpc character db api now includes getting the character list 2025-01-05 17:09:28 -05:00
bdc2384f12 - update: character.proto to return character list 2024-12-27 18:57:47 -05:00
9d9e2bef05 - add: session_id to the validate token response
- add: session_id to the jwt generated token
2024-12-20 17:46:54 -05:00
18afa71d74 - add: logout grpc function
- add: logout packet handler
- add: connection state and service for storing connection data
- add: session service calls to auth-service
- fix: compile error on database service due to moved redis cache
2024-12-20 14:46:00 -05:00
3c1f8c40d6 - add: session-service
- move: redis_cache from database service to utils so it can be reused
- update: redis_cache set function to allow creating a key without a lifetime
- update: services to use the new get_or_generate_service_id function
2024-12-20 14:43:25 -05:00
c67cdd5b2a - fix: issue where login failed to return the user if their role was null
- add: register route for api-service
- update: spawn a thread for the rest api in the api service
2024-12-17 04:06:56 -05:00
52455d6ffc - update: major refactor of the database-service to make it easy to add newer api services
- add: character database api
2024-12-17 01:58:18 -05:00
0fd2b0f9b1 - add: character and world proto stubs 2024-12-14 01:55:15 -05:00
113ab5a4ac - add: roles to user
- add: register calls for auth server
- add: user lookup by email
- add: start of password reset
- add: Cache trait to allow redis cache mocking
2024-11-26 01:58:26 -05:00
3ff22c9a5b - add: initial database and auth services 2024-11-25 20:45:16 -05:00