name changes

This commit is contained in:
Jamie.Rees 2016-12-20 10:22:18 +00:00
commit 6300c98bb7
27 changed files with 95 additions and 58 deletions

View file

@ -92,7 +92,7 @@ namespace Ombi.UI.Modules
Describe["GetApiKey"] = description => description.AsSwagger(with =>
{
with.ResourcePath("/apikey");
with.Summary("Gets the Api Key for Plex Requests");
with.Summary("Gets the Api Key for Ombi");
with.Model<ApiModel<string>>();
with.QueryParam<string>("username", required:true );
with.QueryParam<string>("password", required: true );

View file

@ -39,7 +39,7 @@ namespace Ombi.UI.Modules
Describe["GetApiKey"] = description => description.AsSwagger(with =>
{
with.ResourcePath("/apikey");
with.Summary("Gets the Api Key for Plex Requests");
with.Summary("Gets the Api Key for Ombi");
with.Model<ApiModel<string>>();
with.QueryParam<string>("username", required:true );
with.QueryParam<string>("password", required: true );

View file

@ -67,9 +67,9 @@ namespace Ombi.UI.Modules
{
return Response.AsJson(new JsonUpdateAvailableModel { UpdateAvailable = false });
}
//#if DEBUG
//return Response.AsJson(new JsonUpdateAvailableModel {UpdateAvailable = false});
//#endif
#if DEBUG
return Response.AsJson(new JsonUpdateAvailableModel { UpdateAvailable = false });
#endif
var checker = new StatusChecker(SystemSettings);
var release = await Cache.GetOrSetAsync(CacheKeys.LastestProductVersion, async() => await checker.GetStatus(), 30);

View file

@ -94,9 +94,9 @@ namespace Ombi.UI
{
using (WebApp.Start<Startup>(options))
{
Console.WriteLine($"Plex Requests is running on the following: http://+:{port}/{baseUrl}");
Console.WriteLine($"Ombi is running on the following: http://+:{port}/{baseUrl}");
PrintToConsole("All setup, Plex Requests is now ready!", ConsoleColor.Yellow);
PrintToConsole("All setup, Ombi is now ready!", ConsoleColor.Yellow);
if (Type.GetType("Mono.Runtime") != null)
{
Log.Info("We are on Mono!");

View file

@ -37,7 +37,7 @@ namespace Ombi.UI.Start
/// <value>
/// The base URL.
/// </value>
[Option('b',"base", Required = false, HelpText = "Provide a base url for Plex Requests")]
[Option('b',"base", Required = false, HelpText = "Provide a base url for Ombi")]
public string BaseUrl { get; set; }
/// <summary>
@ -46,7 +46,7 @@ namespace Ombi.UI.Start
/// <value>
/// The port.
/// </value>
[Option('p', "port", Required = false, HelpText = "Provide a port for Plex Requests to run on. You can also change this in the settings page in the UI", Default = 3579)]
[Option('p', "port", Required = false, HelpText = "Provide a port for Ombi to run on. You can also change this in the settings page in the UI", Default = 3579)]
public int Port { get; set; }

View file

@ -40,7 +40,7 @@
<div class="form-group">
<label for="Username" class="control-label">Username Override</label>
<small class="control-label">You can override the default username (Plex Requests) here</small>
<small class="control-label">You can override the default username (Ombi) here</small>
<div class="">
<input type="text" class="form-control form-control-custom " id="Username" name="Username" value="@Model.Username">
</div>

View file

@ -2,7 +2,7 @@
@using Nancy.Security
@using Ombi.Helpers.Permissions
@using Ombi.UI.Helpers
@using PlexRequests.UI.Resources
@using Ombi.UI.Resources
@{
var baseUrl = Html.GetBaseUrl();
var formAction = string.Empty;

View file

@ -1,5 +1,5 @@
@using Ombi.UI.Helpers
@using PlexRequests.UI.Resources
@using Ombi.UI.Resources
@{
var baseUrl = Html.GetBaseUrl();
var url = string.Empty;

View file

@ -13,7 +13,7 @@
<html>
<div hidden="hidden" id="baseUrl">@baseUrl.ToHtmlString()</div>
<head>
<title>Plex Requests</title>
<title>Ombi</title>
<!-- Styles -->
<meta name="viewport" content="width=device-width, initial-scale=1">
@Html.LoadAnalytics()

View file

@ -2,7 +2,7 @@
@using Nancy.Session
@using Ombi.UI.Helpers
@using Ombi.UI.Resources
@using PlexRequests.UI.Resources
@using Ombi.UI.Resources
@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<dynamic>
@{

View file

@ -1,7 +1,7 @@
@using Nancy.Security
@using Nancy.Session
@using Ombi.UI.Helpers
@using PlexRequests.UI.Resources
@using Ombi.UI.Resources
@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<dynamic>
<script>
var urlBase = '@Html.GetBaseUrl()';

View file

@ -3,7 +3,7 @@
@using Nancy;
@using Ombi.Helpers
@using Ombi.UI.Helpers
@using PlexRequests.UI.Resources
@using Ombi.UI.Resources
@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase
@{

View file

@ -1,4 +1,4 @@
@using PlexRequests.UI.Resources
@using Ombi.UI.Resources
@{
var nullableError = Context.ViewBag.TempMessage ?? string.Empty;
var error = false;

View file

@ -20,13 +20,14 @@
@Html.Checkbox(Model.ReportIssues, "ReportIssues", "Report Issues")
@Html.Checkbox(Model.UsersCanViewOnlyOwnIssues, "UsersCanViewOnlyOwnIssues", "Users can only view their own issues")
@Html.Checkbox(Model.UsersCanViewOnlyOwnRequests, "UsersCanViewOnlyOwnRequests", "Users can only view their own requests")
@Html.Checkbox(Model.BypassRequestLimit, "BypassRequestLimit", "Bypass the request limit")
<h3>Features</h3>
@Html.Checkbox(Model.RecentlyAddedNewsletter, "RecentlyAddedNewsletter", "Recently Added Newsletter")
@Html.Checkbox(Model.RecentlyAddedNotification, "RecentlyAddedNotification", "Recently Added Notifications")
<div>
</div>
<div class="form-group">

View file

@ -16,9 +16,9 @@
<div class="media">
<div id="contentBody" class="media-body">
<h4 class="media-heading landing-title" id="statusTitle">Welcome to Plex Requests</h4>
<h4 class="media-heading landing-title" id="statusTitle">Welcome to Ombi</h4>
<div class="form-group">
<small>we are just going to run though the initial Plex Requests setup!</small>
<small>we are just going to run though the initial Ombi setup!</small>
<div style="text-align: center; margin-top: 20px">
<a href="#" id="firstNext" class="btn btn-primary-outline">Next</a>
@ -44,7 +44,7 @@
<input type="password" class="form-control form-control-custom" id="password" name="Password" placeholder="Password">
</div>
</div>
<small>Please note we do not store this information, we only store your Plex Authorization Token that will allow Plex Requests to view your media and friends</small>
<small>Please note we do not store this information, we only store your Plex Authorization Token that will allow Ombi to view your media and friends</small>
<div class="form-group">
<div style="text-align: center; margin-top: 20px">
<button href="#" id="requestToken" class="btn btn-primary-outline">Request Token <i class="fa fa-key"></i></button>
@ -115,7 +115,7 @@
<script id="authArea" type="text/html">
<form method="post" action="@formAction/wizard/auth" id="authForm">
<div class="form-group">
<div class="checkbox userAuthTooltip" title="This will only allow the users that are your friends on Plex to log into Plex Requests. Note: They only need to enter their username, unless the below option is selected.">
<div class="checkbox userAuthTooltip" title="This will only allow the users that are your friends on Plex to log into Ombi. Note: They only need to enter their username, unless the below option is selected.">
<input type="checkbox" id="userAuth" name="UserAuthentication">
<label for="userAuth">Enable User Authentication</label>
</div>