Commit Graph

257 Commits

Author SHA1 Message Date
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
6b4359c0c2 fix open notes popup on user addition, fix saving on every secrey key access 2023-01-29 21:13:27 +01:00
rootdarkarchon
f68aa94dc3 fixes for when removing a pair or client 2023-01-29 20:42:54 +01:00
rootdarkarchon
49bf5bcf13 fix inversion of hide server info messages 2023-01-29 17:14:54 +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
05aa350c34 fix queue cancellation 2023-01-22 00:37:41 +01:00
Stanley Dimant
523135c5b2 bump version and make ct not optional 2023-01-18 15:09:36 +01:00
Stanley Dimant
6c3716516e Merge branch 'main' of https://github.com/Penumbra-Sync/client 2023-01-18 15:06:26 +01:00
Stanley Dimant
8357eb350e fix SendRequestAsync 2023-01-18 15:06:20 +01:00
rootdarkarchon
fd986012a4 bump version 2023-01-18 11:41:23 +01:00
Stanley Dimant
f8ca9fed67 add a check for queue status to avoid hanging downloads 2023-01-18 11:04:21 +01:00
rootdarkarchon
8c2f17b75f add more debugging info 2023-01-17 13:16:24 +01:00
rootdarkarchon
eb42079e85 move Path.GetTempFIleName() to try catch 2023-01-17 01:30:37 +01:00
rootdarkarchon
8913798870 move GetTempFileName into try catch 2023-01-16 22:59:46 +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
f5f9b9c6fc bump version, increase timespan for re-checking queue 2023-01-15 01:41:17 +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
964b29b87e group downloads by host, download only one file per host at once 2023-01-08 00:48:18 +01:00
rootdarkarchon
7e87dc61e7 add toggle to hide server info messages 2023-01-04 23:54:01 +01:00
rootdarkarchon
f09cd8264f reverify server existing file hashes 2023-01-04 16:12:30 +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
rootdarkarchon
6aace54910 sequentialize file uploads, bump version 2022-12-23 01:53:01 +01:00
rootdarkarchon
ffd896168c remove Penumbra dependency and use nuget, minor internal refactoring of structs, more resilent downloads 2022-12-18 13:00:34 +01:00
rootdarkarchon
a807a874f0 wrap File.Delete on catch 2022-12-11 20:44:42 +01:00
rootdarkarchon
fc4cee1a3a delete empty files on failed downloads 2022-12-11 20:42:50 +01:00
rootdarkarchon
189ec03173 reduce linq usage for download transferred bytes 2022-12-11 12:59:26 +01:00
rootdarkarchon
189da9201b change download handling 2022-12-08 17:19:24 +01:00
rootdarkarchon
fafb103ce2 remove requirement to hold ctrl, remove puzzle 2022-11-26 22:19:09 +01:00
rootdarkarchon
d1f4a6e5ca Merge branch 'main' of https://github.com/Penumbra-Sync/client 2022-11-15 20:55:46 +01:00
rootdarkarchon
14e5b5bb21 fix cleanup of outdated files in filescanner 2022-11-15 20:55:38 +01:00
Stanley Dimant
34e55641a7 Invoke instead of Send UserPushData to catch the exception from the server 2022-11-11 14:26:43 +01:00
rootdarkarchon
605c1d3774 fixes uploads cancelling early 2022-11-03 20:45:44 +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
5694eb7d08 fixes to upload logic 2022-11-03 10:16:58 +01:00
rootdarkarchon
4c1e932b5e OneTime Invites (#31)
* add one time invites

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2022-10-25 00:53:13 +02:00
Stanley Dimant
db6cd1bfb8 fixes for cache 2022-10-22 19:05:26 +02: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