zulip/puppet/zulip_ops/files
Tim Abbott 02ae71f27f api: Stop using API keys for Django->Tornado authentication.
As part of our effort to change the data model away from each user
having a single API key, we're eliminating the couple requests that
were made from Django to Tornado (as part of a /register or home
request) where we used the user's API key grabbed from the database
for authentication.

Instead, we use the (already existing) internal_notify_view
authentication mechanism, which uses the SHARED_SECRET setting for
security, for these requests, and just fetch the user object using
get_user_profile_by_id directly.

Tweaked by Yago to include the new /api/v1/events/internal endpoint in
the exempt_patterns list in test_helpers, since it's an endpoint we call
through Tornado. Also added a couple missing return type annotations.
2018-07-30 12:28:31 -07:00
..
apache nagios: Update apache configuration to be generated. 2017-10-05 21:51:29 -07:00
apt/apt.conf.d zulip_ops: Disable unattended upgrades of security packages. 2017-01-06 21:30:56 -08:00
builder puppet: Rename zulip_internal to zulip_ops. 2016-10-16 19:23:27 -07:00
certs puppet: Remove old Dropbox certificates. 2016-10-25 23:52:30 -07:00
cron.d puppet: Move clearsessions cron job to app_frontend_once. 2018-03-06 13:35:51 -08:00
munin puppet: Add munin apache auth configuration. 2017-10-05 20:17:12 -07:00
munin-plugins bots: Move zephyr-related files to api/integrations/zephyr/. 2017-05-26 15:07:02 -07:00
nagios3 puppet: Only run analytics Nagios checks on machine running cron. 2018-03-06 13:38:27 -08:00
nagios_plugins/zulip_zephyr_mirror tornado: Split get_events_backend into two functions. 2018-07-30 12:28:31 -07:00
nginx/sites-available api: Stop using API keys for Django->Tornado authentication. 2018-07-30 12:28:31 -07:00
postgresql zulip_ops: Add postgres config for enabling Nagios. 2017-01-06 21:24:24 -08:00
supervisor/conf.d puppet: Make old redis_tunnel configuration usable. 2017-10-05 20:40:22 -07:00
common-session puppet: Add PAM common_session disabling systemd-login. 2017-01-06 21:49:15 -08:00
dot_emacs.el zulip_ops: Add basic .emacs for production. 2017-01-06 21:20:21 -08:00
log2zulip.conf puppet: Rename zulip_internal to zulip_ops. 2016-10-16 19:23:27 -07:00
log2zulip.zuliprc puppet: Rename zulip_internal to zulip_ops. 2016-10-16 19:23:27 -07:00
motd.lb0 puppet: Rename zulip_internal to zulip_ops. 2016-10-16 19:23:27 -07:00
sshd_config puppet: Increase MaxStartups SSH configuration. 2017-03-08 22:28:16 -08:00
zephyr-clients.debathena puppet: Rename zulip_internal to zulip_ops. 2016-10-16 19:23:27 -07:00
zulip-ec2-configure-interfaces mypy: Amend zulip-ec2-configure-interfaces to avoid None. 2018-03-23 11:39:54 -07:00
zulip-ec2-configure-interfaces_if-up.d.sh puppet: Rename zulip_internal to zulip_ops. 2016-10-16 19:23:27 -07:00