Skip to content

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>

Pytal added 2 commits April 7, 2022 00:24
Signed-off-by: Christopher Ng <[email protected]>
@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 a team and come-nc 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 CarlSchwan and artonge 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
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.

4 participants