witten
/
luminotes
Archived
1
0
Fork 0
Commit Graph

8 Commits

Author SHA1 Message Date
Dan Helfman 092f3ff9c6 Removed Wiki.js.Upload_pulldown.shutdown() "force" flag as it's redundant if this.uploading is set accordingly.
Make IE 6 and 7 actually stop uploading a file when the cancel button is clicked.
Ignoring blank filename renames.
2008-02-25 21:56:33 +00:00
Dan Helfman fb7655707e More defensive programming. 2008-02-25 07:19:15 +00:00
Dan Helfman e6ff9203f3 Fix for a quota error being kicked off from each of the progress bar iframe
and the upload iframe, thereby causing one of them to hit a null
frame.pulldown member in IE 6 and throw a JavaScript error.
2008-02-25 07:13:12 +00:00
Dan Helfman e283151a9b Visually truncating really long filenames. 2008-02-25 03:23:50 +00:00
Dan Helfman 4150811d9e Many more controller.Files unit tests. 2008-02-23 22:17:02 +00:00
Dan Helfman 7b8f6bd6e5 Improved error reporting in the controller.Files.upload() method. Now
correctly displays an error to the user when uploading without a filename or
with an invalid file.
2008-02-21 19:39:03 +00:00
Dan Helfman fd0e91ea39 Implemented quota enforcement when uploading a file. This occurs in two places:
1. In progress(), around the time when the file starts uploading. This causes
an upload that's too large to bail before the whole file uploads, but the
quota calculation is only an estimate and relies on the client actually
calling progress().

2. In upload(), when the file finishes uploading. This quota calculation is
exact, but only happens after the entire upload completes.
2008-02-20 20:21:54 +00:00
Dan Helfman f6c5071099 Moved HTML streaming progress bar code into view/ where it belongs. 2008-02-19 21:27:14 +00:00