Commit Graph

67 Commits

Author SHA1 Message Date
Bartłomiej Dach dc96c4888b
Add support for creating new blank difficulties 2022-02-02 21:55:33 +01:00
Bartłomiej Dach 3d7af805a3
Fix `BeatmapMetadata` not using its user param correctly 2022-02-01 21:16:28 +01:00
Bartłomiej Dach 6674567af1
Use -1 as the default preview time globally in metadata 2022-01-27 21:51:51 +01:00
Dean Herbert 6c10531df2 Avoid constructor overhead for realm `BeatmapMetadata` parameterless constructor 2022-01-20 17:14:51 +09:00
Dean Herbert 67bf95bc91 Remove all usage of `AuthorString` 2022-01-18 23:30:40 +09:00
Dean Herbert 3596c6ed5d Add some missing `IgnoredAttributes` to reduce automapper overhead 2022-01-18 23:25:30 +09:00
Dean Herbert a0f8debafe Add note about `BeatmapMetadata.Author` being weird 2022-01-12 17:49:10 +09:00
Dean Herbert 99e46cd26b Fix missing `BeatmapMetadata.ToString`
This is relied on by a few usages.
2022-01-12 17:00:16 +09:00
Dean Herbert c3df58e01c Add required properties to make realm models backwards compatible 2022-01-12 16:39:36 +09:00
Dean Herbert 618903c217 Rename realm to become imposter classes 2022-01-12 16:39:36 +09:00
Dean Herbert 0b6c4497bd Rename EF classes to allow for shit to hit the fan 2022-01-12 16:39:36 +09:00
Dean Herbert eecf6ad558 Add `IsManaged` helper method to EF classes to match realm implementation 2021-11-19 21:56:06 +09:00
Dean Herbert ed07ee8c61 Update all existing usages of `AuthorString`/`AuthorId`
Unfortunately the getters need to be left in place else EF breaks.
2021-11-04 18:59:37 +09:00
Dean Herbert 86540d1fb6 Update existing usages of `Author` as `string` to access `Username` directly 2021-11-04 18:57:54 +09:00
Dean Herbert b9983add15 Rename `User` to `APIUser` and move to correct namespace 2021-11-04 18:21:31 +09:00
Dean Herbert 772b6c6dcd Enable nullable support on `BeatmapMetadata` 2021-11-04 12:11:42 +09:00
Dean Herbert d3b9660148 Move common interface implementations to extension methods 2021-10-05 14:41:14 +09:00
Dean Herbert d6618a99a3 Redirect more methods to interface implementations 2021-10-01 17:36:44 +09:00
Dean Herbert d309636460 Update all EF based models to implement new read only interfaces 2021-10-01 16:55:50 +09:00
PercyDan54 12371f7424
Fix playlist item displays as empty string if no unicode title is present 2021-07-04 08:09:38 +08:00
Dan Balasescu ce7c503e6e
Merge branch 'master' into playlist-unicode 2021-05-17 11:47:10 +09:00
Dean Herbert 32ff406289 Add database tracking of beatmap creator `user_id`s 2021-05-14 15:40:29 +09:00
PercyDan54 cfaaf2e83e
Add ToRomanisableString() 2021-04-18 09:52:25 +08:00
PercyDan54 dde255980b
Fix formatting 2021-04-03 12:45:42 +08:00
PercyDan54 bd7da9eb39
Make beatmap title use unicode 2021-04-03 12:43:17 +08:00
Dean Herbert e7308193e7 Add xmldoc explaining how PreviewTime is intended to work 2021-02-18 13:03:29 +09:00
smoogipoo 1143d5d992 Update class exclusion for dynamic compilation 2020-09-04 20:41:08 +09:00
Dean Herbert 360c9f8e38 Add test coverage and handle null creator 2020-04-22 09:19:34 +09:00
Dean Herbert f2e0fba164 Remove VideoFile from BeatmapMetadata
Leaving in database because it's a pain to drop columns.
2020-03-25 12:00:02 +09:00
voidedWarranties 76c832518f Render video as a part of the storyboard 2020-03-07 21:32:03 -08:00
voidedWarranties d68d7edea3 Start background video playback based on provided offset 2020-03-07 14:08:13 -08:00
Andrei Zavatski 6e5cb8a318 implement video parsing 2019-08-30 23:19:34 +03:00
Dean Herbert 0788a7e9f1
Merge branch 'master' into more-inspections 2019-02-28 14:32:57 +09:00
Dean Herbert 42be7857d1 Use expression body for property get/set where possible 2019-02-28 13:58:19 +09:00
Dean Herbert 26d53d06a9 Fix remaining issues 2019-02-28 13:31:40 +09:00
Dean Herbert 8617aaa2a7 Update licence header (and remove year) 2019-01-24 17:43:03 +09:00
smoogipoo 14ff4bc26a Move primary key attribute to IHasPrimaryKey 2018-11-28 13:19:23 +09:00
Dean Herbert 625b9ead4c Fix links from profile top scores to beatmaps not working correctly 2018-07-05 21:00:23 +09:00
Dean Herbert 8220e0c79a Remove OnlineBeatmapSetID from BeatmapMetadata 2018-06-08 12:46:34 +09:00
Dean Herbert 32a74f95a5 Normalize all the line endings 2018-04-13 18:26:38 +09:00
Dean Herbert 37d393bca0 Update licence headers 2018-01-05 20:21:19 +09:00
smoogipoo c99ea32574 Merge branch 'master' into beatmap-serialization 2017-12-21 13:39:39 +09:00
Dean Herbert 49ce42d90c Add ToString() overrides on many classes to make debugging easier 2017-12-16 16:14:01 +09:00
smoogipoo 09f54b06ac Just don't serialize Author altogether for now 2017-12-07 15:55:22 +09:00
smoogipoo 0ba8988580 Don't serialize Author + add SerializableAttributes 2017-12-07 15:32:39 +09:00
smoogipoo b584178e85 Make Beatmap ISerializable and add more JsonIgnores 2017-12-06 00:37:37 +09:00
Unknown ae55d392de only use `==` for comparion on primitive types 2017-11-26 19:37:46 +01:00
Unknown 5da1466e28 requested changes
use IEquatable<T> instead of overriding Equals and `==` operator for primitive types.
2017-11-25 15:05:59 +01:00
Aergwyn e3a230320a compare metdata and remove duplicate from beatmap to prevent redundant storage 2017-11-23 19:46:58 +01:00
Dean Herbert 2d0f4d3859 Fix OnlineBeatmapSetID not being correctly populated 2017-10-25 22:14:16 +09:00