This commit is contained in:
@@ -1,16 +1,16 @@
|
|||||||
PRIORITY - ALWAYS Lowest level stuff first
|
PRIORITY - ALWAYS Lowest level stuff first
|
||||||
=-=-=-=-
|
=-=-=-=-
|
||||||
|
|
||||||
todo: API root controller
|
|
||||||
build mode and server info should be authorized shoudln't they? Unauthorized people have no need to see that stuff
|
|
||||||
todo: api / server landing page is shitty on a mobile
|
todo: api / server landing page is shitty on a mobile
|
||||||
and really just shitty, add a logo or some shit
|
and really just shitty, add a logo or some shit
|
||||||
todo: Should server show uptime somewhere?
|
todo: Should server show uptime somewhere?
|
||||||
todo: jobs should have a kill by time so they can't just sit running forever
|
also it's leaking tons of private information, get rid of all that stuff that isn't absolutely required
|
||||||
also is there a way to kill a stuck job via ui possible?
|
|
||||||
|
|
||||||
todo: Log configuration into server log at startup? https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3523
|
todo: Log configuration into server log at startup? https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3523
|
||||||
log all config settings into server log on boot
|
log all config settings into server log on boot
|
||||||
|
license?
|
||||||
todo:aycontext clean up old block of weird definitions
|
todo:aycontext clean up old block of weird definitions
|
||||||
todo: apiokresponse returns readonly value every time, but I check it anyway at the client and biz object itself doesn't set it I don't think, so...should it be removed?
|
todo: apiokresponse returns readonly value every time, but I check it anyway at the client and biz object itself doesn't set it I don't think, so...should it be removed?
|
||||||
todo: Is there a log that records past jobs, how long can they be viewed?
|
todo: Is there a log that records past jobs, how long can they be viewed?
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ namespace AyaNova.Api.Controllers
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
public async Task<ContentResult> Index()
|
public ContentResult Index()
|
||||||
{
|
{
|
||||||
var errorBlock = string.Empty;
|
var errorBlock = string.Empty;
|
||||||
if (serverState.IsSystemLocked)
|
if (serverState.IsSystemLocked)
|
||||||
@@ -64,22 +64,25 @@ namespace AyaNova.Api.Controllers
|
|||||||
<a href=""/docs"" target=""_blank"">AyaNova manual</a><br/><br/>
|
<a href=""/docs"" target=""_blank"">AyaNova manual</a><br/><br/>
|
||||||
<a href=""/api-docs"" target=""_blank"">API explorer</a><br/><br/>
|
<a href=""/api-docs"" target=""_blank"">API explorer</a><br/><br/>
|
||||||
<a href=""mailto:support@ayanova.com"">Email AyaNova support</a><br/><br/>
|
<a href=""mailto:support@ayanova.com"">Email AyaNova support</a><br/><br/>
|
||||||
<h4>{await TranslationBiz.GetDefaultTranslationAsync("HelpLicense")}</h4>
|
|
||||||
<pre>{AyaNova.Core.License.LicenseInfo}</pre>
|
|
||||||
<h4>Schema version</h4>
|
|
||||||
<pre>{AySchema.currentSchema.ToString()}</pre>
|
|
||||||
<h4>Active techs</h4>
|
|
||||||
<pre>{await UserBiz.ActiveCountAsync()}</pre>
|
|
||||||
<h4>Server time</h4>
|
|
||||||
<pre>{DateUtil.ServerDateTimeString(System.DateTime.UtcNow)}</pre>
|
|
||||||
<pre>{TimeZoneInfo.Local.Id}</pre>
|
|
||||||
<h4>Server logs</h4>
|
|
||||||
<pre>{ServerBootConfig.AYANOVA_LOG_PATH}</pre>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>";
|
</html>";
|
||||||
|
/*
|
||||||
|
<h4>{await TranslationBiz.GetDefaultTranslationAsync("HelpLicense")}</h4>
|
||||||
|
<pre>{AyaNova.Core.License.LicenseInfo}</pre>
|
||||||
|
<h4>Schema version</h4>
|
||||||
|
<pre>{AySchema.currentSchema.ToString()}</pre>
|
||||||
|
<h4>Active techs</h4>
|
||||||
|
<pre>{await UserBiz.ActiveCountAsync()}</pre>
|
||||||
|
<h4>Server time</h4>
|
||||||
|
<pre>{DateUtil.ServerDateTimeString(System.DateTime.UtcNow)}</pre>
|
||||||
|
<pre>{TimeZoneInfo.Local.Id}</pre>
|
||||||
|
<h4>Server logs</h4>
|
||||||
|
<pre>{ServerBootConfig.AYANOVA_LOG_PATH}</pre>
|
||||||
|
*/
|
||||||
|
|
||||||
return new ContentResult
|
return new ContentResult
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user