Releases: maicol07/flarum-sso-php-plugin
3.3
3.2
3.1
Released on October 01, 2022
✨ Features
-
b923d57✨ Added ability to specify the cookie name prefix- Standardized the PHPDoc🐛 Bug Fixes
-
fff7f46Fix API docs action config file path-
3aad2d5Fix API docs action name -
282fc5cupgrade bootstrap from 4.5.2 to 4.6.0Snyk has created this PR to upgrade bootstrap from 4.5.2 to 4.6.0.
See this package in npm:
https://www.npmjs.com/package/bootstrapSee this project in Snyk:
https://app.snyk.io/org/maicol07/project/14ec3470-1b32-45eb-bbcd-6750c6ff2cb5?utm_source=github&utm_medium=upgrade-pr
Other changes
-
-
f701ef4👷 Added API docs actionfcf2d86👷 Added changelog generator actiond9a76ddDelete issue template85938c3Don't allow new issues on Githubf3ed428deps: Support Laravel 9
🔀 Pull Requests
-
b79a144Merge pull request #23 from maicol07/snyk-upgrade-de94e331fd0de516aa6ee2b157279c87[Snyk] Upgrade bootstrap from 4.5.2 to 4.6.0
New Contributors
Full Changelog: 3.0.1...3.1
3.0.1
3.0
📝 Documentation changes
2b2dcb3📝 Updated docs94a2a84📝 Updated docs37ce682📝 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 userupdatemethod- ✨ 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 thefetchUsermethod to simplyfetche9c1c9e🚚 Moved and Renamed the Basic trait to the Auth trait in the Maicol07\SSO\User\Traits namespace80d1f7eMinor improvementsc1e71ebaddons: 🚚 Renamed master property to flarum (consistency)e886c59example: Updated example204e0a2examples: ✨ Added users list on the delete page
✨ Features
d173cb1✨ Addons can now specify what addons are required to be loaded before itc0dc540✨ Allow to change the remember property via theisSessionRememberedmethodf152d95✨ 💥 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 improvements5865c51✨ Changedlifetimetoremember- 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
lifetimesetting withremember - BREAKING CHANGE: 💥 Removed the
getLifeTimeSecondsmethod - 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 traite3c00de♻️ Refactor doctum.config.phpa72432d♻️ Refactor doctum.config.php6331b3c♻️ General refactor
Rename
768152aaddons: 🚚setAddonAttributesrenamed tosetAddonProperties
🎨 Code styling
1b6448b💄 Minor example styling improvement
🔀 Pull Requests
2.0 - The modular update
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
1.2.1
1.2
This release adds some new features and fixes some bugs
Changelog
Major changes are marked with ❗️
➕ New features
- New parameter
$set_groups_userto 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
Changed license to MIT, as pointed out here: https://discuss.flarum.org/d/21666-single-sign-on-sso-with-wordpress-integration/171