Releases: remp2020/crm-users-module
Releases · remp2020/crm-users-module
2.9.2
2.9.0
- Added audit log for changes to ACL (
admin_groups
,admin_user_groups
,admin_groups_access
). remp/crm#2937- Added few methods into ACL repositories and refactored how we store changes to get audit log support (using Repository methods instead of ActiveRow methods).
- Fixed incorrect update of all
admin_groups_access.created_at
of one admin group after change to anyadmin_groups_access
. (This was caused by removal of all group's accesses and seeding them again). remp/crm#2937 - Fixed issue with updating name or sorting of admin access group (it would create copy of group without accesses and users). remp/crm#2937
- Fixed missing × icon within buttons listing user's admin groups in user detail. remp/crm!2549
- This icon is used as "hint" that clicking this button will remove user from admin group.
2.7.0
- DEPRECATED: Deprecated
users.last_sign_in_at
andusers.last_sign_in_ip
columns. remp/crm#2871- The columns hold information about the second last sign in. The last (current) sign in is kept in
current_sign_in_at
andcurrent_sign_in_ip
. Since the actual use of deprecated columns is highly unlikely, we don't provide an out-of-the-box alternate way to preserve them.
- The columns hold information about the second last sign in. The last (current) sign in is kept in
- Fixed the information displayed in the "Last login" box of the user's detail page in the admin. remp/crm#2871
- System previously displayed second last login information, not the last one.
- Added new graph to user stats screen which shows registration through sales funnels. remp/crm#2864
- Replaced use of
SegmentFactory
withSegmentFactoryInterface
in theuser:reconstruct_user_data
command. remp2020/crm-users-module#19
2.6.0
- IMPORTANT: Device token can now be paired to multiple access tokens of the same user. remp/crm#2702
- Until now pairing device token to access token unpaired this device token from currently paired access token.
- Now pairing device token to access token unpairs device token from all access tokens belonging to different user than pairing access token.
- Added option to download user's data (zip package) from the user detail page in admin. remp/crm#2847
1.2.3
2.5.0
2.3.0
**BREAKING**: Removed
Crm\UsersModule\User\ISubscriptionGetterinterface in favor of
Crm\SubscriptionsModule\Events\SubscriptionEventInterface`.- If you implement your own event handlers and expect use of
ISubscriptionGetter
, update the expectations to useSubscriptionEventInterface
instead.
- If you implement your own event handlers and expect use of
- DEPRECATED: Deprecated interface
Crm\UsersModule\User\IUserGetter
in favor ofCrm\UsersModule\Events\UserEventInterface
. remp/crm#2721 - Removed setting of deprecated
n_version
cookie. remp/remp#1202 - Added optional parameter
segment
for commanduser:reconstruct_user_data
to allow filter users also by segment code. remp/crm#2721
2.2.0
- BREAKING: Added type for
$defaultCountryISO
parameter inCountriesRepository
constructor. Empty or null argument are not valid anymore. - Changed
CountriesRepository->defaultCountry()
to throw an error if the default country was not found in database. Otherwise it always returnsActiveRow
. - Fixed bug with multiple Ajax requests together with session ID regeneration, which broke Form saving functionality. remp/helpdesk#1632
- Session ID regeneration could happen e.g. when current user properties were updated.
- New session ID broke CSRF verification and thus form was not saved.
- Fixed bug allowing device to remain logged in even when the user was logged out from all devices. remp/helpdesk#1639
- Reverted fix of synchronization problems with Google/Apple SignIn state. remp/crm#2114 remp/helpdesk#1650
- Fixed broken Apple Sign-In when connecting existing user. remp/helpdesk#1650
- Added data provider
users.dataprovider.google_token_sign_in
to add custom data to JSON response when signing in using ID token to Google Sign-In. remp/crm#2494 - Fixed API throwing errors for emails of unsupported lengths. remp/crm#2687
- Changed return types of DI factory interfaces from type hints to actual return types to comply with nette/di v3.1 deprecations. remp/crm#2692
- Removed use of global variables (
$_GET
,$_POST
) during social sign in process in favor of framework'sRequest
. remp/crm#2701 - Changed definition of several APIs to the new version of Nette API. remp/crm#2319
2.1.1
2.1.0
- BREAKING: Changed return value of
UserData#getUserToken
function fromfalse
tonull
in case of no associated user data for token. remp/crm#2621 - DEPRECATED: Deprecated class
SignInRedirectValidator
. remp/crm#2113- Class is replaced by more generic
RedirectValidator
in application-module. - The class will be removed in the future, make sure to replace any references to
SignInRedirectValidator
withRedirectValidator
- Class is replaced by more generic
- Added option to anonymize single user from admin without disabling anonymization conditions for all users. remp/crm#2102
- Some users want to be removed and they don't care that subscription is active or shop payment was made yesterday. Helpdesk should be able to anonymize user (after email / phone confirmation) without changing general settings used by system subroutines.
- Reason of forced anonymization of active user is required.
- Added option to force delete user data (into
DeleteUserData->deleteData()
) in case user's removal is blocked by providers. This is helpful in case of user's request to be removed despite of active subscription. remp/crm#2102 - Fixed scenario when address wasn't updated if the change was minor and non-strict comparison evaluated it as non-change. remp/crm#2513
- Added
user_meta
to login API endpoints (/api/v1/users/login
,/api/v1/users/google-token-sign-in
,/api/v1/users/apple-token-sign-in
). remp/crm#2590 - Added parameter
source
toGooglePresenter
andApplePresenter
presenters, having the same meaning as currentn_source
parameter. Both are now accepted,source
having a priority. remp/crm#2594 - Fixed incorrect component name
pnp
topaginator
inAbusiveUsersAdmin::default
template. Missed while refactoring paginator toPreviousNextPaginator
. remp/crm#2512 - Changed the registration of widgets - module now uses improved
LazyWidgetManager
and all widgets extendBaseLazyWidget
class. remp/crm#2075 - Fixed possibility of Varnish "Unexpected content-range header" error for FileResponse-based downloads. remp/helpdesk#1523
- Changed that
UserDataLocaleResolver
now loads locale fromUserData
- it fixes problem with locale synchronization relying on session data only. remp/crm#2621 - Fixed "empty string" fields in addresses, making them nulls. remp/crm#2513
- Fixed synchronization problems with Google/Apple SignIn state (saving state to Redis instead of cookies). remp/crm#2114
- Fixed "empty string" fields in addresses, making them nulls. remp/crm#2513