2564 Commits

Author SHA1 Message Date
Miguel Jacq
db6ba60973 Move the noscript warning to top of page and make it appear less of an error, per more recommendations (and with supplied svg) from @ninavizz 2019-02-24 10:22:44 +11:00
ZeroDot1
ba3c509a15 Add asynchronous functions to the templates to reduce page load times.
Asynchronous functions for CSS and JS.
2019-02-23 19:37:56 +01:00
Miguel Jacq
18962ab41a Make progress, noscript warning, and flashes appear above the form, but beneath the logo 2019-02-23 13:16:06 +11:00
Miguel Jacq
5e37565783 remove actual sender_closed test function 2019-02-22 16:53:51 +11:00
Miguel Jacq
f1ec7d9381 Remove obsolete test for sender closing a Receive Mode service via the web interface 2019-02-22 16:50:40 +11:00
Edoardo (chap/itschap)
9e30bb7199 Translated using Weblate (Italian)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/it/
2019-02-21 19:13:21 +01:00
Micah Lee
d86b13d91c Remove python3-distutils from BUILD.md as well 2019-02-21 10:12:56 -08:00
Micah Lee
1f1aa6fd52 Tweak readme install language 2019-02-20 10:55:01 -08:00
Micah Lee
1e2fba5d76 Merge branch 'patch-1' of https://github.com/pahakalle/onionshare into pahakalle-patch-1 2019-02-20 10:52:00 -08:00
0xb1n0
b965dc7114 Translated using Weblate (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/pt_BR/
2019-02-20 19:51:57 +01:00
Björn von Heesen
39299cdef1 Translated using Weblate (German)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/de/
2019-02-20 19:51:55 +01:00
la corneja
f2b6cb9ea8 Translated using Weblate (German)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/de/
2019-02-20 19:51:53 +01:00
ff98sha
3872f603f6 Translated using Weblate (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/zh_Hans/
2019-02-20 19:51:51 +01:00
Micah Lee
f524679be0 Remove python3-distutils as a dependency because it isn't in every debian, and also doesn't seem necessary; and change the default suite to cosmic to make the PPA release simpler 2019-02-20 10:51:33 -08:00
Hosted Weblate
9710aa3882 Translated using Weblate (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/zh_Hans/

Translated using Weblate (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/zh_Hans/

Added translation using Weblate (Malay)

Translated using Weblate (German)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/de/

Translated using Weblate (German)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/de/

Merge branch 'origin/develop' into Weblate.

Merge branch 'origin/develop' into Weblate.

Merge branch 'origin/develop' into Weblate.

Merge branch 'origin/develop' into Weblate.

Merge branch 'origin/develop' into Weblate.

Merge branch 'origin/develop' into Weblate.

Merge branch 'origin/develop' into Weblate.

Merge branch 'origin/develop' into Weblate.

Translated using Weblate (French)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/fr/

Translated using Weblate (Bengali)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/bn/

Translated using Weblate (Bengali)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/bn/
2019-02-20 01:45:40 +01:00
Kalle Laine
39e492dae1 Add homebrew install option
also discussed sort of in #863
2019-02-19 19:14:08 +02:00
Micah Lee
5e983936eb Add python3-requests as a Build-Depends, which is required to make PPA releases 2019-02-18 16:22:59 -08:00
Miguel Jacq
7690a63935 Always reset the slug to an empty string when the web server stops 2019-02-19 08:37:32 +11:00
Micah Lee
6a658982a0 Prevent crashing when cleaning up file, if file is still in use 2019-02-18 12:28:02 -08:00
Micah Lee
2220281e80 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
b5730f1e45 Update share mode screenshots too 2019-02-17 21:37:15 -08:00
Micah Lee
409e530c6d Update screenshots 2019-02-17 21:29:47 -08:00
Micah Lee
c39698e95e Reword licenses readme 2019-02-17 21:19:47 -08:00
Micah Lee
f887d543d1 Remove console.log() debug statements 2019-02-17 21:19:01 -08:00
Micah Lee
430396a433 Merge branch 'develop' into 899_send_files_ajax 2019-02-17 10:08:01 -08:00
Micah Lee
23957841f3 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
afe0cd37bf 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
fb2ffdae8b On error, remove the upload div 2019-02-17 09:58:57 -08:00
Micah Lee
711377f0d5 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
5cdd5521e9 Update red and green colors to match the Qt GUI colors 2019-02-17 08:12:45 -08:00
Miguel Jacq
34b2caafaa 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
81bd87c325 Set status attribute for ShareHistoryItems as well 2019-02-17 16:28:11 +11:00
Miguel Jacq
5ba7d544bc 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
54f7e54c67 Don't clear in-progress transfers from the History list 2019-02-17 14:07:38 +11:00
Micah Lee
1b68adc6d0 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
002f91d108 Added jQuery, and jQuery license 2019-02-15 15:33:54 -08:00
Micah Lee
032d545030 Make uploading over ajax, and ajax flash messages, work 2019-02-15 14:52:00 -08:00
Micah Lee
18fe0b1760 Refactor upload_logic to work with both normal uploads and ajax uploads 2019-02-14 10:11:04 -08:00
Micah Lee
bc9312da30 Display upload progress percent in submit button 2019-02-14 09:45:41 -08:00
Micah Lee
109276661b 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
ed86769e65 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
d7476d8556 Starting to implement upload progress 2019-02-13 09:56:36 -08:00
Micah Lee
4b8e910cac Add noscript warning 2019-02-13 09:19:04 -08:00
Miguel Jacq
e4ad7bcd22 remove code that doesn't work anyway 2019-02-13 14:10:27 +11:00
Miguel Jacq
29884941ed fix missing bracket 2019-02-13 13:53:03 +11:00
Miguel Jacq
f4b701a594 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
38238fec40 Oops, was passing self.upload_error into the wrong close function 2019-02-12 16:02:19 -08:00
Micah Lee
9f611331c6 Catch more exceptions in ReceiveModeFile that trigger on a full disk 2019-02-12 15:54:25 -08:00
Micah Lee
2ee61f04ee 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
eebeba977f Fix typo in comment 2019-02-12 14:30:41 -08:00