-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add sgi Previews #37758
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
Add sgi Previews #37758
Conversation
|
Maybe to add, Please add a changelog 😅 |
|
@mmattel Raised a docs ticket owncloud/docs#2735 |
ChrisEdS
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as expected. <3
|
Will this go when merged into 10.5 or in a subsequent release ? |
10.5.0 is closed. |
Codecov Report
@@ Coverage Diff @@
## master #37758 +/- ##
============================================
- Coverage 64.71% 64.71% -0.01%
- Complexity 19387 19388 +1
============================================
Files 1283 1284 +1
Lines 75737 75739 +2
Branches 1333 1333
============================================
Hits 49013 49013
- Misses 26332 26334 +2
Partials 392 392
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #37758 +/- ##
============================================
- Coverage 64.71% 64.71% -0.01%
- Complexity 19387 19388 +1
============================================
Files 1283 1284 +1
Lines 75737 75739 +2
Branches 1333 1333
============================================
Hits 49013 49013
- Misses 26332 26334 +2
Partials 392 392
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
|
@DeepDiver1975 I am not sure about that mimetypes. Changed it. |
925db6f to
3e1e919
Compare
|
Reduced it again to the simple set. |
|
Are there tests needed ? or merging without (already approved...) |
|
basic unit tests are already done for the parent class |
|
Maybe asking @phil-davis for help? |
|
I can also write tests 😄 , IMO the existing tests are enough. This pr is ready to merge |
|
We do not currently have specific automated end-to-end acceptance tests for preview generation of each of the supported file types. There are just "generic" test scenarios for "ordinary" text files. Making such tests in a useful way (i.e. that know what preview result to really expect for each file type) would need to be a separate issue that can be done according to priority. |
|
ok, merging now. |
Description
This is adding support for SGI images
https://en.wikipedia.org/wiki/Silicon_Graphics_Image
The new supported file extensions are
.sgior.rgb3 colour channels
.rgba3 colour cha-nnels and alpha
.bwor.intblack and white
.intablack and white and alpha
These files will be associated with the mimetype
image/sgi.This mimetype is not officially registered. https://www.iana.org/assignments/media-types/media-types.xhtml
Dependency
Related Issue
https://github.com/owncloud/enterprise/issues/4131
Motivation and Context
How Has This Been Tested?
Demo Files
RGB.zip
Screenshot File List
Screenshot Details View
Screenshot Mediaviewer
Screenshots (if appropriate):
Types of changes
Checklist: