Tim Abbott
3a64857a4c
lint: Fix long lines not being treated as actual errors.
...
This led to Travis CI not reporting on line-too-long errors.
2017-01-08 22:48:27 -08:00
Tim Abbott
464411833d
requirements: Upgrade mypy to 0.4.6 release.
2017-01-08 22:48:25 -08:00
Tim Abbott
b54f8b3b14
lint: Fix incorrect line length calculations in Python 2.
...
Previously, we would incorrectly be counting bytes in Python 2, which
meant lines with unicode characters in them appeared to the linter to
be far longer than they actually were.
2017-01-08 22:46:02 -08:00
Rishi Gupta
190d320afa
analytics: Change CountStat.property from Text to str.
2017-01-08 17:24:51 -08:00
Rishi Gupta
a07757c127
analytics/views: Fix query in get_messages_sent_to_realm.
2017-01-08 17:24:51 -08:00
Rishi Gupta
f8962d521d
analytics: Fix uses of 'interval' in arguments and variable names.
...
interval refers to a time interval, and frequency refers to something that
semantically means something closer to 'hourly' or 'daily'.
Currently, interval can have values 'hour', 'day', or 'gauge', and frequency
can only have values 'hour' and 'day'.
2017-01-08 17:24:51 -08:00
Rishi Gupta
f5899dd14b
analytics: Add lib/ function to drop all analytics tables.
2017-01-08 17:24:51 -08:00
Rishi Gupta
73dc904e9c
analytics: Move time_range from views.py to lib/time_utils.py
2017-01-08 17:24:51 -08:00
Tommy Ip
011eac1d92
bots: Fix bare except clause.
2017-01-09 00:39:33 +00:00
Tommy Ip
008663abd8
zerver: Fix bare except clause.
2017-01-09 00:38:31 +00:00
Tommy Ip
7738edb62f
contrib_bots: Fix bare except clause.
2017-01-08 16:25:22 -08:00
Tommy Ip
28abfca565
analytics: Fix bare except clause.
2017-01-08 16:25:22 -08:00
Tommy Ip
ada95c4fca
bots: Fix bare except clause.
2017-01-08 16:25:22 -08:00
Tommy Ip
9f38277224
bots: Fix bare except clause.
2017-01-08 16:25:22 -08:00
Tommy Ip
89a126b93f
zerver: Fix bare except clause.
2017-01-08 16:22:21 -08:00
Tommy Ip
3823376b3f
zilencer: Fix bare except clause.
2017-01-08 16:22:21 -08:00
Tommy Ip
89dc739856
tools: Fix bare except clause.
2017-01-08 16:22:21 -08:00
Tommy Ip
e04afe9bda
tools: Fix bare except clause.
2017-01-08 16:22:21 -08:00
Tim Abbott
f3b5683e77
views: Rename __init__.py to zerver.views.registration.
...
This completes the cleanup process of eliminating functions in the
root zerver/views/__init__.py module.
2017-01-08 16:21:15 -08:00
Tim Abbott
48f1b4e1ab
views: Extract zerver.views.muting.
2017-01-08 16:21:15 -08:00
Tim Abbott
7beff88f5f
views: Extract zerver/views/home.py.
...
This is a significant piece of the remaining effort required to
eliminate the catch-all zerver/views/__init__.py.
2017-01-08 16:21:15 -08:00
Robert Hönig
a261801cef
Update bots guide statement about the interception of PMs
2017-01-07 15:02:29 -08:00
Tim Abbott
6a7befa812
third: Remove copyright notice for removed review tool.
2017-01-07 10:53:20 -08:00
Tim Abbott
24df5fbd97
Delete remains of deprecated inject-messages.
2017-01-07 10:53:20 -08:00
AZtheAsian
0dc9ac7dac
Delete deprecated iframe-bot.
2017-01-07 10:53:20 -08:00
Brock Whittaker
1d414a432f
Re-order reactions CSS for better understanding.
...
This reorders the structure of the styling for the emoji reactions
to better follow the order of the markup.
2017-01-07 10:18:32 -08:00
Brock Whittaker
e41b0b80ef
Emoji CSS refactoring for FF support.
...
Emoji styling was broken in Firefox browser due to its lack of support
for the zoom property.
This replaces the zoom property with the transform property that now
scales the emojis down to 70% of their original size.
2017-01-07 10:18:32 -08:00
Tim Abbott
81a19375d2
hotkey: Fix exiting the subscriptions page with "escape".
...
This had apparently regressed because it was checking the wrong
selector, and also didn't do the right thing to exit.
2017-01-06 23:45:03 -08:00
Tim Abbott
9f1fca30df
subs: Access streams to copy from by ID in new stream creation.
2017-01-06 23:19:45 -08:00
Tim Abbott
9ff8c9e358
subs: Access users by ID in new stream creation.
2017-01-06 23:18:53 -08:00
Tim Abbott
e228243723
install-aws-server: Add support for installing zulip.conf.
2017-01-06 21:58:16 -08:00
Tim Abbott
c6bdc2130b
install-aws-server: secrets enhancements.
2017-01-06 21:57:20 -08:00
Tim Abbott
ed0da5f874
install-aws-server: Fix usage output.
2017-01-06 21:57:20 -08:00
Tim Abbott
3e32102016
nagios: Fix various critical issues not tagged as pageable.
2017-01-06 21:49:20 -08:00
Tim Abbott
edebf7619b
puppet: Add PAM common_session disabling systemd-login.
...
This fixes a weird problem with systemd where logging into a server
via ssh frequently has a 15s+ lag.
2017-01-06 21:49:15 -08:00
Tim Abbott
93c2c19775
nagios: Increase process count limits.
2017-01-06 21:49:15 -08:00
Tim Abbott
2c6cb37385
munin: Add default munin configuration template.
2017-01-06 21:44:57 -08:00
Tim Abbott
46fc136943
feedback-bot: Add logging for successfully submitted feedback.
2017-01-06 21:42:16 -08:00
Tim Abbott
9ab8e7ba34
nagios: Disable swap checks for servers with no swap.
2017-01-06 21:39:07 -08:00
Tim Abbott
3e01ed1f73
nagios: Increase NTP max_check_attempts.
...
NTP often suffers from brief interruptions of service that lead to
spurious Nagios alerts; it makes sense to suppress these.
2017-01-06 21:32:43 -08:00
Tim Abbott
e4420b08d2
zulip_ops: Disable unattended upgrades of security packages.
...
Since Zulip does not handle e.g. postgres server restarts gracefully,
it's best for a system administrator to manually trigger security
updates.
2017-01-06 21:30:56 -08:00
Tim Abbott
6f9c73d0e5
zmirror: Update Debathena release in configuration.
...
The zulip_ops configuration is now for xenial, not obsolete wheezy.
2017-01-06 21:30:41 -08:00
Tim Abbott
bd9176d1d9
nagios: Remove some default files.
...
Nagios ships with a bunch of default configuration files that one
needs to delete in order to configure it.
2017-01-06 21:25:12 -08:00
Tim Abbott
7083899e77
zulip_ops: Add postgres config for enabling Nagios.
...
The old zulip_ops Nagios configuration depended on Nagios having the
ability to login as the zulip user (with essentially full write
access); this configuration is helpful for limiting nagios to special
"nagios" user with more limited credentials.
2017-01-06 21:24:24 -08:00
Tim Abbott
204edb0f85
zulip_ops: Cleanup pg_hba.conf configuration.
2017-01-06 21:23:51 -08:00
Tim Abbott
30c57eb2ae
zulip_ops: Add basic .emacs for production.
2017-01-06 21:20:21 -08:00
Tim Abbott
eb87d04168
puppet: Remove xxxxx password hardcoding in recovery.conf.
2017-01-06 21:20:21 -08:00
Tim Abbott
6404a1a5ff
zulip_ops: Add nagios-plugins-contrib.
...
This has a number of useful nagios plugins.
2017-01-06 21:19:59 -08:00
Tim Abbott
f7b77008ef
zulip_ops: Add aptitude dependency.
...
This is useful for `aptitude why`.
2017-01-06 21:19:50 -08:00
Tim Abbott
2510a51a8a
zulip_ops: Add letsencrypt dependency.
2017-01-06 21:19:31 -08:00