zulip/zerver
Tim Abbott 758d7b9146 bots: Clean up editing bots impacting non-bot users.
This fixes a bug where the endpoint for editing bot users would allow
an organization administrator to edit the full name of a bot user.

A combination of this an another recently fixed bug made it possible
for this process to set a `bot_owner` for a non-bot user; so we also
include a migration to fix that for any users that might have had our
model invariants corrupted in that way.
2018-04-02 18:58:26 -07:00
..
fixtures markdown: Update bugdown emoticon translation logic to match frontend. 2018-03-29 15:56:24 -07:00
lib actions.py: Rename get_service_dicts_for_bots() to get_service_dicts_for_bot() 2018-04-02 11:18:50 -07:00
management mypy: Add explicit Optional for default=None parameters in various files. 2018-03-28 12:31:51 -07:00
migrations bots: Clean up editing bots impacting non-bot users. 2018-04-02 18:58:26 -07:00
templatetags mypy: Migrate templatetags/minified_js.py to python3.5 annotations. 2018-03-12 11:23:30 -07:00
tests bots: Clean up editing bots impacting non-bot users. 2018-04-02 18:58:26 -07:00
tornado websockets: Fix race condition in CSRF token initialization. 2018-03-31 09:29:56 -07:00
views bots: Clean up editing bots impacting non-bot users. 2018-04-02 18:58:26 -07:00
webhooks webhooks/bitbucket2: Detect pushes that remove branches correctly. 2018-04-02 19:30:09 -02:30
worker mypy: Remove need for cast by using ConcreteQueueWorker TypeVar. 2018-03-11 15:34:11 -07:00
__init__.py caching: Add configuration class for post-migration cache flushing. 2016-10-27 23:26:34 -07:00
apps.py zerver: Use Python 3 syntax for typing. 2017-11-28 16:49:36 -08:00
context_processors.py settings: Add option to control Jitsi video chat integration. 2018-04-02 16:55:16 -07:00
decorator.py decorators: Log custom HTTP headers in webhook requests. 2018-03-30 13:37:35 -07:00
filters.py zerver: Use Python 3 syntax for typing. 2017-11-28 16:49:36 -08:00
forms.py forms: Fix missing translation tag for disposable emails. 2018-03-15 14:43:40 -07:00
logging_handlers.py test_logging_handlers: Mock out git describe because can be slow. 2018-03-23 18:24:51 -07:00
middleware.py mypy: Rewrite some middleware annotations to use ViewFuncT. 2018-03-17 23:25:05 +00:00
models.py profile: Set max length for long text to 500. 2018-04-02 09:51:09 -07:00
signals.py emails: Fix notify_new_login emails have unserializable context. 2017-12-22 16:34:18 -05:00
static_header.txt Update static_header.txt with new license information. 2016-08-13 00:37:21 -07:00
storage.py mypy: Improve typing for ManifestStaticFilesStorage monkeypatch. 2017-12-08 19:00:18 -08:00