Releases: spryker-shop/agent-page
Releases · spryker-shop/agent-page
1.17.0
Included commits: 1.16.0...1.17.0
Improvements
- Adjusted
SwitchUserEventSubscriber
to check that the agent user should be Impersonation end.
1.16.0
Included commits: 1.15.0...1.16.0
Improvements
- Adjusted
AgentController::indexAction()
to add redirect related template parameters. - Adjusted
AgentUserProvider::refreshUser()
method to validate if a user is active and has an agent user role instead of relying on session data. - Adjusted
SwitchUserEventSubscriber::switchUser()
method to validate if a user is active and has an agent user role. - Added
AgentClientInterface::invalidateAgentSession()
to dependencies.
Adjustments
- Increased
Agent
module version dependency.
1.15.0
Included commits: 1.14.1...1.15.0
Improvements
- Adjusted
AgentAuthenticationFailureHandler::onAuthenticationFailure()
to log failed login actions. - Adjusted
AgentAuthenticationSuccessHandler::onAuthenticationSuccess()
to log successful login actions. - Adjusted
SwitchUserEventSubscriber::switchUser()
to log impersonation started and ended actions. - Introduced
AgentCurrentRequestProcessorPlugin
to extend log data with the current request agent data. - Introduced
AuditLoggerConfigCriteria
transfer. - Introduced
User.uuid
transfer field. - Introduced
Customer.customerReference
andCustomer.email
transfer fields.
Adjustments
- Added
Log
module to dependencies. - Added
Transfer
module to dependencies.
1.14.1
Included commits: 1.14.0...1.14.1
Fixes
- Adjusted
AgentLoginForm
to adddata-qa
attributes. - Adjusted
login.twig
to adddata-qa
attributes.
1.14.0
Included commits: 1.13.0...1.14.0
Improvements
- Added Symfony 6 support.
- Introduced
UpdateAgentTokenAfterCustomerAuthenticationSuccessPlugin
plugin as it supports both Symfony 5 and 6. - Introduced
YvesAgentPageSecurityPlugin
plugin as it supports both Symfony 5 and 6.
Deprecations
- Deprecated
FixAgentTokenAfterCustomerAuthenticationSuccessPlugin
plugin as it was only compatible with Symfony 5. - Deprecated
AgentPageSecurityPlugin
plugin as it was only compatible with Symfony 5.
1.13.0
1.12.0
Included commits: 1.11.0...1.12.0
Fixes
- Fixed
AgentUserProvider::loadUserByUsername()
andAgentUserProvider::refreshUser()
to not authenticate inactive agents.
Improvements
- Introduced
User.status
transfer field.
1.11.0
Included commits: 1.10.0...1.11.0
Improvements
- Adjusted
AgentPageSecurityPlugin::extend()
to add execution ofSessionPostImpersonationPluginInterface
plugin stack. - Added
AgentPageExtension
module to dependencies.
1.10.0
Included commits: 1.9.0...1.10.0
Improvements
- Introduced
AgentPageConfig::isLocaleInLoginCheckPath()
to control the locale slug in the/check_login
URL used for agent login. - Adjusted
AgentPageSecurityPlugin
with theAgentPageConfig::isLocaleInLoginCheckPath()
to generate the login check path.
1.9.0
Included commits: 1.8.1...1.9.0
Improvements
- Adjusted
spryker/agent
constraint to^1.4.0
. - Added
AgentClient::finishImpersonationSession()
to dependencies. - Removed
CustomerClient::logout()
from dependencies. - Adjusted
SwitchUserEventSubscriber::onImpersonationEnd()
in order to executeAgentClient::finishImpersonationSession()
before end of customer impersonation.
Deprecations
- Deprecated
SwitchUserEventSubscriber::clearAgentsQuote()
.