Skip to content

Releases: remp2020/crm-users-module

3.6.0

28 Nov 09:14
Compare
Choose a tag to compare
  • Fixed incorrectly escaped header in admin user detail, when showing user who is also an institution. remp/helpdesk#3129
  • Changed UsersRepository, UserConnectedAccountsRepository, AccessTokensRepository to use new DatabaseTransaction API. remp/crm#3330

3.5.0

25 Oct 12:21
Compare
Choose a tag to compare
  • BREAKING: Removed deprecated IUserGetter. Use UserEventInterface instead. remp/crm#3313
    • Changed signature of UserMetaEvent. Expecting ActiveRow $user instead of int $userId.
  • Changed |userLabel and |gravatar Latte filters to indicate their HTML content type. There's no further need to use |noescape filter with them. remp/crm#3319
  • Added verification if user is deleted before creating new access token. remp/crm#3274
  • Added missing foreign key countries->country_id to address_change_requests table. remp/crm#3127
  • Refactored difference check in AddressChangeRequestsRepository to its own method so it can be used outside of repository. remp/crm#3127

3.4.0

20 Sep 13:00
Compare
Choose a tag to compare
  • BREAKING: Changed ViewObjects\Address to include id, type and country view object instead of country_id. remp/crm#3183
  • BREAKING: From now AddressChangeRequestsRepository::acceptRequest() will throw an exception if the request is already rejected. remp/crm#3266
  • DEPRECATED: Deprecated AddressChangeRequestsRepository::STATUS_* constants. Use AddressChangeRequest\StatusEnum::* enum instead. remp/crm#3266
  • Fixed performance issues when logging in or using the API. remp/crm#3194
  • Added phone number as search possibility in the admin user filter form. remp/respekt#180
  • Added NewAddressChangeRequestEvent event and emit after creating new address change request. remp/crm#3239
  • Added new UserEnabledEvent event when user is reactivated (switched from disabled to enabled). github.com/#20
  • Added scenario condition UserCreatedAtCriteria for user element. Filters users created before or after some timeframe. remp/remp#2998
  • Fixed AddressChangeRequestsRepository::acceptRequest() to not let accept the same request multiple times. remp/crm#3266
  • Added API endpoint /v1/user/addresses, used for listing user's own addresses. remp/respekt#245
  • Added ViewObjects\Country view object. remp/crm#3183
  • Added new UserResetPasswordSuccessEvent which emits after successful password reset change. respekt#261
  • Added telephone number to user detail invoice address info. remp/respekt#278

3.3.1

12 Aug 09:13
Compare
Choose a tag to compare
  • Fixed use of internal seeder within open-source modules.

3.3.0

12 Jul 11:17
Compare
Choose a tag to compare
  • Added config option users.show_full_address to show full addresses in the users list view. By default it's disabled. remp/respekt#196

3.2.0

24 May 10:26
Compare
Choose a tag to compare
  • Added GooglePresenter action actionCodeSignIn (at /users/google/code-sign-in), for processing Google authorization code retrieved via popup UX mode.
  • Added uuid column into users table. Missing data for actual users have to generate by command user:generate_uuid_for_users and for new will be prefilled automatically. remp/novydenik#1215
  • Removed constraint of linking a single connected account of same type to single user. remp/crm#3105
    • Removed unique DB index on user_id and type columns in user_connected_accounts.
    • Adjusted UI in /users/users/settings to be able to link multiple accounts.
  • Added more data to personal data export. remp/crm#3122
  • Changed template variable $user to $userRow, fixing type mismatch in UserAdminPresenter and AdressAdminPresenter. remp/crm#3135
  • Added login attempts data to user data download. remp/helpdesk#2621
  • Added the prevention of multiple submits of user deleting form. remp/crm#2949
  • Added Redis cache to DeviceDetector. remp/helpdesk#2667
  • Fixed possible authentication of unclaimed users on the level of UserAuthenticator; it's not responsibility of single authenticators anymore. remp/crm#3133
  • Fixed possible XSS vulnerability and enabled proactively-before-disabled escaping of values. remp/crm#1794
  • Fixed unclaimed user sign in via SSO (Google/Apple). remp/crm#3133
  • Added scenario criteria UserGroupsCriteria to check if user is in user group. remp/respekt#178
  • Added extracted implementation of UserScenarioConditionModel from Crm\ScenariosModule\Events\ConditionCheckEventHandler. remp/crm#1409
  • Added user's UUID to the response of relevant login API handlers. remp/dn-mofa#538

3.1.0

13 Mar 11:17
Compare
Choose a tag to compare
  • Fixed wrong link to filtered users list within groups list. remp/crm#1892

3.0.0

22 Jan 20:57
Compare
Choose a tag to compare
  • BREAKING: Fixed class namespaces to follow PSR4 specification. remp/crm#2228
    • Use package remp/crm-rector:^3.0 to automatically fix these renames.
  • BREAKING: Changed return type of UserConnectedAccountsRepository->removeAccountForUser() from int to ?bool to be consistent with other delete methods. remp/crm#2988
  • Fixed errors reported by PHPStan (level 3). remp/crm#2988
  • BREAKING: Removed mobiledetect/mobiledetectlib library from dependencies, use provided matomo/device-detector instead.
  • BREAKING: Removed users.last_sign_in_at and users.last_sign_in_ip columns. Both were deprecated from version 2.7. remp/crm#2871 remp/crm#2876

2.11.0

21 Nov 12:17
Compare
Choose a tag to compare
  • IMPORTANT: Fixed scenario which allowed valid n_token auth cookie to belong to different user than CRM's session.
    • If this scenario occurs, user is now signed out (from CRM session) and logged in automatically based on the n_token.
    • Previously the CRM session would remain untouched. We're flagging this to make sure you verify that this change doesn't affect you or your users.

2.10.0

03 Oct 11:01
Compare
Choose a tag to compare
  • Fixed seeder issue causing seeding crash. remp/crm#2955
  • Added two new API endpoints /api/v2/users/set-email-validated and /api/v2/users/set-email-invalidated. remp/remp#1026
  • Changed the registration of events - module now uses LazyEventEmitter which supports lazy event listeners registration. remp/crm#2116