Skip to content

Commit

Permalink
Merge branch 'release/0.6.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanDufau committed Jun 4, 2018
2 parents 783d3b4 + 4da60d6 commit 07865b7
Show file tree
Hide file tree
Showing 525 changed files with 37,221 additions and 1,621 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ upload/[^.]*/

# macOS
.DS_Store

# HTML Purifier
helpers/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer/*/
23 changes: 5 additions & 18 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,9 @@
## License
MIT License

The MIT License (MIT)
Copyright (c) 2018 Creatiwity

Copyright (c) 2013 - Julien Blatecky and Johan Dufau
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This CMS uses its own templating system, named [WTemplate](https://github.com/Cr
* An **Apache server** with PHP 5.3+ or PHP7, *mod_rewrite* enabled and .htaccess files allowed;
* A **SQL server**, like *MySQL* or *MariaDB*, with a database available;
* A **FTP client**, like [FileZilla](https://filezilla-project.org/), to upload the files;
* Download the latest version of **wityCMS**: [zip](https://github.com/Creatiwity/wityCMS/releases/download/0.6.1/wityCMS-0.6.1.zip).
* Download the latest version of **wityCMS**: [zip](https://github.com/Creatiwity/wityCMS/releases/download/0.6.2/wityCMS-0.6.2.zip).

### Let's go

Expand Down
2 changes: 1 addition & 1 deletion apps/contact/admin/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @package Apps\Contact\Admin
* @author Johan Dufau <johan.dufau@creatiwity.net>
* @author Julien Blatecky <julien.blatecky@creatiwity.net>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class ContactAdminController extends WController {

Expand Down
2 changes: 1 addition & 1 deletion apps/contact/admin/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @package Apps\Contact\Admin
* @author Johan Dufau <johan.dufau@creatiwity.net>
* @author Julien Blatecky <julien.blatecky@creatiwity.net>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class ContactAdminModel extends ContactModel {

Expand Down
2 changes: 1 addition & 1 deletion apps/contact/admin/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @package Apps\Contact\Admin
* @author Johan Dufau <johan.dufau@creatiwity.net>
* @author Julien Blatecky <julien.blatecky@creatiwity.net>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class ContactAdminView extends WView {

Expand Down
2 changes: 1 addition & 1 deletion apps/contact/front/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @package Apps\Contact\Front
* @author Johan Dufau <johan.dufau@creatiwity.net>
* @author Julien Blatecky <julien.blatecky@creatiwity.net>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class ContactController extends WController {

Expand Down
2 changes: 1 addition & 1 deletion apps/contact/front/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @package Apps\Contact\Front
* @author Johan Dufau <johan.dufau@creatiwity.net>
* @author Julien Blatecky <julien.blatecky@creatiwity.net>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class ContactModel {

Expand Down
2 changes: 1 addition & 1 deletion apps/contact/front/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @package Apps\Contact\Front
* @author Johan Dufau <johan.dufau@creatiwity.net>
* @author Julien Blatecky <julien.blatecky@creatiwity.net>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class ContactView extends WView {

Expand Down
2 changes: 1 addition & 1 deletion apps/contact/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Contacts management script allowing ajax usage.
*
* @author Julien Blatecky <julien.blatecky@creatiwity.net>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
require(['jquery'], function($) {
$(document).ready(function() {
Expand Down
2 changes: 1 addition & 1 deletion apps/contact/manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Application name -->
<name>Contact</name>

<version>0.6.1</version>
<version>0.6.2</version>

<!-- Last update date -->
<date>02-10-2013</date>
Expand Down
2 changes: 1 addition & 1 deletion apps/lang/front/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @package Apps\Lang\Front
* @author Johan Dufau <johan.dufau@creatiwity.net>
* @author Julien Blatecky <julien.blatecky@creatiwity.net>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class LangController extends WController {
protected function select($params) {
Expand Down
2 changes: 1 addition & 1 deletion apps/lang/manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Application name -->
<name>Lang</name>

<version>0.6.1</version>
<version>0.6.2</version>

<!-- Last update date -->
<date>14-06-2015</date>
Expand Down
2 changes: 1 addition & 1 deletion apps/mail/front/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @package Apps\Mail\Front
* @author Johan Dufau <johan.dufau@creatiwity.net>
* @author Julien Blatecky <julien.blatecky@creatiwity.net>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class MailController extends WController {

Expand Down
2 changes: 1 addition & 1 deletion apps/mail/front/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @package Apps\Mail\Front
* @author Johan Dufau <johan.dufau@creatiwity.net>
* @author Julien Blatecky <julien.blatecky@creatiwity.net>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class MailModel {
/**
Expand Down
2 changes: 1 addition & 1 deletion apps/mail/manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Application name -->
<name>Mail</name>

<version>0.6.1</version>
<version>0.6.2</version>

<!-- Last update date -->
<date>25-11-2013</date>
Expand Down
2 changes: 1 addition & 1 deletion apps/news/admin/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @package Apps\News\Admin
* @author Johan Dufau <johan.dufau@creatiwity.net>
* @author Julien Blatecky <julien.blatecky@creatiwity.net>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class NewsAdminController extends WController {
private $upload_dir;
Expand Down
2 changes: 1 addition & 1 deletion apps/news/admin/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @package Apps\News\Admin
* @author Johan Dufau <johan.dufau@creatiwity.net>
* @author Julien Blatecky <julien.blatecky@creatiwity.net>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class NewsAdminModel extends NewsModel {
public function __construct() {
Expand Down
2 changes: 1 addition & 1 deletion apps/news/admin/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @package Apps\News\Admin
* @author Johan Dufau <johan.dufau@creatiwity.net>
* @author Julien Blatecky <julien.blatecky@creatiwity.net>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class NewsAdminView extends WView {
public function __construct() {
Expand Down
2 changes: 1 addition & 1 deletion apps/news/front/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @package Apps\News\Front
* @author Johan Dufau <johan.dufau@creatiwity.net>
* @author Julien Blatecky <julien.blatecky@creatiwity.net>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class NewsController extends WController {
protected function listing($params) {
Expand Down
2 changes: 1 addition & 1 deletion apps/news/front/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @package Apps\News\Front
* @author Johan Dufau <johan.dufau@creatiwity.net>
* @author Julien Blatecky <julien.blatecky@creatiwity.net>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class NewsModel {
/**
Expand Down
2 changes: 1 addition & 1 deletion apps/news/front/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @package Apps\News\Front
* @author Johan Dufau <johan.dufau@creatiwity.net>
* @author Julien Blatecky <julien.blatecky@creatiwity.net>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class NewsView extends WView {
public function listing($data) {
Expand Down
2 changes: 1 addition & 1 deletion apps/news/manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Application name -->
<name>News</name>

<version>0.6.1</version>
<version>0.6.2</version>

<!-- Last update date -->
<date>02-05-2015</date>
Expand Down
2 changes: 1 addition & 1 deletion apps/newsletter/admin/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @package Apps\Newsletter\Admin
* @author Thibault Vlacich <thibault@vlacich.fr>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class NewsletterAdminController extends WController {
/**
Expand Down
2 changes: 1 addition & 1 deletion apps/newsletter/admin/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @package Apps\Newsletter\Admin
* @author Thibault Vlacich <thibault@vlacich.fr>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class NewsletterAdminModel {
/**
Expand Down
2 changes: 1 addition & 1 deletion apps/newsletter/admin/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @package Apps\Newsletter\Admin
* @author Johan Dufau <johan.dufau@creatiwity.net>
* @author Julien Blatecky <julien.blatecky@creatiwity.net>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class NewsletterAdminView extends WView {
public function listing($model) {
Expand Down
2 changes: 1 addition & 1 deletion apps/newsletter/front/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @package Apps\Newsletter\Front
* @author Thibault Vlacich <thibault@vlacich.fr>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class NewsletterController extends WController {
public function add(array $params) {
Expand Down
2 changes: 1 addition & 1 deletion apps/newsletter/front/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @package Apps\Newsletter\Front
* @author Thibault Vlacich <thibault@vlacich.fr>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class NewsletterModel {
/**
Expand Down
2 changes: 1 addition & 1 deletion apps/newsletter/front/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @package Apps\Newsletter\Front
* @author Thibault Vlacich <thibault@vlacich.fr>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class NewsletterView extends WView {
public function add($model) {
Expand Down
2 changes: 1 addition & 1 deletion apps/newsletter/manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Application name -->
<name>Newsletter</name>

<version>0.6.1</version>
<version>0.6.2</version>

<!-- Last update date -->
<date>01-03-2015</date>
Expand Down
2 changes: 1 addition & 1 deletion apps/page/admin/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @package Apps\Page\Admin
* @author Johan Dufau <johan.dufau@creatiwity.net>
* @author Julien Blatecky <julien.blatecky@creatiwity.net>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class PageAdminController extends WController {
private $upload_dir;
Expand Down
2 changes: 1 addition & 1 deletion apps/page/admin/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @package Apps\Page\Admin
* @author Johan Dufau <johan.dufau@creatiwity.net>
* @author Julien Blatecky <julien.blatecky@creatiwity.net>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class PageAdminModel extends PageModel {
public function __construct() {
Expand Down
2 changes: 1 addition & 1 deletion apps/page/admin/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @package Apps\Page\Admin
* @author Johan Dufau <johan.dufau@creatiwity.net>
* @author Julien Blatecky <julien.blatecky@creatiwity.net>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class PageAdminView extends WView {
public function pages($model) {
Expand Down
2 changes: 1 addition & 1 deletion apps/page/front/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @package Apps\Page\Front
* @author Johan Dufau <johan.dufau@creatiwity.net>
* @author Julien Blatecky <julien.blatecky@creatiwity.net>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class PageController extends WController {
protected function display(array $params) {
Expand Down
2 changes: 1 addition & 1 deletion apps/page/front/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @package Apps\Page\Front
* @author Johan Dufau <johan.dufau@creatiwity.net>
* @author Julien Blatecky <julien.blatecky@creatiwity.net>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class PageModel {
/**
Expand Down
2 changes: 1 addition & 1 deletion apps/page/front/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @package Apps\Page\Front
* @author Johan Dufau <johan.dufau@creatiwity.net>
* @author Julien Blatecky <julien.blatecky@creatiwity.net>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class PageView extends WView {
public function display(array $model) {
Expand Down
2 changes: 1 addition & 1 deletion apps/page/manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Application name -->
<name>Page</name>

<version>0.6.1</version>
<version>0.6.2</version>

<!-- Last update date -->
<date>23-03-2015</date>
Expand Down
2 changes: 1 addition & 1 deletion apps/search/front/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @package Apps\Search\Front
* @author Johan Dufau <johan.dufau@creatiwity.net>
* @author Julien Blatecky <julien.blatecky@creatiwity.net>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class SearchController extends WController {
protected function form(array $params) {
Expand Down
4 changes: 2 additions & 2 deletions apps/search/front/templates/form.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<div class="wity-app wity-app-search wity-action-form">
<h1>{lang Research} {if !empty({$query})}<strong>"{$query}"</strong>{/if}</h1>
<h1>{lang Research} {if !empty({$query})}<strong>"{!$query!}"</strong>{/if}</h1>

<form class="search-form" action="/search" method="get">
<p class="input-group research">
<input class="form-control" type="text" name="query" placeholder="{lang Search}" value="{if !empty({$query})}{$query}{/if}" />
<input class="form-control" type="text" name="query" placeholder="{lang Search}" value="{if !empty({$query})}{!$query!}{/if}" />
<span class="input-group-btn">
<button class="btn btn-default" type="submit"><span class="glyphicon glyphicon-search"></span></button>
</span>
Expand Down
2 changes: 1 addition & 1 deletion apps/search/front/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @package Apps\Search\Front
* @author Johan Dufau <johan.dufau@creatiwity.net>
* @author Julien Blatecky <julien.blatecky@creatiwity.net>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class SearchView extends WView {
public function form($data) {
Expand Down
2 changes: 1 addition & 1 deletion apps/search/manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Application name -->
<name>Search</name>

<version>0.6.1</version>
<version>0.6.2</version>

<!-- Last update date -->
<date>23-03-2015</date>
Expand Down
2 changes: 1 addition & 1 deletion apps/settings/admin/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @package Apps\Settings\Admin
* @author Johan Dufau <johan.dufau@creatiwity.net>
* @author Julien Blatecky <julien.blatecky@creatiwity.net>
* @version 0.6.1-23-11-2016
* @version 0.6.2-04-06-2018
*/
class SettingsAdminController extends WController {
private $upload_dir;
Expand Down
Loading

0 comments on commit 07865b7

Please sign in to comment.