Commit Graph

61 Commits

Author SHA1 Message Date
rootdarkarchon
44450b24b4 add performance logging on demand, fix minion issues 2023-02-19 16:11:40 +01:00
rootdarkarchon
2ae5d42e4d Loggerrework (#45)
* test some refactoring for cachedplayer

* rework logging

* fix saving of log level

---------

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2023-02-18 15:23:38 +01:00
rootdarkarchon
6ca1046bf8 fixes for disconnect behavior while connecting 2023-02-10 12:36:25 +01:00
rootdarkarchon
77e1a68387 adjustments in order of getting data 2023-02-10 12:32:52 +01:00
rootdarkarchon
3a4401038a Messagepack (#43)
* add messagepack to client

* add resolvers

* fixes on client

---------

Co-authored-by: Stanley Dimant <stanley.dimant@varian.com>
Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2023-02-10 12:31:08 +01:00
rootdarkarchon
3634c06ee5 fixes for pet handling, uploads, clear storage button, remove button while reconnecting, put paused to online/paused, put visible to online 2023-02-05 15:52:27 +01:00
rootdarkarchon
7c97d1994c configuration rework 2023-02-04 15:53:23 +01:00
rootdarkarchon
f389bed4e1 do not publish notify from server on reconnect 2023-02-04 02:07:51 +01:00
rootdarkarchon
fc3ad1f7f8 attempt to gracefully reconnect, do not send notification for player on connect, do not check other players on framework update thread, delay palette+ sending data 2023-02-04 02:04:26 +01:00
rootdarkarchon
680c5f4712 minor fixes 2023-02-04 00:46:48 +01:00
rootdarkarchon
2ca3e639b4 rework service disposal 2023-01-31 19:52:12 +01:00
Stanley Dimant
576d005b32 add NotificationService, cleanup 2023-01-31 14:43:22 +01:00
rootdarkarchon
41465c2d49 fully switch to mediator from events 2023-01-31 01:35:11 +01:00
rootdarkarchon
5e7beb8518 add DI, start implementing mediator pattern instead of events 2023-01-31 00:05:47 +01:00
rootdarkarchon
e00804b2ff do not open notes popup on connection when enabled 2023-01-29 21:54:13 +01:00
rootdarkarchon
451d604f70 fixes pair notes, showing server state on stopping connections 2023-01-29 16:33:42 +01:00
rootdarkarchon
b2276a1883 Client rework for API change and paradigm shift (#39)
* most of the groups refactoring on client

* register OnMethods for group stuff

* start implementing client (still pretty broken)

* finish implementing new api first iteration

* idk rework everything for pair shit (still WIP); goal is to remove PairedClients and GroupPairClients from ApiController

* move everything to PairManager, remove dictionaries from APiController

* remove admin stuff from client, cleanup

* adjust reconnection handling, add new settings, todo still to remove access from old stuff that's marked obsolete from config

* add back adding servers, fix intro ui

* fix obsolete calls

* adjust config namespace

* add UI for setting animation/sound permissions to syncshells

* add ConfigurationService to hot reload config on change from external

* move transient data cache to configuration

* add deleting service to ui

* fix saving of transient resources

* fix group pair user assignments

* halt scanner when penumbra inactive, add visible/online/offline split to individual pairs and tags

* add presence to syncshell ui

* move fullpause from config to server config

* fixes in code style

* more codestyle

* show info icon on player in shells, don't show icon when no changes from default state are made, add online notifs

* fixes to intro UI

---------

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2023-01-29 15:13:53 +01:00
rootdarkarchon
5a16a15e8b Download rework (#36)
* handle download ready from signalr

* add cancellation to the server

* adjust queue for removal and cancellation

* adjust api to main

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2023-01-15 16:00:10 +01:00
rootdarkarchon
099ac2b3a1 Update for 6.3 and change to File Service Queue (#34)
* add request queue processing on clientside, switch to net7

* reuse httpclient

* dispose and renew httpclient on building connection

* add handling of QueueRequestDto to downloads

* group download by host and port

* refactor SendAsync to SendRequestAsync for readability

* add holding ctrl before clearing cache, add tooltip

* update pathing

* fixes to api usage in client

* fix rendermodel offsets

* fixes for downloads

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2023-01-11 14:41:13 +01:00
rootdarkarchon
9f5b4c189e Refactoring Claims, add Server Side Messaging (#33)
* cache JWT by ApiUri, CharaIdent, SecretKey, refactor auth flow to new api

* add server side message handling

* update client to mainline api

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2023-01-04 15:53:27 +01:00
rootdarkarchon
576775f52b stop caching jwt per url but instead per auth key (chances they are the same between servers are low) 2023-01-03 03:21:42 +01:00
rootdarkarchon
b1f02b1483 fix jwt tokens being stored globally instead of per server 2023-01-02 17:30:29 +01:00
rootdarkarchon
e2931c73ed Switch to JWT authentication (#32)
* switch to jwt authentication

* update api to main/jwt

* bump version

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2023-01-02 17:08:56 +01:00
Stanley Dimant
4b26333335 small fix for disposal of plugin 2022-11-03 10:30:26 +01:00
Stanley Dimant
153fd9b1c8 potential fix for automatic reconnects 2022-11-03 10:26:22 +01:00
Stanley Dimant
b727d75ab6 adjust displayed error on connection 2022-10-18 00:56:29 +02:00
Stanley Dimant
858cb225b9 cancel healthcheck on stopconnection 2022-10-08 15:52:47 +02:00
rootdarkarchon
f9cf26ed69 migrate to strong api calls (#29)
* migrate to strong api calls

* set last added user to null on changing notes popup setting
2022-10-08 14:35:30 +02:00
Stanley Dimant
9df89adac8 adjust some of the logging 2022-10-04 14:14:56 +02:00
Stanley Dimant
260c4a48ee add analyzers and api 2022-10-03 15:58:51 +02:00
Stanley Dimant
fcb0b17a56 ui adjustments for groups 2022-10-03 00:20:49 +02:00
Stanley Dimant
a2d884718a remove boilerplate code, change to concurrent dict 2022-10-02 01:25:02 +02:00
Stanley Dimant
2ca284546d rudimentary implementation and ui for syncshells 2022-09-30 01:18:57 +02:00
Stanley Dimant
ac6c46390c add api to mare, change all to file scoped namespace 2022-09-29 15:52:33 +02:00
Stanley Dimant
eb39429777 add all admin stuff, refactor ApiController into partial classes 2022-06-30 01:53:09 +02:00
Stanley Dimant
ce9bfad97b prepare for Admin stuff 2022-06-29 23:01:44 +02:00
Stanley Dimant
95f7e5f867 connect to api only after login, add switching secret keys and inputting secret key during intro, fix filereplacements not working properly, adjust to the new web api 2022-06-29 22:40:17 +02:00
Stanley Dimant
2ff224243a add random file date on download, remove extensions 2022-06-29 00:41:28 +02:00
Stanley Dimant
71d48b0d8c rework file cache management, force usage of websocket, add uid comments per server 2022-06-28 23:45:49 +02:00
Stanley Dimant
3ee082d371 some fixes for models sharing materials and code cleanup 2022-06-28 12:20:40 +02:00
Stanley Dimant
1021cca912 fix some minor stuff 2022-06-28 02:09:08 +02:00
Stanley Dimant
51db0e54f2 clean up some disposes, remove channel and use async ienumberable for upload as well 2022-06-27 13:54:52 +02:00
Stanley Dimant
c7439ac769 why did I start writing this plugin 2022-06-27 12:31:41 +02:00
Stanley Dimant
61b178e2c0 rework the whole connection garbage/custom servers, other cleanups/refactors 2022-06-27 01:19:45 +02:00
Stanley Dimant
9aaab87c91 add mare synchronos full pause 2022-06-26 16:39:28 +02:00
Stanley Dimant
1a1aa5cac5 make downloads cancellable on new incoming data 2022-06-26 14:56:28 +02:00
Stanley Dimant
71ced4dc88 fuck character states 2022-06-26 02:34:24 +02:00
Stanley Dimant
3bba240cd5 refactor + add resiliency against penumbra/api shutdowns 2022-06-25 21:39:20 +02:00
Stanley Dimant
8c9f816e6d several fixes for file cache handling, add account deletion 2022-06-25 19:37:26 +02:00
Stanley Dimant
cc0af38b31 fix file cache manager issues 2022-06-24 18:24:30 +02:00