Commit Graph

341 Commits

Author SHA1 Message Date
e1c04a1f44 Added check for "menu music beatmap hash" before undeleting so circles.osu doesn't get imported on Undelete. Also moved the const property to BeatmapManager. 2017-12-08 12:50:04 +01:00
d93a1fdaae Merge branch 'master' of https://github.com/ppy/osu into undelete-button-add 2017-12-08 10:30:42 +01:00
31884a951a Remove "redundant" parenthesis 2017-12-08 15:53:59 +09:00
2e1dfa16a2 Fix checks disallowing import of older beatmaps with no embedded online IDs 2017-12-08 14:59:32 +09:00
f2eef6621a Merge branch 'master' into fix-missing-metadata 2017-12-07 19:23:51 +09:00
ad8cd7eb5d fix possible NullReference?
AppVeyor pls?
2017-12-02 17:04:42 +01:00
cc76c58f5f fall back to .osu file for storyboard if no .osb file is present
+ CI fixes
2017-12-02 16:05:39 +01:00
c466296b14 reverted split at Decoder, moved logic down
I'm done experimenting, sorry
- `Decoder` only returns a "Beatmap"`Decoder` now
- "Storyboard"`Decoder` is retrieved from a "Beatmap"`Decoder`
- moved parse methods down in the hierarchy where I forgot to do that
- renamed `OsuLegacyDecoderTest` to `LegacyDecoderTest`
2017-12-01 22:05:01 +01:00
a49f3479a2 Split retrieving of beatmap and storyboard decoder
Storyboard works again. Not satisfied with the solution though.
2017-12-01 19:11:52 +01:00
c16925059c split parsing a beatmap and parsing a storyboard 2017-11-30 19:16:13 +01:00
016057ab01 readd storyboard to beatmap + minor cleanup 2017-11-30 16:49:53 +01:00
b09ba19d3f Used the already-existing private method to undelete a mapset 2017-11-30 11:02:53 +01:00
bf386598b6 Added a new "undelete" button that restores every beatmap with "DeletePending" set to true. 2017-11-30 10:58:32 +01:00
cd653c1cbc split storyboard loading into GetStoryboard() 2017-11-29 21:28:02 +01:00
2dcc3b9e74 Merge branch 'master' into fix-missing-metadata 2017-11-27 12:28:33 +09:00
e3a230320a compare metdata and remove duplicate from beatmap to prevent redundant storage 2017-11-23 19:46:58 +01:00
6e51664544 Merge branch 'master' into beatmap-overlay-download 2017-11-23 17:11:28 +09:00
0df5432f5e removed line that set metadata per beatmap to null 2017-11-22 21:45:18 +01:00
e5dfe4ff2e Make error more verbose when beatmap import fails (#1537)
Add name of beatmap set to error message if import fails
2017-11-22 19:35:25 +09:00
8919e98d13 Fix CI issue 2017-11-20 11:32:20 +09:00
d704e9cf7e Ensure we correctly handle importing beatmaps/sets when the onlineID already exists locally 2017-11-19 01:45:17 +09:00
5aeeb9aac6 Merge remote-tracking branch 'upstream/master' into beatmap-overlay-download 2017-11-15 17:38:38 +05:30
16e48ed187 Hook up download logic with BeatmapSetOverlay download buttons.
- Add noVideo option to DownloadBeatmapSetRequest
- Make Download fire an event with new download instead of returning it
2017-11-12 18:41:10 +05:30
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