Commit Graph

23 Commits

Author SHA1 Message Date
Micah Lee
77aa909e35
Don't use jQuery for the ajax request, instead manually use an XMLHttpRequest in order to more easily support multiple upload divs 2019-02-17 09:51:19 -08:00
Micah Lee
c349e6049c
Update red and green colors to match the Qt GUI colors 2019-02-17 08:12:45 -08:00
Micah Lee
2d78b545a5
Refactor file upload interface to use jQuery, and to have separate upload progress bars. The progess bars make clear when the data has been sent to the first Tor node, and when its waiting on the rest of the Tor network. It also allows the sender to cancel uploads 2019-02-15 18:52:28 -08:00
Micah Lee
7e709bb234
Added jQuery, and jQuery license 2019-02-15 15:33:54 -08:00
Micah Lee
e2c4ec1f6f
Make uploading over ajax, and ajax flash messages, work 2019-02-15 14:52:00 -08:00
Micah Lee
38c39918d4
Display upload progress percent in submit button 2019-02-14 09:45:41 -08:00
Micah Lee
dd3f2d60b6
Update the noscript upload instructions on the receive mode upload page, and add separate page for instructions to disable NoScript XSS setting 2019-02-14 09:31:39 -08:00
Micah Lee
1c16b092a3
Use a div that gets hidden, instead of a <noscript> tag, because the <noscript> tag doesn't when the security slider is on Safer 2019-02-13 17:40:33 -08:00
Micah Lee
5755cd625b
Starting to implement upload progress 2019-02-13 09:56:36 -08:00
Micah Lee
105329fa28
Add noscript warning 2019-02-13 09:19:04 -08:00
Miguel Jacq
54e0b6ffda
remove code that doesn't work anyway 2019-02-13 14:10:27 +11:00
Miguel Jacq
044c4d0e6e
fix missing bracket 2019-02-13 13:53:03 +11:00
Miguel Jacq
6c36fcb953
Use Ajax to send files in receive mode to workaround browser bug with large files 2019-02-13 12:49:42 +11:00
Micah Lee
73f09f14c4
Make 404 error page look better, and remove the text that it's probably a typo, because in public mode that isn't necessarily true 2018-09-15 19:52:53 -07:00
Miguel Jacq
4092a65e0c
Improve styling of flash() messages by using categories, and style the closed.html. Replace references to 'Uploading' with 'Sending' for consistency 2018-07-17 11:45:14 +10:00
Micah Lee
bd7305ab16
Add new WSGI middleware just to attach the Web object to environ, and improve the UI of file upload progress 2018-03-21 18:27:42 -07:00
Micah Lee
72698a7247
Display a template after closing the server, and standardize the style of other simple templates 2018-03-14 08:30:14 -07:00
Micah Lee
01f86daf8f
In receive mode, allow uploader to close the server when they are done 2018-03-14 08:16:09 -07:00
Micah Lee
000d9620c1
Add flash messages to receive template, and begin implementing upload POST 2018-03-13 05:50:26 -07:00
Micah Lee
9a800d90b2
Started designing HTML/CSS for receive mode 2018-03-07 10:12:10 -08:00
Micah Lee
649afa2fad
Move (optional) javascript into file, and use CSP to ban inline js 2018-03-06 03:17:54 -08:00
Micah Lee
4606a3ad3a
Stop using inline css, and reorganize static folder 2018-03-06 03:03:24 -08:00
Micah Lee
ce852fc60a
Create separate templates and static folder, and make the web app use both of these. Yay, now we have real static resources 2018-03-06 02:54:12 -08:00