Skip to content

0.21.0

Compare
Choose a tag to compare
@rootpd rootpd released this 01 Oct 14:14
· 467 commits to master since this release
  • BREAKING: Extracted getAccessTokens method from UsersApiAuthorizationInterface to its own interface AccessTokensApiAuthorizationInterface. remp/crm#1403
  • BREAKING: Changed UserMetaListHandler (/api/v1/user-meta/list). It is now using GET parameters (user_id, key) instead of JSON request body and ServiceTokenAuthorization to allow more user authorization options. remp/crm#1403
  • BREAKING: Changed /api/v1/users/autologin-token-login. It now returns error codes in error property instead of code to keep consistency. remp/dn-mofa#11
  • BREAKING: Changed /api/v1/users/autologin-token-login. It is now expecting POST parameters instead of GET parameters. We did this as a breaking change to enforce security as having autologin tokens passed by GET parameters was not secure in the first place. remp/dn-mofa#152
  • Fixed bug in user/info module which crashed if recently-added access token with source was used to access the API. remp/dn-mofa#97
  • Fixed storing of user_meta flag confirmed_by_admin. It's not always true. remp/crm#1452
  • Fixed duplicate user password reset after refresh of browser after password reset (in admin user detail).
  • Added ServiceTokenAuthorization that uses BearerTokenAuthorization and UserTokenAuthorization to authorize request and user. remp/crm#1403
  • Added BeforeRemoveAccessTokenEvent, PairDeviceAccessTokensEvent and UnpairDeviceAccessTokensEvent to manage events based on access-device token relation changes. remp/crm#1312
  • Added user logout endpoint. remp/crm#1449
  • Added ClaimUserDataProviderInterface to implement custom ClaimUserDataProviders in modules. remp/crm#1319
  • Added UsersClaimUserDataProvider which is used to get data from user_meta and users.note and assign it to loggedUser when claiming unclaimed user. remp/crm#1319
  • Fixed missing city field in AddressWidget. Display city even if zip field is missing. remp/crm#1461 remp/crm#1465
  • Added AccessTokenDataProviderInterface to provide way for modules to pass additional (protection) information regarding access tokens. remp/crm#1494
  • Fixed update user group creates new group instead of updating + add missing updated_at column to user groups table. remp/crm#1488
  • Added AdminUserGroupsUserDataProvider to remove user from admin groups when anonymizing user. remp/crm#1391