Archi
dae6f9d328
Use newer syntax for Enum.IsDefined()
2022-01-23 01:37:43 +01:00
Łukasz Domeradzki
4258fed873
Closes #2500 ( #2501 )
...
* Start work on #2500
* Update Bot.cs
* Misc refactor
* Update Bot.cs
* Add fallback for older plugins
* Misc
* Apply feedback
2022-01-23 00:14:14 +01:00
Archi
bf4bb7225c
More Rider cleanups
2022-01-06 20:37:00 +01:00
Archi
1809028c77
Rider cleanup
2022-01-06 20:22:38 +01:00
Archi
4f598d5c8f
Latest Rider cleanups
2021-12-12 01:12:54 +01:00
Archi
e68210cf2e
Implement 2 additional crypto methods for Steam password
...
Inspiration by @legendofmiracles
2021-11-23 21:50:33 +01:00
Archi
666a04a8a8
Closes #2434
...
It'll be a miracle if I didn't make any mistake while refactoring this
2021-11-18 23:19:38 +01:00
Archi
d1fc7ebb74
Use C# 10 string interpolation wherever possible
2021-11-11 01:53:34 +01:00
Archi
1e6ab11d9f
Use file-scoped namespaces
2021-11-10 21:23:24 +01:00
Sebastian Göls
fb4eb0b03a
Use Madness via global usings ( #2447 )
...
* Use Madness via global usings
* Apply feedback
* Disable false positive null warning
2021-11-09 16:33:09 +01:00
Archi
df817f4ffc
Cleanup and improvements after #2426
2021-10-14 23:55:35 +02:00
Sebastian Göls
f93143c133
Add ASF 2FA service endpoints ( #2426 )
...
* Add ASF 2FA service endpoints
* Misc.
* Move back to .../TwoFactorAuthentication
* Remove duplicate endpoints
* Remove now useless constructor
* Apply feedback
2021-10-14 23:41:12 +02:00
Archi
7e9e90764b
Use static lambdas wherever possible
...
Thanks Rider
2021-09-27 21:33:52 +02:00
Archi
f2d3a2a894
Use string interpolation wherever possible
...
Majority of cases still need to go through string.Format() due to localization requirements
2021-09-27 19:59:00 +02:00
Łukasz Domeradzki
9f281c6055
Embrace madness ( #2394 )
...
* Embrace madness
* Remove unused code
* Misc
* Address Abry's note
* Update for Madness 0.3.0
2021-08-07 14:03:46 +02:00
Sebastian Göls
4b7edf388c
Fix GlobalConfig update via IPC removing IPCPassword ( #2379 )
2021-07-23 16:54:20 +02:00
Archi
1b3ef7a41d
Add support for supplying additional information on 401/403 status codes
...
In particular permanent: true/false value indicating whether 403 comes from rate limiting or ASF block due to lack of IPCPassword
2021-07-20 14:32:53 +02:00
Archi
d479eb9f97
Address Rider EAP inspections/cleanup
2021-07-12 21:45:17 +02:00
Archi
f3d6f92404
Correct /Api/NLog reaction to close message
...
https://mcguirev10.com/2019/08/17/how-to-close-websocket-correctly.html
2021-06-25 19:49:37 +02:00
Archi
d5a10ca7eb
Misc
2021-06-25 14:43:46 +02:00
Archi
398c93e9b7
Closes #2337
2021-06-18 20:56:32 +02:00
Archi
4bec13b175
Use default Api route for controllers that do not declare one
...
We don't have any like that, but third-party plugins might
2021-05-22 21:25:20 +02:00
JustArchi
55cd466a1e
Use simplified logic also for global config
2021-05-08 22:21:50 +02:00
JustArchi
64b9aa409e
Correct migration logic
2021-05-08 22:19:27 +02:00
JustArchi
d21d2473fe
RuntimeCompatibility -> Compatibility
2021-05-08 01:43:08 +02:00
JustArchi
e60b54e402
Refactor EVERYTHING
...
Directories structure + namespaces relevant to them
2021-05-08 01:37:22 +02:00
JustArchi
daf37c723c
Document all the pragmas, final code corrections
2021-05-07 23:56:45 +02:00
JustArchi
90ff43dc98
Resolve CA1508
2021-05-07 16:49:02 +02:00
JustArchi
aed11c59ee
Cleanup round
2021-05-06 20:44:17 +02:00
JustArchi
b6772b9b1e
Resolve CA1034
2021-05-06 20:16:06 +02:00
JustArchi
cd261ff626
Enhance HandleTwoFactorAuthenticationConfirmations() function
...
This modification allows to retrieve all the details about confirmations that were actually handled
2021-04-21 22:44:47 +02:00
JustArchi
efec44e593
R# code improvements & cleanups
2021-04-11 00:33:32 +02:00
JustArchi
487cfbd733
Remove obsolete /Api/WWW/Send endpoint
2021-03-16 11:07:21 +01:00
JustArchi
0e29aaf20f
Mark /Api/WWW/Send as obsolete
2021-03-08 22:33:26 +01:00
JustArchi
a4310d28f7
Add /Api/WWW/GitHub/Wiki/History endpoint
2021-03-08 22:27:03 +01:00
JustArchi
1f3a064dc0
Add /Api/WWW/GitHub/Wiki/Page endpoint
2021-03-08 21:46:12 +01:00
JustArchi
210e89be8e
Remove /Api/WWW/Directory/{directory} endpoint
...
No longer used by ASF-ui
2021-03-08 20:13:29 +01:00
JustArchi
e83597db7a
Misc
2021-03-08 20:04:07 +01:00
JustArchi
4700ed2706
Further code cleanup
2021-01-04 17:42:31 +01:00
JustArchi
45a5fec95a
Happy 2021
...
And let's hope it'll be better than 2020
2021-01-03 22:24:22 +01:00
JustArchi
626fa7f059
Use the cancellation token logic also with sends
2020-12-16 12:47:46 +01:00
JustArchi
79a9f97157
Add two more exceptions to NLogGet
...
Even with cancellation token, it seems that it's not always possible to abort the connection in the clean way, pointless to throw on them since there is nothing else we can do.
2020-12-16 12:11:21 +01:00
JustArchi
c140b302eb
Correct CI
...
I forgot this is a struct, not a class
2020-12-16 10:21:16 +01:00
JustArchi
58ae29d1eb
Small fixes after #2087
...
- Add guard against cancellationToken being null
- Use cancellationToken for all webSocket operations
- Use no cancellation token for semaphore release
- Log TaskCanceledException on user-debugging level
2020-12-16 10:18:05 +01:00
Bartosz Chrostowski
3e2c7dcf2c
Add cancellation token to web socket ( #2087 )
...
* Add cancelation token to web socket
* Add catching cancelation exception from web scoket
2020-12-16 10:03:13 +01:00
JustArchi
9d2bb9939d
Misc
2020-12-11 23:00:54 +01:00
JustArchi
6265aa7271
Misc code improvements
2020-12-05 20:27:10 +01:00
JustArchi
82ff7762f2
Convert possible substring calls to string ranges
2020-12-02 23:45:20 +01:00
JustArchi
ba702a1dae
Misc
2020-11-28 23:18:23 +01:00
JustArchi
e82560259b
Final code cleanup
2020-11-14 22:37:00 +01:00