Skip to content

Commit

Permalink
Version 1.5 Final
Browse files Browse the repository at this point in the history
  • Loading branch information
GregMage committed Mar 14, 2021
1 parent 55bb2b3 commit 1fb1067
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 5 deletions.
42 changes: 42 additions & 0 deletions docs/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,46 @@
-------------------------------------------------
Version: 1.5 Final
Date: 14.03.2021
-------------------------------------------------
Bug fixes:
- The search ignored permissions.
- Tempaltes encoding problem.
- Fixed an error with xmdoc.
- Fixed an error with the content filter (admin).

Improvements:
- Code optimization.
- Better integration of XMF.
- Added modification permission.
- The content is now editable from the user part.
- PHP8 compatibility.
- Integration of xmsocial to rate content and add social media.
- We can now include a page in another page.

Security:
- Users who had the rights to edit content could change the permissions.
Now only those who have the right to administer the module can do it.

Correction de bogues:
- La recherche ne tenait pas compte des permissions.
- Problème d'encodage des tempaltes.
- Correction d'une eerreur avec xmdoc.
- Correction d'une erreur avec le filtre de contenu (admin).

Améliorations:
- Optimisation du code.
- Meilleure intégration de XMF.
- Ajout d'une permission de modifiaction.
- Le contenu est maintenant modifiable depuis la partie user.
- Compatibilité PHP8.
- Intégration de xmsocial pour noter les contenus et ajouter des médias sociaux.
- On peut maintenant inclure une page dans une autre page.

Sécurités:
- Les utilisateurs qui avaient les droits pour éditer un contenu pouvaient changer les permissions.
Maintenant seul ceux qui ont le droit d'administration du module peuvent le faire.

-------------------------------------------------
Version: 1.0 Final
Date: 10.05.2020
-------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions include/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ function xoops_module_update_xmcontent(XoopsModule $module, $previousVersion = n
$sql = "ALTER TABLE `" . $db->prefix('xmcontent_content') . "` ADD `content_logo` varchar(50) NOT NULL DEFAULT '';";
$db->query($sql);
}
// Passage de la version 1.0 à 1.1
if ($previousVersion <= 100) {
// Passage de la version 1.0 à 1.5
if ($previousVersion <= 110) {
$db = XoopsDatabaseFactory::getDatabaseConnection();
$sql = "ALTER TABLE `" . $db->prefix('xmcontent_content') . "` ADD `content_rating` double(6,4) NOT NULL DEFAULT '0.0000' AFTER `content_template`;";
$db->query($sql);
Expand Down
6 changes: 3 additions & 3 deletions xoops_version.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

$modversion['dirname'] = basename(__DIR__);
$modversion['name'] = ucfirst(basename(__DIR__));
$modversion['version'] = '1.1';
$modversion['version'] = '1.5';
$modversion['description'] = _MI_XMCONTENT_DESC;
$modversion['credits'] = 'G. Mage';
$modversion['author'] = 'G. Mage';
Expand All @@ -34,10 +34,10 @@
$modversion['help'] = 'page=help';

//about
$modversion['release_date'] = '2020/00/00';
$modversion['release_date'] = '2021/03/14';
$modversion['module_website_url'] = 'www.monxoops.fr/';
$modversion['module_website_name'] = 'MonXoops';
$modversion['module_status'] = 'Alpha 1';
$modversion['module_status'] = 'Final';
$modversion['min_php'] = '5.6';
$modversion['min_xoops'] = '2.5.10';
$modversion['min_db'] = array('mysql' => '5.0.7', 'mysqli' => '5.0.7');
Expand Down

0 comments on commit 1fb1067

Please sign in to comment.