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

Fix preview or viewing of shared animated GIFs #6386

Merged
merged 6 commits into from May 26, 2023

Conversation

2403905
Copy link
Contributor

@2403905 2403905 commented May 25, 2023

Description

Fix preview or viewing of shared animated GIFs

Related Issue

Motivation and Context

How Has This Been Tested?

  • test environment: local, tested manually

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

@update-docs
Copy link

update-docs bot commented May 25, 2023

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@ownclouders
Copy link
Contributor

ownclouders commented May 25, 2023

💥 Acceptance test wopiValidatorTests-ocis failed. Further test are cancelled...

@2403905 2403905 force-pushed the issue-5418 branch 2 times, most recently from 22fc8a3 to fb786ec Compare May 25, 2023 10:45
@2403905 2403905 marked this pull request as ready for review May 25, 2023 13:10
@2403905 2403905 requested a review from micbar May 25, 2023 13:11
@2403905 2403905 changed the title temp commit Fix preview or viewing of shared animated GIFs May 25, 2023
@micbar
Copy link
Contributor

micbar commented May 25, 2023

Why do we need changes on the protobuf?

This reverts commit dba4251.
@2403905
Copy link
Contributor Author

2403905 commented May 25, 2023

Why do we need changes on the protobuf?

The reason why I did it is to set the default value jpg based on the logic that was used.

func extensionToThumbnailType(ext string) thumbnailsmsg.ThumbnailType {

So, I just checked again. It is not necessary. I rolled that commit back.

Copy link
Contributor

@micbar micbar left a comment

Choose a reason for hiding this comment

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

Still two issues with codacy.

@2403905 2403905 force-pushed the issue-5418 branch 2 times, most recently from 793f0c6 to d62fc09 Compare May 25, 2023 16:07
@sonarcloud
Copy link

sonarcloud bot commented May 25, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

36.7% 36.7% Coverage
10.9% 10.9% Duplication

@2403905 2403905 requested a review from micbar May 25, 2023 19:16
@micbar micbar requested a review from kobergj May 25, 2023 19:56
Copy link
Collaborator

@kobergj kobergj left a comment

Choose a reason for hiding this comment

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

Cool 👍

@2403905 2403905 merged commit e57e604 into owncloud:master May 26, 2023
3 checks passed
ownclouders pushed a commit that referenced this pull request May 26, 2023
* Fix preview or viewing of shared animated GIFs

---------

Co-authored-by: Roman Perekhod <rperekhod@owncloud.com>
@micbar micbar mentioned this pull request Jun 6, 2023
86 tasks
fschade pushed a commit that referenced this pull request Jul 10, 2023
* Fix preview or viewing of shared animated GIFs

---------

Co-authored-by: Roman Perekhod <rperekhod@owncloud.com>
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.

Preview or viewing of shared animated GIFs return a 500 error
4 participants