release 1.0

This commit is contained in:
Jean-Christian Denis 2022-12-31 01:49:10 +01:00
parent c5544b81b3
commit 728434d490
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951
4 changed files with 129 additions and 30 deletions

View file

@ -1,37 +1,43 @@
0.5.10 : 1.0 - 20221230
- fix typo - update to dotclear 2.24
- fix for PHP 5.3 compliance - change settings names
- remove debug mode
- use dcLog table for last logins
0.5.9 : 0.5.10
- fix bug in history page (PHP errors when history was empty) - fix typo
- add page "debug" in plugin page in order to get infos about hosting setup (when plugins fails to authenticate users) - fix for PHP 5.3 compliance
0.5 : 0.5.9
- deep rewrite : HTTP auth is not directly handled by apache anymore but by a dotclear behavior - fix bug in history page (PHP errors when history was empty)
- add support of multiblog installation (thanks to Stephanie "piloue" and Gabriel for being so patient and their helpfull tests) - add page "debug" in plugin page in order to get infos about hosting setup (when plugins fails to authenticate users)
- add support PHP running as CGI (tested with OVH hosting services)
- auto-detect crypt functions available and let user choose it
- HTTP auth is not required in order to access to blog admin
- plugin admin page with tabs
- plugin imported to dotclear lab
Known issues : This plugin does not protect non-php files (images, css, js) 0.5
- deep rewrite : HTTP auth is not directly handled by apache anymore but by a dotclear behavior
- add support of multiblog installation (thanks to Stephanie "piloue" and Gabriel for being so patient and their helpfull tests)
- add support PHP running as CGI (tested with OVH hosting services)
- auto-detect crypt functions available and let user choose it
- HTTP auth is not required in order to access to blog admin
- plugin admin page with tabs
- plugin imported to dotclear lab
0.4 : never released Known issues : This plugin does not protect non-php files (images, css, js)
- check filepermission when running
- add free.fr support
0.3 : 0.4
- add last connection tracker - check filepermission when running
- add free.fr support
0.2 : 2008-11-22 0.3
- _install.php added - add last connection tracker
- password crypt function setting added
- password crypt function can be choose within trim, crypt, md5, sha1 0.2 - 2008.11.22
- remonte crypt function added as rcrypt rmd5 and rsha1 : crypt function - _install.php added
- password crypt function setting added
- password crypt function can be choose within trim, crypt, md5, sha1
- remonte crypt function added as rcrypt rmd5 and rsha1 : crypt function
is called over http://frederic.ple.name/.... is called over http://frederic.ple.name/....
This feature can ensure plugin running on php restricted environment This feature can ensure plugin running on php restricted environment
(ex: OVH.COM) (ex: OVH.COM)
0.1 : 2008-11-17 0.1 : 2008-11-17
INITIAL public release - INITIAL public release

45
README.md Normal file
View file

@ -0,0 +1,45 @@
# README
[![Release](https://img.shields.io/github/v/release/JcDenis/httpPassword)](https://github.com/JcDenis/httpPassword/releases)
[![Date](https://img.shields.io/github/release-date/JcDenis/httpPassword)](https://github.com/JcDenis/httpPassword/releases)
[![Issues](https://img.shields.io/github/issues/JcDenis/httpPassword)](https://github.com/JcDenis/httpPassword/issues)
[![Dotclear](https://img.shields.io/badge/dotclear-v2.24-blue.svg)](https://fr.dotclear.org/download)
[![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/httpPassword)
[![License](https://img.shields.io/github/license/JcDenis/httpPassword)](https://github.com/JcDenis/httpPassword/blob/master/LICENSE)
## WHAT IS HTTPPASSWORD ?
_httpPassword_ is a plugin for the open-source
web publishing software called Dotclear.
Its helps to manage .httppassword files to make a blog private.
## REQUIREMENTS
_httpPassword_ requires:
* httpPassword permission to configure
* Dotclear 2.24
* Write permissions on blogs directories
* A web server that support .htpassword files. (Apache)
## USAGE
First install _httpPassword_, manualy from a zip package or from
Dotaddict repository. (See Dotclear's documentation to know how do this)
...
## LINKS
* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html)
* Source & contribution : [GitHub Page](https://github.com/JcDenis/kUtRL)
* Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/kUtRL)
* Discussion & Help: [Dotclear Forum](http://forum.dotclear.org/viewtopic.php?pid=331158)
## CONTRIBUTORS
* Frederic PLE (author)
* Jean-Christian Denis
You are welcome to contribute to this code.

13
dcstore.xml Normal file
View file

@ -0,0 +1,13 @@
<?xml version="1.0"?>
<modules xmlns:da="http://dotaddict.org/da/">
<module id="httpPassword">
<name>Http password</name>
<version>1.0</version>
<author>Frederic PLE and contributors</author>
<desc>Manage .htpasswd file to make the blog private</desc>
<file>https://github.com/JcDenis/httpPassword/releases/download/v1.0/plugin-httpPassword.zip</file>
<da:dcmin>2.24</da:dcmin>
<da:details>http://plugins.dotaddict.org/dc2/details/httpPassword</da:details>
<da:support>https://github.com/JcDenis/httpPassword</da:support>
</module>
</modules>

35
locales/fr/main.lang.php Normal file
View file

@ -0,0 +1,35 @@
<?php
/**
* @package Dotclear
*
* @copyright Olivier Meunier & Association Dotclear
* @copyright GPL-2.0-only
*/
#
# DOT NOT MODIFY THIS FILE !
#
l10n::$locales['Manage http password blog protection'] = 'Gérer la protection du blog par mot de passe HTTP';
l10n::$locales['No encryption'] = 'pas de cryptage';
l10n::$locales['Logins history'] = 'Historique des logins';
l10n::$locales['Authorized users'] = 'Utilisateurs autorisés';
l10n::$locales['No write permissions on blogs directories.'] = 'Aucun droit d\'écriture sur le répertoire du blog.';
l10n::$locales['Settings successfully updated.'] = 'Paramètres mis à jour.';
l10n::$locales['Logs successfully cleared.'] = 'Logs effacé.';
l10n::$locales['Logins successfully updated.'] = 'Logins mis à jour.';
l10n::$locales['Select section:'] = 'Sélectionner une section :';
l10n::$locales['Enable http password protection on this blog'] = 'Activer la protection du blog par mot de passe http';
l10n::$locales['Crypt algorithm:'] = 'Algorithme de cryptage :';
l10n::$locales['Some web servers does not surpport plaintext (no) encryption.'] = 'Certains serveurs web ne supportent pas le cryptage "plaintext".';
l10n::$locales['If you change crypt algo, you must edit and resave each users passwords.'] = 'Si vous changer l\'algorithme de cryptage, vous devrez modifier et sauver tous les mots de passes.';
l10n::$locales['Authentication message:'] = 'Message d\'authentification :';
l10n::$locales['Logins history is empty.'] = 'L\'historique des logins est vide.';
l10n::$locales['Clear logs'] = 'Effacer les logs';
l10n::$locales['List of %s last logins.'] = 'Liste des %s derniers logins.';
l10n::$locales['Authorized users list is empty.'] = 'La listes des utilisateurs autorisés est vide.';
l10n::$locales['List of %s authorized users.'] = 'Liste des %s utilisateurs autorisés.';
l10n::$locales['New password'] = 'Nouveau mot de passe';
l10n::$locales['Change password'] = 'Modifier le mot de passe';
l10n::$locales['Add a user'] = 'Ajouter un utilisateur';
l10n::$locales['Login:'] = 'Identifiant :';
l10n::$locales['Manage .htpasswd file to make the blog private'] = 'Gestion du fichier .htpasswd pour rendre le blog privé.';