Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

Commit

Permalink
Release 1.1.0 (#60)
Browse files Browse the repository at this point in the history
* Migrate the module to the new Faktiva maintainer
* minor changes
  • Loading branch information
drAlberT committed Oct 22, 2016
1 parent 6cf0e56 commit 4f99b4d
Show file tree
Hide file tree
Showing 34 changed files with 650 additions and 307 deletions.
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
.htaccess
.svn
vendor
.cache
vendor/
.php_cs.cache
config_*.xml
*.zip
31 changes: 28 additions & 3 deletions .php_cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,37 @@
<?php

$header = <<<EOF
This file is part of the "Prestashop Clean URLs" module.
(c) Faktiva (http://faktiva.com)
NOTICE OF LICENSE
This source file is subject to the CC BY-SA 4.0 license that is
available at the URL https://creativecommons.org/licenses/by-sa/4.0/
DISCLAIMER
This code is provided as is without any warranty.
No promise of being safe or secure
@author AlberT <albert@faktiva.com>
@license https://creativecommons.org/licenses/by-sa/4.0/ CC-BY-SA-4.0
@source https://github.com/faktiva/prestashop-clean-urls
EOF;

Symfony\CS\Fixer\Contrib\HeaderCommentFixer::setHeader($header);

return Symfony\CS\Config\Config::create()
->fixers(array('-psr0'))
->level(Symfony\CS\FixerInterface::PSR2_LEVEL)
->setUsingCache(true)
->level(Symfony\CS\FixerInterface::PSR2_LEVEL)
->fixers(array(
'header_comment',
'long_array_syntax',
'single_quote',
'pre_increment',
))
->finder(
Symfony\CS\Finder\DefaultFinder::create()
->in(__DIR__)
->in(__DIR__.'/faktiva_clean_urls')
)
;

Expand Down
3 changes: 3 additions & 0 deletions .sensiolabs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ global_exclude_dirs:
- translations
- upgrade

exclude_patterns:
- tools/debug.php

rules:
php.absolute_path_present:
enabled: true
Expand Down
49 changes: 25 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,37 @@
[Prestashop module "ZiZuu Clean URLs"](https://github.com/ZiZuu-store/PrestaShop_module-CleanURLs)
=====
[PrestaShop module "Clean URLs"](https://github.com/faktiva/prestashop-seo-tk) <br /> [![SensioLabsInsight](https://insight.sensiolabs.com/projects/58d1de4f-45fc-4f63-aeb3-7ddc51d4a64e/mini.png)](https://insight.sensiolabs.com/projects/58d1de4f-45fc-4f63-aeb3-7ddc51d4a64e) [![License](https://img.shields.io/packagist/l/faktiva/prestashop-clean-urls.svg?style=flat)](https://creativecommons.org/licenses/by-sa/4.0/)
===

[![SensioLabsInsight](https://insight.sensiolabs.com/projects/0f609ac9-667f-4840-82d4-464e0f7c31ba/mini.png)](https://insight.sensiolabs.com/projects/0f609ac9-667f-4840-82d4-464e0f7c31ba)
[![GitHub issues](https://img.shields.io/github/issues/ZiZuu-store/zzCleanURLs.svg?style=plastic)](https://github.com/ZiZuu-store/zzCleanURLs/issues)
[![GitHub release](https://img.shields.io/github/release/faktiva/prestashop-clean-urls.svg?style=plastic&label=latest)](https://github.com/faktiva/prestashop-clean-urls/releases/latest)
[![Project Status](http://opensource.box.com/badges/active.svg)](http://opensource.box.com/badges)
[![Percentage of issues still open](http://isitmaintained.com/badge/open/faktiva/prestashop-clean-urls.svg)](http://isitmaintained.com/project/faktiva/prestashop-clean-urls "Percentage of issues still open")
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/faktiva/prestashop-clean-urls.svg)](http://isitmaintained.com/project/faktiva/prestashop-clean-urls "Average time to resolve an issue")
[![composer.lock](https://poser.pugx.org/faktiva/prestashop-clean-urls/composerlock)](https://packagist.org/packages/faktiva/prestashop-clean-urls)
[![Dependencies Status](https://img.shields.io/librariesio/github/faktiva/prestashop-clean-urls.svg?maxAge=3600)](https://libraries.io/github/faktiva/prestashop-clean-urls)

[![Packagist](https://img.shields.io/packagist/l/zizuu-store/zzcleanurls.svg?style=plastic)](https://creativecommons.org/licenses/by-nc-sa/4.0/)
[![GitHub release](https://img.shields.io/github/release/ZiZuu-store/zzCleanURLs.svg?style=plastic&label=latest)](https://github.com/ZiZuu-store/zzCleanURLs/releases/latest)

[![Packagist](https://img.shields.io/packagist/dt/zizuu-store/zzcleanurls.svg?style=plastic)](https://packagist.org/packages/zizuu-store/zzcleanurls)
[![GitHub stars](https://img.shields.io/github/stars/ZiZuu-store/zzCleanURLs.svg?style=social)](https://github.com/ZiZuu-store/zzCleanURLs/stargazers)
[![GitHub forks](https://img.shields.io/github/forks/ZiZuu-store/zzCleanURLs.svg?style=social&label=Forks)](https://github.com/ZiZuu-store/zzCleanURLs/network)

[![Join the chat at https://gitter.im/ZiZuu-store/zzCleanURLs](https://img.shields.io/badge/Gitter-CHAT%20NOW-brightgreen.svg?style=plastic)](https://gitter.im/ZiZuu-store/zzCleanURLs)
[![Twitter](https://img.shields.io/twitter/url/https/github.com/ZiZuu-store/zzCleanURLs.svg?style=social)](https://twitter.com/intent/tweet?text=Fantastic @PrestaShop module by @ZiZuu_Store: "ZiZuu Clean URLs"&url=https://github.com/ZiZuu-store/zzCleanURLs)
[![Join the chat at https://gitter.im/faktiva/prestashop-clean-urls](https://img.shields.io/badge/Gitter-CHAT%20NOW-brightgreen.svg?style=plastic)](https://gitter.im/faktiva/prestashop-clean-urls)
[![Twitter](https://img.shields.io/twitter/url/https/github.com/faktiva/prestashop-clean-urls.svg?style=social)](https://twitter.com/intent/tweet?text=Fantastic @PrestaShop module "#Faktiva Clean URLs"&url=https://github.com/faktiva/prestashop-clean-urls)

___

We are going to merge other users' contributions and ideas as soon as we note them and find the time to test.
Makes possible to have URLs with no IDs in PrestaShop.

If you fork, please make every change the way we can pull, don't reinvent the wheel .. make every custom change on a private branch, so you can merge your own changes to the community mintained branch every time a new release is out.
If you fork, please make every change the way we can pull, don't reinvent the wheel .. make every custom change on a private branch, so you can merge your own changes to the community mantained branch every time a new release is out.

* For production use the **latest stable [release](https://github.com/ZiZuu-store/zzCleanURLs/releases/)**
* For developing or Pull Request please use only the "**[dev](https://github.com/ZiZuu-store/zzCleanURLs/tree/dev)**" branch
* For production use the **latest stable [release](https://github.com/faktiva/prestashop-clean-urls/releases/latest)**
* For developing or Pull Request please use only the "**[dev](https://github.com/faktiva/prestashop-clean-urls/tree/dev)**" branch

It has been reported to work on **PS 1.5.6 - 1.6.1.x** but will install on PS >= 1.5 too.
**If you succesfully use this module on some older version please report**

# INSTALLATION

Install the module from the Backoffice (administration panel), download the release ZIP file (***zzcleanurls.zip***) as it already contains the right folder name (`zzcleanurls`, **not** `zzcleanurls-version_x.y.z` !)

In the modules tab, click on **add a new module**. Click on Browse to open the dialogue box letting you search your computer, select the ZIP file then validate the dialogue box. Finally click on Upload this module.
Install the module from the Backoffice (administration panel):
- download the lastest [release](https://github.com/faktiva/prestashop-clean-urls/releases/latest) ***ZIP*** file (***`faktiva_clean_urls.zip`***) as it already contains the right folder name (`faktiva_clean_urls`, **not** `faktiva-prestashop-clean-urls-version_x.y.z` !)
- in the modules tab, click on **add a new module**
- click on "`Browse`" to open the dialogue box letting you search your computer
- select the ZIP file you downloaded and validate the dialogue box
- click on "`Upload this module`"
- once uploaded you could have to search the module among the others (tip: filter by author "`faktiva`") and click on the `install` button

## Make sure your SEO and URL settings are as follows:

Expand All @@ -51,7 +52,7 @@ Remember to

# UNINSTALLATION

* Go to modules -> Find and uninstall "**zzcleanurls**"
* Go to modules -> Find and uninstall "**faktiva_clean_urls**"

**It should suffice!**

Expand All @@ -76,9 +77,9 @@ If you got any other override modules, you should now go to you back office, uni

# License

![Creative Commons BY-NC-SA License](https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png)
![Creative Commons BY-SA License](https://i.creativecommons.org/l/by-sa/4.0/88x31.png)


**[ZiZuu CleanURLs](https://github.com/ZiZuu-store/zzCleanURLs)** by [ZiZuu Store](https://github.com/ZiZuu-store) is licensed under a **Creative Commons [Attribution-NonCommercial-ShareAlike](http://creativecommons.org/licenses/by-nc-sa/4.0/) 4.0 International License**.
**[PrestaShop Clean URLs](https://github.com/faktiva/prestashop-clean-urls)** by [Faktiva](https://github.com/faktiva) is licensed under a **Creative Commons [Attribution-ShareAlike](http://creativecommons.org/licenses/by-sa/4.0/) 4.0 International License**.

Permissions beyond the scope of this license may be available contacting us at info@ZiZuu.com.
Permissions beyond the scope of this license may be available contacting us at info@faktiva.com.
67 changes: 41 additions & 26 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,44 @@
{
"name": "zizuu-store/zzcleanurls",
"description": "Prestashop module \"ZiZuu Clean URLs\". It removes objects' IDs from URL",
"homepage": "https://github.com/ZiZuu-store/zzCleanURLs",
"license": "CC-BY-NC-SA-4.0",
"type": "prestashop-module",
"authors": [
{
"name": "ZiZuu Store",
"email": "info@ZiZuu.com"
"name": "faktiva/prestashop-clean-urls",
"description": "Prestashop\"Clean URLs\" module. It removes objects' IDs from URLs.",
"homepage": "https://github.com/faktiva/prestashop-clean-urls",
"license": "CC-BY-SA-4.0",
"type": "prestashop-module",
"authors": [
{
"name": "AlberT",
"email": "albert@faktiva.com"
}
],

"minimum-stability": "stable",
"config": {
"github-protocols": ["https"],
"archive-format": "zip",
"preferred-install": "dist",
"optimize-autoloader": true
},
"require-dev": {
"friendsofphp/php-cs-fixer": "~1.10",
"symfony/var-dumper": "~2.0|~3.0",
"symfony/debug": "~2.0|~3.0"
},
"require": {
"php": ">=5.2"
},
"replace": {
"zizuu-store/zzcleanurls": "*"
},
"scripts": {
"csfix": [
"php-cs-fixer -vvv fix ; echo"
],
"zip": [
"@composer archive -vvv -f zip",
"php -r 'rename(@array_shift(glob(\"faktiva-prestashop-clean-urls-*.zip\")), \"faktiva_clean_urls.zip\");'"
]
},
"archive": {
"exclude": [".*", "/composer.*", "/vendor", "*.zip", "*.tar", "*.md", "/*.jpg" ]
}
],
"config": {
"preferred-install": "dist"
},
"require-dev": {
"fabpot/php-cs-fixer": "^1.11",
"symfony/var-dumper": "^3.0",
"symfony/debug": "^3.0"
},
"require": {
"php": ">=5.3.2"
},
"scripts": {
"csfix": [
"php-cs-fixer -vvv fix"
]
}
}
Loading

0 comments on commit 4f99b4d

Please sign in to comment.