Mobile Uploads to Phabricator possible?
Closed, ResolvedPublic

Description

Seems the cloud / upload icon only offers the text blurb:

“To add files, drag and drop them into the comment text area.”

Is there a method to enable uploads via a link or file chooser?

troy_s created this task.Oct 26 2014, 6:44 PM
troy_s updated the task description. (Show Details)
troy_s raised the priority of this task from to Needs Triage.
troy_s assigned this task to philippej.
troy_s added a project: Restricted Project.
troy_s added a subscriber: troy_s.

Do you want a no frills option? Old school html?

http://www.w3schools.com/tags/att_input_accept.asp

Cant guarantee it would work with the software here ill do research on phabricator.

Do you want a no frills option? Old school html?

http://www.w3schools.com/tags/att_input_accept.asp

Cant guarantee it would work with the software here ill do research on phabricator.

If its a simple hack depending on how it works, making a mobile fallback javascript that displays a regular upload button. Ill see might be browser dependent.

Do you want a no frills option? Old school html?

http://www.w3schools.com/tags/att_input_accept.asp

Cant guarantee it would work with the software here ill do research on phabricator.

If its a simple hack depending on how it works, making a mobile fallback javascript that displays a regular upload button. Ill see might be browser dependent.

Code Analysis confirms its a form. Should be easy to add a button there for fallback.

<form method="POST" class="aphront-dialog-view  aphront-dialog-view-standalone" data-sigil="jx-dialog">
<input type="hidden" name="__csrf__" value="B@ewwo3y3i6111f5cbe2e92a24"><input type="hidden" name="__form__" value="1">
<input type="hidden" name="__dialog__" value="1">
<div class="aphront-dialog-head">
<div class="phui-action-header sprite-gradient gradient-lightblue-header">
<h3 class="phui-action-header-title">Upload File</h3>
</div></div>
<div class="aphront-dialog-body grouped">To add files, drag and drop them into the comment text area.</div><div class="aphront-dialog-tail grouped">
<a href="/" class="button grey" name="__cancel__" data-sigil="jx-workflow-button" data-meta="3_0">Close</a>
</div>
</form>

Ok well actually assuming there isnt a javascript authentication script tied to it.

philippej triaged this task as Low priority.Oct 27 2014, 9:13 PM

Will raise the issue at phabricator. Or if anyone wants to do it, it is here : https://secure.phabricator.com

If you create an issue for this, please post it here for tracking.

philippej closed this task as Resolved.Oct 28 2014, 12:22 PM

Now tracked here : https://secure.phabricator.com/T5187

So I guess it will land at some point. Closing this one to reduce clutter.

By the way, you can use this link to upload files : http://lab.apertus.org/file/upload/

Then add the file manually using it's id in any textarea.

Not so convenient, but hey, you choose to use a tablet :-)

The last suggestion works fine.