zulip/zilencer
Mateusz Mandera 89394fc1eb middleware: Use request.user for logging when possible.
Instead of trying to set the _requestor_for_logs attribute in all the
relevant places, we try to use request.user when possible (that will be
when it's a UserProfile or RemoteZulipServer as of now). In other
places, we set _requestor_for_logs to avoid manually editing the
request.user attribute, as it should mostly be left for Django to manage
it.
In places where we remove the "request._requestor_for_logs = ..." line,
it is clearly implied by the previous code (or the current surrounding
code) that request.user is of the correct type.
2020-03-09 13:54:58 -07:00
..
lib billing: Move zilencer/lib/stripe to corporate. 2018-10-01 15:43:44 -07:00
management populate_db: Don't restrict email domains by default in tests and dev. 2020-03-07 18:38:59 -08:00
migrations python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
README.md Update comments to rename Local Server => Enterprise. 2013-11-12 15:57:02 -05:00
__init__.py [schema] Support for authenticating Deployments via the API. 2013-10-25 14:13:30 -04:00
forms.py Extend lint-all to check for newlines at the end of files. 2016-03-17 23:03:56 -07:00
models.py middleware: Use request.user for logging when possible. 2020-03-09 13:54:58 -07:00
urls.py push_notifications: Clear PushDeviceToken on API key change. 2019-11-19 15:37:43 -08:00
views.py push_notifications: Clear PushDeviceToken on API key change. 2019-11-19 15:37:43 -08:00

README.md

ZILENCER -- The Zulip License Manager

This app is the place for storing state about various deployments of Zulip that exist in the world.