WP Cassify changelog

By Alain-Aymerick FRANCOIS, on WordPress.org since 2016. 800+ active installs.

Browse code

24 tagged releases, newest first. Dates are when each release was tagged in SVN. Notes come from the plugin's readme, which may not list every release.

  1. 2.6.2
    • REST API: release the PHP session lock before dispatch so concurrent requests sharing a CAS session can run in parallel. Thanks to rferguson10 for reporting the issue.
    Source Diff vs 2.6.1
  2. 2.6.1
    • TLS: hide the settings warning when CAS certificate verification is enabled.
    Source Diff vs 2.6.0
  3. 2.6.0
    • CAS login: preserve service URLs with query strings in enforce mode, ignore unrelated ticket parameters, fix direct login, and fix Gateway Mode on subdirectory installations.
    • CAS validation: send only well-formed ST- tickets, encode validation parameters separately, and release the PHP session lock while waiting for CAS. New installs time out after 10 seconds with HTTP 504. Upgrades keep the previous cURL timeout. Override it with the wp_cassify_validation_timeout filter.
    • Access rules: preserve the effective ALLOW/DENY precedence of saved settings on upgrade. Whitelist entries now match paths relative to the WordPress Address. Convert old substring or query-based exceptions to explicit paths. A lone / covers only the root.
    • Multisite: retain existing roles when role purge is enabled but no replacement rule matches, and require explicit CAS role rules to grant new memberships. Review those rules before upgrading sites that relied on automatic membership. After a denied CAS membership attempt, reopen the original URL after 30 seconds to try again.
    • Single Logout: revoke only the WordPress session associated with the CAS ticket. Recognized legacy sessions renew once. If the PHP session has expired, sign out locally and sign back in through CAS.
    • Account cleanup: delete selected CAS accounts by username or ID, with a preview and content reassignment. Explicit selection can include active accounts, while privileged accounts and accounts with application passwords remain protected. Inactivity jobs started in 2.5.0 can resume.

    And 2 more notes.

    Source Diff vs 2.5.0
  4. 2.5.0
    • Add: manual tools to mark CAS accounts and purge inactive CAS accounts, including WordPress multisite support. Includes preview and confirmation, protected-account exclusions, content reassignment, resumable processing and simple task results. Backup acknowledgement is required before purging.
    • Add: successful login tracking to determine CAS account inactivity. No automatic purge or reconstruction of historical login dates.
    Source Diff vs 2.4.9
  5. 2.4.9
    • Fix: avoid a PHP 8 TypeError when logging out from a different multisite child site than the CAS login site while SLO is enabled.
    Source Diff vs 2.4.8
  6. 2.4.8
    • Fix: preserve existing multisite roles when authenticating users on archived child blogs.
    Source Diff vs 2.4.7
  7. 2.4.7
    • Fix: restart CAS authentication when a stale PHP CAS session remains after the WordPress admin authentication cookie expires.
    • Add: filter the CAS logout redirect URL before redirecting to the CAS logout endpoint.
    Source Diff vs 2.4.6
  8. 2.4.6
    • Fix: add ‘postpass’ to the list of excluded login actions so that WordPress password-protected pages work correctly without being redirected to CAS (regression introduced in 2.4.4).
    • Fix: add ‘register’ and ‘confirmaction’ to the list of excluded login actions to avoid CAS redirect on the registration form and GDPR privacy confirmation links.
    Source Diff vs 2.4.5
  9. 2.4.5
    • Fix archived blog stripping user roles via add_user_to_blog(); skip if capabilities already exist.
    Source Diff vs 2.4.4
  10. 2.4.4
    • Block wp-login.php form when CAS session is already authenticated
    • Fix deprecated WordPress PHPMailer includes
    • Fix mails notifications
    • Fix a multisite authentication crash caused by an incorrect class reference.
    • Fix destroy Session on logout
    Source Diff vs 2.4.3
  11. 2.4.3
    • Fix SVN deploy
    Source Diff vs 2.4.2
  12. 2.4.2
    • Fix multisite support (bugs introduced in 2.4.0)
    • Fix undefined array key warnings by replacing @ operator with isset() checks
    Source Diff vs 2.4.1
  13. 2.4.1
    • Log debug/info messages only if debug mode is enabled in plugin settings or if WP_DEBUG is enabled. Fix some logs.
    • Fix(upgrade): restore URL bypass to ‘enabled’ on existing sites that never explicitly saved the option, preventing broken super-admin access after upgrade from pre-2.4.1.
    • Feat: add WP_CASSIFY_ENABLE_URL_BYPASS constant support in wp-config.php to force URL bypass independently of the UI setting. Recommended for multisite super-admins: define( 'WP_CASSIFY_ENABLE_URL_BYPASS', true );
    Source Diff vs 2.4.0
  14. 2.4.0
    • Fix : let ‘name of the service validate servlet’ be customized
    • Feat(security): validate CAS service URL with host allowlist and backward-compatible monitor mode
    • Security: URL bypass is now disabled by default and bypass parameter name/value are configurable
    • Improve die messages.
    • Remove jquery dependency for admin interface, use vanilla js instead.
    • Security: harden input handling, unserialize, and admin output escaping

    And 3 more notes.

    Source Diff vs 2.3.9
  15. 2.3.9
    • Just fix tag in wp-cassify.php
    Source Diff vs 2.3.8
  16. 2.3.8
    • No session_start for cron/ajax requests
    Source Diff vs 2.3.7
  17. 2.3.7
    • Fix -NCONTAINS and -NOTIN rule evaluations.
    Source Diff vs 2.3.6
  18. 2.3.6
    • Fix and simplify wp_cassify_logout_with_redirect shortcode
    • Sanitize service_redirect_url in wp_cassify_login_with_redirect to prevent potential XSS (reported by Muhammad Yudha via Patchstack).
    • Fix ‘Notice: Function _load_textdomain_just_in_time was called incorrectly.’
    Source Diff vs 2.3.5
  19. 2.3.5
    • Fix PHP start session only when needed (fix) – thanks to @kkatpcc
    • Fix grammar in die message of wp_cassify_auth_user_wordpress – thanks to Randy Hammond
    Source Diff vs 2.3.4
  20. 2.3.4
    • Fix wp_cassify_notification_rule_matched
    Source Diff vs 2.3.3
  21. 2.3.3
    • Fix PHP start session only when needed – thanks to @partyka
    • Fix PHP warning parse_str – thanks to @erseco
    • Fix PHP warnings
    • Ensure to run jquery when DOM is ready
    • Fix CAS Single Log Out feature
    Source Diff vs 2.3.2
  22. 2.3.2
    • Fix PHP8 support
    Source Diff vs 2.3.1
  23. 2.3.1
    • New custom hook wp_cassify_after_auth_user_wordpress
    Source Diff vs 2.3.0
  24. 2.3.0
    • Some bugfix
    Source