zulip/zerver/views
K.Kanakhin 1cb0f8dc41 Add size limit for uploading user avatars and realm icons.
- Add settings parameter for max realm icon size.
- Add settings parameter for max user avatar size.
- Add checking file size to avatar and icon
  uploading views.
- Transfer file size limit parameter to frontend.
- Add tests.
2017-03-07 22:13:01 -08:00
..
__init__.py views: Rename __init__.py to zerver.views.registration. 2017-01-08 16:21:15 -08:00
alert_words.py alert_words: Avoid redundant .lstrip(). 2017-02-28 10:13:03 -08:00
attachments.py Add support for managing and deleting attachments. 2017-02-16 23:44:44 -08:00
auth.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
compatibility.py mobile: Add an endpoint for checking compatibility. 2017-02-03 09:55:34 -08:00
events_register.py events_register: Don't include subscribers in API data by default. 2017-02-20 11:07:09 -08:00
home.py Add size limit for uploading user avatars and realm icons. 2017-03-07 22:13:01 -08:00
integrations.py test-backend: Raise zerver/views/integrations.py test coverage to 100%. 2017-02-28 09:31:06 -08:00
invite.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
messages.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
muting.py lint: clean up PEP-8 W391 rule. 2017-01-23 20:39:02 -08:00
pointer.py mypy: Convert zerver/views to use typing.Text. 2016-12-26 13:43:09 -08:00
presence.py user-presence: Add `offline` status to aggregated info. 2017-03-07 20:09:53 -08:00
push_notifications.py remove_push_device_token: Remove unused request argument. 2017-03-05 22:01:28 -08:00
reactions.py emoji: Extract zerver.lib.emoji. 2017-01-16 23:45:28 -08:00
realm.py admin: Added realm option to prevent users from changing their email. 2017-03-04 17:32:48 -08:00
realm_aliases.py Add RealmAlias.allow_subdomains to model, frontend, and API. 2017-02-08 22:03:27 -08:00
realm_emoji.py mypy: Fix several Optional typing errors. 2017-02-10 23:53:44 -08:00
realm_filters.py Change domain to realm_id in bugdown and realm filter dicts and caches. 2017-01-03 16:25:20 -08:00
realm_icon.py Add size limit for uploading user avatars and realm icons. 2017-03-07 22:13:01 -08:00
registration.py decorator: Add logging data to zulip_login_required. 2017-02-20 21:15:44 -08:00
report.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
streams.py Send stream_id in subscription updates. 2017-03-05 15:26:00 -08:00
tutorial.py internal_send_message: Make realm argument mandatory. 2017-01-21 21:37:30 -08:00
typing.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
unsubscribe.py lint: Clean up E123 PEP-8 rule. 2017-01-23 21:34:26 -08:00
upload.py upload: Limit total size of files uploaded by a user to 1GB. 2017-03-04 18:08:30 -08:00
user_settings.py Add size limit for uploading user avatars and realm icons. 2017-03-07 22:13:01 -08:00
users.py bots: Replace bare excepts with targeted exceptions. 2017-03-05 16:17:04 -08:00
zephyr.py test-backend: Raise zerver/views/zephyr.py test coverage to 100%. 2017-02-26 20:54:25 -08:00