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
Andrew Mahone
3602251cf5
Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
e5b65ed034
Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
...
formatting
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
25bc7b81c3
Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
...
formatting
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
24a460dc93
Update Emby.Server.Implementations/Data/SqliteItemRepository.cs
...
formatting
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
b936c530aa
Merge branch 'media-attachments' of github.com:Unhelpful/jellyfin into media-attachments
5 years ago
Andrew Mahone
bd4da93d1e
Throw ArgumentException instead of ArgumentNullException on empty Guid.
5 years ago
Andrew Mahone
ad2101ce52
Rename "limit" to "insertAtOnce" in InsertMediaAttachments.
5 years ago
Andrew Mahone
c2d8f210b1
Check for cancellation in SaveMediaAttachments.
5 years ago
Andrew Mahone
0dde5e46df
Flatten using connection in GetMediaAttachments/SaveMediaAttachments
5 years ago
Andrew Mahone
4573fb5301
Use ToByteArray instead of ToGuidBlob.
5 years ago
Andrew Mahone
1600d5b53f
Merge remote-tracking branch 'origin/master' into media-attachments-clean
5 years ago
Andrew Mahone
90dfe729bb
Add space when building query string for attachments.
...
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
5 years ago
Bond_009
846857b60e
Deserialize with the correct type (and warning fixes)
5 years ago
Bond_009
10ae815bb4
Address comments
5 years ago
Bond_009
016be02cd6
More warning fixes
5 years ago
Andrew Mahone
03ecf57548
Store MediaAttachments in DB.
5 years ago
Bond_009
bbc0875387
Don't shuffle some types by default
5 years ago
Bond_009
516933aab5
Move to netcore3.0
5 years ago
Vasily
79f9887625
Merge pull request #1854 from Bond-009/json
...
Use System.Text.Json api for databases
5 years ago
Bond_009
ac93a5a85c
Change slow query time logging to debug
5 years ago
Bond_009
e553eba31e
Use System.Text.Json api
5 years ago
Joshua M. Boniface
9aec21f6b5
Nicer link format for comment
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Joshua Boniface
72edf5b555
Change PRAGMA mode from WAL to TRUNCATE
5 years ago
Bond-009
ee637e8fec
Fix warnings, improve performance ( #1665 )
...
* Fix warnings, improve performance
`QueryResult.Items` is now a `IReadOnlyList` so we don't need to
allocate a new `Array` when we have a `List` (and `Items` shouldn't need to
be mutable anyway)
* Update Providers .csproj to latest C#
* Remove extra newline from DtoService.cs
* Remove extra newline from UserLibraryService.cs
5 years ago
Bond_009
e4f893a0eb
More warning fixes
5 years ago
Joshua M. Boniface
dc1782d049
Merge pull request #1646 from Bond-009/lock
...
Return DB lock immediately
5 years ago
Bond_009
3fd489d1cb
Upgrade SQLitePCL to v2
5 years ago
Bond_009
f70a63d575
Return DB asap
5 years ago
Joshua M. Boniface
4bb0c2d053
Merge pull request #1642 from cvium/fix_slow_db
...
Speed up BaseItem deserialization
5 years ago
Claus Vium
f48eaccc51
Use reader.GetString instead of indexing
5 years ago
Claus Vium
e7c05dcfaf
Speed up BaseItem deserialization
5 years ago
Bond_009
8d3b5c851d
Improvements to UserManager
5 years ago
Bond_009
d62a3f0e57
Fix master
5 years ago
Bond_009
2fdf7f1098
Properly dispose DisplayPreferencesRepository
5 years ago
Bond-009
6032f31aa6
Use CultureInvariant string conversion for Guids
5 years ago
Erwin de Haan
0dbc294836
Move VACUUM command to fix merge error
...
This fixes a syntax error.
5 years ago
Bond-009
82f041d050
Merge branch 'master' into release-10.3.z
5 years ago
Erwin de Haan
acf52b9b55
Cleanup extra spaces.
5 years ago
Erwin de Haan
7587fe56d8
Moved VACUUM down to the end of the list.
5 years ago
Bond_009
29ae7b9aeb
Add docs
5 years ago
Bond_009
45c13141f9
Address comments
5 years ago
Bond_009
d961278b3d
Reduce amount of raw sql
5 years ago
Bond_009
db2765aae5
Last bit of cleanup
5 years ago
Bond_009
7898af4ceb
Reworked PRAGMA statements use
5 years ago
Bond_009
edfd2d0cd9
Fix startup
5 years ago
Bond_009
d00ad28efd
Address comments
5 years ago
Bond-009
e88ebd748d
Final fixes
5 years ago
Bond-009
b6954f3bfd
More
5 years ago
Bond-009
27c29bbb4c
Back to a single connection
5 years ago
Bond-009
30842656a7
Properly dispose
5 years ago
Bond-009
e5248cfaa2
Properly dispose
5 years ago
Bond-009
c30ba14c1f
Use a connection pool instead of creating new connections
5 years ago
Bond-009
cec22ad10d
Simplify db code
5 years ago
ferferga
b136f14084
Vacuum databases at startup
5 years ago
Joshua M. Boniface
89537abdc4
Merge pull request #1293 from Bond-009/query-time
...
Fix query time logging
6 years ago
Bond_009
a9337033c1
Fix query time logging
6 years ago
Claus Vium
764c6d5461
Fix comparison for empty password migration
6 years ago
Bond-009
b44a70ff36
Simplify/remove/clean code
...
* Remove useless runtime check (we only support one)
* Remove unused args
* Remove a global constant
And ofc fix some warnings ;)
6 years ago
redSpoutnik
480a6607e2
Merge branch 'master' into subtitle-display-title
6 years ago
redSpoutnik
427688a0a0
Change subtitles DisplayTitle behavior
6 years ago
Vasily
1fef8bf266
Merge pull request #1060 from Bond-009/assinfo
...
Remove redundant class AssemblyInfo
6 years ago
Bond-009
ae0ecc1b10
Merge pull request #870 from LogicalPhallacy/betterauth
...
Better default authentication
6 years ago
Bond-009
e91dd14b31
Remove redundent class AssemblyInfo
6 years ago
Joshua M. Boniface
aba22b92bc
Merge pull request #735 from Bond-009/loop
...
Readability changes
6 years ago
Lynxy
5368112d90
Correct the list of series types
6 years ago
Bond-009
9993dafe54
Don't mix LINQ and roreach loops for readability
6 years ago
Bond-009
0804bed66d
Log time in a standardized way
6 years ago
Phallacy
098de6b050
made newlines into linux newlines
6 years ago
Phallacy
a0d31a49a0
merging with master to clear merge conflict
6 years ago
Phallacy
6bbb968b57
minor changes and return to netstandard
6 years ago
Joshua M. Boniface
89d4ce309d
Merge pull request #848 from Bond-009/perf
...
Minor changes to reduce allocations
6 years ago
LogicalPhallacy
9f3aa2cead
Apply suggestions from code review
...
Adding minor stylistic suggestions from Bond-009
Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>
6 years ago
Bond-009
5835c4b21d
Remove comment
6 years ago
Phallacy
77602aff88
Minor fixes re:PR870, added null checks from PR876
6 years ago
Bond_009
da9418c1b2
Useless copy
6 years ago
Bond_009
9dba930a85
Warn faster for slow requests
6 years ago
Bond_009
7722cb3ffa
Some Lists -> IEnumerable
6 years ago
Bond_009
3e6819c718
Don't clone lists
6 years ago
Bond_009
41fb1e5106
Tuple -> ValueTuple
6 years ago
Bond_009
64d5ec12e2
Use HashSets for increased perf
6 years ago
Bond_009
a6a4cd5667
Removed some unused fields
6 years ago
Joshua M. Boniface
c713824bf9
Merge pull request #734 from Bond-009/culture
...
Fix more analyzer warnings
6 years ago
Claus Vium
8985fb8d58
Remove support for games as a media type
6 years ago
Bond_009
a709cbdc64
Fix more analyzer warnings
6 years ago
Claus Vium
64b6cfa3dc
Add Size to TypedBaseItem
6 years ago
Bond_009
d8d6c6f254
Address comments
6 years ago
Bond_009
2ffab720fb
Fix ctor
6 years ago
Bond_009
07f163a4c3
Minor improvements to db code
6 years ago
hawken
490e22c790
Add comments to SqliteItemRepository to help out whoever is next
6 years ago
William Taylor
65cd3ed597
Replaced injections of ILogger with ILoggerFactory
...
This makes resolving dependencies from the container much easier as
you cannot resolve with primitives parameters in a way that is any
more readable.
The aim of this commit is to change as little as possible with the end
result, loggers that were newed up for the parent object were given the same
name. Objects that used the base or app loggers, were given a new logger with
an appropriate name.
Also removed some unused dependencies.
6 years ago
Erwin de Haan
321c440739
Reformat JustAMan review pt1 changes
...
Refs #575
6 years ago
Erwin de Haan
e867446437
ReSharper format: conform inline 'out' parameters.
6 years ago
Erwin de Haan
65bd052f3e
ReSharper conform to 'var' settings
6 years ago
Erwin de Haan
a36658f6f0
ReSharper Reformat: Properties to expression bodied form.
6 years ago
Erwin de Haan
e566d9a231
Find+Sed BOM removal *.cs: BDInfo-Emby.XmlTv
6 years ago
Erwin de Haan
a5288115a8
Visual Studio Reformat: Emby.Server.Implementations Part A-Da
6 years ago
Erwin de Haan
e2751d42e8
Merge branch 'dev' into code-cleanup
6 years ago
Erwin de Haan
ec1f5dc317
Mayor code cleanup
...
Add Argument*Exceptions now use proper nameof operators.
Added exception messages to quite a few Argument*Exceptions.
Fixed rethorwing to be proper syntax.
Added a ton of null checkes. (This is only a start, there are about 500 places that need proper null handling)
Added some TODOs to log certain exceptions.
Fix sln again.
Fixed all AssemblyInfo's and added proper copyright (where I could find them)
We live in *current year*.
Fixed the use of braces.
Fixed a ton of properties, and made a fair amount of functions static that should be and can be static.
Made more Methods that should be static static.
You can now use static to find bad functions!
Removed unused variable. And added one more proper XML comment.
6 years ago
hawken
bd169e4fd4
remove trailing whitespace
6 years ago
Bond_009
ea4c914123
Fix exception logging
6 years ago
Bond_009
0f8b3c6347
Use Microsoft.Extensions.Logging abstraction
6 years ago
Bond_009
6e5d2aadaa
Remove custom ToArray extension
6 years ago
Andrew Rabert
a86b71899e
Add GPL modules
6 years ago
stefan
48facb797e
Update to 3.5.2 and .net core 2.1
6 years ago
Luke Pulverenti
175c085d90
Stub out new filtering api
7 years ago
Luke Pulverenti
5207067811
fix live tv over dlna
7 years ago
Luke Pulverenti
0a0303ca64
normalize strm file contents
7 years ago
Luke Pulverenti
7e5036a587
update image aspect ratio detection
7 years ago
Luke Pulverenti
0bc3cdfab7
update suggestions
7 years ago
Luke Pulverenti
98f4da6d14
3.2.32.3
7 years ago
Luke Pulverenti
2d29d903be
fixes #2904 - disabling transcoding for a user is not working
7 years ago
Luke Pulverenti
9d69352fcf
fixes #2891 - New Season ... popups repeatedly
7 years ago
Luke Pulverenti
cdd79ec7e2
update owned items
7 years ago
Luke Pulverenti
106575e443
3.2.30.21
7 years ago
Luke Pulverenti
4a9550e584
update live tv images
7 years ago
Luke Pulverenti
fe10df6935
improve queries from scheduled tasks
7 years ago
Luke Pulverenti
adc22b5e81
rework epg storage
7 years ago
Luke Pulverenti
eb63e0d264
update image processor
7 years ago
Luke Pulverenti
49b799adbe
3.2.30.8
7 years ago
Luke Pulverenti
39c4542cf6
update query objects
7 years ago
Luke Pulverenti
e287e3a50d
remove async when there's nothing to await
7 years ago
Luke Pulverenti
6bc2a79792
fix folder rip probe
7 years ago
Luke Pulverenti
e441e2f53d
update active recordings
7 years ago