Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User Extender (prepareGroups functionality) #2110

Merged
merged 8 commits into from Jul 17, 2020

Conversation

askvortsov1
Copy link
Sponsor Member

Fixes #0000

Changes proposed in this pull request:

  • Added User extender with addGroupProcessor method
  • Added integration tests
  • Deprecated PrepareUserGroups

Reviewers should focus on:
Are we ok with the naming?

Confirmed

  • Frontend changes: tested on a local Flarum installation.
  • Backend changes: tests are green (run composer test).

@franzliedke franzliedke mentioned this pull request Apr 13, 2020
78 tasks
Copy link
Contributor

@franzliedke franzliedke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for all the progress on these! 🙌

src/Extend/User.php Outdated Show resolved Hide resolved
src/User/UserServiceProvider.php Outdated Show resolved Hide resolved
tests/integration/extenders/UserTest.php Outdated Show resolved Hide resolved
@@ -12,6 +12,7 @@
use Flarum\User\User;

/**
* @deprecated beta 13, remove in beta 14. Use the User extender instead.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These numbers are not correct (anymore 🙈 ). Will fix this in master.

@franzliedke franzliedke merged commit 37ebeb5 into flarum:master Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants