Commit graph

23 commits

Author SHA1 Message Date
Jaex
077e74a2d4 Update year 2024-01-03 02:57:14 +03:00
Jaex
0ab967f14b Code refactoring 2023-10-29 15:05:47 +03:00
Jaex
e91fd94d2b Use GetApplicationVersion function 2023-03-05 22:16:45 +03:00
Jaex
94e45b5cb8 Update year 2023-01-09 23:31:02 +03:00
Malte Kuhlmann
22859d5053
Ensure proper saving of settings on file shares
On Windows file shares (DFS) with restricted WRITE_DAC permission, the method File.Replace results in a System.UnauthorizedAccessException, even when the user has full permissions to interact with the file and folder. This configuration can commonly be found in business environments.

By setting the flag ignoreMetadataErrors to true, errors related to attributes and ACL are ignored. This results in the settings being saved correctly. Normal errors during file operation are not suppressed with this change, they should fail as usual.
2022-07-12 13:31:03 +02:00
Jaex
f60e8dd6f7 Moved file related methods to FileHelpers class 2022-05-03 09:34:18 +03:00
Jaex
8c3dc0b78c Update year 2022-01-11 19:32:17 +03:00
Jaex
837ef0a7fc Update year 2021-07-29 06:22:51 +03:00
Jaex
9114be0eee Fix reset settings function 2021-07-03 21:17:38 +03:00
Jaex
d4bfdbd7b8 Added KnownTypesSerializationBinder 2021-05-31 09:38:41 +03:00
Jaex
f32da61fab Added ImageEffectsSerializationBinder to improve security of JSON deserialization 2021-05-31 09:32:50 +03:00
Jaex
85f45ebe88 Fixed sandbox mode 2020-10-28 22:18:12 +03:00
Jaex
74d57ccc12 CodeFactor refactors 2020-08-31 12:53:04 +03:00
Jaex
4e512a83d9 If DPAPI decrypt fails then assign text null 2020-08-20 17:07:24 +03:00
Jaex
f88ed0f7f8 Export unencrypted settings so user can import them in another pc 2020-08-14 12:47:52 +03:00
Michael Delpach
f0a982fdf3 Rebase to 0c039b9ee0
0c039b9ee0
2020-07-06 07:23:59 +08:00
Michael Delpach
195c0f2f8a Revert "Merge branch 'master' into tweaks"
This reverts commit 162badae3b, reversing
changes made to e0f2812f3d.
2020-06-29 06:10:21 +08:00
Jaex
cd052ea783 Rename create directory method 2020-06-15 07:17:46 +03:00
Jaex
fa88bda766 Added SupportDPAPIEncryption option to SettingsBase 2020-06-01 14:13:18 +03:00
Jaex
7a1daca92f Use DPAPIEncryptedStringPropertyResolver when saving/loading settings 2020-05-30 13:48:31 +03:00
Jaex
dfe387a113 Added backward compatibility support to encrypted string value provider 2020-05-30 13:08:05 +03:00
Jaex
4371884843 Added DPAPI json contract resolver 2020-05-29 19:13:37 +03:00
Jaex
719e633fd3 Move setting related classes to Settings folder 2020-05-29 17:24:04 +03:00