Commit Graph

1872 Commits

Author SHA1 Message Date
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
Micah Lee
324538bdd3
When there is only 1 file being shared, don't zip it 2018-09-20 09:14:56 -07:00
Micah Lee
dbae501689
Remove obsolete strings (#770) 2018-09-19 21:44:37 -07:00
Miguel Jacq
db73dbeb94
Merge pull request #770 from micahflee/history_ui
New UI to always show history
2018-09-20 13:21:38 +10:00
Micah Lee
5a96bcc77b
Remove adjustSize that was causing issues 2018-09-19 20:17:23 -07:00
Micah Lee
beeebce631
Set minimum width for whole application 2018-09-19 19:39:59 -07:00
Micah Lee
871135cc75
Only add a stretch at the bottom of the layout in receive mode, not share mode 2018-09-19 19:38:29 -07:00
Micah Lee
1314ddf1be
Remove upload/download toggle buttons 2018-09-19 19:36:16 -07:00
Micah Lee
499f7b1638
Always show uploads and downloads 2018-09-19 19:00:12 -07:00
Micah Lee
59003635a2
Add a horizontal layout wrapper around the vertical layout, in order to optionally add horizontal widgets to Modes 2018-09-19 18:50:42 -07:00