History | View | Annotate | Download (13.6 kB)
Fix uploads for files with funny names, by using URL.encode() instead of URL.encodeComponent(). The latter is required for HTML form-based uploads only.
Properly cancel the upload for both gears-enabled and regular file uploads. This doesn't seem to be working in my localhost tests, but it must be either a bug in gears, or the too fast connection to the server from the loopback interface.
Perform the validation checks for every selected file and do it before starting the file uploads. Also, handle all possible error responses to the PUT requests.
Add a help comment on the file upload dialog mentioning the extra functionality provided by google gears and a link for installing it.
Use separate progress bars next to each file, in order to better track the progress of the upload process.
Introduce TransactionHelper, a utility class for retrying the supplied transactional command in the face of rollbacks caused by optimistic lock exceptions. This allows multiple file uploads to succeed, even in a single core system.
Also make hitting the ENTER key behave the same as clicking the Upload button.
Fix uploading file when a synonymous one is in the trash.
First rough implementation of the file upload functionality using Google Gears. Multiple file uploads are still buggy, but single file uploads are mostly working as before.