Skip to content

Commit

Permalink
Fix issue #15 #16
Browse files Browse the repository at this point in the history
  • Loading branch information
bastienlm committed Sep 25, 2018
1 parent 2bc26b5 commit b71bcd7
Show file tree
Hide file tree
Showing 22 changed files with 25 additions and 5,401 deletions.
34 changes: 15 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,49 +1,45 @@
# WARNING, this module is in development, you can contribute on develop branch but we do not advise you to use this for the moment in production environment

# PH2M GDPR

Magento 1 module for respect reform of EU data protection rules (GDPR)
Free Magento 1 module for respect reform of EU data protection rules (GDPR)


## Requirements

- Only test on Magento 1.9.x (but probably work on magento 1.4.x to 1.9.x)
- Aoe_Scheduler : https://github.com/AOEpeople/Aoe_Scheduler

## Changelog
See RELEASE_NOTES.txt

## Installation
Composer : (SOON)
Composer :
```
composer require ph2m/gdpr
```
Manual :
Download this module and add 'app' and 'skin' directory to you magento

## Feature
- Full manageable, you can enabled / disabled all functionality from your back-office
**Full manageable, you can enabled / disabled all functionality from your back-office**
- Download, remove and anonymize customer data
- Live system: customer can directly download or remove their own data from their dashboard
- Queue system: you can enabled queue system for remove or download customer data if you have heavy treatment
- [developer only] Queue system: you can enabled queue system for remove or download customer data if you have heavy treatment
- Email notification
- Extra features
- Enable complex password for respect CNIL recommendation
- Enable login attempt lock after 5 try
- Enable complex password for respect [CNIL recommendation](https://www.cnil.fr/fr/authentification-par-mot-de-passe-les-mesures-de-securite-elementaires)
- Enable login attempt lock multi try
- Check GDPR validity
- Check if all config for respect GDPR is enabled

- Remove and anonymize customer data:
- Remove from newsletter (can be disabled)
- Remove customer account (can be disabled)
- Remove customer quote (can be disabled)
- Anonymize customer order (can be disabled)
- Anonymise customer product reviews (can be disabled)
- Remove from newsletter
- Remove customer account
- Remove customer quote
- Anonymize customer order
- Anonymise customer product reviews
- Download customer data:
- Download customer account data (you can choose attributes to export or disabled)
- Download customer addresses data (you can choose attributes to export or disabled)
- Download customer orders data (you can choose attributes to export or disabled)
- Donwload customer product reviews (can be disabled)
- Download customer account data (you can choose attributes to export)
- Download customer addresses data (you can choose attributes to export)
- Download customer orders data (you can choose attributes to export)
- Donwload customer product reviews
- Manage cookies (with [tarteaucitron.js](https://github.com/AmauriC/tarteaucitron.js))
- Display cookies consent banner and popup
- Compatible with magento google analytics (can be disabled)
Expand Down
11 changes: 6 additions & 5 deletions RELEASE_NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
==== 1.0.0 ====
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Init module :
- Create phgdpr/queue table
- Rewrite Mage_Customer_Model_Customer for add complex password
Expand All @@ -10,17 +9,19 @@ Init module :
- create queue system
- create download customer data process
- create clean file process
==== 1.0.1 ====
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
==== 1.0.1 ====

- Fix bad config Path on layout file
- Fix bad module name on adminhtml file
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
==== 1.1.0 ====
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- [Feature] Add customer product reviews to download date and remove date
- [Feature] Add cookies management with tarteaucitron
- [Feature Update] Login attempt
- [Fix] #11 #9 #13 #15
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 changes: 1 addition & 1 deletion app/code/community/PH2M/Gdpr/Helper/Password.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class PH2M_Gdpr_Helper_Password
*/
public function invalidPasswordFormat($password)
{
$errorCount = 0;
$errorCount = 1;
if (strlen($password) < '8') {
return Mage::helper('phgdpr')->__('Your password must contain at least 8 characters.');
}
Expand Down
2 changes: 1 addition & 1 deletion app/code/community/PH2M/Gdpr/Model/Observer.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class PH2M_Gdpr_Model_Observer
protected $configModel;
const EXCEPTION_ACCOUNT_GDPR_LOCK = 20;
const DEFAULT_ATTEMPS_NUMBER = 5;
const DEFAULT_TIME_BLOCKED = 1;
const DEFAULT_TIME_BLOCKED = 5;


/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<form action="<?php echo Mage::helper('phgdpr')->getDownloadAccountDataUrl() ?>" method="POST">
<button type="submit" class="button">
<span>
<?php echo $this->__('Download your account information') ?>
<?php echo $this->__('Download my account data') ?>
</span>
</button>
</form>
Expand Down
2 changes: 1 addition & 1 deletion app/locale/fr_FR/PH2M_Gdpr.csv
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"Wording personalize button","Libellé du bouton personnaliser"
"Enable Google Analytics service","Activer le service Google Analytics"
"Attempts number","Nombre de tentative"
"default value, 5 try","valeur par défault, 5 tentative"
"default value, 5 try","valeur par défault, 5 tentatives"
"Time blocked","Temps de blocage"
"in minutes, default value 5 minutes","En minutes, valeur par défaut 5 minutes"
#############
Expand Down
21 changes: 0 additions & 21 deletions skin/frontend/base/default/js/ph/gdpr/tarteaucitron.js/LICENSE

This file was deleted.

55 changes: 0 additions & 55 deletions skin/frontend/base/default/js/ph/gdpr/tarteaucitron.js/README.md

This file was deleted.

This file was deleted.

Loading

0 comments on commit b71bcd7

Please sign in to comment.