Commit Graph

1344 Commits

Author SHA1 Message Date
e71dfd7555 Fix skin export failing if a directory exists with the proposed filename 2023-02-15 16:11:16 +09:00
c50ea89bc9 Simplify migration to not rely on old/dynamic schema 2023-02-08 14:24:06 +09:00
4ba915268c Change a comment into RealmAccess 2023-02-08 05:46:47 +03:00
PC
7e127dafe2 Update reference 2023-02-07 11:52:47 +03:00
a1ee3df453 Improve local variable naming 2023-02-07 03:16:25 +03:00
d23e787bc1 Update schema_version 2023-02-05 21:55:50 +03:00
4598112586 Add OriginalBeatmapHash to ScoreInfo. Update db schema_version, migration 2023-02-05 21:46:38 +03:00
f8537c1cbe Delegate file deletion to ImportTask to allow overriding it 2023-01-22 22:19:04 +01:00
cde45cdd3e Merge pull request #21739 from integerrr/score-export-date
Append date to score export filename
2023-01-10 23:33:38 +09:00
a22b7298c6 Adjust english slightly 2023-01-10 22:27:36 +09:00
0d6b9ebc0f Display number of failing models during batch-import 2023-01-10 13:32:10 +03:00
f971405c8c append time as well 2023-01-10 00:02:31 +00:00
5ee0665eac Merge branch 'master' into pause-imports-during-gameplay 2023-01-09 20:09:17 +03:00
8a05223591 Check cancellation token if importer was resumed while sleeping 2023-01-09 20:07:46 +03:00
a1fbfe4b8b Specifiy importer name during pause/resume in logs 2023-01-09 19:53:41 +03:00
811a562608 Don't use bindables to avoid potential cross-usage contamination 2023-01-10 01:10:20 +09:00
62ffb4fe78 Pause imports during active gameplay 2023-01-09 18:54:11 +09:00
15eebd1f50 Only show message about Songs folder 2023-01-09 11:47:13 +02:00
04d4b4a6ce Rename and xmldoc hard link creation method 2022-12-28 22:04:05 +01:00
2c346eae0d Revert inlining of hard link creation into condition
Just feels bad. Mixing data access with actual underlying logic.
2022-12-28 21:19:28 +01:00
c6da7248ba Remove unnecessary directive 2022-12-28 14:40:32 +01:00
53bca947d1 Move duplicated code into its own method 2022-12-28 14:34:27 +01:00
b2aa2e1602 Add hardlink support for Linux 2022-12-28 13:32:49 +01:00
272288c9aa fix code style and naming 2022-12-25 21:50:56 +00:00
d392d1a5c0 override a sub-method instead of the whole Export() 2022-12-24 22:18:42 +00:00
498d00935b limit date appending to LegacyScoreExporter only 2022-12-23 23:01:04 +00:00
ba54551313 Merge branch 'master' into guard-url-protocols 2022-12-16 18:23:16 +09:00
27c497145f Fix the MOTHERLOAD of undetected issues that are now visible thanks to net6.0 2022-12-16 18:16:26 +09:00
5912dfd443 using declaration
reshaper
2022-12-15 23:42:49 +09:00
cd8420bc66 Handle the case where the file cannot be found 2022-12-15 23:34:40 +09:00
dadadaff65 remove try catch 2022-12-15 23:20:29 +09:00
f5226bd50b use ZipWriter
Export directly to stream instead of creating a archive
so we can cancel this anytime
2022-12-15 23:12:25 +09:00
ec251664a7 use ThrowIfCancellationRequested instead of CancelRequested 2022-12-15 22:45:36 +09:00
6900d0120a change abstract implement 2022-12-15 21:39:48 +09:00
6bf1477939 Fix some hard links not being created due to missing directory structure
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
2022-12-15 14:17:28 +09:00
b8904fe747 Move ImportParameters to better home 2022-12-13 21:41:26 +09:00
cb16d62700 Hook up ImportParameter flow with IModelImporter caller methods 2022-12-13 21:29:32 +09:00
6bb612ce69 Move hard link availability check to helper class 2022-12-13 20:20:42 +09:00
bbf931c746 Move hard link helper functions to their own class 2022-12-13 19:55:18 +09:00
1d4230993d Hook up parameter with RealmFileStore to complete the chain 2022-12-13 19:55:18 +09:00
cf2719d4c0 Convert batchImport parameter to parameters class to allow further import configuration 2022-12-13 19:55:18 +09:00
d8de99bbe4 Check for hard link support in first run overlay 2022-12-12 13:44:09 +09:00
3b1920c060 Add code to check whether a file is a hard link 2022-12-12 13:44:09 +09:00
f27603dd6d Use hard links instead of file copy when available 2022-12-12 13:44:09 +09:00
e02b8cb199 Group export methods into their respective managers 2022-12-11 18:30:24 +09:00
a87bcccc42 xmldoc 2022-12-11 17:00:53 +09:00
2d57633409 rename method name and add xmldoc 2022-12-11 17:00:52 +09:00
fa30f3348f onComplete should private 2022-12-11 17:00:51 +09:00
951302fe61 ExportAsync use TModel 2022-12-10 00:43:03 +09:00
405985ec5b remove Component
exportStorage to private
notification should post when export instead of class being constructed
2022-12-09 23:57:03 +09:00