forked from Kunstmaan/KunstmaanBundlesCMS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SensiolabsInsight] Changed method visibility for non-action methods …
…in controller classes (Kunstmaan#1690) [AllBundle] Fix unused method, property, variable or parameter (Kunstmaan#1767) * Unused method, property, variable or parameter * Unused variable * Update BundleVersionDataCollector.php * DocBlock fix [AllBundle] Fix unused method, property, variable or parameter (Kunstmaan#1767) * Unused method, property, variable or parameter * Unused variable * Update BundleVersionDataCollector.php * DocBlock fix [UtilitiesBundle] Commands as services and mark commands as final (Kunstmaan#1789) [NodeBundle] Commands as services and mark commands as final (Kunstmaan#1791) [TranslatorBundle] Commands as services and mark commands as final (Kunstmaan#1788) [AdminListBundle][5.1] Deprecate direct container access in controllers (Kunstmaan#1769) [AllBundles] Backport the removal of unused parameters (Kunstmaan#1838) [AdminBundle] refactor media token transformer (Kunstmaan#1827) [AdminListBundle] Fix Export Exception namespace (Kunstmaan#1825) [AdminBundle]: readd the extrajavascript block (Kunstmaan#1829) [MediaBundle] Bulk upload fix (Kunstmaan#1834) [AdminListBundle]: ->loadTemplate() is only for internal use.. (Kunstmaan#1846) [PagePartBundle] Fix for PHP 7.2 - value passed to count() cannot be null (Kunstmaan#1849) update changelog update changelog [AdminBundle]: Fix fosuser bundle inheritance deprecation (Kunstmaan#1831) [LeadGenerationBundle]: remove jquery dependency leadgeneration bundle (Kunstmaan#1859) Reset event listeners after submit + fixed serialization of form data [LeadGenerationBundle]: add extras [NodeBundle]: improve URL chooser external (Kunstmaan#1852) [AllBundles] 5.1 upgrade file with all current changes (Kunstmaan#1850) [NodeBundle]: deprecate service function (Kunstmaan#1840) [AllBundles]: Linting changes (Kunstmaan#1867) Change the eslint config for the AdminBundle to make it lint the code inside the jsnext folder instead of the js folder Remove all other eslint / stylelint config [GeneratorBundle] Add imagemin task to groundcontrol (Kunstmaan#1870) [NodeBundle]: allow to set icon for tree (Kunstmaan#1790) Change upgrade guide [NodeBundle]: remove deprecation annotation Revert to php 5 code CHange upgrade guide
- Loading branch information
1 parent
cd84d05
commit 1a92c3e
Showing
70 changed files
with
2,126 additions
and
426 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
UPGRADE FROM 5.0 to 5.1 | ||
======================= | ||
|
||
AdminBundle | ||
----------- | ||
|
||
* Passing the `logger` service as the second argument in `Kunstmaan\AdminBundle\Toolbar\BundleVersionDataCollector` is deprecated and will be removed in 6.0. | ||
|
||
AdminListBundle | ||
--------------- | ||
|
||
* Getting services directly from the container in list controllers is deprecated and will be removed in 6.0. Register your controllers as services and inject the necessary dependencies. | ||
* Getting parameters directly from the container in list controllers is deprecated and will be removed in 6.0. Register your controllers as services and inject the necessary parameters. | ||
|
||
ArticleBundle | ||
------------- | ||
|
||
* Passing the `request_stack` service as the third argument in `Kunstmaan\ArticleBundle\Twig\ArticleTwigExtension` is deprecated and will be removed in 6.0. | ||
|
||
ConfigBundle | ||
------------ | ||
|
||
* Passing the `container` as the sixth argument in `Kunstmaan\ConfigBundle\Controller\ConfigController` is deprecated in and will be removed in 6.0. | ||
|
||
NodeBundle | ||
---------- | ||
|
||
* `CronUpdateNodeCommand::__construct()` now takes an instance of `Doctrine\ORM\EntityManagerInterface` as the first argument. Not passing it is deprecated and will throw a `TypeError` in 6.0. | ||
* `InitAclCommand::__construct()` now takes an instance of `Doctrine\ORM\EntityManagerInterface` as the first argument. Not passing it is deprecated and will throw a `TypeError` in 6.0. | ||
* `CronUpdateNodeCommand` and `InitAclCommand` have been marked as final. | ||
* `Possibility to change the icon of your page.`: The possibility already exists to change the icon in the sidebar tree of your page. This was already available by yml configuration. I've added a new interface, TreeIconInterface that can be implemented and that will return the icon that should be used. | ||
|
||
TranslatorBundle | ||
---------------- | ||
|
||
* `ExportTranslationsCommand::__construct()` now takes an instance of `Kunstmaan\TranslatorBundle\Service\Command\Exporter\ExportCommandHandler` as the first argument. Not passing it is deprecated and will throw a `TypeError` in 6.0. | ||
* `ImportTranslationsCommand::__construct()` now takes an instance of `Kunstmaan\TranslatorBundle\Service\Command\Importer\ImportCommandHandler` as the first argument. Not passing it is deprecated and will throw a `TypeError` in 6.0. | ||
* `TranslationCacheCommand::__construct()` now takes an instance of `Kunstmaan\TranslatorBundle\Service\Translator\ResourceCacher` as the first argument. Not passing it is deprecated and will throw a `TypeError` in 6.0. | ||
* `TranslationFlagCommand::__construct()` now takes an instance of `Kunstmaan\TranslatorBundle\Repository\TranslationRepository` as the first argument. Not passing it is deprecated and will throw a `TypeError` in 6.0. | ||
* `ExportTranslationsCommand`, `ImportTranslationsCommand`, `MigrationsDiffCommand`, `TranslationCacheCommand` and `TranslationFlagCommand` have been marked as final. | ||
|
||
UtilitiesBundle | ||
--------------- | ||
|
||
* `CipherCommand::__construct()` now takes an instance of `Kunstmaan\UtilitiesBundle\Helper\Cipher\CipherInterface` as the first argument. Not passing it is deprecated and will throw a `TypeError` in 6.0. | ||
* `CipherCommand` has been marked as final. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 2 additions & 5 deletions
7
src/Kunstmaan/AdminBundle/Resources/views/ChangePassword/changePassword.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
{% extends "FOSUserBundle::layout.html.twig" %} | ||
|
||
{% block fos_user_content %} | ||
{% include "@KunstmaanAdmin/ChangePassword/changePassword_content.html.twig" %} | ||
{% endblock fos_user_content %} | ||
{# Deprecated: This template is deprecated since kunstmaanAdminBundle 5.1 and will be removed in kunstmaanAdminBundle 6.0. Use change_password.html.twig instead #} | ||
{% extends 'change_password.html.twig' %} |
43 changes: 2 additions & 41 deletions
43
src/Kunstmaan/AdminBundle/Resources/views/ChangePassword/changePassword_content.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,2 @@ | ||
{% trans_default_domain 'FOSUserBundle' %} | ||
|
||
{{ form_start(form, {'method': 'POST', 'action': path('fos_user_change_password'), 'attr': {'novalidate': 'novalidate', 'class': 'fos_user_change_password'}}) }} | ||
<div class="form-group form-group--icon-in-control {% if form.current_password.vars.errors|length > 0 %}has-error{% endif %}"> | ||
{{ form_label(form.current_password) }} | ||
{{ form_widget(form.current_password) }} | ||
<i class="fa fa-key form-group--icon-in-control__icon"></i> | ||
{% if form.current_password.vars.errors|length > 0 %} | ||
<div class="form__errors text-danger"> | ||
{{ form_errors(form.current_password) }} | ||
</div> | ||
{% endif %} | ||
</div> | ||
|
||
<div class="form-group form-group--icon-in-control {% if form.plainPassword.first.vars.errors|length > 0 %}has-error{% endif %}"> | ||
{{ form_label(form.plainPassword.first) }} | ||
{{ form_widget(form.plainPassword.first) }} | ||
<i class="fa fa-key form-group--icon-in-control__icon"></i> | ||
{% if form.plainPassword.first.vars.errors|length > 0 %} | ||
<div class="form__errors text-danger"> | ||
{{ form_errors(form.plainPassword.first) }} | ||
</div> | ||
{% endif %} | ||
</div> | ||
|
||
<div class="form-group form-group--icon-in-control {% if form.plainPassword.second.vars.errors|length > 0 %}has-error{% endif %}"> | ||
{{ form_label(form.plainPassword.second) }} | ||
{{ form_widget(form.plainPassword.second) }} | ||
<i class="fa fa-key form-group--icon-in-control__icon"></i> | ||
{% if form.plainPassword.second.vars.errors|length > 0 %} | ||
<div class="form__errors text-danger"> | ||
{{ form_errors(form.plainPassword.second) }} | ||
</div> | ||
{% endif %} | ||
</div> | ||
|
||
{{ form_rest(form) }} | ||
<button type="submit" id="_submit" name="_submit" class="btn btn-brand btn-block btn--raise-on-hover"> | ||
{{ 'change_password.submit'|trans }} | ||
</button> | ||
{{ form_end(form) }} | ||
{# Deprecated: This template is deprecated since kunstmaanAdminBundle 5.1 and will be removed in kunstmaanAdminBundle 6.0. Use change_password_content.html.twig instead #} | ||
{% extends 'change_password_content.html.twig' %} |
5 changes: 5 additions & 0 deletions
5
src/Kunstmaan/AdminBundle/Resources/views/ChangePassword/change_password.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{% extends "@FOSUser/layout.html.twig" %} | ||
|
||
{% block fos_user_content %} | ||
{% include "@KunstmaanAdmin/ChangePassword/change_password_content.html.twig" %} | ||
{% endblock fos_user_content %} |
41 changes: 41 additions & 0 deletions
41
src/Kunstmaan/AdminBundle/Resources/views/ChangePassword/change_password_content.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{% trans_default_domain 'FOSUserBundle' %} | ||
|
||
{{ form_start(form, {'method': 'POST', 'action': path('fos_user_change_password'), 'attr': {'novalidate': 'novalidate', 'class': 'fos_user_change_password'}}) }} | ||
<div class="form-group form-group--icon-in-control {% if form.current_password.vars.errors|length > 0 %}has-error{% endif %}"> | ||
{{ form_label(form.current_password) }} | ||
{{ form_widget(form.current_password) }} | ||
<i class="fa fa-key form-group--icon-in-control__icon"></i> | ||
{% if form.current_password.vars.errors|length > 0 %} | ||
<div class="form__errors text-danger"> | ||
{{ form_errors(form.current_password) }} | ||
</div> | ||
{% endif %} | ||
</div> | ||
|
||
<div class="form-group form-group--icon-in-control {% if form.plainPassword.first.vars.errors|length > 0 %}has-error{% endif %}"> | ||
{{ form_label(form.plainPassword.first) }} | ||
{{ form_widget(form.plainPassword.first) }} | ||
<i class="fa fa-key form-group--icon-in-control__icon"></i> | ||
{% if form.plainPassword.first.vars.errors|length > 0 %} | ||
<div class="form__errors text-danger"> | ||
{{ form_errors(form.plainPassword.first) }} | ||
</div> | ||
{% endif %} | ||
</div> | ||
|
||
<div class="form-group form-group--icon-in-control {% if form.plainPassword.second.vars.errors|length > 0 %}has-error{% endif %}"> | ||
{{ form_label(form.plainPassword.second) }} | ||
{{ form_widget(form.plainPassword.second) }} | ||
<i class="fa fa-key form-group--icon-in-control__icon"></i> | ||
{% if form.plainPassword.second.vars.errors|length > 0 %} | ||
<div class="form__errors text-danger"> | ||
{{ form_errors(form.plainPassword.second) }} | ||
</div> | ||
{% endif %} | ||
</div> | ||
|
||
{{ form_rest(form) }} | ||
<button type="submit" id="_submit" name="_submit" class="btn btn-brand btn-block btn--raise-on-hover"> | ||
{{ 'change_password.submit'|trans }} | ||
</button> | ||
{{ form_end(form) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 2 additions & 10 deletions
12
src/Kunstmaan/AdminBundle/Resources/views/Resetting/checkEmail.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,2 @@ | ||
{% extends "FOSUserBundle::layout.html.twig" %} | ||
|
||
{% block fos_user_content %} | ||
<div class="alert alert-success"> | ||
{{ 'We have sent you an email with a link to reset your password.' | trans }} | ||
<a class="btn alert__action" href="{{ path('fos_user_security_login') }}"> | ||
<i class="fa fa-times"></i> | ||
</a> | ||
</div> | ||
{% endblock %} | ||
{# Deprecated: This template is deprecated since kunstmaanAdminBundle 5.1 and will be removed in kunstmaanAdminBundle 6.0. Use check_email.html.twig instead #} | ||
{% extends 'check_email.html.twig' %} |
10 changes: 10 additions & 0 deletions
10
src/Kunstmaan/AdminBundle/Resources/views/Resetting/check_email.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{% extends "@FOSUser/layout.html.twig" %} | ||
|
||
{% block fos_user_content %} | ||
<div class="alert alert-success"> | ||
{{ 'We have sent you an email with a link to reset your password.' | trans }} | ||
<a class="btn alert__action" href="{{ path('fos_user_security_login') }}"> | ||
<i class="fa fa-times"></i> | ||
</a> | ||
</div> | ||
{% endblock %} |
2 changes: 1 addition & 1 deletion
2
src/Kunstmaan/AdminBundle/Resources/views/Resetting/passwordAlreadyRequested.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/Kunstmaan/AdminBundle/Resources/views/Security/login.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.