Bond_009
03f933aaa0
Fix the last few warnings
...
Enables TreatWarningsAsErrors for all projects
3 years ago
Patrick Barron
21007aec20
Fix warnings in Data
3 years ago
Bond_009
5fd315b17c
Address comments
3 years ago
Bond_009
4d1d9f23d5
Use new Enum.TryParse(ReadOnlySpan<char>) overload
3 years ago
Bond_009
653df7d8e5
Specify DateTimeStyles when possible
3 years ago
Fernando Fernández
3d0b1ccae6
Remove all unused usings
3 years ago
Bond_009
637e86478f
Fix some warnings
3 years ago
Cody Robibero
ec13412155
Merge remote-tracking branch 'upstream/master' into warn-259810
3 years ago
Bond_009
286dabdc4b
Add SqliteItemRepository.ItemImageInfoFromValueString as a fuzzing
...
target
and add test cases
3 years ago
Cody Robibero
ecb4b8e0aa
Apply suggestions from code review
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
3 years ago
Cody Robibero
cba07b1ca6
Remove more and more warnings
3 years ago
Bond_009
981cf4cfa0
Remove our own RemoveDiacritcs string extension in favor of Diacritics.Net
3 years ago
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
3 years ago
Bond_009
5fb72951a0
Add test for ReadOnlySpan.Count extension
3 years ago
cvium
9111730a0a
More review
3 years ago
cvium
0835b26889
review
3 years ago
cvium
42a2cc1747
Remove some unnecessary allocations
4 years ago
cvium
3b59064f97
Bump SQLitePCL.pretty.netstandard to 3.0.1
4 years ago
Bond_009
7e8428e588
Enable nullable reference types for Emby.Server.Implementations
4 years ago
Bond-009
e8790bfa96
Merge pull request #6054 from cvium/allocationz_2_extreme_db_plsdonthurtme
4 years ago
cvium
e0f793799a
Fix build
4 years ago
cvium
7e6a45c402
Review changes
4 years ago
cvium
1027792b16
Review changes
4 years ago
Bond_009
2b321d8b89
Enable nullable for InternalItemsQuery
4 years ago
cvium
be4aeb5c2c
Rename SQL extension methods
4 years ago
cvium
1b49435a0e
Reduce some allocations
4 years ago
Bond-009
50f617357b
Merge pull request #5929 from crobibero/sort
4 years ago
Bond-009
d729a76707
Merge pull request #5934 from Bond-009/utf8
...
SqliteItemRepository: Parse ChannelId directly from utf-8 data
4 years ago
cvium
c0feb3694b
rename to SplitEnumerator and fix test
4 years ago
Claus Vium
b9d18f0fa7
Merge branch 'master' into allocationz
4 years ago
Bond_009
874f92e93a
Add tests for SqliteItemRepository.(De)SerializeProviderIds
4 years ago
Bond_009
8a6b9e1fb6
Add tests for SqliteItemRepository.(De)SerializeImages
4 years ago
cvium
716cbb0695
remove span based setproviderid
4 years ago
cvium
a6726730fc
revert the last bits of the getcount experiment
4 years ago
cvium
608cba817c
Reduce some allocations with the magic of spans etc.
4 years ago
Bond_009
34313ef216
SqliteItemRepository: Parse ChannelId directly from utf-8 data
4 years ago
crobibero
d27ca993a5
Add ability to sort on Genre, MusicGenre, Artist
4 years ago
Bond_009
a02e37daa0
SqliteItemRepository: remove redundant operations
...
removed:
* nameof -> FullName lookup
* IndexOf before Replace
* Enum.GetNames -> Enum.Parse roundtrip
4 years ago
Claus Vium
db530e61f5
move IsPlayed to outerquery
...
IsPlayed is a column in UserDatas and does not belong in the inner query. None of the other UserDatas columns are in the innerquery.
4 years ago
Bond_009
a8ed753f6c
FxCop -> Net Analyzers (part 2)
4 years ago
Bond_009
141efafd3d
Enable TreatWarningsAsErrors for MediaBrowser.Model
4 years ago
Bond_009
65bab55ca0
Minor improvements
4 years ago
crobibero
60b7e49a7f
Suggestions from code review
4 years ago
crobibero
b7443f6042
Optimize FavoritePersons query
4 years ago
Matt Montgomery
185476c08a
Add support for query negation
4 years ago
Matt Montgomery
0758d84a61
Test query value
4 years ago
Joshua M. Boniface
7457c4a95d
Merge pull request #4499 from crobibero/more-param
...
Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids
4 years ago
Bond_009
4b1c9dc9ea
Pass cancellation where possible
4 years ago
crobibero
3cc0dd7e12
Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids usage.
4 years ago
Bond_009
bc7359f87d
Use string.Split(char) where possible instead of string.Split(char[])
4 years ago
cvium
b99519898d
Remove duplicate /Similar endpoints and add poor matching for artists and albums
4 years ago
cvium
584b4fa41f
Fix Persons, Genres and Studios endpoints
4 years ago
Anthony Lavado
6205fb4b6a
Merge pull request #4341 from Bond-009/minor6
...
Minor improvements
4 years ago
Bond_009
49569ca0a0
Use nameof where possible
4 years ago
Jan-Pieter Baert
ec91d3893d
Fix SA 1116 warnings
4 years ago
Jan-Pieter Baert
6f9beef732
Fix SA1012 and SA1013 warnings
4 years ago
Matt Montgomery
53d5f64e03
Fix SA1513, SA1514, SA1507, and SA1508
4 years ago
Bond_009
2dbf73b989
Minor improvements
4 years ago
Bond_009
15be11fca8
Fix build
4 years ago
Bond_009
48e1cf9fd7
Minor performance improvements to item saving
4 years ago
crobibero
5f64ab02a0
bump System.Text.Json
4 years ago
crobibero
340f83c3f5
Ignore null json values
4 years ago
Bond_009
ab2147751f
Make MediaBrowser.MediaEncoding warnings free
4 years ago
Bond_009
2b400c99ef
Fix warnings
4 years ago
Bond_009
4980db1594
Fix spelling
4 years ago
Bond_009
2b355c36ff
Minor improvements
...
OFC I reduced some allocations
4 years ago
Claus Vium
996d0c07d0
Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
4 years ago
Claus Vium
85e43d657f
Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
4 years ago
cvium
aa32aba0f8
Remove some unnecessary string allocations.
4 years ago
Bond-009
b7421db5fe
Merge pull request #3578 from barronpm/displaypreferences-efcore
...
Migrate Display Preferences to EF Core
4 years ago
Bond_009
01e781035f
Fix warnings
4 years ago
Patrick Barron
3d69cea1c9
Merge branch 'master' into displaypreferences-efcore
4 years ago
Bond_009
4d681e3cad
Optimize StringBuilder.Append calls
4 years ago
Patrick Barron
ab396225ea
Migrate Display Preferences to EF Core
4 years ago
telans
98db8f72e0
fix SA1503 for one line if statements
4 years ago
telans
8de6452967
fix some documentation periods
4 years ago
Bond-009
9af6eda0b4
Merge pull request #3343 from telans/comment-stops
...
Add full stop at end of comments (SA1629)
4 years ago
telans
247f9c61e6
fix SA1513/SA1516
4 years ago
telans
9018f8d8be
Add full stop at end of comments (SA1629)
4 years ago
telans
3d9049ef08
fix SA1508
4 years ago
telans
acd4389653
fix SA1005
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
aled
299e49f39d
Fix a small number of compile warnings
4 years ago
aled
22a860a806
Fix a small number of compile warnings
4 years ago
crobibero
44957c5a9a
Use typed logger where possible
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
Vasily
40502a33e0
Merge pull request #3203 from Bond-009/warn18
...
Enable TreatWarningsAsErrors for Jellyfin.Server.Implementations in Release mode
4 years ago
Bond_009
4748105dce
Enable TreatWarningsAsErrors for Jellyfin.Server.Implementations in Release mode
5 years ago
Vasily
58f099c0e2
Fix naming per code review
5 years ago
Vasily
1f83a21288
Rename Hash to BlurHash in all properties and methods for clarity
5 years ago
Patrick Barron
3eeb6576d8
Migrate User DB to EF Core
5 years ago
Vasily
a226a4ee03
Compute hash only when one is not computed in DB, small optimizations here and there
5 years ago
Jesús Higueras
b9fc0d2628
Add BlurHash support to backend
5 years ago
Patrick Barron
b7621d762c
2nd half of changes
5 years ago
Patrick Barron
c1360a1dc3
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Data/SqliteUserDataRepository.cs
# Emby.Server.Implementations/Library/UserManager.cs
# Jellyfin.Data/Entities/User.cs
# Jellyfin.Data/ISavingChanges.cs
# Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj
# Jellyfin.Server.Implementations/JellyfinDb.cs
# Jellyfin.Server/Migrations/MigrationRunner.cs
# MediaBrowser.Model/Notifications/NotificationOptions.cs
# MediaBrowser.sln
5 years ago
Patrick Barron
9ad839c776
Initial migration code
5 years ago
Mark Monteiro
daf79b8aeb
Do not double dispose write lock and connection in user data repository
5 years ago
Bond_009
118f30059c
Merge branch 'master' into nullable4
5 years ago
Mark Monteiro
f815059698
Merge remote-tracking branch 'upstream/master' into register-services-correctly
5 years ago
Bond_009
72219795d1
Remove dead function
5 years ago
Bond_009
10afa4509d
Log exception
5 years ago
Mark Monteiro
1e1295bebf
Merge remote-tracking branch 'upstream/master' into register-services-correctly
5 years ago
Vasily
06c5b73c15
Merge pull request #2755 from Bond-009/dbcleanup
...
Clean up SqliteItemRepository
5 years ago
Bond_009
c2b5fb78ce
Address comments
5 years ago
Bond_009
2fcbc2a5b8
Enable nullabe reference types for Emby.Drawing and Jellyfin.Drawing.Skia
5 years ago
Mark Monteiro
f91f2ef328
Merge remote-tracking branch 'upstream/master' into register-services-correctly
5 years ago
Mark Monteiro
735d6c8ad5
Convert properties in ApplicationHost to private readonly fields, where possible
5 years ago
Mark Monteiro
07cebbeae2
Register and construct IImageProcessor, SqliteItemRepository and IImageEncoder correctly
5 years ago
Bond-009
0b21494999
Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
...
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
5 years ago
Bond-009
cbb6797043
Update SqliteItemRepository.cs
5 years ago
Bond_009
8e7b15285e
Clean up SqliteItemRepository
5 years ago
Bond_009
3161e85f76
Address comments
5 years ago
Bond-009
f31efce52d
Merge branch 'master' into usings
5 years ago
Bond_009
787049f35f
Merge branch 'master' into minor
5 years ago
Bond-009
ddd5d3aaec
Merge branch 'master' into usings
5 years ago
Vasily
0d2a355c00
Make variables binding correspond with column names
5 years ago
Bond_009
7915c6ca73
Remove extra ;
5 years ago
Bond_009
e9d1eabd53
Remove unused usings
5 years ago
dkanada
0d9787dfb4
Merge pull request #2478 from JustAMan/fix-search-order
...
Fix ordering of search results
5 years ago
dkanada
7270997e76
add code suggestions
...
Co-Authored-By: Mark Monteiro <marknr.monteiro@protonmail.com>
5 years ago
Bond-009
94fe9b8f6d
Merge branch 'master' into warn17
5 years ago
Mark Monteiro
b67e9cde8c
Replace ILogger with ILogger<T> wherever possible
...
Log entries will contain additional class context when using this interface
5 years ago
Vasily
a9f3b5dacb
Fix ordering of search results
5 years ago
Bond_009
07cc4be6a7
Fix some warnings
...
* Add analyzers to MediaBrowser.XbmcMetadata
* Enable TreatWarningsAsErrors for MediaBrowser.XbmcMetadata
* Add analyzers to MediaBrowser.WebDashboard
* Enable TreatWarningsAsErrors for MediaBrowser.WebDashboard
* Disable SA1600 in favor of CS1591
5 years ago
Bond_009
a07ee65365
Minor improvements
5 years ago
Bond_009
adc9fc282c
Minor improvements
5 years ago
Bond_009
bb236b9591
Merge branch 'master' into warn12
5 years ago
dkanada
73fac50e57
rename two properties based on code suggestions
5 years ago
Bond_009
8a0ef41036
Minor improvements
5 years ago
Bond_009
a253fa616d
Fix build and address comments
5 years ago
dkanada
aca31457c0
merge branch master into media-attachments
5 years ago
Neil Burrows
d9c0721e3d
Reformatting code
5 years ago
Neil Burrows
55317b5c74
Fixing index error & split out code for readability
5 years ago
Neil Burrows
12bb4a92eb
Tidying up code
5 years ago
Neil Burrows
554c967dd6
Add Excluded Tags using SQLite parameters
5 years ago
Bond_009
2ef4ffd698
More warnings (removed)
5 years ago
dkanada
67922dff50
Merge pull request #2041 from Bond-009/warn11
...
Fix more warnings
5 years ago
Bond-009
affb58ef9e
Apply suggestions from code review
...
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
5 years ago
Bond-009
a2c35e6dba
Merge remote-tracking branch 'upstream/master' into random
5 years ago
Bond_009
42ffddc269
Fix more warnings
5 years ago
Bond-009
b477b3874e
Fix some warnings
5 years ago
dkanada
f51f59d675
Merge pull request #1965 from Bond-009/dbjson
...
Deserialize with the correct type (and warning fixes)
5 years ago
Andrew Mahone
d6aa02ff09
Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
...
formatting
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
f60e9b0b62
formatting
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
6defe80b62
Check for cancellation between each batch of MediaAttachment inserts.
5 years ago
Andrew Mahone
74fb63a898
Use block rather than local using statement.
5 years ago
Andrew Mahone
8505ee9d6c
Extract the prefix for MediaAttachment insertions to a static member instead of generating it per-query.
5 years ago
Andrew Mahone
cc7741efd4
Merge branch 'media-attachments' of github.com:Unhelpful/jellyfin into media-attachments
5 years ago