Commit Graph

2449 Commits

Author SHA1 Message Date
Kalle Laine
4735bb0dda
Add homebrew install option
also discussed sort of in #863
2019-02-19 19:14:08 +02:00
Micah Lee
cdcceca98d
Add python3-requests as a Build-Depends, which is required to make PPA releases 2019-02-18 16:22:59 -08:00
Miguel Jacq
3743d9a480
Always reset the slug to an empty string when the web server stops 2019-02-19 08:37:32 +11:00
Micah Lee
8e200cd8b0
Prevent crashing when cleaning up file, if file is still in use 2019-02-18 12:28:02 -08:00
Micah Lee
3e2901ad8c
Fix minor bugs: When making the ajax POST request, strip the trailing slash from window.location.pathname so the URL works in public mode; and add a newline before printing message when receiving file 2019-02-18 10:57:20 -08:00
Micah Lee
879cf687b1
Update share mode screenshots too 2019-02-17 21:37:15 -08:00
Micah Lee
2f026e8e59
Update screenshots 2019-02-17 21:29:47 -08:00
Micah Lee
c0a23ead90
Reword licenses readme 2019-02-17 21:19:47 -08:00
Micah Lee
57522c58b6
Remove console.log() debug statements 2019-02-17 21:19:01 -08:00
Micah Lee
aaa4e239de
Merge branch 'develop' into 899_send_files_ajax 2019-02-17 10:08:01 -08:00
Micah Lee
41f5800e0e
Merge pull request #906 from mig5/show_canceled_item_as_canceled
Update the GUI when the browser has canceled an upload in Receive Mode. Don't increment the completed counter
2019-02-17 10:07:34 -08:00
Micah Lee
8921bfeb56
Merge pull request #905 from mig5/902_dont_clear_in_progress
Don't clear in-progress transfers from the History list
2019-02-17 10:02:48 -08:00
Micah Lee
422179a6b5
On error, remove the upload div 2019-02-17 09:58:57 -08:00
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
Miguel Jacq
8cf8aa201d
Use constants for history item status, to be consistent with other parts of the project 2019-02-17 17:42:25 +11:00
Miguel Jacq
759a0dc2a3
Set status attribute for ShareHistoryItems as well 2019-02-17 16:28:11 +11:00
Miguel Jacq
51e98f40e7
Update the GUI when the browser has canceled an upload in Receive Mode. Don't increment the completed counter 2019-02-17 15:49:37 +11:00
Miguel Jacq
9b35ca9bed
Don't clear in-progress transfers from the History list 2019-02-17 14:07:38 +11: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
a22d21c222
Refactor upload_logic to work with both normal uploads and ajax uploads 2019-02-14 10:11:04 -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
1dbd82f74a
Oops, was passing self.upload_error into the wrong close function 2019-02-12 16:02:19 -08:00
Micah Lee
e625d3b009
Catch more exceptions in ReceiveModeFile that trigger on a full disk 2019-02-12 15:54:25 -08:00
Micah Lee
09c2696c27
Gracefully handle exceptions while writing a file during a receive mode transfer (like out of disk space error) 2019-02-12 14:36:14 -08:00
Micah Lee
28eaf2f2be
Fix typo in comment 2019-02-12 14:30:41 -08:00
Micah Lee
dafe57cdef
When you hit an upload_error, alert the user 2019-02-11 23:23:31 -08:00
Micah Lee
5901866200
Call secure_filename on the filename first thing, so we don't end up working with multiple versions of the same filename 2019-02-11 23:05:51 -08:00
Micah Lee
9115ff89f3
Refactor receive mode to start saving files to data_dir with .part extension while they're downloading 2019-02-11 22:46:39 -08:00
Miguel Jacq
366509a75c
Re-order so persistence checkbox comes before legacy mode checkbox. Remove superfluous conditional 2019-02-11 16:23:47 +11:00
Miguel Jacq
7c71aef15b
Support persistent v3 onions 2019-02-11 11:36:18 +11:00
Micah Lee
181fed1a4a
Add public mode to changelog 2019-02-10 16:14:42 -08:00
Micah Lee
7e19b3b8b3
Merge branch 'master' into develop 2019-02-10 16:06:22 -08:00
Micah Lee
9b6ce4df22
Tweak readme again 2019-02-10 15:56:10 -08:00
Micah Lee
b0bdd166b0
Update build instructions 2019-02-10 11:30:40 -08:00
Micah Lee
7ee8c3e402
Update readme again 2019-02-10 11:00:58 -08:00
Micah Lee
ace1142056
Update readme 2019-02-10 10:59:46 -08:00
Micah Lee
462c32fb05
Update changelog, and version bump to 2.0 2019-02-10 10:49:57 -08:00
Micah Lee
dfc66c2878
Merge pull request #896 from micahflee/889_translations
Update available languages
2019-02-10 10:49:00 -08:00
Micah Lee
221518f0c4
Update available languages 2019-02-10 10:40:24 -08:00
Micah Lee
9d126ad1b4
Merge pull request #895 from micahflee/weblate
Weblate merge
2019-02-09 21:27:58 -08:00