• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item7431: Drag and Drop Attach needs a prototype

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Enhancement Closed   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Drag and drop attach has been languishing for quite a while. (See http://www.twiki.org/cgi-bin/view/Codev/DragAndDropAttach)

This item is to enable checkin of the prototype to svn.

I've updated my prototype to be a full HTML5 Attach implementation - that is, in addition to drag and drop, it also does multiple file attach using the HTML5 multiple file selection widget. And HTML5 also enables us to put the client's last modified date on files. Note that you can drag as many files at once as you like - I've done hundreds - but not folders (an HTML5 limitation). Files are sent one at a time, and any quota is per-file, not per-upload.

Only Pattern Skin has been updated; I'm not planning on updating the others, but this can be used as a template.

Although the port to trunk is new and may have introduced the odd bug, the base code has been running for quite a while here. It's documented as an experimental feature.

The attach page automagically detects whether your browser is HTML5-compliant. If it is, you get the new UI. If not, you get the old. You can force the old with ?nohtml5 - for emergencies, or debugging. You can't force HTML5 - if your browser doesn't have the features, there's no point. There's a pointer to a topic that discusses the feature and its configuration options.

The packaging is somewhat unusual - this is because the core javascript is used in several other applications, so it has to be configurable by the page. This is also why the TWiki namespace is not used.

The graphics are a bit crude and somewhat colorful - a project for someone else. The documentation is complete, but rough.

Also, the js isn't I18n-compliant; I'm open to a reasonable approach so long as it isn't tied to TWiki. (If you fork the js, you own it.)

The code in Upload is particularly ugly - the approach was to minimize the risk to legacy operation - although the legacy code should be rewritten.

-- TWiki:Main/TimotheLitt - 2014-02-11

I am setting this to "closed". Work is finished by Hideyo-san in PatternSkin.

-- TWiki:Main.PeterThoeny - 2014-10-04

ItemTemplate
Summary Drag and Drop Attach needs a prototype
ReportedBy TWiki:Main.TimotheLitt
Codebase

SVN Range TWiki-6.0.1-trunk, Thu, 09 Jan 2014, build 26720
AppliesTo Engine
Component

Priority Enhancement
CurrentState Closed
WaitingFor

Checkins TWikirev:27001 TWikirev:27002 TWikirev:27006 TWikirev:27012
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r6 - 2014-10-04 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback