| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
| |
This was originally developed by Abhiram Chintangal <abhiram.chintangal@gmail.com> with a bunch of fixups
and the merge-request from Oliver Baumann <baumanno@cip.ifi.lmu.de> and some additional cleanups and
fixes from Karsten Loesing <karsten.loesing@gmx.net> and meejah
"vagrant up" should give you a development environment running at https://weather.dev if you followed the
instructions.
|
| |
|
|
|
| |
Adding a gitignore so git doesn't claim python bytecode and vim swap files as
being untracked.
|
| |
|
|
|
| |
We want to use the 'port' keyword argument here. We were instead using the port
as the address.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I'm pretty sure django expects None rather than the string 'None'...
atagar@odin:~/Desktop/tor/weather/weather$ python manage.py test weatherapp
Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_manager(settings)
File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 438, in execute_manager
utility.execute()
File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 252, in fetch_command
app_name = get_commands()[subcommand]
File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 101, in get_commands
apps = settings.INSTALLED_APPS
File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 276, in __getattr__
self._setup()
File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 42, in _setup
self._wrapped = Settings(settings_module)
File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 125, in __init__
raise ValueError("Incorrect timezone setting: %s" % self.TIME_ZONE)
ValueError: Incorrect timezone setting: None
|
| |
|
|
|
| |
Our get_stable_version_list(), has_rec_version(), and get_finger_list() are all
unused.
|
| |
|
|
|
|
|
|
| |
Ok, I ignored it as long as I could. Trailing whitespace is fine. No trailing
whitespace is fine. But for the love of all *please* be consistent!
Fixing all the whitespace in the module. Also some simple general
simplifications.
|
| |
|
|
| |
So much code for something we already do...
|
| |
|
|
|
| |
Purging more manual descriptor parsing. On reflection this is a lot of what
weather does... hopefully we'll be able to simplify this codebase quite a bit.
|
| |
|
|
|
| |
Weather's get_full_consensus() is presently unused. If it wasn't I would've
replaced its usage with the Controller's get_network_statuses() method.
|
| |
|
|
|
| |
Tor Weather is doing some manual descriptor parsing because TorCtl didn't
provide that. Stem does. Dropping the hacks.
|
| |
|
|
|
| |
Certainly not all of them, but just a handful I spotted while grepping around.
I should run pyflakes on this later to get more.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We were establishing two sockets to the control port: one via stem that we
used, and other via the socket modle that did nothing except to
connect/disconnect.
Also adding some error handling to our Controller.from_port() call. Actually,
the error handling for the old socket was broken. It had a line with simply
"raise", which would've resulted in a TypeError...
>>> raise
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType
|
| |
|
|
|
|
| |
Stem has packages via pip, debian, fedora, and others. Users should install one
of those rather than manually make symlinks (unless they truely need an
unreleased feature).
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
rransom.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
- Fix Weather's usage of regexes to find certain lines in the descriptors
- Add a note to the INSTALL file about Tor options to use with Weather
|
| | |
|
| | |
|
| |
|
|
| |
page. Better not to let people guess already subscribed users and unsubscribe them
|
| |
|
|
| |
Remove 404 CSS link (Thanks, Sebastian)
|
| | |
|
| |
|
|
| |
Fixed a typo reported by randomdude on IRC. Thanks!
|
| | |
|
| |
|
|
|
| |
- Changed default downtime notification period to 1 hour
- Added some installation notes
|
| | |
|
| | |
|
| |
|