Releases: remp2020/crm-users-module
Releases · remp2020/crm-users-module
3.6.0
3.5.0
- BREAKING: Removed deprecated
IUserGetter
. UseUserEventInterface
instead. remp/crm#3313- Changed signature of
UserMetaEvent
. ExpectingActiveRow $user
instead ofint $userId
.
- Changed signature of
- 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
toaddress_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
- BREAKING: Changed
ViewObjects\Address
to includeid
,type
andcountry
view object instead ofcountry_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. UseAddressChangeRequest\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
3.3.0
3.2.0
- Added
GooglePresenter
actionactionCodeSignIn
(at/users/google/code-sign-in
), for processing Google authorization code retrieved via popup UX mode.- For more details, see https://developers.google.com/identity/oauth2/web/guides/use-code-model.
- Added
uuid
column intousers
table. Missing data for actual users have to generate by commanduser: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
andtype
columns inuser_connected_accounts
. - Adjusted UI in
/users/users/settings
to be able to link multiple accounts.
- Removed unique DB index on
- Added more data to personal data export. remp/crm#3122
- Changed template variable
$user
to$userRow
, fixing type mismatch inUserAdminPresenter
andAdressAdminPresenter
. 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
fromCrm\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
3.0.0
- BREAKING: Fixed class namespaces to follow PSR4 specification. remp/crm#2228
- Use package
remp/crm-rector:^3.0
to automatically fix these renames.
- Use package
- BREAKING: Changed return type of
UserConnectedAccountsRepository->removeAccountForUser()
fromint
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 providedmatomo/device-detector
instead. - BREAKING: Removed
users.last_sign_in_at
andusers.last_sign_in_ip
columns. Both were deprecated from version 2.7. remp/crm#2871 remp/crm#2876
2.11.0
- 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.
- If this scenario occurs, user is now signed out (from CRM session) and logged in automatically based on the
2.10.0
- 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