Commit Graph

45 Commits

Author SHA1 Message Date
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
Stanley Dimant
9b8145fddd add downloads UI, fix some bugs on disconnect 2022-06-24 15:43:39 +02:00
Stanley Dimant
6ee159f716 more refactoring, rework FileCacheManager 2022-06-24 11:22:46 +02:00
Stanley Dimant
2dcd02d170 major refactoring, maybe some bugfixes, idk 2022-06-24 00:47:47 +02:00
Stanley Dimant
0fe3f1cf25 somewhat working integration of penumbra 2022-06-23 21:29:52 +02:00
Stanley Dimant
99e80aeb4d minor fixes and renamings for intro landing page 2022-06-22 01:28:42 +02:00
Stanley Dimant
ba784be2fa change Whitelist -> ClientPair 2022-06-21 14:26:11 +02:00
Stanley Dimant
4a12d667f1 add intro UI for first time registration, add FileCacheManager to scan and rescan for file changes, fix namings, polish UI for normal usage 2022-06-21 01:07:57 +02:00
Stanley Dimant
b7b2005dcb I really can't be assed to write changelogs (resilience on change, live updating players, ipc enhancements, probably more idk) 2022-06-20 00:49:00 +02:00
Stanley Dimant
1312086a8d add the whole API stuff first iteration 2022-06-19 01:57:37 +02:00
Stanley Dimant
f643b413f2 add some UI stuff 2022-06-16 18:55:19 +02:00
Stanley Dimant
4f72daa0eb refactor and fix some shit 2022-06-15 21:30:08 +02:00