Skip to content

Releases: spryker-shop/agent-page

1.17.0

22 Oct 10:42
Compare
Choose a tag to compare

Included commits: 1.16.0...1.17.0

Improvements

  • Adjusted SwitchUserEventSubscriber to check that the agent user should be Impersonation end.

1.16.0

08 Aug 15:29
Compare
Choose a tag to compare

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

09 Jul 11:49
Compare
Choose a tag to compare

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 and Customer.email transfer fields.

Adjustments

  • Added Log module to dependencies.
  • Added Transfer module to dependencies.

1.14.1

13 Mar 15:31
Compare
Choose a tag to compare

Included commits: 1.14.0...1.14.1

Fixes

  • Adjusted AgentLoginForm to add data-qa attributes.
  • Adjusted login.twig to add data-qa attributes.

1.14.0

21 Dec 17:11
Compare
Choose a tag to compare

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

03 Nov 08:40
Compare
Choose a tag to compare

Included commits: 1.12.0...1.13.0

Improvements

  • Added PHP 8.2 support.

1.12.0

25 Apr 15:41
Compare
Choose a tag to compare

Included commits: 1.11.0...1.12.0

Fixes

  • Fixed AgentUserProvider::loadUserByUsername() and AgentUserProvider::refreshUser() to not authenticate inactive agents.

Improvements

  • Introduced User.status transfer field.

1.11.0

13 Dec 15:31
Compare
Choose a tag to compare

Included commits: 1.10.0...1.11.0

Improvements

  • Adjusted AgentPageSecurityPlugin::extend() to add execution of SessionPostImpersonationPluginInterface plugin stack.
  • Added AgentPageExtension module to dependencies.

1.10.0

30 Dec 11:07
Compare
Choose a tag to compare

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 the AgentPageConfig::isLocaleInLoginCheckPath() to generate the login check path.

1.9.0

26 Oct 12:30
Compare
Choose a tag to compare

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 execute AgentClient::finishImpersonationSession() before end of customer impersonation.

Deprecations

  • Deprecated SwitchUserEventSubscriber::clearAgentsQuote().