Commit Graph

263 Commits

Author SHA1 Message Date
crobibero
e5ecdcf8c9 Backport pull request #11539 from jellyfin/release-10.9.z
Add metrics collector to disposable parts

Original-merge: c1907354e8

Merged-by: crobibero <cody@robibe.ro>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-13 12:47:31 -04:00
kimboslice99
350f17b59a
IIS Hosting (#11120) 2024-03-18 08:37:23 -06:00
Bond_009
635d67d458 Revert "Use System.Net.IPNetwork"
This reverts commit 117d05d288da1d412159a29c0cb8d5c8259e48ae.
2023-11-14 21:16:33 +01:00
Patrick Barron
493de3297a Use IHostLifetime to handle restarting and shutting down 2023-09-23 11:57:38 -04:00
Patrick Barron
1d8c3e088b Don't log unhandled exceptions twice 2023-09-22 10:16:52 -04:00
Patrick Barron
0df899943f Move LogEnvironmentInfo to StartupHelpers 2023-01-27 18:24:53 -05: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
Bond_009
ab918c6292 Fine tune DB settings 2023-01-14 21:39:46 +01:00
Patrick Barron
033ffa9a88 Fix tests 2023-01-12 11:51:12 -05:00
Patrick Barron
7b17799b01 Migrate from IWebHost to IHost 2023-01-11 22:07:41 -05:00
Bond-009
a455e580be
Use static methods StopWatch where it makes sense (#8898) 2022-12-14 22:03:26 +01:00
Bond_009
93fd462b58 Use File.SetUnixFileMode 2022-12-07 16:42:29 +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
Terrance
692a62ab4f
Add missing format providers (fix CA1305 errors) (#8745) 2022-11-26 18:59:25 -07:00
Bond_009
b92880a18b Fix integration tests
Author: cvium
2022-11-13 15:20:36 +01:00
cvium
b836fe9685 remove JellyfinDbProvider and add second level caching 2022-10-21 11:55:32 +02:00
Joshua Boniface
410871e148 Backport pull request #7732 from jellyfin/release-10.8.z
Fix to make web sockets close gracefully on server shutdown

Authored-by: luke brown <luke92brown@gmail.com>

Merged-by: Cody Robibero <cody@robibe.ro>

Original-merge: ee22feb89a
2022-07-24 12:35:46 -04:00
Cody Robibero
eb55f47f2e Merge pull request #7810 from Bond-009/unaccpattern
(cherry picked from commit 5e343d30e1)
Signed-off-by: crobibero <cody@robibe.ro>
2022-06-06 09:16:11 -04:00
Cody Robibero
ac33adf219 Learn how DllImport works before making changes 2022-03-26 12:14:09 -06:00
Cody Robibero
4fa7f49ffc
Merge pull request #7202 from knackebrot/unix-perms 2022-03-26 07:24:06 -06:00
Cody Robibero
0a068b924f Fix casing of chmod 2022-03-26 07:12:35 -06:00
Bond_009
3cb49d6df0 Fix option to disable server discovery 2022-02-14 14:39:33 +01:00
knackebrot
52c61bd06f Add option to change unix socket permissions
There is probably no way to do it when creating the socket
2022-02-10 02:07:12 +01:00
Cody Robibero
b6489e73ab
Merge pull request #7241 from Bond-009/async5 2022-02-06 15:25:48 -07:00
Cody Robibero
c16d71562e
Prevent additional errors on startup/shutdown (#6788) 2022-02-04 20:36:17 +01:00
Bond_009
e7be01d7a5 Flush to disk async where possible 2022-01-22 23:36:42 +01:00
cvium
69df004b9f Migrate network configuration safely 2021-11-24 13:00:12 +01:00
Cody Robibero
ea355b4262 Remove ClientLog endpoints 2021-11-20 08:47:05 -07:00
Bond_009
5726535a26 Fix some warnings
609 left
2021-11-09 13:14:31 +01:00
Cody Robibero
3398f7f953
Merge branch 'master' into client-logger 2021-11-03 07:52:06 -06:00
Bond_009
104e36f2f9 Streamline startup code 2021-11-02 16:02:52 +01:00
Cody Robibero
a6357f89ab Add ability to upload entire file 2021-10-26 18:42:17 -06:00
Cody Robibero
f78f1e834c Merge remote-tracking branch 'upstream/master' into client-logger 2021-10-26 17:43:36 -06:00
KonH
e3fccd5ae6 Fix warning: Qualifier is redundant (#2149) 2021-10-03 11:01:40 +07:00
Bond_009
f31224fa8f Remove sync FileStream hack 2021-09-25 19:44:40 +02:00
Bond_009
520aeb9a8e Allow shutdown while starting WebHost 2021-09-20 22:27:20 +02:00
Fernando Fernández
59b67584fc
Use appHost.Resolve for accessing the context in Program.cs 2021-09-06 20:35:02 +02:00
Bond_009
e3dac4fda2 Use async FileStreams where it makes sense 2021-09-02 14:02:04 +02:00
Bond_009
f1f72c3060 Minor improvements 2021-08-04 14:40:09 +02:00
Bond_009
8528e9bddb Improve platform checks 2021-07-12 20:21:51 +02:00
Fernando Fernández
6db229af5d
Address review comments 2021-05-24 10:48:01 +02:00
Fernando Fernández
69baa9c467
Run SQLite query planner optimization at shutdown/restart 2021-05-24 10:45:21 +02:00
crobibero
f8cfc55a36 Clean client filename generation 2021-04-26 17:02:25 -06:00
crobibero
1d6224c9c6 Add endpoint to log client events 2021-04-26 07:02:26 -06:00
BaronGreenback
bc1cc2d04a Remove unused using directives 2021-04-17 11:37:55 +01:00