Piotr Niełacny
7ec7566ad7
Fix state file corruption when saving user credentials
...
Replace Boost property_tree with nlohmann::json in save_user_creds().
Boost property_tree does not preserve JSON types - it converts all values
to strings when writing JSON. This caused boolean and integer fields in
sunshine_state.json to become strings (e.g., true -> "true", 119480064 ->
"119480064") after changing the password, leading to crashes on restart.
nlohmann::json preserves the original types, matching the rest of the
codebase which already uses it for JSON operations.
Fixes #835
2025-12-16 22:25:32 +01:00
Yukino Song
fd059e36f0
Merge remote-tracking branch 'origin/master'
2025-02-06 09:14:18 +08:00
Cody Maness
64544e7960
fix(httpcommon): sonarqube warning cleanup ( #3558 )
...
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com >
2025-01-22 09:16:14 -05:00
ReenigneArcher
c2420427b1
style: adjust clang-format rules ( #2186 )
...
Co-authored-by: Vithorio Polten <reach@vithor.io >
2025-01-19 22:34:47 -05:00
Yukino Song
d91b86b4e1
Revert "build(deps): migrate from curl to curl-winssl on Windows ( #3246 )"
...
This reverts commit 9cc8bc8f62 , should resolve #91
2024-10-31 17:43:41 +08:00
Yukino Song
05763a0b79
Merge remote-tracking branch 'origin/master'
2024-10-06 05:29:43 +08:00
ReenigneArcher
9cc8bc8f62
build(deps): migrate from curl to curl-winssl on Windows ( #3246 )
2024-10-02 00:02:14 +00:00
ReenigneArcher
fb712e30a0
fix(curl): use stronger SSL and TLS versions ( #3241 )
2024-09-29 23:48:10 +00:00
Yukino Song
bb88a3c314
Add scale factor w/ use server UUID for monitor GUID if client uid not present
2024-08-20 03:48:20 +08:00
ReenigneArcher
1dd4b68e1c
docs(src): add examples alias and general cleanup ( #2763 )
2024-06-28 08:34:14 -04:00
ReenigneArcher
334267807f
tests: add httpcommon tests and add new file_handler methods ( #2712 )
...
Co-authored-by: Mariotaku <mariotaku.lee@gmail.com >
2024-06-17 18:03:42 +00:00
Tejas Rao
7fb8c76590
Use C++20. ( #2322 )
2024-04-26 15:49:15 -04:00
ReenigneArcher
cd2153f340
refactor(main): move file operation functions to new source ( #2124 )
2024-02-10 07:37:27 -05:00
ReenigneArcher
0aa4f06c39
refactor(logging): separate logging from main ( #2110 )
2024-02-07 09:59:24 -05:00
Elia Zammuto
045044e7e7
Remove origin_pin_allowed
2023-10-15 14:00:34 -05:00
ReenigneArcher
4ca6dc6c8e
docs: update file level doxygen blocks ( #1258 )
2023-05-07 18:12:39 -04:00
Chase Payne
430a439698
Elevated Commands Redesign ( #1123 )
2023-04-29 00:22:01 -05:00
ReenigneArcher
21eb4eb6dd
clang: adjust formatting rules ( #1015 )
2023-03-27 21:45:29 -04:00
ReenigneArcher
31885434f2
docs: add doxygen ( #1004 )
2023-03-07 20:26:03 -05:00
Mariotaku
01b8ba353a
Cover Finder ( #216 )
...
Adds functionality to search and add game cover images automatically.
Co-authored-by: Conn O'Griofa <connogriofa@gmail.com >
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com >
2022-11-18 11:07:22 -05:00
ReenigneArcher
58ed5ba3ce
fix typos and comment formatting
2022-08-28 16:42:00 -04:00
ReenigneArcher
a4acaf15b0
move sunshine to src
...
- this will allow for common cpp workflow files within org
2022-08-07 23:37:57 -04:00