Skip to content
Permalink
Browse files

Added hint message inciting to check accounts settings on fresh install

When unrestricted access from localhost is set and the accounts config
page has not been visited at all.
  • Loading branch information...
luccioman committed Apr 2, 2018
1 parent 2fd4d05 commit 211f3d04abad2bd39f266e8ea73cfb6aa7d9bcb6
Showing with 18 additions and 0 deletions.
  1. +6 −0 htroot/Status.html
  2. +4 −0 htroot/Status.java
  3. +2 −0 locales/fr.lng
  4. +6 −0 locales/master.lng.xlf
@@ -82,6 +82,12 @@

<!-- warnings -->

#(warningUnrestrictedLocalAccess)#::
<dt class="hintIcon"><img src="env/grafics/bad.png" width="32" height="32" alt="bad"/></dt>
<dd class="hint">Access is unrestricted from localhost (this includes administration features).
Please check the <a href="ConfigAccounts_p.html">accounts configuration</a> page to ensure that the settings match the security level you need.</dd>
#(/warningUnrestrictedLocalAccess)#

#(warningGoOnline)#::
<dt class="hintIcon"><img src="env/grafics/bad.png" width="32" height="32" alt="bad"/></dt>
<dd class="hint">The peer must go online to get a peer address.
@@ -140,6 +140,10 @@ public static serverObjects respond(

if ( sb.getConfigBool(SwitchboardConstants.ADMIN_ACCOUNT_FOR_LOCALHOST, false) ) {
prop.put("unrestrictedLocalAccess", 1);
if(sb.getConfig(SwitchboardConstants.SERVER_SERVLETS_CALLED, "").indexOf("ConfigAccounts_p.html", 0) < 0) {
/* Encourage checking accounts config page to be sure that unrestricted local access is desired */
prop.put("warningUnrestrictedLocalAccess", true);
}
}

// resource observer status
@@ -2135,6 +2135,8 @@ Please open the <a href="ConfigAccounts_p.html">accounts configuration</a> page
and set an administration password.==et d&eacute;finir un mot de passe administrateur.
You have not published your peer seed yet. This happens automatically, just wait.==Votre noeud n'est pas encore connu du r&eacute;seau. Attendez quelques instants, cela se d&eacute;roule automatiquement.
Your network configuration is in private mode. Your peer seed will not be published.== La configuration de votre r&eacute;seau est en mode priv&eacute;. Votre noeud restera inconnu du r&eacute;seau.
Access is unrestricted from localhost (this includes administration features).==Aucune restriction d'accès (cela inclut les fonctions d'administration) n'est définie pour les connexions depuis un navigateur local (localhost).
Please check the <a href="ConfigAccounts_p.html">accounts configuration</a> page to ensure that the settings match the security level you need.==Veuillez vérifier la page de configuration des <a href="ConfigAccounts_p.html">comptes</a> pour vous assurer que les réglages satisfont le niveau de sécurité souhaité.
The peer must go online to get a peer address.==Le noeud doit aller en ligne afin de recevoir une adresse.
You cannot be reached from outside.==Votre noeud ne peut pas &ecirc;tre atteint depuis l'ext&eacute;rieur.
A possible reason is that you are behind a firewall, NAT or Router.==Il est possible que vous soyez derri&egrave;re un pare-feu, un NAT ou un routeur.
@@ -8221,6 +8221,12 @@
<trans-unit id="e24b0b3d" xml:space="preserve" approved="no" translate="yes">
<source>and set an administration password.</source>
</trans-unit>
<trans-unit id="f6c053fa" xml:space="preserve" approved="no" translate="yes">
<source>Access is unrestricted from localhost (this includes administration features).</source>
</trans-unit>
<trans-unit id="ad48a7e2" xml:space="preserve" approved="no" translate="yes">
<source>Please check the &lt;a href="ConfigAccounts_p.html"&gt;accounts configuration&lt;/a&gt; page to ensure that the settings match the security level you need.</source>
</trans-unit>
<trans-unit id="7623b0bd" xml:space="preserve" approved="no" translate="yes">
<source>You have not published your peer seed yet. This happens automatically, just wait.</source>
</trans-unit>

0 comments on commit 211f3d0

Please sign in to comment.
You can’t perform that action at this time.