From d0cfbb5c5d8af5d3d5cec0e608a3b43fcde664b4 Mon Sep 17 00:00:00 2001 From: vargenau Date: Tue, 16 Apr 2013 15:18:12 +0000 Subject: [PATCH] access-restrictions are not implemented git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@8756 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- TODO | 1 - lib/plugin/WikiAdminUtils.php | 9 --------- locale/de/pgsrc/PhpWikiSystemverwalten | 23 ++--------------------- locale/fr/pgsrc/AdministrationDePhpWiki | 18 +----------------- locale/it/pgsrc/AmministrazioneDiPhpWiki | 17 +---------------- pgsrc/Help%2FWikiAdminUtilsPlugin | 5 ++--- pgsrc/PhpWikiAdministration | 10 +--------- 7 files changed, 7 insertions(+), 76 deletions(-) diff --git a/TODO b/TODO index e23b3553b..352c8c946 100644 --- a/TODO +++ b/TODO @@ -88,7 +88,6 @@ Maybe (probably defer): * plugin\SearchHighlight * logfile stuff: * plugin\RecentReferrers -* WikiAccessRestrictions * SpamAssassinIntegration already done lately: diff --git a/lib/plugin/WikiAdminUtils.php b/lib/plugin/WikiAdminUtils.php index f429b99d7..1349f74ef 100644 --- a/lib/plugin/WikiAdminUtils.php +++ b/lib/plugin/WikiAdminUtils.php @@ -26,7 +26,6 @@ valid actions: purge-cache purge-bad-pagenames purge-empty-pages -access-restrictions email-verification convert-cached-html db-check @@ -116,7 +115,6 @@ class WikiPlugin_WikiAdminUtils $labels = array('purge-cache' => _("Purge Markup Cache"), 'purge-bad-pagenames' => _("Purge all Pages With Invalid Names"), 'purge-empty-pages' => _("Purge all empty, unreferenced Pages"), - 'access-restrictions' => _("Access Restrictions"), 'email-verification' => _("E-mail address confirmation"), 'convert-cached-html' => _("Convert cached_html"), 'db-check' => _("DB Check"), @@ -231,13 +229,6 @@ class WikiPlugin_WikiAdminUtils return $dbh->_backend->rebuild($args); } - //TODO: We need a separate plugin for this. - // Too many options. - private function _do_access_restrictions(&$request, &$args) - { - return _("Sorry. Access Restrictions not yet implemented"); - } - // pagelist with enable/disable button private function _do_email_verification(&$request, &$args) { diff --git a/locale/de/pgsrc/PhpWikiSystemverwalten b/locale/de/pgsrc/PhpWikiSystemverwalten index c48a218c2..3d6ff81d1 100644 --- a/locale/de/pgsrc/PhpWikiSystemverwalten +++ b/locale/de/pgsrc/PhpWikiSystemverwalten @@ -1,4 +1,4 @@ -Date: Mon, 4 Feb 2013 10:43:14 +0000 +Date: Tue, 16 Apr 2013 17:14:25 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0) Content-Type: application/x-phpwiki; pagename=PhpWikiSystemverwalten; @@ -12,7 +12,7 @@ Passwort schützen, sonst werden die meisten Links auf dieser Seite nicht funktionieren.// <> ----- + == Seiten Explorer == Entweder wähle zuerst die Seiten und führe dann die Aktion aus: @@ -43,16 +43,6 @@ Email Verification: label="E-Mail Verifizierung" >> -Zugangsbeschränkungen (disabled): - - To prevent from robots eating all possible ressources in a short time, blocking from certain IP's or not-well-behaving user agents can be defined below. See PhpWiki:HowToBlockRobots and MeatBall:SurgeProtector. _Note: Not yet enabled._ - - <> - ----------- == Aufräumen == Räume die Wiki SandKiste auf. Hiermit kann man die Seite mit der @@ -60,7 +50,6 @@ Version von locale/de/pgsrc/SandKiste erneut initialisieren: [ SandKiste löschen | phpwiki:?action=loadfile&overwrite=1&source=locale/de/pgsrc/SandKiste ]. ----------- == Speichern und Archivieren == ==== Backup der PhpWiki Datenbank als ZIP Dateien @@ -90,8 +79,6 @@ Nur die neuesten Versionen aller Seiten wird als Einzeldatei in dieses Verzeichnis geschrieben. Beachte, dass evtl. deine Benutzerrechte dazu ausreichen müssen. ------------ - == Wiederherstellen == Wenn du ein PhpWiki Backup besitzt, kannst du dieses hier wieder @@ -127,8 +114,6 @@ nachdem Sie die PhpWiki Version auf den letzten Stand gebracht haben: ;:[ Upgrade | phpwiki:HomePage?action=upgrade ] ------------ - == Daten-Format == Momentan werden alle Seiten dateiweise als MIME (RFC:2045) E-Mail's @@ -159,8 +144,6 @@ Dateitypen automatisch. Es werden noch alle unterstützt. (ZIP, Verzeichnis oder Einzeldateien als MIME E-Mail, Serialisiert oder einfache Textdatei.) ----- - == Seiten als XHTML Dateien speichern == <> @@ -171,8 +154,6 @@ auch ohne Webserver und Datenbank betrachtbar sind. Das XHTML-Verzeichnis kann auch heruntergeladen werden als eine **[XHTML ZIP Datei | phpwiki:?action=ziphtml]**. ----- - == PhpWiki Internals == These are here mostly for debugging purposes (at least, that's the diff --git a/locale/fr/pgsrc/AdministrationDePhpWiki b/locale/fr/pgsrc/AdministrationDePhpWiki index b83acc9cd..a6a463d25 100644 --- a/locale/fr/pgsrc/AdministrationDePhpWiki +++ b/locale/fr/pgsrc/AdministrationDePhpWiki @@ -1,4 +1,4 @@ -Date: Mon, 8 Apr 2013 15:13:02 +0000 +Date: Tue, 16 Apr 2013 17:14:34 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0) Content-Type: application/x-phpwiki; pagename=AdministrationDePhpWiki; @@ -14,7 +14,6 @@ PhpWiki_ <> ----- == Explorateur de pages D'abord choississez une ou plusieurs pages et ensuite définissez une action : @@ -36,14 +35,6 @@ Ce bouton affichera la liste de tous les utilisateurs qui ont une adresse reconn label="Vérification de l'email" >> -Pour prévenir des robots occupant toutes les ressources en un court temps, bloquant depuis certaines adresses IP ou ayant un mauvais comportement, les agents utilisateurs peuvent être définis ci-dessous. Voir PhpWiki:HowToBlockRobots et MeatBall:SurgeProtector. _Note : Pas encore activé._ - - <> - ----------- == Nettoyage Le [BacÀSable] Wiki est très simple à nettoyer. Vous pouvez ici le restaurer @@ -51,7 +42,6 @@ dans un état virginal en chargeant sa version par défaut depuis pgsrc: [ Râtisser le BacÀSable | phpwiki:?action=loadfile&source=pgsrc/SandBox ] ----------- == Sauvegarde des pages === Récupération des fichiers @@ -72,7 +62,6 @@ Ici vous pouvez enregistrer les pages de votre Wiki dans le répertoire de votre La version la plus récente de chaque page sera écrite dans le répertoire, à raison d'une page par fichier. Votre serveur doit avoir le droit d'écrire dans le répertoire ! ------------ == Restauration Si vous avez sauvegardé un ensemble de pages de PhpWiki, vous pouvez les recharger ici. Notez que les pages dans votre base de données seront écrasées ; ainsi, si vous avez récupéré votre [PageAccueil], lorsque vous le rechargerez depuis ce formulaire, il écrasera celui qui est actuellement dans votre base de données. Si vous désirez être sélectif, effacez juste du répertoire (ou du fichier zip) les pages que vous ne voulez pas charger. @@ -97,7 +86,6 @@ Fait quelques vérifications et mises à jours automatiquement après avoir inst ;:[ Mise à jour | phpwiki:HomePage?action=upgrade ] ------------ == Format des fichiers Actuellement, les pages sont stockées, une par fichier, sous forme de messages électronique (RFC:822) MIME (RFC:2045). Le content-type utilisé est ''application/x-phpwiki'', et les métadonnées de chaque page sont codées dans les paramètres du content-type. Si le fichier contient plusieurs versions d'une page, il aura comme type ''multipart/mixed'', et contiendra plusieurs sous-parties, chacune de type ''application/x-phpwiki''. Le corps du message contient le texte de la page. @@ -114,8 +102,6 @@ Avant cela, le texte des pages était simplement enregistré dans un fichier -- Les fonctions de téléchargement et de chargement reconnaîtront automatiquement chacun de ces trois types de fichiers, et les géreront convenablement. ----- - == Sauvegarde des pages au format xhtml <> @@ -124,8 +110,6 @@ Ceci génèrera un répertoire de pages statiques convenables pour une distribut La collection de fichiers XHTML peut aussi être téléchargée comme une **[XHTML ZIP Snapshot | phpwiki:?action=ziphtml]**. ----- - == Le coeur de phpwiki Tout ceci surtout pour des débogages (au moins c'est ce que j'espère). diff --git a/locale/it/pgsrc/AmministrazioneDiPhpWiki b/locale/it/pgsrc/AmministrazioneDiPhpWiki index be307ea74..0b385a92f 100644 --- a/locale/it/pgsrc/AmministrazioneDiPhpWiki +++ b/locale/it/pgsrc/AmministrazioneDiPhpWiki @@ -1,4 +1,4 @@ -Date: Fri, 4 Feb 2011 16:36:44 +0000 +Date: Tue, 16 Apr 2013 17:14:15 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0) Content-Type: application/x-phpwiki; pagename=AmministrazioneDiPhpWiki; @@ -34,14 +34,6 @@ PhpWiki:EmailVerification is currently non-strict, leaving some possible holes, label="Email Verification" >> -To prevent from robots eating all possible ressources in a short time, blocking from certain IP's or not-well-behaving user agents can be defined below. See PhpWiki:HowToBlockRobots and MeatBall:SurgeProtector. _Note: Not yet enabled._ - - <> - ----- == Cleanup A Wiki SandBox is very easy to clean. Here you can restore it to @@ -49,8 +41,6 @@ pristine condition by loading the default from pgsrc. [Rake the SandBox|phpwiki:?action=loadfile&source=pgsrc/SandBox]. ----------- - == Making Snapshots or Backups === ZIP files of database @@ -79,7 +69,6 @@ The most recent version of each page will written out to the directory, one page per file. Your server must have write permissions to the directory! ------------ == Restoring If you have dumped a set of pages from PhpWiki, you can reload them @@ -114,7 +103,6 @@ new phpwiki engine update: ;:[ Upgrade | phpwiki:HomePage?action=upgrade ] ------------ == Format of the files @@ -143,7 +131,6 @@ page text. The upload and load functions will automatically recognize each of these three types of files, and handle them accordingly. ----- == Dump pages as XHTML @@ -157,7 +144,6 @@ pages. The XHTML file collection can also be downloaded as an **[XHTML ZIP Snapshot | phpwiki:?action=ziphtml]**. ----- == Phpwiki Internals @@ -195,5 +181,4 @@ might create one.... label="Exorcise WikiDB" >> ----- PhpWikiDocumentation diff --git a/pgsrc/Help%2FWikiAdminUtilsPlugin b/pgsrc/Help%2FWikiAdminUtilsPlugin index 9065e0129..6d0b9d2bb 100644 --- a/pgsrc/Help%2FWikiAdminUtilsPlugin +++ b/pgsrc/Help%2FWikiAdminUtilsPlugin @@ -1,4 +1,4 @@ -Date: Fri, 7 Dec 2012 15:16:29 +0000 +Date: Tue, 16 Apr 2013 17:13:59 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0) Content-Type: application/x-phpwiki; pagename=Help%2FWikiAdminUtilsPlugin; @@ -14,7 +14,6 @@ Some special actions for [[PhpWikiAdministration]] and [[PhpWikiDebug]]. <> <> <> -<> <> <> <> @@ -30,7 +29,7 @@ Some special actions for [[PhpWikiAdministration]] and [[PhpWikiDebug]]. ! Default value |- | **action** -| Valid action are: "purge-cache", "purge-bad-pagenames", "purge-empty-pages", "access-restrictions", "email-verification", "convert-cached-html", "db-check" and "db-rebuild" +| Valid action are: "purge-cache", "purge-bad-pagenames", "purge-empty-pages", "email-verification", "convert-cached-html", "db-check" and "db-rebuild" | //None// |- | **label** diff --git a/pgsrc/PhpWikiAdministration b/pgsrc/PhpWikiAdministration index bf59d801d..d385993ca 100644 --- a/pgsrc/PhpWikiAdministration +++ b/pgsrc/PhpWikiAdministration @@ -1,4 +1,4 @@ -Date: Fri, 6 Apr 2012 16:15:14 +0000 +Date: Tue, 16 Apr 2013 17:13:59 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0) Content-Type: application/x-phpwiki; pagename=PhpWikiAdministration; @@ -44,14 +44,6 @@ This button will show a list of all users with registered emails and buttons to <> -=== Access Restrictions (disabled) === - -To prevent from robots eating all possible ressources in a short time, blocking from certain IPs -or not-well-behaving user agents can be defined below. See [[PhpWiki:HowToBlockRobots]] and -[[MeatBall:SurgeProtector]]. //Note: Not yet enabled.// - -<> - == Cleanup == A Wiki SandBox is very easy to clean. Here you can restore it to -- 2.42.0