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

Make plugin compatible with Matomo 3.8 which changes UsersManager.updateUser #174

Merged
merged 12 commits into from
Dec 21, 2018

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Nov 8, 2018

@tsteur
Copy link
Member Author

tsteur commented Nov 29, 2018

@mattab I'd create a new release with this change and then when the next beta is out, people will be able to upgrade to it... until then users will only see the update is available but because the beta is not out yet, not be able to upgrade yet...

could also wait for a week or two and release it later... it'll only break the password update functionality (since it now requires to enter a password)

@mattab
Copy link
Member

mattab commented Dec 20, 2018

@tsteur sounds good, can you create the release? Does this need further testing prior?

@tsteur
Copy link
Member Author

tsteur commented Dec 20, 2018

@mattab might be good if possible, I'm quite confident it works otherwise. Tried with couple changes to make the tests work but couldn't. There is one failing test and I can't run the tests locally https://travis-ci.org/matomo-org/plugin-LoginLdap/jobs/470735622#L1201

@diosmosis
Copy link
Member

@tsteur the test failure is because the wrong password is being used in that test, the code has Fixture::ADMIN_USER_PASSWORD, but right above it the user is created w/ the password 'thispasswordwillbechanged'.

@diosmosis
Copy link
Member

updateUser is also called in UserSynchronizer, will update myself in a bit.

@tsteur
Copy link
Member Author

tsteur commented Dec 21, 2018

@diosmosis it needs the password of the currently logged in user ... not sure what this is in the tests?

@diosmosis
Copy link
Member

Oh right, forgot about that. I'll see if I can fix the build.

@diosmosis diosmosis merged commit 7e985d9 into master Dec 21, 2018
@diosmosis diosmosis deleted the 2932_password branch December 21, 2018 05:16
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.

3 participants