b73b4755eb
Ignore r# locked context inspection here
2017-10-18 18:41:04 +09:00
4841d4a937
Fix deletion and use single context for imports and deletions for now
2017-10-18 18:27:17 +09:00
cf5290fead
Remove unnecessary locking; operations are now thread-safe
2017-10-18 13:48:15 +09:00
4193004fbf
Improve performance of imports by keeping a context hot
2017-10-17 20:29:47 +09:00
e4a066dc5f
Run cleanup tasks only on startup via manual calls
2017-10-17 19:58:33 +09:00
7a18d373ec
Improve performance of beatmap imports (still needs revision)
2017-10-17 17:08:42 +09:00
cd41862e3b
Add back transaction support for beatmap importing
2017-10-17 15:00:27 +09:00
66894d11ea
Connection -> context
2017-10-17 12:46:29 +09:00
31dc5c97f2
Fix intro and duplicate inserts
2017-10-17 11:22:42 +09:00
81476ebe75
Correct and simplify BeatmapStore and BeatmapManager
2017-10-17 10:17:21 +09:00
acc299c7b9
Correct and simplify RulesetStore
2017-10-16 17:02:31 +09:00
0a6dcdd405
Fix remaining warnings
2017-10-16 13:09:10 +09:00
8a0b184dd6
Revert "Return back DatabaseBackedStore's query and populate functions"
...
This reverts commit 7cf5d63cd3
.
2017-10-16 12:59:59 +09:00
56e8c7303c
Revert "Fix inconsistent lock usage in BeatmapManager"
...
This reverts commit 4a064da30f
.
2017-10-16 12:59:59 +09:00
4a064da30f
Fix inconsistent lock usage in BeatmapManager
2017-10-15 21:56:33 +03:00
7cf5d63cd3
Return back DatabaseBackedStore's query and populate functions
2017-10-15 00:40:41 +03:00
b178be21d1
Let's not rename columns yet
2017-10-14 14:30:58 +09:00
b83d7cd4df
Merge remote-tracking branch 'origin/master' into UselessToucan/EfCore
...
# Conflicts:
# osu-framework
# osu.Game.Tests/Beatmaps/IO/ImportBeatmapTest.cs
# osu.Game/Beatmaps/BeatmapInfo.cs
# osu.Game/Online/API/Requests/GetBeatmapSetsResponse.cs
2017-10-14 12:38:59 +09:00
8a5e25ce4b
Simplify waveform construction
2017-10-12 19:19:42 +09:00
df6409308a
Merge remote-tracking branch 'origin/master' into editor-waveform-timeline
...
# Conflicts:
# osu-framework
2017-10-12 15:32:11 +09:00
cf7f3411fc
Ignore filename case in BeatmapManager. Fixes #1295 .
2017-10-11 15:01:02 +08:00
4653470779
Fix RulesetStore preparation
2017-10-10 22:29:16 +03:00
19b38983df
Update in-line with framework
2017-10-09 17:18:11 +09:00
887aa7496b
Rework EF Core usage in model classes
2017-10-06 00:23:26 +03:00
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