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
6 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