Skip to content

Text file preview pr 707 with develop - #1095

Merged
masensio merged 50 commits into
masterfrom
text_file_preview_pr_707_with_develop
Sep 7, 2015
Merged

masensio merged 50 commits into
masterfrom
text_file_preview_pr_707_with_develop

Conversation

@tobiasKaminsky

Copy link
Copy Markdown
Contributor

successor of #707
contains fix for rotating device

…roid into us4_view_text_files

Conflicts:
	src/com/owncloud/android/datamodel/OCFile.java
	src/com/owncloud/android/ui/activity/FileDisplayActivity.java
Conflicts:
	src/com/owncloud/android/ui/activity/FileDisplayActivity.java
@tobiasKaminsky tobiasKaminsky added this to the 1.8-current milestone Aug 13, 2015
@davivel davivel mentioned this pull request Aug 14, 2015
@stoyicker stoyicker mentioned this pull request Aug 17, 2015
@stoyicker

Copy link
Copy Markdown
Contributor

@davivel I need write access to push the fix directly here.

@davivel

davivel commented Aug 31, 2015

Copy link
Copy Markdown
Contributor

Sorry for being so late, @stoyicker .

@karlitschek , could you give write access to @stoyicker in this repository? I think he already sent the contributor agreement in the past.

Thanks.

@davivel

davivel commented Sep 1, 2015

Copy link
Copy Markdown
Contributor

@stoyicker , you should have the permissions now.

@stoyicker

Copy link
Copy Markdown
Contributor

it's up

@masensio

masensio commented Sep 1, 2015

Copy link
Copy Markdown

@stoyicker thanks

@purigarcia

Copy link
Copy Markdown
Contributor

@stoyicker ready to test again :). Thanks. I'm on it

masensio added 2 commits September 2, 2015 13:23
…r_707_with_develop

Conflicts:
	res/layout/file_preview.xml
	src/com/owncloud/android/ui/activity/FileDisplayActivity.java
…ncloud/android into text_file_preview_pr_707_with_develop
@masensio

masensio commented Sep 2, 2015

Copy link
Copy Markdown

PR updated with master branch again. @purigarcia

masensio and others added 2 commits September 4, 2015 14:31
Conflicts:
	src/com/owncloud/android/ui/activity/FileDisplayActivity.java
	src/com/owncloud/android/ui/fragment/OCFileListFragment.java
@davivel

davivel commented Sep 4, 2015

Copy link
Copy Markdown
Contributor

Thanks, @stoyicker , but QA hits hard again.

With the white-list approach you implemented many suitable "text/" type files cannot be previewed. Checking an extensive list of MIME types seems better a black-list approach: show all the "text/" files but those that can be "problematic".

I pushed a change in this sense. Feel free to review and comment if you know of well-known MIME-types that should be in the black-list too.

Sorry for not being clear enough from the first moment, my bad :'(

@stoyicker

Copy link
Copy Markdown
Contributor

Nah I don't really know a lot about the different formats, so not much I can add here. I still believe that whitelisting would be a better and more controllable approach though, but whatever, as you prefer.

@masensio

masensio commented Sep 7, 2015

Copy link
Copy Markdown

Branch updated with master.
Waiting for travis.

masensio pushed a commit that referenced this pull request Sep 7, 2015
…develop

Text file preview pr 707 with develop
@masensio
masensio merged commit 22f0f59 into master Sep 7, 2015
@masensio
masensio deleted the text_file_preview_pr_707_with_develop branch September 7, 2015 08:47
@masensio

masensio commented Sep 7, 2015

Copy link
Copy Markdown

Feature on master branch. Thanks @stoyicker

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.

5 participants