Ulrike Uhlig
6cceac3b3e
Improve AppArmor profiles and enforce them.
...
Work from Tails Developers, main git repository, currently devel branch.
Upstream commits:
commit 6e7ad41ca9664246856fe9553c202f09a1d1066b
Remove superfluous AppArmor rule.
The pattern `[^.]*` matches a subset of `[^.]**`, so we only need to
keep the latter.
commit b3a827d8e3c3fee78ec18450dfaf38a3d4eaf270
Make onionshare-gui able to access folders beneath $HOME.
Without this change e.g. ~/Documents is inaccessible. To be honest,
this does not makes sense to me, as my interpretation of the old
patterns clearly should allow subfolders and files therein.
commit db2b3a3f73aa01a54c9b7cb5ab83da1d083b7169
WIP: AppArmor profile improvements.
2017-01-18 20:58:03 +01:00
Ulrike Uhlig
ebdc92bfa7
Merge branch 'master' of https://github.com/micahflee/onionshare
2017-01-18 20:50:03 +01:00
Micah Lee
90a11d730a
Updated windows pip requirements, and improved build instructions for pyinstaller
2017-01-08 12:44:27 -08:00
Micah Lee
8493a398ef
Add a pyinstaller spec
2017-01-07 18:17:15 -08:00
Micah Lee
b7e9bed65a
Use a virtualenv, and put pip deps in requirements.txt
2017-01-07 18:17:02 -08:00
Micah Lee
f922be8ce8
Add pyinstaller dependency to build instructions, and remove cx_Freeze
2017-01-07 17:48:14 -08:00
Micah Lee
2345df30d5
Remove cx_Freeze code from setup.py (so remove OSX/Windows), and refactor Linux slightly to use file_list function
2017-01-07 17:45:09 -08:00
Micah Lee
12acb893f8
Add new AuthenticationFailure exception, and make the Onion/stem code catch more exceptions when connecting to a Tor controller
2017-01-07 17:31:26 -08:00
Micah Lee
db052ce85f
Moved onionshare and onionshare_gui logic directly into __init__.py files
2017-01-06 19:00:08 -08:00
Micah Lee
f8005a63ea
Change GPL copyright from 2016 to 2017
2017-01-06 18:58:15 -08:00
Micah Lee
5284c586b4
https://micahflee.com/2015/09/why-i-say-linux-instead-of-gnulinux/
2017-01-06 18:07:15 -08:00
Micah Lee
d690e50705
Rewrite build documentation to be simpler
2017-01-06 17:44:29 -08:00
Micah Lee
f14b5ebfa1
Catch exceptions for guessing default Tor Browser socket file path
2017-01-06 11:54:42 -08:00
Micah Lee
d069cc2a29
Guess the default socket file path for new versions of Tor Browser in OS X
2017-01-06 11:46:41 -08:00
Garrett Robinson
406fffdb39
Make render_template_string autoescape by default in Flask versions < 0.11
2016-12-30 13:04:19 -05:00
Garrett Robinson
bfbf006c57
Revert "Added a function to remove HTML from file and directory names"
...
This reverts commit 11c5f5b699
.
2016-12-30 12:04:09 -05:00
Garrett Robinson
e1f9957f56
Revert "Replaced sanitize_html() function that was based on regex with python3's html.escape()"
...
This reverts commit cff11cd7e4
.
2016-12-30 12:02:40 -05:00
Micah Lee
0ab29ff8af
When a share is active, disable the full advanced options group, not just the stealth checkbox
2016-12-29 14:35:57 -08:00
Micah Lee
cd63dc37f1
Remove the alert function, replace it with the Alert class
2016-12-29 14:23:19 -08:00
Micah Lee
50835b67f8
You must connect to a socket file instead of a port for Tor Browser 6.5a6. Make automatic settings fallback to socket file if the port doesn't work (only for Linux so far, have not tested in OS X, and is not supported in Windows)
2016-12-29 13:36:29 -08:00
Micah Lee
a0abab3653
Make automatic settings work with with Tor Browser 6.0.8
2016-12-29 12:57:58 -08:00
Micah Lee
fa7bec2fae
Handle new Tor controller errors in GUI
2016-12-29 10:34:40 -08:00
Micah Lee
ebf13cfa11
Handle new Tor controller errors in CLI
2016-12-29 10:16:20 -08:00
Micah Lee
b8e797049b
Display information about tor when testing settings is successful
2016-12-29 10:03:29 -08:00
Micah Lee
19d020f245
Onion now connects to the Tor controller using the settings in Settings (except automatic still needs some work), and the settings dialog handles error when testing settings
2016-12-29 09:58:13 -08:00
Micah Lee
943e23658e
Created an alert class, so other parts of the GUI can make alert popups
2016-12-29 09:57:27 -08:00
Micah Lee
5bfa4da648
Refactor Settings object so it does not load from file by default. Make it so you can pass a Settings into Onion, to test settings
2016-12-29 08:02:32 -08:00
Micah Lee
9462b7d05f
Clicking Save in the settings dialog saves settings
2016-12-28 20:03:32 -08:00
Micah Lee
c9607cf986
Remove wrong comment
2016-12-28 19:53:02 -08:00
Micah Lee
25109c8a66
Created a Settings object, which loads and saves settings to file, and made the Settings dialog use the settings from this object
2016-12-28 19:52:21 -08:00
Micah Lee
cc78074a72
Designed the GUI settings dialog, but none of it does anything yet
2016-12-28 18:44:41 -08:00
Micah Lee
00b0ce443c
Add a menu bar, with a stub for Settings, and Quit
2016-12-28 15:55:31 -08:00
Micah Lee
5328f339f0
Update error message language for stealth onion services not supported
2016-12-28 14:44:25 -08:00
Micah Lee
0e44a2e1fc
When you uncheck the advanced options checkbox, also uncheck all advanced options
2016-12-28 14:43:47 -08:00
Micah Lee
a56c9b56a6
Put stealth option in a separate advanced group, in anticipation of other advanced options
2016-12-28 09:55:14 -08:00
Micah Lee
241b11c37a
Merge branch 'b3sigma-fixzipthreadproblem'
2016-12-28 08:42:33 -08:00
Micah Lee
b03e888304
Merge branch 'fixzipthreadproblem' of https://github.com/b3sigma/onionshare into b3sigma-fixzipthreadproblem
2016-12-28 08:36:07 -08:00
Micah Lee
0a152a662f
Merge branch 'b3sigma-fixoldsteminterface'
2016-12-28 08:33:23 -08:00
Sigma
4f9016ff51
Fix for zipprogress bar qwidget access from a thread, which is invalid as qwidgets are neither reentrant nor thread safe. Fixes issue #334
2016-12-26 12:57:18 -08:00
Sigma
7fe9f3be13
Support stem versions older than 1.5.0 again. Fix for issue #332
2016-12-25 22:27:47 -08:00
Micah Lee
6eed7258a7
Properly handle errors for using stealth onion services in the GUI, instead of crashing in the background ( #144 )
2016-12-23 19:08:18 -08:00
Micah Lee
286573bda5
Added support for stealth onion services in the GUI version
2016-12-22 17:47:05 -08:00
Micah Lee
6fdef85878
Catch all exceptions when checking for stealth support, not just TypeError, to successfully identity old versions of stem
2016-12-22 17:07:01 -08:00
Micah Lee
eff0d3729a
Add support for stealth onion services in CLI version
2016-12-22 16:56:39 -08:00
Micah Lee
fd41eac48d
Added dev scripts for launching onionshare and onionshare-gui from the source code tree, without having to install it
2016-12-22 16:19:54 -08:00
Micah Lee
4db66a860a
Merge branch 'eightnoteight-master'
2016-12-22 16:00:51 -08:00
Micah Lee
eb00a29ca7
Merge branch 'master' of https://github.com/eightnoteight/onionshare into eightnoteight-master
...
Conflicts:
onionshare/web.py
onionshare_gui/onionshare_gui.py
resources/locale/cs.json
resources/locale/eo.json
resources/locale/nl.json
This merge required quite a bit of refactoring because.
2016-12-22 16:00:06 -08:00
Micah Lee
a67a037885
Merge branch 'choltz95-wrap-progress-bar'
2016-12-22 15:15:50 -08:00
Micah Lee
4bafd1eb2a
Hide downloads progress bars until download starts, and improve the look of progress bar display
2016-12-22 15:15:37 -08:00
Micah Lee
28df4e40c5
Merge branch 'wrap-progress-bar' of https://github.com/choltz95/onionshare into choltz95-wrap-progress-bar
2016-12-22 14:43:03 -08:00