zulip/zilencer/management/commands
Tim Abbott 49799440a4 Replace use of django-guardian with fields on UserProfile.
As documented in https://github.com/zulip/zulip/issues/441, Guardian
has quite poor performance, and in fact almost 50% of the time spent
running the Zulip backend test suite on my laptop was inside Guardian.

As part of this migration, we also clean up the old API_SUPER_USERS
variable used to mark EMAIL_GATEWAY_BOT as an API super user; now that
permission is managed entirely via the database.

When rebasing past this commit, developers will need to do a
`manage.py migrate` in order to apply the migration changes before the
server will run again.

We can't yet remove Guardian from INSTALLED_APPS, requirements.txt,
etc. in this release, because otherwise the reverse migration won't
work.

Fixes #441.
2016-04-20 21:51:52 -07:00
..
__init__.py [schema] Support for authenticating Deployments via the API. 2013-10-25 14:13:30 -04:00
create_deployment.py Apply Python 3 futurize transform libfuturize.fixes.fix_print_with_import. 2015-11-01 09:26:16 -08:00
grant_invites.py Django 1.8: declare positional arguments in management commands 2015-08-20 23:35:40 -07:00
migrate_stream_notifications.py [manual] Add script to migrate subs to new stream notification settings. 2014-03-03 16:08:33 -05:00
populate_db.py Replace use of django-guardian with fields on UserProfile. 2016-04-20 21:51:52 -07:00
print_initial_password.py Apply Python 3 futurize transform libfuturize.fixes.fix_print_with_import. 2015-11-01 09:26:16 -08:00
profile_request.py Finish purging 'fromt typing import *' from Zulip codebase. 2016-04-07 14:11:21 -07:00
render_old_messages.py Apply Python 3 futurize transform libfuturize.fixes.fix_print_with_import. 2015-11-01 09:26:16 -08:00
sync_api_key.py Apply modernize transform libmodernize.fixes.fix_file. 2016-01-26 21:09:42 -08:00
test_messages.txt Split management commands for internal use into zilencer/ 2013-11-04 11:58:52 -05:00