Commit Graph

46 Commits

Author SHA1 Message Date
3f5737e2c4 [Core] Simplify SubmitStatsAsync method. 2024-05-11 03:53:15 +01:00
6f66e0f13b [Core] Use FirstOrDefaultAsync when saving statistics. 2024-05-11 02:53:54 +01:00
70001d88b0 [Core] Replace WebRequest with HttpClient. 2024-05-02 01:47:37 +01:00
6a3ef12e25 [Core] Change statistics update to be async. 2024-05-02 01:45:22 +01:00
134ce7041e [Refactor] Use collection expressions. 2024-05-01 04:43:37 +01:00
f7ca79b09e Update copyright year. 2024-05-01 04:17:32 +01:00
e46d21bde6 General refactor and cleanup. 2024-05-01 04:05:22 +01:00
aa39281033 [Console] Use Spectre.Console to show exceptions in the CLI.
GUI still uses `ConsoleWindow`.
2023-10-08 04:10:43 +01:00
7363a5d9c5 Redo Reformat and cleanup.
Rider EAP was having a bug interpreting .editorconfig that didn't generate the code style as we wanted.
This is now done with Rider-stable.
2023-10-04 17:36:20 +01:00
af659f3fcb [Aaru.Core] Reformat and cleanup. 2023-10-03 22:57:50 +01:00
874c7d92ff [Aaru.Core] Introduced constants for module names
Introduces constant fields for respective debug module names, replacing the hardcoded ones.
This is done to standardize the naming convention, reduce redundancy and potentially avoid any typos or name mismatches across the project.
This change makes the code more maintainable and easier to update in case module names need to be changed.
2023-10-03 18:50:19 +01:00
98821a0798 Update to .NET 8.0 RC1. 2023-09-24 21:49:01 +01:00
b3b8c026d0 Use source generator for statistics upload JSON serializing. 2022-12-16 20:27:28 +00:00
e67e174ac9 Remove support for uploading archaic partial statistics XML files to server. 2022-12-16 18:43:54 +00:00
f51a5d06d5 Remove support for converting archaic statistics XML to database. 2022-12-16 18:42:09 +00:00
fa96da5b29 Replace NewtonSoft.Json for System.Text.Json. 2022-12-15 02:06:39 +00:00
805ebd4b42 Update copyright year. 2022-12-03 16:07:17 +00:00
938b40f774 Move all localizable strings from Aaru.Core project to resources. 2022-11-23 16:06:46 +00:00
2f9b7fe0a1 General code cleanup and style refactor. 2022-11-15 15:58:48 +00:00
040b4eab4e More pattern matching. 2022-11-14 01:49:18 +00:00
c4a95c40ca Use negated pattern. 2022-11-14 01:20:28 +00:00
b05dc45d09 Add null reference checks. 2022-03-17 00:46:26 +00:00
762e3eb6d2 General cleanup and refactor. 2022-03-07 07:36:44 +00:00
0bc819feab Move to file scoped namespaces. 2022-03-06 13:29:38 +00:00
dd4451740c Update copyright year. 2022-02-20 09:34:52 +00:00
75edb759e6 General code refactor. 2021-08-17 21:23:10 +01:00
4fcaeffc85 Merge into pattern. 2021-08-17 18:24:01 +01:00
122c77b9c2 Rename analyze command to fs-info. 2021-03-05 14:17:07 +00:00
472a1d94d8 Update copyright year. 2020-12-31 23:08:23 +00:00
6877589cc9 General code clean-up, refactor and commenting. 2020-11-11 04:19:18 +00:00
2376b65763 Code style fixes. 2020-07-22 13:20:25 +01:00
9cfef45856 Code cleanup. 2020-07-20 04:34:16 +01:00
d8d3d9cc88 Fix sending media formats statistics. 2020-07-12 14:53:42 +01:00
7d5ca346f7 Ensure not adding duplicate seen devices to database. Fixes #312. 2020-04-18 19:18:15 +01:00
801611f682 Ensure runtime closes database connection after each operation. 2020-04-01 17:33:35 +01:00
ef65b70ddd Catch exception when saving statistics. 2020-04-01 17:09:34 +01:00
f7e173710e Code restyling. 2020-02-29 18:03:35 +00:00
87eefa0ea0 Rename references to domain. 2020-02-28 00:27:54 +00:00
64231ffd9f Rename DicContext to AaruContext. 2020-02-28 00:01:51 +00:00
895143b790 Rename DicConsole to AaruConsole. 2020-02-27 23:49:15 +00:00
84b23ef280 Rename DiscImageChef to Aaru in user agent in connection to server. 2020-02-27 20:51:18 +00:00
25321afcbc Rename DiscImageChef.Server to Aaru.Server. 2020-02-27 20:38:23 +00:00
bde7427780 Rename DiscImageChef.Console. 2020-02-27 13:55:14 +00:00
67edb977bd Rename comment header. 2020-02-27 12:31:30 +00:00
4ade64cfc9 Rename namespace. 2020-02-27 00:36:40 +00:00
f5b199e483 Renamed project files and folders 2020-02-26 19:10:46 +00:00