* 1.12:
Logout Admin User after being disabled
[ApiBundle] Remove no longer needed mapping configuration
[API] Prepend configuration with API Platform mapping
* 1.12:
Fix CI
Update Plus' dependencies' versions requirements
Update sylius_plus_installation.rst
Update versions in the "Submitting a Patch" doc
Add adjusting shop regex section to disabling-localised-urls.rst
[Architecture] Ensure HTTP errors are not dispatched in command handlers
[Behat] add scenario for disabled admin
Added promotion form theme override in UPGRADE-1.9.md
This PR was merged into the 1.12 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.12 |
| Bug fix? | no |
| New feature? | yes |
| BC breaks? | no |
| Deprecations? | no <!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | - |
| License | MIT |
Based on #14147
Extracted it to not mix the concepts as the base PR only touches UI, but the validation is for both UI and API.
Commits
-------
6c1336a886 Add administrator password reset ui tests
ad5cf70619 [Admin][UI] Rendering the reset password page
5f845b1c83 Move ResetPassword command and handler into Core
99dd0b2eca [Admin][UI] Password resetting
f430bfb8c2 [Behat][Admin] Better elements' names in ResetPasswordPage
c37d52f999 [Admin][Core] Extract ResetPassword message dispatching to a standalone service
ea77ea005c [Behat] Fix admin's logging in logic
23ef23e223 [Behat][Admin] Fix and cleanup of password resetting
f6ce7838cb Fix sylius.admin.login.before_form event's priorities
53542d27db [Core] Remove "experimental" tag from ResetPassword related classes
ddbfa821e8 [Behat] More precise password changed notification check
0c596f6d41 [Admin][UI] Rework password reset template events
3ede1e5532 [Admin][UI] Add completely forgotten password reset email link
5c320f0ca3 [API][UI] Add validation for expired admin password reset token
fd24b11ee7 [API][UI] Add password validation to admin's password reset workflow
This PR was merged into the 1.12 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | 1.12 <!-- see the comment below --> |
| Bug fix? | no |
| New feature? | yes |
| BC breaks? | no |
| Deprecations? | no <!-- don't forget to update the UPGRADE-*.md file --> |
| License | MIT |
This pull request resolves the problem of redirecting to the not filtered page after eg. deleting the product or returning to page after editing some of resources by clicking cancel on update page.
<!--
- Bug fixes must be submitted against the 1.10 or 1.11 branch(the lowest possible)
- Features and deprecations must be submitted against the master branch
- Make sure that the correct base branch is set
To be sure you are not breaking any Backward Compatibilities, check the documentation:
https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->
Commits
-------
364e6a60ee [Behat] Added scenarios
b4b3a10ec7 Logic implementation
7d1c5004f4 RedirectHandler decorated
31641e22e4 removed unused contexts
feb7bd9811 [Behat] Added new step to avoid problem with filtered page
8568ad3abe [Behat] pagination scenario covered
28a1f00a0f [Behat] Renamed scenarios and feature file
1f93c39d95 Privatize filter storage service
c7af482c91 Naming and code style changes
f595932b75 Add test for twig extension to ensure proper path generation
This PR was merged into the 1.12 branch.
Discussion
----------
| Q | A |
|-----------------|--------------------------------------------------------------|
| Branch? | master <!-- see the comment below --> |
| Bug fix? | no |
| New feature? | yes |
| BC breaks? | no |
| Deprecations? | no <!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | |
| License | MIT |
Continuation of #14128.
What I've managed to done:
- Add `Forgot password?` button on Admin Panel login page
- <img width="611" alt="CleanShot 2022-07-07 at 9 23 57@2x" src="https://user-images.githubusercontent.com/80641364/177855856-a03376c2-77e4-44c8-b8f0-bab324b3256f.png">
- Add request admin's password reset page
- <img width="687" alt="CleanShot 2022-07-07 at 9 24 08@2x" src="https://user-images.githubusercontent.com/80641364/177855877-45c4b510-0100-4eae-a359-56e498b413ed.png">
- Add tests checking if the correct version of email is send for both API and UI part
And.. flash message 💃🏻.
<img width="593" alt="CleanShot 2022-07-07 at 9 25 20@2x" src="https://user-images.githubusercontent.com/80641364/177856062-7b0ea4ab-be35-4281-ba0d-0e02b23f78aa.png">
Commits
-------
cd813cdb15 Define behaviors for Sending an administrator's password reset request from UI
1b2750ba01 Add RequestPasswordReset page
9896fcbd59 Add handling requested password request sent from UI
3a619f5b4c Add tests checking if the correct email is sent for both Admin and Api bundles
25cbe7482d Add "Forgot password?" button on the login page to Admin Panel
7cce221550 Change the text searched for while asserting if email has been sent
6cd26878cc Add request password reset button on Admin Panel login page
4fd9cf680e Remove redundant making services public and reorder composer packages
6bdd9e97bb Rename password reset related actions
0f1be3f5b5 Allow to define redirect route from routes declaration
3deb9dfcb3 Remove redundant action test
cff5044e92 Add handling sylius redirect parameter's array form
6f5bf103fd Rename RenderResetPasswordPageAction to RenderRequestPasswordResetPageAction
e180c547d7 Rename RequestPasswordResetType block prefix
5c55fe4825 Update block priorities in template events
aff5e06ee8 Add information about required changes in security.yaml to UPGRADE files
This PR was merged into the 1.10 branch.
Discussion
----------
| Q | A
| --------------- | -----
| Branch? | 1.10
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Related tickets | mentioned in https://github.com/Sylius/Sylius/pull/13731#discussion_r821045993
| License | MIT
As far as "I want to..." statement is a kind of user action the step should be 'When'.
Commits
-------
984488d94b [Behat] Use "When" for user actions where possible
* 1.7:
use default value of get in Request
behat tests for impersonate user in new tab
impersonate user in new tab
Update features/locale/redirect_to_default_locale.feature
Update features/locale/redirect_to_default_locale.feature
update behat tests
behat tests for locale redirect
redirect to default locale
make taxon comparable