Bond_009
|
1ea2b200c0
|
JsonSerializer deserialize from bytes where possible
This is faster and uses way less memory
```
BenchmarkDotNet=v0.12.1, OS=fedora 32
Intel Core i7-6700HQ CPU 2.60GHz (Skylake), 1 CPU, 8 logical and 4 physical cores
.NET Core SDK=5.0.100
[Host] : .NET Core 5.0.0 (CoreCLR 5.0.20.51904, CoreFX 5.0.20.51904), X64 RyuJIT
DefaultJob : .NET Core 5.0.0 (CoreCLR 5.0.20.51904, CoreFX 5.0.20.51904), X64 RyuJIT
| Method | Mean | Error | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|------- |---------:|--------:|--------:|--------:|------:|------:|----------:|
| Bytes | 158.4 us | 2.56 us | 2.14 us | 16.8457 | - | - | 52.08 KB |
| String | 172.8 us | 0.78 us | 0.70 us | 41.5039 | - | - | 127.82 KB |
| Custom | 155.5 us | 2.95 us | 2.76 us | 10.0098 | - | - | 31.27 KB |
```
|
4 years ago |
crobibero
|
3a6501abe0
|
Fix another key collision in MigrateDisplayPreferencesDatabase
|
4 years ago |
Claus Vium
|
21d2e9ff0c
|
Merge pull request #4771 from crobibero/typed-get-preference
Use typed UserManager GetPreference
|
4 years ago |
crobibero
|
b670937c3d
|
Use typed UserManager GetPreference
|
4 years ago |
crobibero
|
eefe87f537
|
Remove CustomItemDisplayPreferences unique key collision
|
4 years ago |
Joshua M. Boniface
|
b96d4ef0e8
|
Merge pull request #4653 from crobibero/favorite-persons
Optimize FavoritePersons query
|
4 years ago |
Joshua M. Boniface
|
4e6584c345
|
Merge pull request #4652 from crobibero/display-preferences
Add support for custom item display preferences
|
4 years ago |
crobibero
|
76250a8895
|
Use md5 Guid for legacy compat
|
4 years ago |
crobibero
|
3db6ae91f6
|
Add ItemId to all display preferences
|
4 years ago |
crobibero
|
60b7e49a7f
|
Suggestions from code review
|
4 years ago |
crobibero
|
e765184afa
|
Fix existing DisplayPreferences migration
|
4 years ago |
crobibero
|
589625a349
|
Don't die if folder doesn't have id
|
4 years ago |
Greenback
|
14fc7e6408
|
revert changes.
|
4 years ago |
Greenback
|
18855a7884
|
Initialial upload
|
4 years ago |
Cody Robibero
|
1d059bc76b
|
Update Jellyfin.Server/Migrations/Routines/MigrateDisplayPreferencesDb.cs
|
4 years ago |
crobibero
|
7375d70396
|
Skip migration if user doesn't exist
|
4 years ago |
Fernando Fernández
|
27a1337cf3
|
Remove underscore
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
|
4 years ago |
Fernando Fernández
|
d6a04fd406
|
Remove setting from existing libraries with a migration
|
4 years ago |
crobibero
|
ec8967b8e6
|
Fix partial library and channel access
|
4 years ago |
crobibero
|
de4cfa2234
|
Apply suggestions from code review
|
4 years ago |
crobibero
|
78ae86b86a
|
Apply suggestions from code review
|
4 years ago |
crobibero
|
5f64ab02a0
|
bump System.Text.Json
|
4 years ago |
Patrick Barron
|
ad32800504
|
Switch to unstable chromecast version.
|
4 years ago |
Patrick Barron
|
a6bc4c688d
|
Add using statement to DisplayPreferences migration
|
4 years ago |
Patrick Barron
|
c094916df0
|
Migrate default library display preferences.
|
4 years ago |
Patrick Barron
|
4b8ab1a803
|
Set default value of SortBy during migrations.
|
4 years ago |
Patrick Barron
|
754837f16f
|
Add tv home.
|
4 years ago |
Patrick Barron
|
68a185fd02
|
Serialize/deserialize new entities properly.
|
4 years ago |
Patrick Barron
|
9fcf23bd21
|
Migrate EnableNextVideoInfoOverlay
|
4 years ago |
Patrick Barron
|
0d13d830bb
|
Migrate skip lengths.
|
4 years ago |
Patrick Barron
|
629ffe395f
|
Fixed build errors.
|
4 years ago |
Patrick Barron
|
3d69cea1c9
|
Merge branch 'master' into displaypreferences-efcore
|
4 years ago |
Patrick Barron
|
9f323e5579
|
Add missing chromecast version serialization/deserialization.
|
4 years ago |
crobibero
|
6c076b2162
|
Try adding plugin repository again
|
4 years ago |
crobibero
|
9343e73b26
|
Allow migration to optionally run on fresh install
|
4 years ago |
Patrick Barron
|
ab396225ea
|
Migrate Display Preferences to EF Core
|
4 years ago |
dkanada
|
3d65cbdf07
|
apply suggestions from code review
Co-authored-by: Vasily <JustAMan@users.noreply.github.com>
|
4 years ago |
dkanada
|
f5d82441a4
|
Merge branch 'master' into custom-repos
|
4 years ago |
Patrick Barron
|
42b4f0aa2e
|
Merge branch 'master' into userdb-efcore
# Conflicts:
# Emby.Server.Implementations/Library/UserManager.cs
# Jellyfin.Data/Jellyfin.Data.csproj
|
4 years ago |
dkanada
|
403cd3205f
|
Merge pull request #3254 from crobibero/ilogger
Use typed logger where possible
|
4 years ago |
Patrick Barron
|
7a115024aa
|
Merge branch 'master' into userdb-efcore
# Conflicts:
# MediaBrowser.Controller/Library/ILibraryManager.cs
# MediaBrowser.Providers/Users/UserMetadataService.cs
|
4 years ago |
dkanada
|
5cdf951643
|
Merge pull request #3222 from barronpm/activitylog-migration-fix
Fix Activity Log Migrations for Very Old Databases
|
4 years ago |
dkanada
|
8ac2f1bb8b
|
simplify the custom repository feature for now
|
4 years ago |
dkanada
|
d6184dbadd
|
remove unnecessary property for repository object
|
4 years ago |
crobibero
|
44957c5a9a
|
Use typed logger where possible
|
4 years ago |
crobibero
|
340624c54b
|
Move default repo addition to migration
|
4 years ago |
Patrick Barron
|
06f9cde22f
|
Merge branch 'master' into userdb-efcore
# Conflicts:
# Emby.Server.Implementations/EntryPoints/ServerEventNotifier.cs
# Emby.Server.Implementations/Library/UserManager.cs
# Emby.Server.Implementations/Sorting/IsFavoriteOrLikeComparer.cs
# Emby.Server.Implementations/Sorting/IsPlayedComparer.cs
# Emby.Server.Implementations/Sorting/IsUnplayedComparer.cs
# Emby.Server.Implementations/TV/TVSeriesManager.cs
# Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs
|
4 years ago |
Patrick Barron
|
ef7bbb3b84
|
Use data binding instead of raw SQL
|
4 years ago |
Patrick Barron
|
b0281b79fd
|
Fix a bug where very old Emby databases didn't use proper Guid's
|
4 years ago |
Bond_009
|
4748105dce
|
Enable TreatWarningsAsErrors for Jellyfin.Server.Implementations in Release mode
|
5 years ago |