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

Test migration of avatars #31866

Merged
merged 4 commits into from
Apr 11, 2022
Merged

Test migration of avatars #31866

merged 4 commits into from
Apr 11, 2022

Conversation

Pytal
Copy link
Member

@Pytal Pytal commented Apr 7, 2022

Test avatar migration introduced in #31382

Avatar images can only be jpg or png files, see

if ($node->getMimeType() !== 'image/jpeg' && $node->getMimeType() !== 'image/png') {
return new JSONResponse(
['data' => ['message' => $this->l->t('The selected file is not an image.')]],
Http::STATUS_BAD_REQUEST
);
}
and
<p><em><?php p($l->t('png or jpg, max. 20 MB')); ?></em></p>

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
@Pytal Pytal added 3. to review Waiting for reviews feature: user migration Related to User migration labels Apr 7, 2022
@Pytal Pytal added this to the Nextcloud 24 milestone Apr 7, 2022
@Pytal Pytal requested review from come-nc and a team April 7, 2022 00:50
@Pytal Pytal self-assigned this Apr 7, 2022
@Pytal Pytal requested review from ArtificialOwl and vanpertsch and removed request for a team April 7, 2022 00:50
@Pytal Pytal requested review from artonge and CarlSchwan April 7, 2022 00:52
Copy link
Contributor

@come-nc come-nc left a comment

Choose a reason for hiding this comment

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

👍

@blizzz blizzz mentioned this pull request Apr 7, 2022
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Copy link
Contributor

@artonge artonge left a comment

Choose a reason for hiding this comment

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

Nice avatars

@Pytal Pytal added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Apr 11, 2022
@Pytal Pytal merged commit 209a2a6 into master Apr 11, 2022
@Pytal Pytal deleted the test-avatar-migration branch April 11, 2022 17:45
@blizzz blizzz mentioned this pull request Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish feature: user migration Related to User migration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants