Commit Graph

789 Commits

Author SHA1 Message Date
BaronGreenback
5d16d1f66d
Merge branch 'master' into RemoteAccessFix 2021-03-22 17:05:44 +00:00
Claus Vium
94820f569b
Merge pull request #5512 from crobibero/api-spec-version 2021-03-15 18:01:20 +01:00
Patrick Barron
e5380c653b Merge branch 'master' into ef-cleanup
# Conflicts:
#	Jellyfin.Data/Entities/Libraries/MediaFileStream.cs
#	Jellyfin.Data/Jellyfin.Data.csproj
2021-03-14 10:19:35 -04:00
Bond_009
a8ed753f6c FxCop -> Net Analyzers (part 2) 2021-03-13 22:33:28 +01:00
crobibero
1169a0214b Set default version 2021-03-13 08:43:14 -07:00
crobibero
500832bdfd Set openapi version to server version 2021-03-12 17:11:43 -07:00
BaronGreenback
3fdf0de6e3 Fix remote access 2021-03-11 21:36:58 +00:00
crobibero
8e09276d7d Add websocket session message type to generated openapi.json 2021-03-10 16:33:46 -07:00
Bond_009
fa8bfece4e Split integration tests from unit tests 2021-03-09 14:17:59 +01:00
Bond_009
9ed7f429c0 FxCop -> Net Analyzers (part 1) 2021-03-09 03:04:47 +01:00
Joshua M. Boniface
3c46f10e3d
Merge pull request #5315 from BaronGreenback/FixFor5280Part2 2021-03-08 18:06:40 -05:00
Patrick Barron
f638ee6b09 Enable nullable for Jellyfin.Data and remove unnecessary attributes 2021-03-06 17:43:01 -05:00
dkanada
8615847a8a
Merge pull request #5345 from BaronGreenback/IP6Fix
Dual IP4 / IP6 server fails on non-windows platforms
2021-03-04 17:03:53 +09:00
crobibero
631c0a35f6 Always use case insensitive json parsing for api 2021-03-03 17:11:19 -07:00
BaronGreenback
c275c5c1ea
Update Jellyfin.Server/Program.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-03-02 08:57:27 +00:00
Bond-009
1f0bbe266c
Merge pull request #5342 from BaronGreenback/errorMessageCorrection
Corrected logging message
2021-03-02 03:07:45 +01:00
BaronGreenback
5942948714 Kestrel workaround 2021-03-01 23:42:04 +00:00
BaronGreenback
fdd4b6b3f1 Changed message 2021-03-01 21:02:20 +00:00
BaronGreenback
80ca3da55c Merge remote-tracking branch 'upstream/master' into FixFor5280Part2 2021-02-28 10:12:14 +00:00
BaronGreenback
f666b7e102 fix 2021-02-27 23:32:22 +00:00
Bond_009
032d72a8a7 Pls fix race condition 2021-02-23 17:30:24 +01:00
Joshua M. Boniface
c0c4aff8a6
Merge pull request #5276 from Bond-009/minor12 2021-02-22 21:00:34 -05:00
Bond_009
57102090d3 Add tests for DashboardController 2021-02-22 13:15:29 +01:00
Bond_009
b1fe28d0a6 Use GetEncodingOptions where possible 2021-02-21 02:58:30 +01:00
crobibero
9da972682c Enable non-nullable reference types in generated api spec 2021-02-15 10:08:38 -07:00
crobibero
d5f0b046bb Add image file accept to openapi 2021-02-10 16:12:52 -07:00
crobibero
407c35f087 Update to dotnet 5.0.3 2021-02-09 19:02:02 -07:00
dkanada
54a3ab15a3
Merge pull request #5005 from jellyfin/bytes
JsonSerializer deserialize from bytes where possible
2021-02-05 11:47:06 +09:00
crobibero
ef97ead707 Fix openapi nullable properties 2021-01-24 14:36:36 -07:00
Joshua M. Boniface
4b6b90e0b1
Merge pull request #5069 from crobibero/obsolete-param 2021-01-23 14:45:18 -05:00
Joshua M. Boniface
3bf7e18886
Merge pull request #5031 from crobibero/5.0.2
Update to dotnet 5.0.2
2021-01-23 14:41:03 -05:00
Cody Robibero
91a9af95c2
Apply suggestions from code review
Co-authored-by: dkanada <dkanada@users.noreply.github.com>
2021-01-21 07:01:51 -07:00
crobibero
59ff2c5b4b Add ability to mark query parameter as obsolete. 2021-01-20 16:24:15 -07:00
BaronGreenback
ab632b96fe renamed. 2021-01-19 19:31:55 +00:00
BaronGreenback
82d365045a Removed systemIp6 functionality. 2021-01-19 12:50:11 +00:00
BaronGreenback
821473557c Changed mapping logic 2021-01-19 11:31:40 +00:00
BaronGreenback
6a7623da02 Simplified Code 2021-01-19 10:36:37 +00:00
BaronGreenback
8b2b3b77a5 Removed duplication 2021-01-19 10:29:17 +00:00
BaronGreenback
49e3b70722 Moved InternalsVisibleTo 2021-01-18 13:03:37 +00:00
BaronGreenback
b9f0f4f53b reverted 2021-01-17 13:35:30 +00:00
BaronGreenback
688e7c6a2d Moved internalVisibleToAttribute to .csj 2021-01-17 12:45:11 +00:00
crobibero
a087ab389a dotnet 5.0.2 2021-01-16 10:17:33 -07:00
BaronGreenback
4bc8a1e77b updated 2021-01-13 15:29:57 +00:00
BaronGreenback
9a730241b1 Changed to address. 2021-01-13 15:14:04 +00:00
BaronGreenback
d66bc3fb3e Fixed indentation 2021-01-12 20:43:25 +00:00
BaronGreenback
08e83cfa54 Remove additional debug logging. 2021-01-12 18:52:48 +00:00
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 |
```
2021-01-12 15:28:02 +01:00
BaronGreenback
2979c8dd37 Fixed test on Mac 2021-01-12 13:23:10 +00:00
BaronGreenback
35a30c9d09 Impliments KnownNetworks and KnownProxies 2021-01-12 13:07:34 +00:00
Joshua M. Boniface
406ae3e43a
Merge pull request #4709 from BaronGreenback/PluginDowngrade 2020-12-31 18:47:05 -05:00
dependabot[bot]
fdb3632e7a
Bump prometheus-net.AspNetCore from 4.0.0 to 4.1.1
Bumps [prometheus-net.AspNetCore](https://github.com/prometheus-net/prometheus-net) from 4.0.0 to 4.1.1.
- [Release notes](https://github.com/prometheus-net/prometheus-net/releases)
- [Changelog](https://github.com/prometheus-net/prometheus-net/blob/master/History)
- [Commits](https://github.com/prometheus-net/prometheus-net/compare/v4.0.0...v4.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-31 06:45:10 +00:00
dkanada
1327bd9f7d
Merge pull request #4787 from jellyfin/dependabot/nuget/prometheus-net-4.1.1
Bump prometheus-net from 4.0.0 to 4.1.1
2020-12-31 15:36:22 +09:00
Cody Robibero
5c57569692
Merge branch 'master' into PluginDowngrade 2020-12-30 18:11:37 -07:00
BaronGreenback
4c291da45c
Encoding fix for System Logs. (#4564) 2020-12-30 18:31:26 +01:00
dependabot[bot]
9460611fbb
Bump prometheus-net from 4.0.0 to 4.1.1
Bumps [prometheus-net](https://github.com/prometheus-net/prometheus-net) from 4.0.0 to 4.1.1.
- [Release notes](https://github.com/prometheus-net/prometheus-net/releases)
- [Changelog](https://github.com/prometheus-net/prometheus-net/blob/master/History)
- [Commits](https://github.com/prometheus-net/prometheus-net/compare/v4.0.0...v4.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-30 09:34:28 +00:00
crobibero
79cf57ce16 Remove SQLitePCLRaw.provider.sqlite3.netstandard11 2020-12-23 12:33:50 -07:00
BaronGreenback
889e988167 Updated to latest unstable. 2020-12-23 17:25:34 +00:00
crobibero
3a6501abe0 Fix another key collision in MigrateDisplayPreferencesDatabase 2020-12-21 17:28:06 -07:00
Claus Vium
21d2e9ff0c
Merge pull request #4771 from crobibero/typed-get-preference
Use typed UserManager GetPreference
2020-12-16 22:15:56 +01:00
Greenback
0337e39bae Updated JsonDefaults 2020-12-15 19:39:41 +00:00
Joshua M. Boniface
4f6a585424
Merge pull request #4716 from OancaAndrei/syncplay-new-auth-policies 2020-12-13 16:58:28 -05:00
Claus Vium
a3a7467f49
Merge pull request #4713 from crobibero/robots 2020-12-13 20:12:07 +01:00
Claus Vium
8c00fbea9c
Merge pull request #4675 from BaronGreenback/ProxyDNS 2020-12-13 14:22:27 +01:00
crobibero
b670937c3d Use typed UserManager GetPreference 2020-12-11 15:00:43 -07:00
Bond-009
b3caa51173
Merge pull request #4699 from crobibero/display_prefs_index
Fix CustomItemDisplayPreferences unique key collision in the migration
2020-12-11 22:29:07 +01:00
crobibero
69d581033b Use a more descriptive middleware name 2020-12-11 07:17:06 -07:00
crobibero
34029f860c Fix openapi file schema 2020-12-10 19:05:49 -07:00
crobibero
b66abf0556 Add support back for /emby and /mediabrowser routes 2020-12-10 08:17:02 -07:00
crobibero
aa5fa7cb8f Update to dotnet 5.0.1 2020-12-09 07:36:31 -07:00
BaronGreenback
af37cc2339
Merge branch 'master' into ProxyDNS 2020-12-07 22:54:51 +00:00
Ionut Andrei Oanca
499f3ee950 Update authorization policies for SyncPlay 2020-12-07 10:33:15 +01:00
crobibero
d65e8d7044 Redirect robots.txt if hosting web content 2020-12-06 19:40:43 -07:00
crobibero
eefe87f537 Remove CustomItemDisplayPreferences unique key collision 2020-12-06 09:11:00 -07:00
BaronGreenback
1a44d34f50
Update ApiServiceCollectionExtensions.cs 2020-12-05 16:00:34 +00:00
Bond-009
804dd00425
Merge pull request #4671 from cvium/allow_proxy
Clear KnownNetworks and KnownProxies if none are configured explicitly
2020-12-05 16:22:11 +01:00
cvium
41cd4d0a39 Clear KnownNetworks and KnownProxies if none are configured explicitly 2020-12-05 10:18:56 +01:00
Joshua M. Boniface
bba01bf7b9
Merge pull request #3194 from OancaAndrei/syncplay-enhanced
SyncPlay for TV series (and Music)
2020-12-04 20:22:30 -05:00
Joshua M. Boniface
b96d4ef0e8
Merge pull request #4653 from crobibero/favorite-persons
Optimize FavoritePersons query
2020-12-04 20:05:35 -05:00
Joshua M. Boniface
4e6584c345
Merge pull request #4652 from crobibero/display-preferences
Add support for custom item display preferences
2020-12-04 20:05:04 -05:00
crobibero
76250a8895 Use md5 Guid for legacy compat 2020-12-04 16:27:31 -07:00
crobibero
3db6ae91f6 Add ItemId to all display preferences 2020-12-04 16:00:11 -07:00
Bond-009
3980b5ce9f
Merge pull request #4660 from crobibero/mime-type
Add support for web serving .mem files
2020-12-04 22:17:10 +01:00
crobibero
e49bb3f4e6 Add support for web serving .mem files 2020-12-04 14:12:59 -07:00
Ionut Andrei Oanca
23473ef8fb Fix access policies to SyncPlay 2020-12-04 22:03:35 +01:00
crobibero
60b7e49a7f Suggestions from code review 2020-12-04 08:00:55 -07:00
Claus Vium
f07a6c3c3e
Merge pull request #4638 from crobibero/migration-guid
Don't die if folder doesn't have id
2020-12-04 15:24:17 +01:00
crobibero
e765184afa Fix existing DisplayPreferences migration 2020-12-03 15:00:26 -07:00
cvium
7e0ea296c3 Move request validation to auth policies 2020-12-03 10:43:44 +01:00
Claus Vium
4a3411cad1
Merge pull request #4645 from crobibero/openapi-auth-filter
Move OpenApiSecurityScheme to OperationFilter
2020-12-03 10:16:34 +01:00
Claus Vium
fdd8b34cc1
Merge pull request #4636 from jellyfin/MissedOne
[Fix for 10.7] Missed a config move
2020-12-03 08:10:02 +01:00
crobibero
7a729ea8d6 Move OpenApiSecurityScheme to OperationFilter 2020-12-02 14:59:57 -07:00
crobibero
589625a349 Don't die if folder doesn't have id 2020-12-01 17:36:36 -07:00
Claus Vium
28373504da
Merge pull request #4625 from crobibero/api-docs-description
Fix OpenApi generation for BlurHash
2020-12-02 00:04:05 +01:00
BaronGreenback
6173534d33
Update Startup.cs
Missed a config move
2020-12-01 21:16:36 +00:00
crobibero
b32c75fee5 Fix MusicBrainz request Accept header. 2020-12-01 09:57:13 -07:00
crobibero
d2d71ac3a1 Fix OpenApi generation for BlurHash 2020-11-30 08:47:52 -07:00
cvium
65e6211c03 Remove circular dependency between websocket listeners and manager 2020-11-28 11:21:53 +01:00
cvium
3ae39d44da Revert "Fixed SessionWebSocketListener.OnServerManagerWebSocketConnected." 2020-11-28 09:50:30 +01:00
cvium
1a0d8aef80 Revert "Removed Lazy implementation." 2020-11-28 09:50:16 +01:00
Greenback
5cd5a7d4ce Removed Lazy implementation. 2020-11-28 00:25:20 +00:00