Commit Graph

751 Commits

Author SHA1 Message Date
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
Greenback
a59aeb12e0 Fixed SessionWebSocketListener.OnServerManagerWebSocketConnected. 2020-11-27 23:04:13 +00:00
Nyanmisaka
75963d9181
enable cl-va p010 interop 2020-11-24 23:25:32 +08:00
BaronGreenback
dfee591c2a
Update Startup.cs
Late night
2020-11-22 12:06:39 +00:00
BaronGreenback
a34fca6f8e
Update Startup.cs 2020-11-22 11:40:50 +00:00
Joshua M. Boniface
2c9e355e42
Merge branch 'master' into NetworkPR2 2020-11-21 23:28:15 -05:00
Joshua M. Boniface
da96cbaf78
Merge pull request #4510 from crobibero/http-accept-header
Set default request accept headers
2020-11-21 17:18:49 -05:00
Joshua M. Boniface
f6c842e7b3
Merge pull request #4513 from BaronGreenback/LatestPluginSelected
Multi-repository plugins
2020-11-21 17:18:19 -05:00
Joshua M. Boniface
509a4d0900
Merge pull request #4526 from crobibero/mark-played
Fix marking item as played
2020-11-21 17:17:44 -05:00
crobibero
40531db1ae Add NullableEnumModelBinder and NullableEnumModelBinderProvider 2020-11-21 11:58:35 -07:00
crobibero
2f75f84b6f Fix marking item as played 2020-11-20 10:22:40 -07:00
Greenback
a3e47f3e4e Updated to latest Unstable. 2020-11-19 18:27:18 +00:00
Greenback
14fc7e6408 revert changes. 2020-11-19 15:40:20 +00:00
crobibero
c53b4f5547 Add xml and quality 2020-11-19 07:35:34 -07:00
Claus Vium
15b9f993c6
Merge pull request #4342 from crobibero/base-item-manager
Add BaseItemManager
2020-11-19 14:58:48 +01:00
Greenback
18855a7884 Initialial upload 2020-11-19 13:34:09 +00:00
crobibero
c2d2c571e7 Set default request accept headers 2020-11-18 18:20:31 -07:00
BaronGreenback
d66f88672c
Merge branch 'master' into NetworkPR2 2020-11-16 16:27:37 +00:00
crobibero
dae4541bad Merge remote-tracking branch 'upstream/master' into dotnet-5 2020-11-15 11:56:35 -07:00
crobibero
be312f992d Update to net5 2020-11-13 10:57:34 -07:00
crobibero
3c8800604e Update test sdk 2020-11-13 09:48:26 -07:00
crobibero
6353cb507d Fix nullability errors in Jellyfin.Server 2020-11-13 09:21:28 -07:00
crobibero
e8675a6c24 Fix nullability errors in Jellyfin.Server 2020-11-13 09:03:44 -07:00
Cody Robibero
1d059bc76b
Update Jellyfin.Server/Migrations/Routines/MigrateDisplayPreferencesDb.cs 2020-11-12 07:33:12 -07:00
crobibero
7375d70396 Skip migration if user doesn't exist 2020-11-11 07:17:19 -07:00
crobibero
83629ab6f2 Update packages to net5 2020-11-10 09:52:34 -07:00
dkanada
54d7fb0ff7
Merge pull request #4447 from jellyfin/dependabot/nuget/Serilog.Sinks.Graylog-2.2.2
Bump Serilog.Sinks.Graylog from 2.2.1 to 2.2.2
2020-11-10 22:00:09 +09:00
Claus Vium
cdf979efef
Merge pull request #3196 from ferferga/images-advance
Remove "download images in advance" option
2020-11-10 10:54:23 +01:00
Fernando Fernández
27a1337cf3
Remove underscore
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-11-10 10:24:05 +01:00
Fernando Fernández
d6a04fd406 Remove setting from existing libraries with a migration 2020-11-10 02:12:50 +01:00
dependabot[bot]
3874f570ed
Bump Serilog.Sinks.Graylog from 2.2.1 to 2.2.2
Bumps [Serilog.Sinks.Graylog](https://github.com/whir1/serilog-sinks-graylog) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/whir1/serilog-sinks-graylog/releases)
- [Commits](https://github.com/whir1/serilog-sinks-graylog/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-09 12:00:50 +00:00
crobibero
fed37630db Add x-jellyfin-version to openapi spec 2020-11-06 13:00:14 -07:00
Greenback
e2769671a7 removed github merge introduced spaces. 2020-11-04 20:38:47 +00:00
BaronGreenback
ec245dce90
Merge branch 'master' into NetworkPR2 2020-11-04 20:17:41 +00:00
Anthony Lavado
f23836c6a4
Merge pull request #4403 from Bond-009/http2
Http1AndHttp2 is the default, no need to explicitly enable it
2020-11-02 11:10:28 -05:00
Bond-009
95918d161e
Merge pull request #4328 from crobibero/trigger-warning
Remove CommaDelimitedArrayModelBinderProvider
2020-11-02 16:52:05 +01:00
crobibero
e41e832495 Dependency catch up 2020-11-01 10:52:32 -07:00
Greenback
83af636c61 Updated with new NetManager 2020-10-31 18:21:46 +00:00
Bond_009
7f8a73d8e9 Http1AndHttp2 is the default, no need to explicitly enable it 2020-10-31 12:54:28 +01:00