Commit Graph

141 Commits

Author SHA1 Message Date
Stanley Dimant
8357eb350e fix SendRequestAsync 2023-01-18 15:06:20 +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
Stanley Dimant
0599416f4c add note handling 2022-10-06 22:22:53 +02:00
Stanley Dimant
58ad7153d3 add banned user table, add privacy tab and notes copy/import functionality 2022-10-06 21:43:03 +02:00
Stanley Dimant
a4ab7daffc add api changes for banning and moderators 2022-10-06 16:37:40 +02:00
Stanley Dimant
7535f04082 add trimming to uid and gids 2022-10-04 19:26:42 +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
fd23a977ac ui adjustments 2022-10-02 20:32:35 +02:00
Stanley Dimant
8bad3fd91c move groups into separate class, allow setting comments for groups, add new api methods 2022-10-02 15:17: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
d2bb4e01a4 implement callbacks 2022-09-29 16:01:25 +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
b10a02f228 initial fixes for api changes for groups 2022-09-29 15:31:41 +02:00
Stanley Dimant
ff4079a16d remove double invoke 2022-09-28 17:23:29 +02:00
Stanley Dimant
1fee097481 small fixes 2022-09-28 17:03:21 +02:00