This commit is contained in:
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
@@ -121,7 +121,7 @@
|
||||
"AYANOVA_USE_URLS": "http://*:7575;",
|
||||
//"AYANOVA_PERMANENTLY_ERASE_DATABASE":"true",
|
||||
//"AYANOVA_REMOVE_LICENSE_FROM_DB":"true",
|
||||
//"AYANOVA_SERVER_TEST_MODE": "true",
|
||||
"AYANOVA_SERVER_TEST_MODE": "true",
|
||||
"AYANOVA_SERVER_TEST_MODE_TZ_OFFSET": "-8",
|
||||
"AYANOVA_SERVER_TEST_MODE_SEEDLEVEL": "small",
|
||||
"AYANOVA_BACKUP_PG_DUMP_PATH": "C:\\data\\code\\postgres_14\\bin"
|
||||
|
||||
@@ -295,3 +295,6 @@ vbeta 8.0-b0.7 2021-12-28
|
||||
Testing windev beta 0.8 after fixing double render due to style issue
|
||||
1000 debug run 4m 41s 1556 pages
|
||||
1000 release run 3m 26s 1556 pages
|
||||
|
||||
|
||||
################################################################
|
||||
@@ -1,26 +1,9 @@
|
||||
# now
|
||||
|
||||
todo: profiler not working on hosted ayanova at d.o.
|
||||
check the error log for nginx, could be filtering out the request
|
||||
|
||||
CLIENT CHANGES TO DO NOW
|
||||
|
||||
OPS - subscriptions don't need almost all of ops nor should they have it, is any info leaking that shouldn't go through it remove with a machete (tied to build type)
|
||||
DOCS - ops section of docs not relevant to subscribers, add "PERPETUAL BUILD ONLY" maybe at top or something?
|
||||
METRIC WE DO NEED
|
||||
just a simple value showing storage space available for subscribers maybe usage over time?
|
||||
but surface outside of OPS tree in menu, in admin? backup?
|
||||
|
||||
todo: should alert users if low on disk space in dedicated subscription volume
|
||||
in central location maybe server information or license page or whatever
|
||||
|
||||
todo: document subscription server maximum attachment is 25mb unless they ask us to change it, actually for a subscriptin we might want to decrease that
|
||||
maybe more like 5mb or something?? Need to look into it
|
||||
But overall that would be a good thing to be able to show in the User interface if possible...hmmm..how to do that is tricky
|
||||
can it read the nginx config file? Not likely. Maybe the config file can return a value
|
||||
|
||||
|
||||
|
||||
License agreement page for subscription vs perpetual
|
||||
|
||||
todo: v8-migrate MUST open up server again and not leave locked , morrow had thought migration was done then couldn't login said it was erasing database
|
||||
|
||||
@@ -1379,3 +1362,5 @@ Fixed issue with some metrics timeline charts
|
||||
Changed 12 hour metrics to 24 hour metrics
|
||||
removed profiler from client and docs, kept at server just in case
|
||||
changed metrics default timeframe from last 6 hours to last 7 days as it makes the daily stats graphs look broken if people don't understand how they work
|
||||
Added ay-history doc blurb about ghostery blocking event log history
|
||||
docs clarified superuser is not a normal account and specific information about the superuser
|
||||
@@ -24,7 +24,7 @@ All roles have access to their own `Home` navigation menu options in AyaNova.
|
||||
|
||||
### AyaNova SuperUser account
|
||||
|
||||
The AyaNova super user account has all roles (except Customer roles) by default and it's roles can not be modified.
|
||||
The AyaNova super user account roles can not be modified.
|
||||
|
||||
### Accounting
|
||||
|
||||
|
||||
@@ -10,6 +10,10 @@ The second step is to request a [trial license](#requesting-a-trial-license).
|
||||
|
||||
## Default SuperUser login
|
||||
|
||||
The built-in SuperUser User account in AyaNova is not a normal type of User and does not consume a license; it is used for specific special operations in AyaNova that could lead to loss of data or affect the operations of the server over all.
|
||||
|
||||
The SuperUser account does not have access to business data such as Customers for example and can not be used for normal day to day operations in AyaNova.
|
||||
|
||||
The default login for the AyaNova SuperUser account is user name: `superuser` password: `l3tm3in`.
|
||||
|
||||
Before AyaNova is licensed and used in production you **MUST** change this or anyone could login with this default.
|
||||
|
||||
@@ -64,3 +64,11 @@ The `Open` button will be shown if you have rights to open that object and click
|
||||
#### More button
|
||||
|
||||
By default 200 event log history items are displayed at a time. Clicking on the "More" button will retrieve the next 200.
|
||||
|
||||
## Server not responding or similar error
|
||||
|
||||
Some browser security extensions such as `Ghostery` may be triggered with a false positive when viewing history and attempting to fetch the event log data.
|
||||
|
||||
This issue will present in the AyaNova user interface as a "Server not responding" or similar error as the request to get the history data from the server is blocked by the browser extension.
|
||||
|
||||
There are no "trackers" built into AyaNova anywhere and if you run into this issue you should add AyaNova web application as a trusted site in the browser extension to fix this issue.
|
||||
|
||||
@@ -38,6 +38,10 @@ Before AyaNova is licensed and used in production you **MUST** change this or an
|
||||
|
||||
AyaNova will prompt you to change it if it discovers a login using the default superuser password with a non evaluation license.
|
||||
|
||||
The built-in SuperUser User account in AyaNova is not a normal type of User and does not consume a license; it is used for specific special operations in AyaNova that could lead to loss of data or affect the operations of the server over all.
|
||||
|
||||
The SuperUser account does not have access to business data such as Customers for example and can not be used for normal day to day operations in AyaNova.
|
||||
|
||||
## Login token
|
||||
|
||||
When you log in, the AyaNova server issues a time limited authentication token used to grant access.
|
||||
|
||||
@@ -48,7 +48,7 @@ In the current climate of hacking and malware we recommend you do _not_ enter yo
|
||||
|
||||
AyaNova has [built in support](home-tfa.md) for the current most secure form of Two factor authentication and we encourage you to use it for all users.
|
||||
|
||||
In particular any User account that has the Business administration role (such as the built in superuser account) should be backed up with with two factor authentication codes as these roles are extremely powerful and can be used to easily circumvent security by assigning roles to other Users or creating entirely new Users.
|
||||
In particular any User account that has the Business administration role (such as the built in SuperUser account) should be backed up with with two factor authentication codes as these roles are extremely powerful and can be used to easily circumvent security by assigning roles to other Users or creating entirely new Users.
|
||||
|
||||
### Password manager
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ The Server state [form](ay-start-form-overview.md) is used to control the availa
|
||||
|
||||
## Authorization Roles required
|
||||
|
||||
Many roles can *select* this object on other records where approriate. Editing or viewing this object in detail is only available to Users with the following [roles](ay-biz-admin-roles.md):
|
||||
Many roles can _select_ this object on other records where approriate. Editing or viewing this object in detail is only available to Users with the following [roles](ay-biz-admin-roles.md):
|
||||
|
||||
Full access
|
||||
|
||||
@@ -69,6 +69,8 @@ Select the desired state optionally enter a "Reason" message and click the Save
|
||||
|
||||
## Shutting down the AyaNova server
|
||||
|
||||
(Note: this option is not available if AyaNova is hosted as a subscription service)
|
||||
|
||||
This form has a menu option `Shut down server` to gracefully stop and shut down the AyaNova server software. This is the preferred way to stop an AyaNova server as pending jobs and notifications will be processed before closing down in a controlled manner.
|
||||
|
||||
The alternative is to press ctrl-c at the server console however that type of shutdown is immediate and uncontrolled and not recommended in production use.
|
||||
|
||||
@@ -7,7 +7,7 @@ theme:
|
||||
site_name: AyaNova manual
|
||||
site_dir: '../../../server/AyaNova/wwwroot/docs'
|
||||
strict: true
|
||||
copyright: Copyright © 2022 Ground Zero Tech-Works Inc. REV-2022-09-21
|
||||
copyright: Copyright © 2022 Ground Zero Tech-Works Inc. REV-2022-09-22
|
||||
extra:
|
||||
generator: false
|
||||
# Extensions
|
||||
|
||||
@@ -109,6 +109,14 @@ namespace AyaNova.Api.Controllers
|
||||
return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));
|
||||
}
|
||||
|
||||
bool IsSubscriptionBuild = false;
|
||||
|
||||
#if (SUBSCRIPTION_BUILD)
|
||||
IsSubscriptionBuild=true;
|
||||
#else
|
||||
IsSubscriptionBuild = false;//yes redundant, but defensive all the same
|
||||
#endif
|
||||
|
||||
var ret = new
|
||||
{
|
||||
//Actual global settings:
|
||||
@@ -129,7 +137,8 @@ namespace AyaNova.Api.Controllers
|
||||
LicenseStatus = AyaNova.Core.License.ActiveKey.Status,
|
||||
MaintenanceExpired = AyaNova.Core.License.ActiveKey.MaintenanceExpired,
|
||||
ServerDbId = AyaNova.Core.License.ServerDbId,
|
||||
Company = AyaNova.Core.License.ActiveKey.RegisteredTo
|
||||
Company = AyaNova.Core.License.ActiveKey.RegisteredTo,
|
||||
SBuild = IsSubscriptionBuild
|
||||
|
||||
// ,
|
||||
// TestTSDaysWMS=new TimeSpan(22,10,15,22,33),
|
||||
|
||||
@@ -53,12 +53,18 @@ namespace AyaNova.Api.Controllers
|
||||
bool suIsDefault = await UserBiz.SuperIsDefaultCredsAsync(ct);
|
||||
//confirm if there are logo's to show as well
|
||||
var logo = await ct.Logo.AsNoTracking().SingleOrDefaultAsync();
|
||||
if (logo == null)
|
||||
|
||||
bool HasLargeLogo = false;
|
||||
bool HasMediumLogo = false;
|
||||
bool HasSmallLogo = false;
|
||||
if (logo != null)
|
||||
{
|
||||
return Ok(ApiOkResponse.Response(new { eval = showSampleLogins, sudf = suIsDefault, ll = false, ml = false, sl = false, lcr = AyaNova.Core.License.LicenseConsentRequired }));
|
||||
if (logo.Small != null) HasSmallLogo = true;
|
||||
if (logo.Medium != null) HasMediumLogo = true;
|
||||
if (logo.Large != null) HasLargeLogo = true;
|
||||
}
|
||||
return Ok(ApiOkResponse.Response(
|
||||
new { eval = showSampleLogins, sudf = suIsDefault, ll = logo.Large != null ? true : false, ml = logo.Medium != null ? true : false, sl = logo.Small != null ? true : false, lcr = AyaNova.Core.License.LicenseConsentRequired }));
|
||||
new { eval = showSampleLogins, sudf = suIsDefault, ll = HasLargeLogo, ml = HasMediumLogo, sl = HasSmallLogo, lcr = AyaNova.Core.License.LicenseConsentRequired }));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user