Skip to main content

v0.3.2

· 2 min read
Sarah Lewis
Senior Full Stack Engineer @ Yoko Co
Léo Muniz
Senior Full Stack Engineer @ Yoko Co
Konstantin Brazhnik
Senior Full Stack Engineer @ Yoko Co

Introduces the Honor Effective Date setting for re:Members membership access control. Improves NOVI AMS credential validation, login redirect handling, and PHP 7.4 compatibility. Fixes a number of admin UI and error-handling issues.

Adds

  • [RE:MEMBERS] Adds an Honor Effective Date setting on the re:Members Settings page. When enabled, member role access begins only when the membership effectiveDate has been reached.

Changes

  • [RE:MEMBERS] Member access now defaults to the earlier of effectiveDate or joinDate (unless Honor Effective Date is enabled). This means members who join before their official term start date will receive access immediately by default.
  • [NOVI] is_connected() now validates that all required credentials (Base URL, Client ID, and Client Secret) are present before reporting a connected state.
  • [NOVI] Login redirect validation now uses wp_validate_redirect() and wp_sanitize_redirect() to correctly support both absolute and relative URLs (e.g. /my-page).

Fixes

  • [NOVI] Fixes a PHP parse error on PHP 7.4 caused by a named argument (callback:) passed to add_filter().
  • [NOVI] Removes unreachable code after wp_die() in the login exception handler; login errors now redirect to the home page with a cache-buster.
  • [NOVI] check_response() and get_parsed_response() now handle WP_Error and non-array HTTP responses gracefully instead of masking the original failure.
  • [ADMIN] Fixes disabled AMS <select> not submitting its value by injecting a hidden input when the field is disabled via the AMSC_CONNECTED_AMS constant.
  • [ADMIN] Select2 multi-role selector initialization is now guarded so it only runs on screens where the Select2 library is enqueued, preventing JS errors on other admin screens.

v0.3.1

· One min read
Sarah Lewis
Senior Full Stack Engineer @ Yoko Co

Adds methods to re:Members client to retrieve organizations.

Adds

  • [re:Members] Adds methods to retrieve organizations by ID and all organizations by page.

v0.3.0

· One min read
Konstantin Brazhnik
Senior Full Stack Engineer @ Yoko Co
Léo Muniz
Senior Full Stack Engineer @ Yoko Co

Improves the accuracy of re:Members expiration dates by using a fallback option. Provides post-logout routing options. Adds initial NOVI AMS SSO oAuth2.0 flow integration.

Adds

  • [RE:MEMBERS] Retrieves inactive memberships from re:Members (if there are no active ones) to use in setting the expiration date meta data.
  • [RE:MEMBERS] Creates an option to route users to the WordPress homepage after logging them out of re:Members.
  • [NOVI] Adds NOVI AMS SSO integration via oAuth2.0 flow. Currently only available by setting the AMSC_CONNECTED_AMS constant to novi.

v0.2.8

· One min read

Resolves bug in which WP users were not created upon a SSO login attempt when having user_login longer than 60 characters. Adds missing documentation.

Fixes

  • Resolves bug in which WP users were not created upon a SSO login attempt when having user_login longer than 60 characters.

Adds

  • Missing documentation for re:Members role mapping through Security Roles, Purchases and Events.

v0.2.7

· One min read

Adds support to re:Members purchases, events and security roles for role mapping as beta feature. Fixes re:Members name and styling across the code and replaces hard-coded amsc_ hook prefixes with AMSC_PREFIX constant.

Adds

  • Support to re:Members purchases, events and security roles for role mapping as beta feature.

Changes

  • Replaces hard-coded amsc_ hook prefixes with AMSC_PREFIX constant.

Fixes

  • re:Members name and styling across the code.

v0.2.6

· One min read

Resolves bug in which WP users were not created upon a SSO login attempt when having user_nicename longer than 50 characters.

Fixes

  • Resolves bug in which WP users were not created upon a SSO login attempt when having user_nicename longer than 50 characters.

v0.2.5

· One min read

Adds cachebuster query variable to all redirects back to the site to ensure all layers of cache are cleared.

Adds

  • Adds cachebuster query variable to all redirects back to the site to ensure all layers of cache are cleared.

v0.2.3

· One min read

Adds support for Membership Type, Committees, and Certification role mapping in Re:Member. Adds support for custom domain name for proper login, logout and profile screen redirects.

Adds

  • [REMEMBERS] Adds BETA integration with Re:Member Member Types, Certifications, and Committees.
  • [REMEMBERS] Adds ability to set custom domain for production credentials for appropriate login, logout and profile redirects.

v0.2.4

· One min read

Adds support for the redirect_to parameter on the single logout URL. Defaults to the home page if no redirect_to query parameter is present.

Adds

  • Adds support for the redirect_to URL parameter in the single logout URL.
  • Adds default redirect to home page if no redirect_to parameter is passed to the single logout URL.

v0.2.1

· One min read

Login flow honors the redirect_to query variable if it is present a falls back to the HTTP_REFERER system variable. Plugin data deletion will only delete AMS Connect option keys and user meta values that are registered through the plugin to avoid unintentional deletion. AMS Connect "Options" has been changed to "Settings" for clarity.

Fixes

  • Re:Member/Impexium login flow honors the native WP redirect_to URL variable when available.
  • Delete all plugin data also deletes the AMS ID user meta keys.

Changes

  • Changes AMS Connect "Options" screen to "Settings"
  • AMS Connect dashboard redirects to Settings page if no AMS is configured
  • Code refactoring to keep all AMS files in a singular folder
  • Delete all plugin data only deletes specified option and user meta keys