Commit Graph

55 Commits

Author SHA1 Message Date
ChronosX88
2e72d8377e
Add JsonProperty to Sync Request/Response model 2021-03-25 14:29:30 +03:00
ChronosX88
a565a0e330
Implement getting event timeline by chat in EventStorageManager 2021-03-25 14:25:51 +03:00
ChronosX88
a685e3d0b5
Fix README 2021-03-24 20:13:07 +03:00
ChronosX88
eac4c08787
Supplement README, change license of project to MIT 2021-03-24 20:11:29 +03:00
ChronosX88
898d603b8d
Fully refactor authorization architecture (make it more modular) 2021-03-08 16:06:12 +03:00
ChronosX88
8b49ea7cd3
Make linking multiple events when saving the event 2021-03-08 14:21:35 +03:00
ChronosX88
6ea903ebb9
Implement linking event to previous in chat room when saving event 2021-03-07 23:12:25 +03:00
ChronosX88
2485612c87
Implement saving events in EventStorageManager 2021-02-23 22:12:24 +03:00
ChronosX88
eb11191c8f
Refactor ChatSubsystem, start to prototyping interfaces for chat internal managers classes 2021-02-03 22:09:37 +03:00
ChronosX88
a489ff518e
Prototype message model in MessageStorage plugin 2020-11-21 12:23:51 +04:00
ChronosX88
d125c7a4e2
.gitignore fix (untrack .sln file) 2020-11-09 12:34:28 +04:00
ChronosX88
9c5619bee9
Transform logging system into library 2020-11-09 12:33:24 +04:00
ChronosX88
18568159a2
Refactor InBandLogin plugin: split code into few files 2020-10-31 13:43:39 +04:00
ChronosX88
89fe7bf07a
Change name of argument in IPluginAPI.Initialize method 2020-10-31 13:35:49 +04:00
ChronosX88
cb4145b7e7
Update .gitignore, add .sln file 2020-10-31 13:35:14 +04:00
ChronosX88
4dc832856e
Make token validation on each request (auth provider should take care for caching) 2020-10-10 23:50:29 +04:00
ChronosX88
400c5410e9
Add exception handling in Router (when handling c2s messages) 2020-10-10 23:47:10 +04:00
ChronosX88
f6d92ecba0
Implement Basic Chat plugin (CPE 4) 2020-10-10 23:35:22 +04:00
ChronosX88
38f2d9d1d6
Make multiple EntityID in SessionAuthData 2020-10-10 22:59:41 +04:00
ChronosX88
dea57a3cb2
Refactor auth system: make token creation/validation fully pluggable 2020-10-10 22:22:18 +04:00
ChronosX88
eb849a8388
Refactor HelloWorldPlugin (cleanup code) 2020-10-09 17:13:52 +04:00
ChronosX88
ce8ed0d7ad
Add SendMessage with automatic json serialization in ConnectionHandler 2020-10-09 17:12:02 +04:00
ChronosX88
dc030c0521
Update .gitignore 2020-10-09 17:11:37 +04:00
ChronosX88
9376a326b2
Fix : to @ in userID in user registration 2020-10-08 21:17:07 +04:00
ChronosX88
991fae3a71
Implement in-band login/register (CPE 2/3) 2020-10-08 21:12:15 +04:00
ChronosX88
afd43e2553
Implement DefaultAuthProvider plugin 2020-10-08 21:10:44 +04:00
ChronosX88
c6fdd03908
Add methods to IAuthProvider interface 2020-10-08 21:10:29 +04:00
ChronosX88
42a5ffba05
Add ToObject<T> extension method to Dictionary 2020-10-08 21:08:29 +04:00
ChronosX88
9e0088cbba
Implement setting default auth provider by config 2020-10-08 21:07:49 +04:00
ChronosX88
370a7e8dc2
Make PreInitialize method optional for implementing by plugins 2020-10-07 22:18:43 +04:00
ChronosX88
64596e46d8
Implement database connection within the server (move functionality from plugin) 2020-10-07 18:50:54 +04:00
ChronosX88
e8b99b81b7
Show full name of type from which log comes in Logger 2020-10-07 18:49:11 +04:00
ChronosX88
05ea6457bd
Add throwing right exception when invoking exported plugin method in IPCRouter 2020-10-07 18:46:27 +04:00
ChronosX88
bd74068d6f
Implement inter-plugin communication system + add some showcase of it 2020-09-28 21:49:09 +04:00
ChronosX88
a829042581
Implement two example plugins (MongoDB connection wrapper and consumer of this conn wrapper) which is sharing types between them 2020-09-21 22:18:31 +04:00
ChronosX88
d14a058d41
Implement non-working type sharing between plugins 2020-09-21 22:17:17 +04:00
ChronosX88
ec5512ff6b
Change debug log color in Logger 2020-09-21 22:15:04 +04:00
ChronosX88
282e14ae96
Refactor session manager: expose API for plugins 2020-09-14 20:59:42 +04:00
ChronosX88
11379cd6c2
Implement custom auth provider feature in plugin system 2020-09-13 19:26:24 +04:00
ChronosX88
803d898f45
Implement plugin depending/exporting API feature in plugin system 2020-09-13 18:53:10 +04:00
ChronosX88
fdf85d5055
Rename module entity to plugin in the code 2020-09-06 14:29:36 +04:00
ChronosX88
01a7589417
Implement configuration API for plugins 2020-09-06 14:16:13 +04:00
ChronosX88
48d27401ae Optimize waiting process for keeping the process running (replace while loop with EventWaitHandle) 2020-07-19 15:10:14 +04:00
ChronosX88
0f15340065 Add example of hello world plugin 2020-07-19 14:47:38 +04:00
ChronosX88
1133ca8a76 Finally fix module manager, so it now works as expected 2020-07-19 14:47:25 +04:00
ChronosX88
964223444a Add debug log to Logger 2020-07-19 14:46:58 +04:00
ChronosX88
5be00542b8 Enable loading plugins on server startup 2020-07-18 13:34:32 +04:00
ChronosX88
394f9ab908 Implement running websocket server and add handling messages in ConnectionHandler 2020-07-16 12:47:18 +04:00
ChronosX88
f34b4e3596 Add sample config file 2020-07-15 22:15:48 +04:00
ChronosX88
1996546a73 Implement config parsing, implement removing c2s/core event handlers in router, slightly change C2S/Core Event Handler API, Host Module API 2020-07-15 22:08:32 +04:00