Tim Abbott
a7f83c9e05
Fix check_postgres_replication_lag nagios command.
2016-04-06 15:30:51 -07:00
Tim Abbott
991341867c
nagios: Remove unnecessary dependency on netcat.
2016-04-06 15:30:40 -07:00
Tim Abbott
c92221dcd3
Remove old humbughq apache configuration.
2016-04-06 15:30:36 -07:00
Tim Abbott
4855296771
puppet: Migrate check_postgres plugins to postgres_common.pp.
2016-04-06 15:20:36 -07:00
Tim Abbott
e413d4e153
Move webpack configuration to tools/.
2016-04-06 08:09:55 -07:00
Tim Abbott
69a8925076
check_user_zephyr_mirror_liveness: Fix importing settings.
2016-04-05 13:27:04 -07:00
Tim Abbott
b229767605
Update Zulip Nagios plugin documentation.
...
This completes the effort to move the Zulip Nagios plugins to be
available in the modules that they actually are a part of.
Fixes : #371 .
2016-04-05 13:27:04 -07:00
Tim Abbott
55172e2e0c
Remove old zulip_internal nagios_plugins installation.
2016-04-05 13:27:04 -07:00
Tim Abbott
934e8641ee
Migrate Zephyr mirror Nagios plugins to subdirectory.
2016-04-05 13:27:04 -07:00
Tim Abbott
7b753e5882
Migrate check_debian_packages to zulip/.
2016-04-05 13:27:04 -07:00
Tim Abbott
2da9fc56d6
Migrate check_pg_replication_lag to zulip/.
2016-04-05 13:27:04 -07:00
Tim Abbott
c2e210ca0d
Migrate check_website_response.sh to new zulip::nagios.pp.
2016-04-05 13:27:04 -07:00
Tim Abbott
eb72cecd9e
Migrate check_fts_update_log to zulip/.
2016-04-05 13:27:04 -07:00
Tim Abbott
92d696d007
Migrate check_postgres plugins to zulip/.
2016-04-05 13:27:04 -07:00
Tim Abbott
e155ecdc49
Migrate check_rabbitmq plugins to zulip/.
2016-04-05 13:27:04 -07:00
Tim Abbott
3ed7d658f8
Migrate check_send_receive_time to zulip/.
2016-04-05 13:27:04 -07:00
Tim Abbott
ca45ec3f3f
Migrate check_email_deliverer plugins to zulip/.
2016-04-05 13:27:04 -07:00
Tim Abbott
4e10424512
Migrate check_worker_memory to zulip/.
2016-04-05 13:27:04 -07:00
Tim Abbott
59b46278be
Move check_queue_worker_errors into subdirectory.
...
This fixes an issue where this worker wasn't even being installed
properly in a way that sets us up for doing further reorganization of
the Zulip Nagios plugins.
2016-04-05 13:27:04 -07:00
Tim Abbott
6f20c43097
Move dependency on nagios_plugins into base.pp.
2016-04-05 13:27:04 -07:00
Eklavya Sharma
05ab57e373
In py3k, exit with 1 if repository is not clean.
2016-04-05 13:22:51 -07:00
Eklavya Sharma
569d1240d0
Exit with 1 in py3k when fixers find an issue.
...
tools/travis/py3k used to always exit with exit code 0.
It should exit with 1 when fixers detect a compatibility issue.
py3k used [ -z "$failed" ] to check if there was a failure.
This is wrong, since if no failure has occured, failed=0,
and -z checks if a string is of zero length. This commit also
fixes this bug.
2016-04-05 13:22:51 -07:00
Eklavya Sharma
dd501830a6
Change position where git reset is called in py3k.
...
In py3k, "git reset --hard" was called only if
libmodernize.fixes.fix_dict_six changed files and some of those
changes are not considered false positives by py3k.
But if all of those changes are not considered false positives
by py3k, then "git reset --hard" is not called and the repository
is no longer clean.
This commit fixes this bug.
2016-04-05 13:22:51 -07:00
Eklavya Sharma
5e71777975
Add --no-pager option to git diff in py3k.
...
This is needed because py3k hangs when a pager opens up.
2016-04-05 13:22:51 -07:00
Eklavya Sharma
adff674b0e
tools/travis/py3k now checks all python files.
...
tools/travis/py3k used to only check files whose names ended with .py.
Now it also checks python scripts which don't have an extension.
It uses tools/lister.py to get a list of all python files.
2016-04-05 13:22:51 -07:00
Eklavya Sharma
ab02ab31e3
Change len(obj.keys()) to len(obj) in tools/get-handlebar-vars.
...
This prevents libmodernize.fixes.fix_dict_six from reporting
this on running tools/travis/py3k.
2016-04-05 13:22:51 -07:00
Eklavya Sharma
0af154a301
Apply Python 3 futurize transform libfuturize.fixes.fix_absolute_import.
2016-04-05 13:22:51 -07:00
Eklavya Sharma
8a81f8c125
Apply Python 3 futurize transform libfuturize.fixes.fix_print_with_import.
2016-04-05 13:22:51 -07:00
Eklavya Sharma
f4aa609aea
Apply Python 3 futurize transform libmodernize.fixes.fix_file.
2016-04-05 13:22:51 -07:00
Eklavya Sharma
be0a4f349d
Apply Python 3 futurize transform libmodernize.fixes.fix_filter.
2016-04-05 13:22:51 -07:00
Tim Abbott
78e289f904
Exclude puppet-common tests from puppet linter.
2016-04-04 17:08:29 -07:00
Tim Abbott
e6fb5bb1ea
changelog: Add more changes since 1.3.10.
2016-04-03 17:55:06 -07:00
Tim Abbott
75d134a9b2
Import tornado.autoreload explicitly.
...
Fixes #623 .
2016-04-03 16:52:23 -07:00
Ashish
909b0635c8
Add management command to test sending email.
...
Fixes : #622 .
[With cleanups/doc tweaks by tabbott]
2016-04-03 16:50:16 -07:00
Varshit
e0ef1a991e
Rewrite sanitize_name to better preserve filenames.
...
The previous version of sanitize_name dropped all unicode characters
and mangled filenames with multiple `.`s in the extension, leading to
confusing URLs for files uploaded to Zulip.
Fixes #321 .
[tweaked significantly by tabbott]
2016-04-03 16:26:12 -07:00
Tim Abbott
4a50336476
Add type: Any for tornado.ioloop.add_timeout return value.
2016-04-03 15:40:24 -07:00
Tim Abbott
4352a022cd
Add type: ignore to wildcard imports in pythonrc.py.
2016-04-03 15:40:24 -07:00
Tim Abbott
b6dd6413d0
Add type: ignore for tornado_ioloop_logging Tornado versioning code.
2016-04-03 15:40:24 -07:00
Tim Abbott
53ab18eea0
Add type: ignore for chain.from_iterable.
2016-04-03 15:40:24 -07:00
Tim Abbott
9abd332c07
Add type: ignore for mock.Mock() monkey-patching.
2016-04-03 15:40:24 -07:00
Tim Abbott
0d40473818
Add type: ignore for empty list mypy bug.
2016-04-03 15:40:24 -07:00
Tim Abbott
2c1377319f
Add type: ignore for mypy __cmp__ bug.
2016-04-03 15:40:24 -07:00
Tim Abbott
3a2d5266d8
Add type: ignore for mypy super() bug.
2016-04-03 15:40:24 -07:00
Tim Abbott
e3ec3e2526
Add type: ignore for test_helpers monkey-patching.
2016-04-03 15:40:24 -07:00
Tim Abbott
6c999927ac
Add type: ignore for csrf_exempt decorator.
2016-04-03 15:40:23 -07:00
Tim Abbott
b7dcf2181f
Add PEP-484 type annotations to management commands.
2016-04-03 15:40:23 -07:00
Tim Abbott
b437fe2924
Add PEP-484 annotations to bots/.
2016-04-03 15:40:23 -07:00
Tim Abbott
5d5976e4ae
Add PEP-484 type annotations to api/.
...
It's not clear this is net constructive since it makes our API
bindings harder to install.
2016-04-03 15:40:23 -07:00
Tim Abbott
2d2282ada8
Add PEP-484 type annotations to confirmation/.
2016-04-03 15:40:23 -07:00
Tim Abbott
b8c82d5b43
Add PEP-484 type annotations to analytics/.
2016-04-03 15:40:23 -07:00