AJ Jordan
bab389114b
Use a service unit, not a scope unit, to restart
...
Reportedly `systemd-run --scope` still got killed by the service
manager; see #4615 . The suspected cause is that `scope` units are run by
the `systemd-run` process itself and inherit the caller's execution
environment (see systemd-run(1)). To fix this, we use a systemd
`service` unit instead, which is run and managed by PID 1 - hopefully
this will isolate us sufficiently so that we don't get terminated along
with `jellyfin.service`.
2020-12-04 16:33:24 -08:00
AJ Jordan
d251c701b9
Use systemd-run(1) in restart.sh
...
systemd-run(1) runs `systemctl restart` in an isolated systemd unit
that is not subject to process termination as jellyfin.service is shut
down. We adjust the sudoers configuration for this new usage, removing
the old config, since restart.sh is the only user of the sudoers
policy.
Additionally we change `systemctl start` to `systemctl restart` since
there was a race condition where jellyfin.service was not fully
stopped by the time this ran, so `systemctl start` became a noop.
`systemctl restart` on the other hand works whether jellyfin.service is
stopped or not.
The at(1) hack (and the usage of `start` instead of `restart`) is left
in for other init systems since I cannot test on those systems, and
because I don't know of any systemd-run(1) equivalent (although it may
be a non-issue since alternate init systems do not keep track of daemon
children nearly as aggressively as systemd does).
2020-12-04 16:18:26 -08: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
Ionut Andrei Oanca
cc64ee483d
Reorder parameters in HandleRequest
2020-12-04 23:16:15 +01: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
Bond_009
e530401462
Remove spammy debug line
2020-12-04 22:15:00 +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
Ionut Andrei Oanca
1f57b594e6
Loosen locking logic in SyncPlayManager
2020-12-04 21:27:25 +01:00
Joshua M. Boniface
670f7cacc3
Merge pull request #4651 from crobibero/iso_manager
...
Remove IIsoMounter and IsoMounter
2020-12-04 14:53:09 -05:00
Ionut Andrei Oanca
cbf70e7a03
Change type of PlaylistItemId to Guid
2020-12-04 20:15:16 +01:00
crobibero
8d8738835e
Use DisplayPreferencesId as ItemId
2020-12-04 09:16:38 -07: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
Eero Nevaluoto
958c3a3217
Translated using Weblate (Finnish)
...
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fi/
2020-12-04 09:03:02 -05:00
Claus Vium
8b697060dd
Merge pull request #4522 from BaronGreenback/PlugsVersionNumberFix
...
Set plugin version to that specified in the manifest
2020-12-04 14:10:31 +01:00
Claus Vium
dca3f62ff8
Merge branch 'master' into PlugsVersionNumberFix
2020-12-04 13:50:44 +01:00
Claus Vium
9afd19b06e
Merge pull request #4648 from nyanmisaka/optimize-plugin-logs
...
Optimize load plugin logs
2020-12-04 13:46:06 +01:00
Claus Vium
f1cc01f324
Merge pull request #4242 from Spacetech/library_scan_speed
...
Increase library scan and metadata refresh speed
2020-12-04 13:17:26 +01:00
jeansebbeaulieu
cba1aced8a
Translated using Weblate (French (Canada))
...
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr_CA/
2020-12-04 01:38:22 -05:00
crobibero
b7443f6042
Optimize FavoritePersons query
2020-12-03 20:16:11 -07:00
Gary Wilber
a9367b6169
Add OnConfigurationUpdated method
2020-12-03 17:11:53 -08:00
crobibero
e765184afa
Fix existing DisplayPreferences migration
2020-12-03 15:00:26 -07:00
Page Asgardius
cff2b7fed1
Translated using Weblate (Spanish (Mexico))
...
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_MX/
2020-12-03 16:49:44 -05:00
crobibero
685c966468
Suggestion from review
2020-12-03 14:35:18 -07:00
crobibero
b0c79edd2c
Add support for custom item display preferences
2020-12-03 13:51:12 -07:00
Ionut Andrei Oanca
b7eb4da04e
Rename GroupController into Group
2020-12-03 21:01:18 +01:00
Ionut Andrei Oanca
7169c0a22d
Move SyncPlay request DTOs to proper namespace
2020-12-03 19:01:57 +01:00
Ionut Andrei Oanca
389367fec8
Rename 'track' into 'item' in SyncPlay
2020-12-03 15:54:39 +01:00
crobibero
ca5c20c988
Remove IIsoMounter and IsoMounter
2020-12-03 07:34:15 -07:00
Nyanmisaka
d496fd2d48
Apply suggestions from code review
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-12-03 21:34:25 +08:00
nyanmisaka
bbe872524d
optimize load plugin logs
2020-12-03 20:12:41 +08: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
Gary Wilber
2b6b2cbf31
Remove Lazy
2020-12-02 23:23:13 -08:00
Gary Wilber
74f211960a
only recreate the lazy when needed
2020-12-02 23:14:18 -08: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
Claus Vium
f01eff0559
Merge pull request #4647 from rhamzeh/fix/localization-add-palestine
...
fix: add Palestine to supported countries
2020-12-03 08:09:33 +01:00
Gary Wilber
26a05e6974
Handle config updates
2020-12-02 23:07:51 -08:00
Claus Vium
4ae62e74e9
Merge pull request #4644 from jellyfin/minor9
...
Minor improvements
2020-12-03 08:00:44 +01:00
Claus Vium
1d3b2e8dd6
Merge pull request #4643 from crobibero/empty-lib-null-ref
...
Fix null reference when getting filters of an empty library
2020-12-03 07:58:05 +01:00
Claus Vium
e042572588
Merge pull request #4633 from crobibero/guid-params
...
Use Guid as API parameter type where possible
2020-12-03 07:51:02 +01:00
Gary Wilber
f4edca7c27
Move MetadataRefreshThrottler to BaseItemManager
2020-12-02 18:51:53 -08:00
Raghd Hamzeh
9497530281
fix: add Palestine to supported countries
2020-12-02 21:14:37 -05:00
crobibero
7a729ea8d6
Move OpenApiSecurityScheme to OperationFilter
2020-12-02 14:59:57 -07:00
crobibero
828504e925
The future is now
2020-12-02 08:04:08 -07:00
crobibero
08be7f094a
Cleaner type checking
2020-12-02 07:55:34 -07:00
Bond-009
ea20f05de4
Merge pull request #4589 from ConfusedPolarBear/id-fix
...
[Fix] Test query value
2020-12-02 15:55:17 +01:00
crobibero
41e127d1d2
Fix null reference when getting filters of an empty library
2020-12-02 07:42:25 -07:00