Commit graph

1121 commits

Author SHA1 Message Date
cvium ba928d872e fix: open the connection when using SqliteConnection directly 2023-09-16 07:25:29 +02:00
Lehonti Ramos bc959270b7
Removed nesting levels through block-scoped using statement (#10025)
Co-authored-by: John Doe <john@doe>
Co-authored-by: Lehonti Ramos <lehonti@ramos>
2023-09-11 12:12:40 +02:00
Bond-009 c7ca416206
Merge pull request #10138 from cvium/sqlite_client_poc 2023-08-28 11:54:35 +02:00
cvium 4fa7672d75 fix todos and add graylog back 2023-08-25 19:49:14 +02:00
cvium 7e4e715a90 remove unused using 2023-08-23 09:10:48 +02:00
cvium a1a1551680 remove batteries init 2023-08-23 09:08:22 +02:00
Bond_009 18a311d32f == null -> is null 2023-08-22 21:14:54 +02:00
cvium 05e40ecb93 review comments 2023-08-22 08:31:34 +02:00
cvium d223f5b518 completely remove sqlitepcl 2023-08-21 15:31:02 +02:00
cvium 613f4296e3 loading works 2023-08-21 12:13:32 +02:00
Sky-High 06b80a8ced fix for MigrateNetworkConfiguration.cs 2023-07-11 20:28:52 +02:00
Sky-High 78c17ba895 fix #9983 MigrateNetworkConfiguration error 2023-07-11 02:13:55 +02:00
Shadowghost e56275fb46 Extract networking constants 2023-07-03 22:04:59 +02:00
Joshua M. Boniface 93b400343e
Merge pull request #8147 from Shadowghost/network-rewrite 2023-07-03 13:16:21 -04:00
Shadowghost e233a3b074 Apply review suggestions 2023-07-03 15:59:39 +02:00
Shadowghost 32ac3b580c Rename additional values in NetworkConfiguration and add migration for all changed values 2023-07-03 14:03:33 +02:00
Nick ab20ceaad6 Migrate to trickplay table to EF. Rename vars/methods/members to have consistent use of tile and thumbnail 2023-06-26 17:40:10 -07:00
Niels van Velzen 6de56f0518 Add support for lyric provider plugins 2023-06-23 21:13:20 +02:00
Shadowghost 32499f0e98 Merge branch 'master' into network-rewrite 2023-06-15 17:53:52 +02:00
Cody Robibero 9a0dfc00f1
Add all websocket messages to generated openapi spec (#9682)
* Add all websocket messages to generated openapi spec

* Use oneOf

* JsonIgnore ServerId

* Oops

* Add discriminators

* Add WebSocketMessage container for Inbound and Outbound messages
2023-06-10 07:28:21 -06:00
Shadowghost 006b04dc0b Merge branch 'master' into network-rewrite 2023-06-07 08:25:32 +02:00
cvium 716bcc6410 chore: deprecate EasyPassword as it isn't very secure 2023-05-26 19:40:40 +02:00
Shadowghost d8d5c86d49 Merge branch 'master' into network-rewrite 2023-05-25 17:07:43 +02:00
Bill Thornton 155f3856c0 Use default files to remove index.html from url 2023-05-15 15:28:33 -04:00
Shadowghost eb52af4e6a
Fix playlists library and migration (#9770) 2023-05-15 06:45:33 -06:00
Shadowghost a8cdf4434b
Fix access to playlists not created by a user (#9746) 2023-05-12 07:11:59 -06:00
Shadowghost c042f20224 Merge branch 'master' into network-rewrite 2023-05-11 15:41:39 +02:00
Cody Robibero e1a30a4aef
Merge pull request #8598 from Neuheit/ipv4fallback 2023-05-11 07:12:34 -06:00
Shadowghost bcf92b5722
Fix MigrateRatingLevels (#9461) 2023-05-10 17:38:54 -06:00
Shadowghost 6cc1203c1b Merge branch 'master' into network-rewrite 2023-05-09 15:25:41 +02:00
Stepan Goremykin b6cfdb8b92 Simplify conditional expression 2023-04-06 19:30:17 +02:00
Stepan Goremykin 26958162d0 Remove unused using directives 2023-04-06 19:17:28 +02:00
Marc Brooks d45cabfa74
Fix migration for MusicBrainz (#9559) 2023-03-30 06:41:27 -06:00
Shadowghost 82080bd1ef Apply review suggestions 2023-03-17 11:43:53 +01:00
Shadowghost 8d158df678 Add migration to properly set playlist owner 2023-03-10 19:16:57 +01:00
Shadowghost 80b8661008 Merge branch 'master' into network-rewrite 2023-03-03 10:42:24 +01:00
Shadowghost c5a363a007 Merge branch 'master' into network-rewrite 2023-02-20 11:58:14 +01:00
Shadowghost f0251f86cb Move MigrateRatingLevels migration to preStartup 2023-02-20 11:54:39 +01:00
Shadowghost 5cdb0c7932 Apply review suggestions 2023-02-20 11:53:20 +01:00
Shadowghost 15efb9935c Fix typo and migration description 2023-02-20 11:53:20 +01:00
Shadowghost a6cfe75d6e Add database migration for rating schema change 2023-02-20 11:53:20 +01:00
Bond-009 720852f708
Merge pull request #9356 from Bond-009/tryparse 2023-02-20 11:09:54 +01:00
Bond_009 24a7e210c3 Optimize tryparse
* Don't check for null before
* Don't try different formats when not needed (NumberFormat.Integer is the fast path)
2023-02-19 16:52:29 +01:00
Shadowghost 2f4e43b87f Add migration for MusicBrainz settings 2023-02-19 09:30:27 +01:00
Shadowghost 20fd05b050 Consistently write IP in upercase 2023-02-17 19:27:36 +01:00
Shadowghost 42498194d9 Replace ISocket and UdpSocket, fix DLNA and SSDP binding and discovery 2023-02-17 17:39:11 +01:00
Shadowghost 3a91c37283 Merge branch 'master' into network-rewrite 2023-02-15 22:40:07 +01:00
Shadowghost 4eba16c672 Apply review suggestions 2023-02-15 22:34:44 +01:00
Shadowghost b8ed1f81cd Add back LocalAccessOrRequiresElevationPolicy 2023-02-14 19:06:43 +01:00
Shadowghost eeb0f7af6c Add permissions for LiveTV access and management 2023-02-14 18:48:31 +01:00
Shadowghost b7418d6e9e Add permission for collection management 2023-02-13 15:42:04 +01:00
cvium c9aef96dba fix firsttimesetup 2023-02-09 21:06:51 +01:00
cvium cba9657aec fix openapi auth 2023-02-09 14:56:53 +01:00
cvium 956c89dc2f fix default policy 2023-02-09 13:51:37 +01:00
cvium 209edd38a4 refactor: simplify authz 2023-02-09 13:51:37 +01:00
Bond-009 6bf34f8e22
Simplify CreateApplicationPaths (#9171) 2023-02-04 10:24:55 -07:00
Zoltan Csizmadia e0519189b2
Use Directory.Packages.props (#9135)
Co-authored-by: Zoltan Csizmadia <CsizmadiaZ@valassis.com>
2023-02-04 10:15:08 -07:00
Patrick Barron 0df899943f Move LogEnvironmentInfo to StartupHelpers 2023-01-27 18:24:53 -05:00
Patrick Barron 63b0132562
Remove OS information from System Info (#9175)
Co-authored-by: Bond-009 <bond.009@outlook.com>
2023-01-26 09:05:00 +01:00
Shadowghost 343a94f185 Fix CA1851 2023-01-19 10:19:53 +01:00
Shadowghost 656a0bff6f Merge remote-tracking branch 'upstream/master' into network-rewrite 2023-01-19 10:09:32 +01:00
renovate[bot] e408da4651
chore(deps): update dependency microsoft.codeanalysis.bannedapianalyzers to v3.3.4 (#9117)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-18 04:16:59 -07:00
Bond-009 875359d457
Merge pull request #9108 from barronpm/efcore-cleanup 2023-01-17 21:11:42 +01:00
Patrick Barron 8479f0f90c Rename JellyfinDb to JellyfinDbContext 2023-01-16 12:14:44 -05:00
Patrick Barron dc85d86ea1 Enable in-process restarting 2023-01-15 15:56:18 -05:00
Patrick Barron f8ca71ee15 Move WebHostBuilder extension method to separate file 2023-01-15 15:48:10 -05:00
Patrick Barron 029d53502f Move some startup methods to StartupHelpers 2023-01-15 15:48:07 -05:00
Patrick Barron 7186b343bd Move Formatters to Jellyfin.Api 2023-01-15 15:46:50 -05:00
Patrick Barron 74a07f6d1c Move Middleware to Jellyfin.Api 2023-01-15 15:46:50 -05:00
Bond_009 8ff0cb1e9d Remove AddPeopleQueryIndex migration 2023-01-14 21:39:47 +01:00
Bond_009 ab918c6292 Fine tune DB settings 2023-01-14 21:39:46 +01:00
renovate[bot] 24a27a360e
chore(deps): update dependency serilog.aspnetcore to v6.1.0 (#9085)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-13 06:09:30 -07:00
Patrick Barron 033ffa9a88 Fix tests 2023-01-12 11:51:12 -05:00
Patrick Barron 0f46eca6a4 Minor cleanup in Startup class 2023-01-11 22:09:14 -05:00
Patrick Barron 159e74ea09 Update Serilog.AspNetCore 2023-01-11 22:08:04 -05:00
Patrick Barron 7b17799b01 Migrate from IWebHost to IHost 2023-01-11 22:07:41 -05:00
Bond-009 aefa8da4ee
Merge pull request #9064 from barronpm/move-jellyfin-drawing-skia 2023-01-11 09:22:35 +01:00
Patrick Barron 16e33665a2 Move Jellyfin.Drawing.Skia to src 2023-01-10 19:35:06 -05:00
renovate[bot] 2045eb109b
chore(deps): update dependency sqlitepclraw.bundle_e_sqlite3 to v2.1.4 (#9062)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-10 14:56:55 -07:00
renovate[bot] 7516e61c5b
chore(deps): update dotnet monorepo to v7.0.2 2023-01-10 14:50:35 +00:00
Patrick Barron b5da0d1b17
Rename Emby.Drawing and move to src (#9054)
* Move Emby.Drawing to src

* Rename Emby.Drawing -> Jellyfin.Drawing
2023-01-10 05:51:46 -07:00
Bond-009 69a51c425a
Fix all warnings in Jellyfin.Api (#9003) 2023-01-04 08:01:31 -07:00
Cody Robibero 8326349137
Use custom database healthcheck (#8973) 2022-12-29 19:40:39 -07:00
Shadowghost ef085483b2 Merge branch 'master' into network-rewrite 2022-12-20 09:19:45 +01:00
renovate[bot] 02f9e60e7c
chore(deps): update dotnet monorepo to v7.0.1 (#8900)
* chore(deps): update dotnet monorepo to v7.0.1

* Update docker sdk

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Cody Robibero <cody@robibe.ro>
2022-12-15 20:13:11 -07:00
Bond-009 a455e580be
Use static methods StopWatch where it makes sense (#8898) 2022-12-14 22:03:26 +01:00
Joshua M. Boniface 47f1d1395c
Merge pull request #8826 from Bond-009/slowhttp
Fixes https://github.com/jellyfin/jellyfin/issues/7348
2022-12-12 17:24:16 -05:00
Shadowghost 2c86bd1875 Merge branch 'master' into network-rewrite 2022-12-07 17:40:24 +01:00
Bond_009 fd9dc1e308 Update deps 2022-12-07 16:56:32 +01:00
Bond_009 93fd462b58 Use File.SetUnixFileMode 2022-12-07 16:42:29 +01:00
Bond_009 71982c7297 Fix build errors 2022-12-07 16:42:28 +01:00
Bond_009 236dd650d0 Update projects to .net7 2022-12-07 16:42:05 +01:00
Bond_009 52194f56b5 Replace != null with is not null 2022-12-05 15:01:13 +01:00
Bond_009 c7d50d640e Replace == null with is null 2022-12-05 15:00:20 +01:00
renovate[bot] 38e02e15c4
chore(deps): update dependency sqlitepclraw.bundle_e_sqlite3 to v2.1.3 (#8837)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-03 08:48:12 -07:00
Shadowghost bcd992fb06 Merge remote-tracking branch 'upstream/master' into network-rewrite 2022-12-03 12:44:45 +01:00
Bond_009 b2ce70987c Change log level for slow HTTP responses from WRN TO DBG
The added log level check is there because Request.GetDisplayUrl() is a
pretty expensive call, creating a StringBuilder and string which doesn't
need to happen on most installs where debug logging is disabled
2022-11-30 22:11:47 +01:00
Terrance 692a62ab4f
Add missing format providers (fix CA1305 errors) (#8745) 2022-11-26 18:59:25 -07:00
renovate[bot] 7bf89502bc
chore(deps): update dependency prometheus-net.aspnetcore to v7 2022-11-23 17:24:50 +00:00
Bond-009 f45230c16f
Merge pull request #8629 from jellyfin/renovate/prometheus-net-7.x 2022-11-23 18:22:59 +01:00