Updates reported version in System/Info* set of endpoints.

Added ProductName and ServerVersion to API.

Added build version and build step. Addressed issues wtih indentation.

Made the BuildVersion an actual object. This lets up link to the github page of that commit.

Fixed class method type and styled link.

Fixed languages and split out the information in the UI.

Moved update-version script and gave it executable permissions. Windows correctly finds the .bat file. And linux takes the one without extension.

Removed tempfiles from replace sessions from csproj.

Updated version generation scripts. Will also work with pre existing version files. (Source tarballs etc.)

Added simple replace for ssh github links.

Add execute rights to update-version.

Wrapped long line in ApplicationHost.cs

Fixed some small issues.

Fixed some small issues, and flipped some if's around.

Converted parameter names to camelBack casing.

Sealed the attribute class.

Removed MPLv2 license.

Fixed file headers.

Added newline.

Moved links in *.csproj files as well.

Fix issues caused by rebase auto merging.

Removed default constructor and added init values to properties, also hid the Remote value form API.
This commit is contained in:
Erwin de Haan
2019-01-08 01:57:01 +01:00
parent 55538764fa
commit bb8df8dfa0
35 changed files with 421 additions and 24 deletions

View File

@@ -1,3 +1,5 @@
using Jellyfin.Versioning;
namespace MediaBrowser.Model.System
{
public class PublicSystemInfo
@@ -21,11 +23,23 @@ namespace MediaBrowser.Model.System
public string ServerName { get; set; }
/// <summary>
/// Gets or sets the version.
/// Gets or sets the API version.
/// </summary>
/// <value>The version.</value>
public string Version { get; set; }
/// <summary>
/// Gets or sets the server version.
/// </summary>
/// <value>The server version.</value>
public string ServerVersion { get; set; }
/// <summary>
/// Gets or sets the build version.
/// </summary>
/// <value>The build version.</value>
public ExtendedVersion ExtendedVersion { get; set; }
/// <summary>
/// Gets or sets the operating sytem.
/// </summary>

View File

@@ -16,6 +16,15 @@ namespace MediaBrowser.Model.System
/// <value>The display name of the operating system.</value>
public string OperatingSystemDisplayName { get; set; }
/// <summary>
/// The product name. This is the AssemblyProduct name.
/// </summary>
public string ProductName { get; set; }
/// <summary>
/// Get or sets the package name.
/// </summary>
/// <value>The value of the '-package' command line argument.</value>
public string PackageName { get; set; }
/// <summary>