Skip to content

Latest commit

 

History

History
517 lines (381 loc) · 31.7 KB

CHANGELOG.md

File metadata and controls

517 lines (381 loc) · 31.7 KB

Changelog

Released on July 17, 2023

🐛 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

Released on October 01, 2022

✨ Features

Released on May 22, 2021

🐛 Bug Fixes

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

    📝 Docs changes

  • 30734d1 📝 Updated API Docs for 3.0.1

    👷 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
    

Released on April 09, 2021

✨ 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

      BREAKING CHANGE

    • 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)

    🔄 Updates

  • 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

    • 443658d 🔥 Removed the getForumLink

      URL is accessible via the url property

    • 80d1f7e Minor improvements

    • c1e71eb addons: 🚚 Renamed master property to flarum (consistency)

    • e886c59 example: Updated example

    • 204e0a2 examples: ✨ Added users list on the delete page

    🐛 Bug Fixes

  • 6c262d8 👽 Nickname attribute instead of display name

    🚚 Renamed

  • 768152a addons: 🚚 setAddonAttributes renamed to setAddonProperties

    ♻ 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

    🎨 Code styling

  • 1b6448b 💄 Minor example styling improvement

    📝 Docs 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

    👷 Building scripts changes

  • 56c12d7 changelog: 👷 Added changelog

    🔀 Pull Requests

  • befa080 Merge pull request #9 from richstandbrook/patch-1

    feat: ✨ Be able to programmatically signup users
    

Released on November 02, 2020

✨ Features

  • 19fa6cc Fetch user data from Flarum

    • 31089ae Support multiple arguments for hooks actions

    • b955432 ✨ Added missing default attributes

    • 264af5d ✨ New User class and properties classes

      FILES

      • Added a new User Class. This automatically fetch the user and initializes it with Flarum database info
      • Added new Attributes and Relationships classes BASIC TRAIT
      • [BREAKING CHANGE] Bundled to the user class, not to Flarum one
      • ♻️ General refactor
      • 🚚 Moved the getUsersList function to the Flarum class
      • 🚚 Moved the getLifeTimeSeconds to the Basic Trait BUNDLED ADDONS
      • [BREAKING CHANGE] Groups: 🔥 Removed removeGroups() function. Edit the User manually and then update him
      • Groups: Groups now will be updated when using the update() function
    • 0027f3e ✨ Hooks/Addons system

      This way it is possible to split features across modules. The new Traits folders includes Basic features

    ⚡ Performance Improvements

  • 02a22f9 ⚡️ Avoid unnecessary request

    🐛 Bug Fixes

  • c6e6adb Groups don't get added to the user

    ♻ Code Refactoring

  • b2d029b ♻️ Refactored comments

    • f31f07d 🚚 Moved setDomain() method
    • 7766209 ♻️ General refactor

    📝 Docs changes

  • 5a764bc Added missing docs

    • c5ffd73 📝 Updated example to add groups

    • 7ed7e78 📝 Updated docs and examples

    • 6b5e92c Updated API Docs

    • cc04d97 Added packages to every class

    • 0a4a97a Added env to example

    • ff3558f 📝 Updated docs

    • 197ebf0 Updated API Docs

      • New design!
      • Updated to the new features!
    • 96e99b3 Updated example

      • Added some HTML markup and CSS to examples
      • Updated to new plugin features

    Other changes

  • 996b9db Fixed links

    • cc0864a Removed unused packages

    • 8f81cc7 Moved set_groups_admins to Groups addon

    • 3ed03f1 Moved set_groups_admins to Groups addon

    • ad50268 improved ssl verification

      BREAKING CHANGE: changed option name and behaviour

    • f01e4bb Improved group search

    • 68df590 Changed addAddon return and setAddonAttributes

    • f9652ea 🚚 Moved cookie saving to its own method

    • 23136fa Changed method visibility

    • a676033 📄 Wrong license

    • 40b3924 Add username on init

    • a4481a3 Updated composer.json

    • 15a409a Updated composer.json

    • b6accc9 Improvements to actions and filters

      • Returns -1 if hook/filter does not exist
      • Added login and register replacer
    • 6aee96a 🔥 Removed cookie removal

      • Linked to 1ea3d15456e643f893cda609df2e6195f8352143
      • Tracker issue: #FSSOE-1
    • ac9a9be Changed to bool

    • 73df168 Support for more than one filter in users list

    • 3315834 Return always a Collection

      BREAKING CHANGE: return type

    • 6821785 🚚 Moved function logout() to Flarum

    • 0a895d0 Better error handling

    • 94b173f Improved cookie saving

    • 8842c70 ♿️ Improvements to hooks

      • fix: Hook can't be executed
      • Added 1 filter
    • 993e70b Allow null as username

      For methods that don't involve user data such as logout()

    • f1964a1 🏷️ Added type property

    • 63f7269 💥 Changed constructor parameters format

      BREAKING CHANGE

    • 806582f 🔥 Removed setCookie() function

      BREAKING CHANGE: function removed

    • f0d9655 Updated example

      • Added more ENV options
    • f4d4f8e Updated example

    • 83f0b4a Updated example

    • 6842ee6 ✨ Added support for Laravel 8

    • 5b568a8 🚚 Renamed package

    🔀 Pull Requests

  • 1cb4b3f Merge pull request #5 from maicol07/renovate/configure

    Configure Renovate
    

    BREAKING CHANGE

changed option name and behaviour

return type

function removed

Released on August 27, 2020

🐛 Bug Fixes

  • 16f4e75 ✏️: Wrong version constraint

Released on August 27, 2020

🐛 Bug Fixes

Released on April 22, 2020

✨ Features

  • abe07d7 Disable setting groups to admins

    ⚡ Performance Improvements

  • 213eb2c Optimized login times

    🐛 Bug Fixes

  • bd4ed25 set_groups_admins and update

    🐛 Bug Fixes

  • abcf173 Groups were not deleted from user

    • 6a1a7ff Removing PRO key don't deactivate PRO features

    • 9977f16 User can't login if it's not an admin

    • e44e552 Added missing class of previous commit

    • c57421a User can't login if his id > 20

      • Better getUserList method. Now is public
      • Changed full parameter to filter (see API doc)

    🎨 Code styling

  • ca1524a Rearranged code

Released on April 20, 2020

🔀 Pull Requests

  • a74be40 Merge pull request #1 from maicol07/imgbot

    [ImgBot] Optimize images
    

Released on April 20, 2020

✨ Features

  • f33e9c8 Password reset

    Includes general code style reformat and some  fixes for the pro login feature
    
    • afdb5d1 Groups setting on signup, update user

      Includes a general code style refactor and some fixes for the setGroup features

    🐛 Bug Fixes

  • 01635c3 #FSSOE-1

    • 8e55936 Fixed not_authenticated error

    Other changes

  • 06353e3 Silenced error on login form

    • bfecf7b Fixed critical rename error

    • 2167d47 Slug rename

      Plugin slug has been renamed to sso-flarum. Naming conventions from now on:

      • Files: prefix-flarum-sso-suffix.ext
      • Options names, ids or function names: prefix_flarum_sso_plugin_suffix
      • Slugs, text domain and other slug-related strings: sso-flarum with eventually a prefix, suffix or extension

1.0

Released on April 08, 2020

✨ Features

  • 30c2c61 Addded insecure mode and groups setting

    Other changes

  • 2955fd9 Release 1.0

    - Completely new WordPress plugin!
    
    • Settings page

    • PRO features (read more on docs)

    • In the nearby future will be published in the WordPress Plugins Directory!

    • 053b49b Release 1.0

      • BREAKING CHANGE! PHP 7+ required
      • BREAKING CHANGE! New request system: now using the great Flagrow API client
      • New Cookie management: now using the awesome Cookie library by Delight-im
      • New option: insecure mode (principally for local development, read in docs for more)
      • Added groups settings for users: you can now set a group for a user and, if doesn't exists, it will be created!
      • BREAKING CHANGE! Deleted sendRequest and get methods as no more used.
      • Code and performance improvements
      • Various fixes (see also the bug tracker)
    • 54a0231 New WordPress plugin

    • 47eb6d3 Better installation details

    • 4e67550 Added namespace to Flarum class

    • 08b2561 General refactor

      • !!! PLUGIN NOW REQUIRES PHP 7+
      • Plugin can now be installed with composer!
      • Organized files in folders
      • !!! Removed config.php. Configuration can now be set with class parameters
      • New Cookie management
      • Removed removeCookie method
      • Improved README.md

      BREAKING CHANGE: See description

    BREAKING CHANGE

See description