zulip/zerver
Steve Howell 431ede77c6 minor: Clean up how we set flags in events.
This is basically a simple fix, where we consistently set
`flags` to an empty array when we pass it around.  The history
here is that we had kind of a nasty bug from setting it to
`None`, which only showed up in the somewhat obscure circumstance
of somebody subscribing to all stream events in our API.

Fixes #7921
2018-03-28 15:56:03 -07:00
..
fixtures emoji: Add translate_emoticons flag in bugdown testcases. 2018-03-27 17:16:55 -07:00
lib mypy: Add explicit Optional for default=None parameters in export.py. 2018-03-28 12:31:51 -07:00
management mypy: Add explicit Optional for default=None parameters in various files. 2018-03-28 12:31:51 -07:00
migrations migrations: Fix 0149_realm_emoji migration for S3 case. 2018-03-23 10:48:50 -07:00
templatetags mypy: Migrate templatetags/minified_js.py to python3.5 annotations. 2018-03-12 11:23:30 -07:00
tests minor: Clean up how we set flags in events. 2018-03-28 15:56:03 -07:00
tornado minor: Clean up how we set flags in events. 2018-03-28 15:56:03 -07:00
views user-groups: Add backend enforcing for new modification settings. 2018-03-23 14:44:47 -07:00
webhooks mypy: Add explicit Optional for default=None parameters in various files. 2018-03-28 12:31:51 -07:00
worker mypy: Remove need for cast by using ConcreteQueueWorker TypeVar. 2018-03-11 15:34:11 -07:00
__init__.py
apps.py zerver: Use Python 3 syntax for typing. 2017-11-28 16:49:36 -08:00
context_processors.py integrations/email: Render settings.EMAIL_GATEWAY_EXAMPLE correctly. 2018-01-22 18:05:20 -05:00
decorator.py decorator: Improve error message for a deactivated organization. 2018-03-16 16:59:02 -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 linter: Add check that Optional models are tagged with null=True. 2018-03-27 10:21:25 -07:00
signals.py emails: Fix notify_new_login emails have unserializable context. 2017-12-22 16:34:18 -05:00
static_header.txt
storage.py mypy: Improve typing for ManifestStaticFilesStorage monkeypatch. 2017-12-08 19:00:18 -08:00