Skip to content

Releases: maicol07/flarum-sso-php-plugin

3.3

22 Mar 15:22
145302c
Compare
Choose a tag to compare

3.2

26 Aug 14:32
Compare
Choose a tag to compare
3.2

BREAKING CHANGES

  • PHP 8.0+ support only

🐛 Bug Fixes

  • 8875750 Allow dynamic properties on PHP 8.2

    • 23e4847 Delete cookies when deleting a user

    ♻ Code Refactoring

  • 3d4bb3c ♻️ General refactor

    Other changes

  • 09ab582 Added rector

    🔀 Pull Requests

  • 8018848 Merge pull request #32 from ipikles/master

3.1

01 Oct 15:15
Compare
Choose a tag to compare
3.1

Released on October 01, 2022

✨ Features

New Contributors

Full Changelog: 3.0.1...3.1

3.0.1

22 May 16:01
Compare
Choose a tag to compare

🐛 Bug Fixes

  • 0dd2465 🐛 Groups created even if they already exists in Flarum

👷 Building scripts changes

  • 0ac8531 changelog:
    👷 Fixed changelog generation config

Other changes

  • f3c9c50 🔥 Removed set_groups_admins as no more used
    Implementation of this should be made by the user

3.0

09 Apr 14:24
Compare
Choose a tag to compare
3.0

📝 Documentation changes

  • 2b2dcb3 📝 Updated docs
  • 94a2a84 📝 Updated docs
  • 37ce682 📝 Updated docs
  • Now using doctum with a modified version of the Flarum docs theme
  • 🙈 Updated .gitignore

7b7cbb8 📝 PHPDoc fix

🐛 Bug Fixes

  • 6c262d8 👽 Nickname attribute instead of display name

🔄 Updates

  • 443658d 🔥 Removed the getForumLink
  • URL is accessible via the url property
  • 3f31ea6 ✨ Updated user update method
    • ✨ Added check if id is set. If not set, it will be fetched automatically.
    • ✨ Response is now saved and passed as argument to the after_update method hook.
    • ✨ The method now returns a bool. True if the user has been updated (the response correctly reports the user id); false if the user can't be fetched (if the user id doesn't exists) or the response id is different from user id
  • 7b14a69 🚚 💥 Renamed the fetchUser method to simply fetch
  • e9c1c9e 🚚 Moved and Renamed the Basic trait to the Auth trait in the Maicol07\SSO\User\Traits namespace
  • 80d1f7e Minor improvements
  • c1e71eb addons: 🚚 Renamed master property to flarum (consistency)
  • e886c59 example: Updated example
  • 204e0a2 examples: ✨ Added users list on the delete page

✨ Features

  • d173cb1 ✨ Addons can now specify what addons are required to be loaded before it
  • c0dc540 ✨ Allow to change the remember property via the isSessionRemembered method
  • f152d95 ✨ 💥 New user() method
    • Replaces the current user object creation
    • User property is now private. You can only access to the user via this method
    • Improved examples
  • 99c0594 💥 ✨ 🚚 Moved Addons and Cookies features to traits
    • Removed class cookie. Now all the necessary cookies are generated on the fly.
    • Addons initialization in the constructor is moved to the initAddons() method in the Addons trait.
    • Login: now the logout cookie is deleted (if it exists), the session token or remember token is created
    • Logout: now the session token and remember token cookies are deleted (if they exist), a new logout cookie (flarum_logout) is created.
    • New methods:
      • setRememberCookie
      • deleteRememberCookie
      • setSessionTokenCookie
      • deleteSessionTokenCookie
      • setLogoutCookie
      • deleteLogoutCookie
      • generateCookie
    • Renamed methods:
      • addAddon is now loadAddon
      • removeAddon is now unloadAddon
    • Removed methods:
      • setCookie
  • 613b5b5 ✨ Added Remember me checkbox to example + some visual improvements
  • 5865c51 ✨ Changed lifetime to remember
  • Lifetime is deprecated in beta16.
    Remember should be set to true when you want to login the user with a "Remember me" option.
  • edd34eb ✨ Initial attempt to beta16 compatibility
  • BREAKING CHANGE: 💥 Replaced the lifetime setting with remember
  • BREAKING CHANGE: 💥 Removed the getLifeTimeSeconds method
  • BREAKING CHANGE: 💥 PHP 7.3 required
  • WARNING! illuminate/support pinned to ^8 (removed support for Laravel 6 & 7)

♻ Code Refactoring

  • 7f5f752 ♻️ 🚚 Moved delete and update methods out of the basic trait
  • e3c00de ♻️ Refactor doctum.config.php
  • a72432d ♻️ Refactor doctum.config.php
  • 6331b3c ♻️ General refactor

Rename

  • 768152a addons: 🚚 setAddonAttributes renamed to setAddonProperties

🎨 Code styling

  • 1b6448b 💄 Minor example styling improvement

🔀 Pull Requests

  • befa080 Merge pull request #9 from richstandbrook/patch-1
    feat: ✨ Be able to programmatically signup users

2.0 - The modular update

02 Nov 12:56
Compare
Choose a tag to compare

Changelog

Major changes are marked with ❗

Breaking changes are marked with 💥

💥 Requires PHP 7.2+

➕ Added

  • ❗ 💥 Hooks/Addons system. Now you can install addons and add them to the PHP plugin! This way they can customize the behaviour of the plugin and add additional features.
  • Compatibility with Laravel 8
  • 💥 Changed constructor parameters format (now using an array)
  • ❗ 💥 New User management (removed removeGroups() method. Edit user groups to remove them)
  • 💥getUsersList() now returns a Laravel collection instead of an array
  • getUsersList() now supports more than one filter
  • 💥 The old insecure mode is now the Verify SSL option. Its behaviour has changed, so check the docs to know what has changed

⭐ Improvements

  • Revamped examples
  • 📝 Revamped docs
  • ⚡ Optimized login (should be faster)

🛠️ Fixed

  • 🐛 Redirect not working when no URL scheme is specified

🔥 Removed

  • Removed setCookie() function

1.2.2

27 Aug 13:33
Compare
Choose a tag to compare

Fixed a typo on previous release

1.2.1

27 Aug 10:08
Compare
Choose a tag to compare

This release fixes a bug for newer installations

Changelog

Major changes are marked with ❗️

🐛 Fixes

  • Unknown class error on new installations

Installing

Read the docs

Upgrading

Read the docs)

Links

1.2

22 Apr 13:40
Compare
Choose a tag to compare
1.2

This release adds some new features and fixes some bugs

Changelog

Major changes are marked with ❗️

➕ New features

  • New parameter $set_groups_user to not set groups to an admin user (check API docs)
  • Updated API Docs

⭐️ Improvements

  • Optimized/reduced login times
  • Code style improvements

🐛 Fixes

  • ❗️ User can't login if his id was > 20 (also fixes @lubos-h issue)
  • Admin might not login in some cases

Installing

Read the docs

Upgrading

Read the docs

Links

1.1.1

20 Apr 16:04
255c711
Compare
Choose a tag to compare