Commit Graph

518 Commits

Author SHA1 Message Date
04b271cce9 Migrate osu.Game project to VS2017 project structure 2017-10-30 22:24:11 +09:00
4d4b505ef7 Add AsNoTracking to common read-only queries 2017-10-25 23:56:05 +09:00
195d75d045 Flip flop let's expose IEnumerables for now 2017-10-25 22:12:20 +09:00
4e1922c556 Fix query methods not using IQueryable/Expressions
No database-level where clauses were being used in many cases they should be.
2017-10-25 22:10:45 +09:00
f1f7557f6e Add importing state to download notification 2017-10-25 11:49:00 +09:00
040fa3aa15 Fix import after direct download being scheduled to update thread
Caused a stall as experienced in #1364.
2017-10-25 11:43:30 +09:00
c765785d00 Mark several long-running tasks as long-running 2017-10-25 11:42:55 +09:00
4a68dd88cb Centralise BeginTransaction and disable transaction use for now 2017-10-23 14:53:13 +09:00
29fcd210aa Centralise transaction committing 2017-10-22 16:17:40 +09:00
12900a8b15 Remove unnecessary second call to AutoTransactionsEnabled 2017-10-19 15:53:11 +09:00
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