Commit Graph

1984 Commits

Author SHA1 Message Date
Miguel Jacq
d34364530d
Analyse the right file size to determine if the download has finished in the UI (in order to decide whether to stop server yet) 2018-09-25 14:40:10 +10:00
Miguel Jacq
2a7adb2365
Merge branch 'develop' into gui_tests 2018-09-24 10:42:46 +10:00
Miguel Jacq
de9bc975a4
Refactor the unit tests to use common, abstracted tests 2018-09-24 10:41:48 +10:00
Micah Lee
83a9ce9f4f
Merge branch 'update-deps' into develop 2018-09-23 14:50:54 -07:00
Micah Lee
03df46ea5a
Merge pull request #785 from Baccount/update-deps
Bump Tor to 0.3.4.8
2018-09-23 14:49:48 -07:00
Micah Lee
e460acbb91
Fix locale test 2018-09-23 14:39:29 -07:00
Micah Lee
6193047d6b
Fixes a few strings after testing 2018-09-23 14:36:36 -07:00
Micah Lee
86f2c198d5
Fix some of the language on strings, and move back to "upload" and "download" terminology 2018-09-23 14:00:13 -07:00
Allan Nordhøy
bead9d93e9
Spelling cancelled ;) 2018-09-23 06:38:39 +02:00
Allan Nordhøy
d773a777cc
No "expired", Allowed sharing timeframe 2018-09-23 06:28:31 +02:00
Allan Nordhøy
180a61d4ba
Language rework 2018-09-23 06:22:05 +02:00
Baccount
726a3e4b09
Upgrade Tor to 0.3.4.8 2018-09-22 11:20:55 -07:00
Baccount
bd4f3e5fe7
Update get-tor-windows.py 2018-09-22 11:18:18 -07:00
Miguel Jacq
4e68c62b9c
Nope 2018-09-22 18:07:14 +10:00
Miguel Jacq
157dde37e3
pytest 2018-09-22 18:01:17 +10:00
Miguel Jacq
cb3ed3eadd
One more travis test 2018-09-22 17:57:53 +10:00
Miguel Jacq
9a505af3bb
Add persistent slug test. Add test of clipboard contents in Share mode. Remove travis stuff that I couldn't get to work 2018-09-22 17:47:38 +10:00
Miguel Jacq
d48d780686
fighting with travis... 2018-09-22 17:06:02 +10:00
Miguel Jacq
174cfbd3fb
need pytest-qt 2018-09-22 17:02:16 +10:00
Miguel Jacq
7c9cc76cce
xvfb might already be installed? 2018-09-22 16:57:26 +10:00
Miguel Jacq
12838f8e9d
Try and make travis-friendly tests 2018-09-22 16:54:52 +10:00
Miguel Jacq
f09d539521
GUI unit tests in both share and receive mode 2018-09-22 16:50:39 +10:00
Miguel Jacq
a1d6834bc7
Merge pull request #782 from micahflee/781_fix_receive_mode
Access .upload_count from the correct object after the web refactor
2018-09-22 10:50:07 +10:00
Micah Lee
a1cddeb9a9
Access .upload_count from the correct object after the web refactor 2018-09-21 17:42:36 -07:00
Miguel Jacq
bddddff546
Merge pull request #774 from micahflee/663_zip_away
Don't zip if only sharing one file, and big refactor of web module
2018-09-22 10:13:53 +10:00
Micah Lee
4d125bd3dc
Actually tell the GUI the progess 2018-09-21 17:08:11 -07:00
Micah Lee
bacd2a1be6
Include onionshare.web module in setup.py 2018-09-21 16:24:22 -07:00
Micah Lee
017a4ebe31
Merge branch 'develop' into 663_zip_away 2018-09-21 16:23:49 -07:00
Micah Lee
09ccbf4a60
Dynamically figure out the total size of the download based on the whether or not the client making the http request accepts gzip 2018-09-21 16:22:37 -07:00
Miguel Jacq
ffbc5f7ee9
Merge pull request #779 from micahflee/small_locale_fixes
A few more locale fixes...
2018-09-22 09:15:19 +10:00
Micah Lee
98fcf4d0ac
Remove the 'using_ephemeral' string 2018-09-21 15:11:18 -07:00
Miguel Jacq
d45ad21208
Merge pull request #777 from micahflee/small_locale_fixes
Remove unused wait_for_hs string, and change tests to test with a dif…
2018-09-22 07:27:31 +10:00
Miguel Jacq
891bc75ea2
Merge pull request #772 from micahflee/linux_deps
Make fedora and debian dependencies get added as package dependencies
2018-09-22 06:59:58 +10:00
Micah Lee
eac4e44dc5
Remove no_filenames string, and instead display CLI usage if you don't specify filenames 2018-09-21 13:58:42 -07:00
Micah Lee
44f408c9ac
Remove unused wait_for_hs string, and change tests to test with a different string. Also remove a few other unused strings 2018-09-21 13:38:01 -07:00
Micah Lee
2a309af680
If only sharing one file, compress it with gzip, and serve it with gzip compression if the browser supports it 2018-09-21 12:29:23 -07:00
Micah Lee
98aae9d83b
Pass common into ShareModeWeb and ReceiveModeWeb 2018-09-21 11:41:49 -07:00
Micah Lee
28fd67cbcc
Move more mode-specific logic out of the Web class and into the approprate mode web classes 2018-09-21 11:36:19 -07:00
Micah Lee
a86681e903
Refactor the CLI main function to explicitly use 'share' or 'receive' mode 2018-09-21 11:19:36 -07:00
Micah Lee
cc9f646f8b
Refactor web even more to all of the share and receive web logic into ShareModeWeb and ReceiveModeWeb classes 2018-09-21 11:14:32 -07:00
Micah Lee
8ce90fdd60
Refactor web to push share and receive mode logic into their respective files 2018-09-20 23:58:27 -07:00
Micah Lee
357985fd12
Fix tests to point to new location of ZipWriter class 2018-09-20 23:45:13 -07:00
Micah Lee
71ea9bf29e
Split the web module into different files for receive mode and share mode logic 2018-09-20 23:43:04 -07:00
Micah Lee
603be8a02c
Make web a module, so I can split it into multiple files 2018-09-20 23:31:52 -07:00
Micah Lee
81fa5e052c
Only add the download_filename to cleanup_filenames (which get deleted) if the file is zipped up. Otherwise, OnionShare deletes the original file 2018-09-20 23:18:17 -07:00
Miguel Jacq
92d5edfa4d
Merge pull request #773 from micahflee/ctrl_c
Smoothly quit when Ctrl-C is pressed
2018-09-21 16:17:28 +10:00
Micah Lee
5bc8e0a5e5
Smoothly quit when Ctrl-C is pressed 2018-09-20 23:09:14 -07:00
Micah Lee
ea938e2439
Change more references to web.zip_filesize to be refer to web.download_filesize 2018-09-20 12:25:07 -07:00
Micah Lee
12a5b68d16
Also package the new python modules 2018-09-20 09:30:44 -07:00
Micah Lee
696665815e
Make fedora and debian dependencies get added to packages built 2018-09-20 09:26:11 -07:00