mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
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.
This commit is contained in:
parent
2fd4d05e2f
commit
211f3d04ab
|
@ -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 class Status
|
|||
|
||||
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é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éseau. Attendez quelques instants, cela se déroule automatiquement.
|
||||
Your network configuration is in private mode. Your peer seed will not be published.== La configuration de votre réseau est en mode privé. Votre noeud restera inconnu du ré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 être atteint depuis l'extérieur.
|
||||
A possible reason is that you are behind a firewall, NAT or Router.==Il est possible que vous soyez derriè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 <a href="ConfigAccounts_p.html">accounts configuration</a> 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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user