Patrick Barron
d35a7ba8bd
Fix more issues
5 years ago
Patrick Barron
e7b297c67b
Add some missing properties
5 years ago
Patrick Barron
3eeb6576d8
Migrate User DB to EF Core
5 years ago
Neil Burrows
d7b2c2a176
Renaming variable and refactoring IF statement
5 years ago
Mark Monteiro
3ed76d7e08
Update to .NET Core 3.1.4
5 years ago
Patrick Barron
aca7e221d8
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs
# Emby.Server.Implementations/ApplicationHost.cs
# Emby.Server.Implementations/Devices/DeviceManager.cs
# Jellyfin.Server/Jellyfin.Server.csproj
# Jellyfin.Server/Migrations/MigrationRunner.cs
# MediaBrowser.Controller/Devices/IDeviceManager.cs
5 years ago
Mark Monteiro
757643e326
Merge remote-tracking branch 'upstream/master' into no-more-doppelgangers
5 years ago
Mark Monteiro
6e68702799
Do not run DELETE command if no extras are detected
...
Also log a message if no extras were detected
Also log the path used for the database backup
Also add some comments to explain the migration
5 years ago
Vasily
43dc604e87
Fixed compilation, added backing db before removing extras
5 years ago
Patrick Barron
79dee27299
Fixed indentation
5 years ago
Vasily
034fe97eeb
Apply suggestions from code review
...
Co-authored-by: Mark Monteiro <marknr.monteiro@protonmail.com>
5 years ago
Patrick Barron
a7c2e524a9
Apply more review suggestions
5 years ago
Patrick Barron
a5dee36808
Apply more review suggestions
5 years ago
Vasily
7c57134535
Implement a cleanup migration
5 years ago
Patrick Barron
87c63e668c
Merge branch 'master' into activitydb-efcore
5 years ago
Patrick Barron
b94afc597c
Address review comments
5 years ago
Mark Monteiro
2e09311a93
Merge branch 'master' into websocket
5 years ago
Patrick Barron
9925742918
Implement more review suggestions
5 years ago
Patrick Barron
a8f0d0aa0d
Merge branch 'master' into activitydb-efcore
5 years ago
Patrick Barron
511d20a100
Apply review suggestions
5 years ago
Vasily
f08830ea00
Merge pull request #2774 from mark-monteiro/simplify-https-config
...
Simplify HTTPS Properties
5 years ago
Patrick Barron
b7621d762c
2nd half of changes
5 years ago
Patrick Barron
c1360a1dc3
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Data/SqliteUserDataRepository.cs
# Emby.Server.Implementations/Library/UserManager.cs
# Jellyfin.Data/Entities/User.cs
# Jellyfin.Data/ISavingChanges.cs
# Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj
# Jellyfin.Server.Implementations/JellyfinDb.cs
# Jellyfin.Server/Migrations/MigrationRunner.cs
# MediaBrowser.Model/Notifications/NotificationOptions.cs
# MediaBrowser.sln
5 years ago
Patrick Barron
9ad839c776
Initial migration code
5 years ago
Patrick Barron
bac4bf96a0
Fix build errors
5 years ago
Patrick Barron
6379391f87
Merge branch 'master' into activitydb-efcore
5 years ago
Bond-009
dabd67d127
Merge pull request #2900 from mark-monteiro/migration-dependency-injection
...
Use dependency injection to construct migration routines
5 years ago
Mark Monteiro
a10aec6956
Fix merge
5 years ago
Mark Monteiro
dc5165b97f
Merge branch 'master' into simplify-https-config
5 years ago
crobibero
2b1b9a64b6
Add OperationId to SwaggerGen
5 years ago
dkanada
176159d0a8
Merge pull request #2969 from BaronGreenback/my-feature
...
http in development mode crashed -
5 years ago
BaronGreenback
ba2134de13
Made changes to message and exception class
5 years ago
Mark Monteiro
1c06111497
Merge remote-tracking branch 'upstream/master' into integration-tests
5 years ago
Patrick Barron
032de931b1
Migrate activity db to EF Core
5 years ago
Neil Burrows
b737301c70
Auto discover published URL override
5 years ago
Bond_009
15634a1913
Merge branch 'master' into websocket
5 years ago
crobibero
806ae1bc07
Remove versioned API
5 years ago
Cody Robibero
d491b1b45f
Merge branch 'api-migration' into redoc
5 years ago
dkanada
2cb0f6f126
Merge pull request #2952 from crobibero/api-exception-middleware
...
Add Exception Middleware
5 years ago
Bond-009
690fb65cd8
Merge pull request #2985 from sparky8251/prometheus
...
Add Prometheus exporters
5 years ago
sparky8251
e3a42a8fe9
Address reviews
5 years ago
crobibero
068368df63
Order actions by route, then http method
5 years ago
Mark Monteiro
679f97d5e9
Merge remote-tracking branch 'upstream/master' into simplify-https-config
...
Also reverts conflicting changes made in https://github.com/jellyfin/jellyfin/pull/2798
5 years ago
Joshua M. Boniface
f502c89331
Merge pull request #2798 from JustAMan/fix-livetv-again
...
Make localhost LiveTV restreams always use plain HTTP port
5 years ago
BaronGreenback
a0a5512069
2969 - re-issed code to address when developer doesn't have certificate installed.
5 years ago
Mark Monteiro
57b5ec1d51
Remove unnecessary properties from SystemInfo response object
...
These properties do not provide any useful information to the client. The client would already have to have all this information in order to connect to the endpoint to retrieve it
5 years ago
sparky8251
997b71bbef
Metrics endpoint now respects baseurl
5 years ago
Mark Monteiro
93649ad77b
Merge remote-tracking branch 'upstream/master' into simplify-https-config
5 years ago
sparky8251
68c7a914c3
Added option to disable metrics collection and defaulted it to off
5 years ago
sparky8251
233337256f
Add prometheus exporters
5 years ago
crobibero
890e659cd3
Fix autolaunch & redirect of swagger.
5 years ago
crobibero
0765ef8bda
Apply suggestions, fix warning
5 years ago
crobibero
b8508a57d8
oop
5 years ago
crobibero
be50fae38a
Address comments
5 years ago
crobibero
3c34d95608
Address comments
5 years ago
Mark Monteiro
cd98938190
Merge remote-tracking branch 'upstream/master' into integration-tests
5 years ago
Admin
d1684b1053
http in development mode crashed -
5 years ago
crobibero
c6eebca335
Apply suggestions and add URL to log message
5 years ago
Bond-009
d744d7d234
Merge branch 'master' into register-services-correctly
5 years ago
crobibero
041d674eb6
Fix swagger ui Document Title
5 years ago
Bond-009
c0b3c11b2e
Merge pull request #2846 from jellyfin/azure
...
Remove requirement to build web during server builds
5 years ago
crobibero
2542a27bd5
Fix documentation endpoint for use with baseUrl
5 years ago
Mark Monteiro
c5f163293f
Add <ProjectGuid> properties to all project files
...
This is required for SonarCloud analysis to run
5 years ago
crobibero
3ef8448a51
Return to previous exception handle implementation
5 years ago
crobibero
fe632146dc
Move Json Options to static class for easier access.
5 years ago
crobibero
1175ce3f97
Add Exception Middleware
5 years ago
Mark Monteiro
f815059698
Merge remote-tracking branch 'upstream/master' into register-services-correctly
5 years ago
Mark Monteiro
51b610b999
Expose some methods in Program.cs so they can be used to initialize the application for integration tests
5 years ago
crobibero
fff2a40ffc
Remove StringEnumConverter
5 years ago
crobibero
c89dc8921f
Fix PascalCase
5 years ago
crobibero
ad67081840
add camelCase formatter
5 years ago
crobibero
72745f4722
fix formatting
5 years ago
crobibero
5da88fac4d
Enable string enum converter
5 years ago
crobibero
e72a543570
Add Redoc, move docs to api-docs/
5 years ago
crobibero
8a7e4cd639
add redoc
5 years ago
Mark Monteiro
ecf49caf0d
Add back warning message when Skia encoder cannot be used
5 years ago
Mark Monteiro
1666f3ca14
Use dependency injection to construct migration routines
5 years ago
ZadenRB
bb288e16cc
Document JSON options change
5 years ago
ZadenRB
72862d7b46
Lowercase actual parameters in code and remove whitespace to comply with StyleCopAnalyzers
5 years ago
ZadenRB
5a658cf260
Fix casing of JSON in Jellyfin API. Currently only affects startup wizard.
5 years ago
Mark Monteiro
1e1295bebf
Merge remote-tracking branch 'upstream/master' into register-services-correctly
5 years ago
Vasily
53db9567d3
Merge pull request #2769 from mark-monteiro/configurable-repo-url
...
Make Plugin Repo URL Configurable
5 years ago
Vasily
626d4dab10
Make sure Jellyfin listens on localhost no matter what
...
This is needed by LiveTV
5 years ago
dkanada
cb634d27d8
Merge branch 'master' into use-development-exception-page
5 years ago
Mark Monteiro
5bc6c08a0a
Merge remote-tracking branch 'upstream/master' into simplify-https-config
5 years ago
Mark Monteiro
15dd46c25a
Add '--plugin-manifest-url' command line option and 'InstallationManager:PluginManifestUrl' config option
5 years ago
Mark Monteiro
f91f2ef328
Merge remote-tracking branch 'upstream/master' into register-services-correctly
5 years ago
Mark Monteiro
f2760cb055
Register IImageEncoder in Jellyfin.Server instead of Emby.Server.Implementations
5 years ago
Bond-009
29539174a3
Merge pull request #2636 from mark-monteiro/development-https
...
Use ASP.NET Core HTTPS Development Certificate
5 years ago
Mark Monteiro
735d6c8ad5
Convert properties in ApplicationHost to private readonly fields, where possible
5 years ago
Mark Monteiro
aee6a1b476
Remove unnecessary async and parameter from ApplicationHost initialization method
5 years ago
Mark Monteiro
5d648bf54f
Register and construct ILocalizationManager correctly
5 years ago
Mark Monteiro
07cebbeae2
Register and construct IImageProcessor, SqliteItemRepository and IImageEncoder correctly
5 years ago
Mark Monteiro
0ce82ab332
Remove unnecessary fields in ApplicationHost
5 years ago
Mark Monteiro
ca71ac72ab
Replace EnableHttps and SupportsHttps with ListenWithHttps and CanConnectWithHttps
5 years ago
Mark Monteiro
eadad73117
Merge branch 'master' into use-development-exception-page
5 years ago
Vasily
89448ac055
Merge pull request #2634 from mark-monteiro/enable-http2
...
Enable HTTP/2 support
5 years ago
Mark Monteiro
0e57348cf4
Merge remote-tracking branch 'upstream/master' into development-https
5 years ago
Mark Monteiro
123bfbcf19
Merge remote-tracking branch 'upstream/master' into use-development-exception-page
5 years ago
Bond-009
f31efce52d
Merge branch 'master' into usings
5 years ago
Vasily
07ea120ba9
Merge pull request #2601 from mark-monteiro/support-running-without-web-content
...
Support Running Server Without Web Content
5 years ago
Bond-009
ddd5d3aaec
Merge branch 'master' into usings
5 years ago
Mark Monteiro
aa9737afb3
Update .NET Core to 3.1.3
5 years ago
Mark Monteiro
ca85bef7c5
Move check for web client directory to application startup in Program.cs
5 years ago
Bond-009
eb09d47ed2
Update Jellyfin.Server/Program.cs
...
Co-Authored-By: Mark Monteiro <marknr.monteiro@protonmail.com>
5 years ago
Bond_009
e9d1eabd53
Remove unused usings
5 years ago
Mark Monteiro
debab44870
Update all packages to .NET Core 3.1.2
5 years ago
Mark Monteiro
54cbf9c4dc
Bind HTTPS ports when running with development environment flag
5 years ago
Mark Monteiro
edc974e4c0
Set 'ASPNETCORE_ENVIRONMENT=Development' when running from visual studio
5 years ago
Mark Monteiro
41de0bd245
Run in development mode by default from Visual Studio
5 years ago
Mark Monteiro
1fb939b9b2
Enable HTTP/2 support
5 years ago
Mark Monteiro
aa546dd36a
Rename command line option to --nowebclient and config setting to HostWebClient
5 years ago
Mark Monteiro
7dd2f3a8f2
Do not add command line flag to the config hierarchy unless it is explicitly set
5 years ago
Mark Monteiro
923313bb1c
Add debugging profile for running the server without web content
5 years ago
Mark Monteiro
5d48259046
Use the same key constant for command line config and all other config
5 years ago
Mark Monteiro
05ab61200a
Do not call UseContentRoot() on the web host builder
...
This call has nothing to do with static web content and should not have ever been called with the web content path: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/?view=aspnetcore-3.1&tabs=windows#content-root
Since this call is removed, the ContentRoot property is also removed from ApplicationHost as it is no longer needed.
Finally, move validation of the static content path to the DashboardService where it is actually used.
5 years ago
Mark Monteiro
2a01537371
Merge command line options into framework configuration
5 years ago
Mark Monteiro
0996ce2898
Add --nowebcontent command line flag
...
Added without any functionality
5 years ago
Mark Monteiro
6fbdf0d6a2
Construct ApplicationHost with DI framework instead of manually
5 years ago
Mark Monteiro
6a6293afc7
Make startup config nullable when configuring app configuration
5 years ago
Mark Monteiro
420e3619fb
Use startup configuration to set the default redirect path
5 years ago
Mark Monteiro
4102e3afd0
Rename IsNoWebContent to NoWebContent
5 years ago
Mark Monteiro
99bf6edba2
Merge remote-tracking branch 'upstream/master' into support-running-without-web-content
5 years ago
Mark Monteiro
29bad073eb
Use config setting to decide if web content should be hosted
...
Also fail server startup if web content is expected but missing
5 years ago
Mark Monteiro
6131599e88
Merge branch 'master' into support-injecting-iconfiguration
5 years ago
Mark Monteiro
9e89cbbc3a
Store migration names alongside Ids in configuration in order to assist with development/debugging
5 years ago
Mark Monteiro
72bf920291
Use a Guid to uniquely identify migrations instead of a string name
...
Also use a list instead of an array to store executed migrations in the configuration class
5 years ago
Mark Monteiro
8dbb1c9257
Use logging.json instead of logging.user.json for override settings
5 years ago
Mark Monteiro
2f0b4cc24c
Clean up migration logging messages
5 years ago
Mark Monteiro
a0fdceb4bc
Throw exception on migration failure to halt application
...
Also save migration configuration after each migration instead of at the end in case an exception is thrown part way through the list
5 years ago
Joshua M. Boniface
ae9948ce04
Merge branch 'master' into logging-migration
5 years ago
Mark Monteiro
1295f6c79b
Documentation and log message cleanup
5 years ago
Mark Monteiro
7ecb16a46e
do not ignore exceptions during migration execution
5 years ago
Mark Monteiro
4c2b543b30
Rename IUpdater to IMigrationRoutine
5 years ago
Mark Monteiro
6660006f01
Load user logging config file into application configuration
5 years ago
Mark Monteiro
1a9908d094
Add migration to create "logging.user.json"
5 years ago
Mark Monteiro
f2fdf50b3b
Create separate constants for the two logging file names
5 years ago
Vasily
5a0f1fe848
Implement review suggestion
5 years ago
Vasily
098d3538e3
Disable logging.json migration as it is not ready yet
5 years ago
Vasily
d4564d8e29
More logging, mark all migrations as applied if setup wizard is not complete
5 years ago
Vasily
216e425cc5
Fix comment
5 years ago
Vasily
55b429e5e8
Moved migration routines to their own directory
5 years ago
Vasily
ccafebca68
Extract "migrations" config name to a proper constant
5 years ago
Vasily
ecaa7f8014
Improve migration logic
5 years ago
Vasily
66e11879ef
Shuffle migrations in a more manageable structure
5 years ago
Vasily
9eef0e8ca0
Implement EnableThrottling migration for pre-10.5.0 to 10.5.0 or newer
5 years ago
Vasily
acd67c7152
Add tracking of JF version used to run this config previously
5 years ago
Mark Monteiro
76957213e6
Merge remote-tracking branch 'upstream/master' into support-injecting-iconfiguration
5 years ago
Mark Monteiro
9a6c279473
Increase min log level to 'Warning' framework namespaces
5 years ago
Mark Monteiro
c376f4ca51
Register Serilog logging services correctly
5 years ago