Commit Graph

334 Commits

Author SHA1 Message Date
6a4198d0d6 Initial EF Core commit 2017-10-04 22:52:12 +03:00
c41ca10715 Allow files missing on disk to be restored on beatmap import
Previously, in the rare case the database became out of sync with the disk store, it was impossible to feasibly repair a beatmap. Now reimporting checks each file exists on disk and adds it back if it doesn't.
2017-09-19 18:35:52 +09:00
0c2bad1de4 Get rid of some properties and todos. 2017-09-09 12:44:27 +05:30
d12a5e927a Rename property. 2017-09-09 11:03:25 +05:30
e67606e203 Return existing download if it exists. 2017-09-09 10:25:28 +05:30
5f5dd54f9d Use a List instead of a Dictionary. 2017-09-09 09:56:01 +05:30
5a3814b02e XMLdoc fixes and a cautionary check. 2017-09-09 01:04:55 +05:30
00306b6e38 Maintain download progress between switching result views.
- Check for existing download requests on creating DirectPanel
- Actually remove downloaded beatmap from results
2017-09-09 00:57:48 +05:30
20f93c83d6 Make downloads happen in BeatmapManager. 2017-09-09 00:57:40 +05:30
1f646e6d54 Add hiding support for beatmap difficulties 2017-09-01 17:57:12 +09:00
3b4b4b669b Add framework for deleting difficulties 2017-08-30 21:12:46 +09:00
dc31a0f0ac Merged ppy/master 2017-08-17 13:01:42 +02:00
e216bfcf10 Recommended fixes (obsolete try/catch, fix infinite loop during variable parsing in a better way) 2017-08-13 00:40:05 -05:00
2e5a7374a8 Actually use mapName whoops 2017-08-10 01:49:34 -05:00
a8cf7ff93a Add a better error message for corrupt maps with no .osu files 2017-08-09 23:27:13 -05:00
3d4db427ff Pass RuleSet to ScoreStore, compute and store MD5 for legacy replays compatibility 2017-08-08 17:17:53 +02:00
7cb87c7145 Run each import in a single transaction
Improves performance substantially.
2017-08-02 14:18:35 +09:00
3b1166d1e6 Optimise file lookups and other database operations
FirstOrDefault when called on a TableQuery with a predicate doesn't use table indices
2017-08-01 17:37:21 +09:00
941f3f0934 Tidy up osu-stable import process
Now can locate any osu-stable installation using registry lookup (with ample fallbacks). Also uses a much more controlled access method via StableStorage.
2017-08-01 15:12:38 +09:00
b4acdd5f90 Merge remote-tracking branch 'upstream/master' into fix-file-references 2017-08-01 11:05:38 +09:00
ed3e78452e Lock beatmaps for good measure 2017-08-01 09:38:43 +09:00
6af0629cc0 Remove unnecessary newline 2017-08-01 09:37:33 +09:00
404497fa10 Allow a single beatmap to reference the same file multiple times
This fixes incorrect reference counts causing database desync.
2017-07-31 21:49:57 +09:00
f67822a59b Add progress for deleting all maps 2017-07-31 18:52:59 +09:00
92b3c7ac08 Fix the whole database being retrieved when importing each beatmap 2017-07-31 18:38:42 +09:00
df5094c0d4 Rework how notifications are distributed 2017-07-31 18:03:55 +09:00
c48bf3940e Add a progress notification when importing beatmaps 2017-07-28 16:57:33 +09:00
f5b0253e82 Apply CI fixes 2017-07-28 15:36:23 +09:00
d93d9e6190 Tidy up file deletion after import 2017-07-28 15:08:56 +09:00
6616721e37 Don't block imports and BeatmapStore operations using the same lock 2017-07-28 15:05:12 +09:00
d51ce896f9 Add locking to all BeatmapManager operations 2017-07-28 12:58:35 +09:00
7d4218ea6c Add option to import from osu-stable
Also adds an option to delete all beatmaps for testing purposes.
2017-07-28 12:58:35 +09:00
996e5e8b4a Use SHA2 for hashing 2017-07-27 17:40:08 +09:00
5f53426a9a *Database -> *Store
Welcome back BeatmapManager
2017-07-27 16:56:41 +09:00