Commit Graph

871 Commits

Author SHA1 Message Date
Micah Lee
878b4e9760
Updated the version of NSIS 2017-02-22 15:10:09 -08:00
Micah Lee
7141ebecf7
Update Windows build script to work with PyInstaller, update readme about only having onionshare-gui.exe, and update PyInstaller spec to create an 'onionshare' folder instead of an 'onionshare-gui' one 2017-02-22 14:28:50 -08:00
Micah Lee
6370139d2e
Rip out support for non-ephemeral onion services 2017-02-22 14:10:06 -08:00
Micah Lee
a57703cb5a
Properly handle KeyboardInterrupt exception in CLI in macOS 2017-02-22 13:35:34 -08:00
Micah Lee
9be8169233
Make CLI work with PyInstaller in macOS 2017-02-22 13:34:20 -08:00
Micah Lee
2625ab04f5
Update readme 2017-02-22 11:29:36 -08:00
Micah Lee
9f0f73260b
Delete the security design document -- it has moved to the wiki, and simplify the readme 2017-02-22 11:27:27 -08:00
Micah Lee
ab20311f6e
Merge branch 'pyinstaller' 2017-02-21 17:16:16 -08:00
Micah Lee
304e6db4a5
Fix path in test 2017-02-21 17:14:53 -08:00
Micah Lee
05319f7344
Merge branch 'master' into pyinstaller 2017-02-21 17:13:06 -08:00
Micah Lee
d5af08c1c4
Fixed syntax error in pyinstaller.spec 2017-02-21 17:07:14 -08:00
Micah Lee
248f59cbd1
Renamed 'resources' to 'share', and updated location of 'share' files in OSX/Win binaries 2017-02-21 16:59:14 -08:00
Micah Lee
5351501943
Update Windows build instructions, and also Windows pip requirements 2017-02-21 16:58:23 -08:00
Micah Lee
6f5a3aedbb
Update helpers.get_resource_path to correctly find resources in frozen macOS app bundles 2017-02-21 14:34:34 -08:00
Micah Lee
42d2b0b417
Remove jinja2.asyncsupport from PyInstaller, because it's not used and causes a crash during building 2017-02-21 14:26:45 -08:00
Micah Lee
6f5c53d1c3
Update pip requirements 2017-02-21 14:25:42 -08:00
Micah Lee
8e77cf10eb
Version bump to 1.0dev 2017-02-21 14:11:15 -08:00
Micah Lee
e80b775bf6
Update macOS build instructions, and install pip deps from a requirements.txt 2017-02-21 14:10:44 -08:00
Micah Lee
7b068fee35
Change 'Stop sharing automatically' option to 'Stop After First Download', to reduce confusion (fixes #349) 2017-01-30 16:54:31 -08:00
Micah Lee
91c2429151
Version bump to 1.0dev 2017-01-30 16:50:20 -08:00
Micah Lee
eece9641a7
Merge branch 'u451f-master' 2017-01-22 09:26:30 -08:00
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