Commit Graph

108 Commits

Author SHA1 Message Date
rootdarkarchon
b0daf50725 check for admin/mod after checking for null, duh 2022-10-20 15:32:32 +02:00
rootdarkarchon
19e5dd615d fixes for vanity role checks 2022-10-20 15:04:44 +02:00
rootdarkarchon
e852fae68f add vanity uid for check for uid in userinfo for admin purposes 2022-10-20 14:58:02 +02:00
rootdarkarchon
edb3cd3356 some fixes for userinfo 2022-10-20 14:54:52 +02:00
rootdarkarchon
9a7b50ca90 fix accessors 2022-10-20 14:33:28 +02:00
rootdarkarchon
54dd0b0f6e bind interaction to module 2022-10-20 14:29:11 +02:00
rootdarkarchon
feb3cf328f fix modals 2022-10-20 14:19:56 +02:00
rootdarkarchon
7ef5848eb3 fix compilation error 2022-10-20 14:07:51 +02:00
rootdarkarchon
d26daa6344 make bot less cancer to work with 2022-10-20 13:25:37 +02:00
rootdarkarchon
28cae6d3dd change command name 2022-10-20 11:56:26 +02:00
rootdarkarchon
25772dade8 adjust command 2022-10-20 11:46:07 +02:00
rootdarkarchon
1516ab73c7 add userinfo command 2022-10-20 10:29:31 +02:00
Stanley Dimant
75a18fb0b8 check whitelisted ip when retrieving unauthorized from cache 2022-10-15 15:32:48 +02:00
rootdarkarchon
c98e2b2dd6 Switch Authentication to asynchronous streaming calls (#16)
* add base grpc service and swap auth service to streaming

* remove Authorize from hub itself

* remove unused usings

* heave files server to net 7, add exception handling in grpc auth stream

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2022-10-13 16:55:23 +02:00
Stanley Dimant
0d8a401f13 adjust timings for delays 2022-10-09 16:38:37 +02:00
Stanley Dimant
98f9db8a0f stop being dum 2022-10-09 16:32:21 +02:00
Stanley Dimant
4192c9b212 add more logging 2022-10-09 16:20:04 +02:00
Stanley Dimant
b58d882686 adjust to await foreach and adjust enqueue ident change 2022-10-09 16:09:14 +02:00
Stanley Dimant
031d21e087 add logging to stream finish information to receive ident status change 2022-10-09 15:44:37 +02:00
Stanley Dimant
d49ee21d01 adjust logging and change faulty states 2022-10-09 15:30:43 +02:00
Stanley Dimant
3272dbe040 fix log info 2022-10-09 15:27:17 +02:00
Stanley Dimant
e1519f2497 add some debugging info 2022-10-09 15:23:29 +02:00
Stanley Dimant
46d851b9f0 add log line online/offline to enqueuing 2022-10-09 14:53:14 +02:00
Stanley Dimant
b5325b9c50 adjust grpc api for idents 2022-10-09 14:32:44 +02:00
rootdarkarchon
777a764ef1 move marehub to strong api usage (#14)
* move marehub to strong api usage

* fix merge issues

* latest api

* further optimizations
2022-10-08 14:33:25 +02:00
rootdarkarchon
17f26714ce Switch to GrpcClientIdentificationService and abolish Redis for Idents (#12)
* add GrpcClientIdentificationService

* remove unnecessary gauges

* set to no retry policy

* initialize metrics

Co-authored-by: Stanley Dimant <root.darkarchon@outlook.com>
2022-10-05 23:10:36 +02:00
Stanley Dimant
08b04e14d5 fix regex for vanity ids 2022-10-04 17:03:40 +02:00
Stanley Dimant
a60409d2bd merge 2022-10-04 14:51:49 +02:00
Stanley Dimant
4f6d9f1e65 fixes to bot error message 2022-10-04 14:50:28 +02:00
rootdarkarchon
bff21ead95 Syncshells (#11)
* some groups stuff

* further groups rework

* fixes for pause changes

* adjsut timeout interval

* fixes and namespace change to file scoped

* more fixes

* further implement groups

* fix change group ownership

* add some more stuff for groups

* more fixes and additions

* some fixes based on analyzers, add shard info to ui

* add discord command, cleanup

* fix regex

* add group migration and deletion on user deletion

* add api method for client to check health of connection

* adjust regex for vanity

* fixes for server and bot

* fixes some string comparison in linq queries

* fixes group leave and sets alias to null

* fix syntax in changeownership

* add better logging, fixes for group leaving

* fixes for group leave

Co-authored-by: Stanley Dimant <root.darkarchon@outlook.com>
2022-10-04 14:13:43 +02:00
Stanley Dimant
d866223069 add whitelisted ips to secret key auth handler 2022-10-02 16:57:31 +02:00
Stanley Dimant
56728d1fba more redis fixes 2022-09-13 12:18:02 +02:00
Stanley Dimant
3cdaa53a65 fix services 2022-09-13 12:01:27 +02:00
rootdarkarchon
1f66b2c980 add redis for character identification 2022-09-13 11:45:09 +02:00
Stanley Dimant
a36c04c4c2 fix syntax 2022-08-30 17:22:50 +02:00
Stanley Dimant
f56b643d4d fix purge user gauges 2022-08-30 17:21:50 +02:00
Stanley Dimant
1fce2ac8d6 fix commands not being added properly to discord, remove cached auth on regeneration 2022-08-30 17:12:02 +02:00
rootdarkarchon
900e71c8fc actually add recover impl 2022-08-30 16:51:09 +02:00
rootdarkarchon
96dd53ee09 add recover impl 2022-08-30 16:51:01 +02:00
rootdarkarchon
4aa28e708c add partial recover 2022-08-30 16:44:40 +02:00
Stanley Dimant
9c88f3cfcf add datetime string to initial auth hash, add logging for discord commands, add file logger 2022-08-29 23:51:37 +02:00
Stanley Dimant
3a6c9259a0 fixes for file uploads 2022-08-27 01:13:49 +02:00
Stanley Dimant
ace31926db rework metrics 2022-08-26 02:22:19 +02:00
Stanley Dimant
7c1395df77 update counter name 2022-08-25 20:33:30 +02:00
Stanley Dimant
d5a7fd4fbd remove bloat 2022-08-25 13:10:02 +02:00
Stanley Dimant
04cbc2bd64 fix up startup for server/fileserver and change commands to be guild commands for the discord bot + clean up unauthorized vanity uid users 2022-08-25 13:07:05 +02:00
Stanley Dimant
2f1ef04f6a add retry policy for grpc clients 2022-08-25 11:27:57 +02:00
rootdarkarchon
77e4602d2f add cleanup of vanity uids and limit to once per 24h 2022-08-25 11:19:24 +02:00
Stanley Dimant
5094bf736d add vanity uid bot command 2022-08-25 02:57:56 +02:00
Stanley Dimant
09b305fa67 fixes for alias display + check aliases on initial uid generation 2022-08-25 01:29:01 +02:00