zulip/zerver
aryanshridhar 7dc56fdcf2 settings_emoji: Allow only admins to override existing emojis.
Previously, even non-admins had the option to override built-in
emojis in the `Settings Emoji` UI.

This commits essentially limits the functionality of overriding
custom and allows only realm administrators to
override built-in emojis with their custom emojis by adding an
authorization check in the backend.

It also adds relevant tests in `test_realm_emoji` which tests
for the cases where an admin and non admin tries to override
the built-in emoji.

Fixes #18860.
2021-07-13 08:28:28 -07:00
..
data_import markdown: Use a shared variable for IMAGE_EXTENSION. 2021-07-02 11:22:55 -07:00
integration_fixtures/nagios tests: Add a test for fixtures for non-webhook integrations. 2021-04-28 08:16:51 -07:00
lib fenced_code: Fix processor type annotation. 2021-07-09 17:10:31 -07:00
management management: Add change_password command. 2021-07-09 12:34:39 -07:00
migrations linkifiers: Add joint validation for linkifier urls and patterns. 2021-06-16 17:51:33 -07:00
openapi python_examples: Use ensure_users where appropriate. 2021-07-13 08:24:06 -07:00
tests settings_emoji: Allow only admins to override existing emojis. 2021-07-13 08:28:28 -07:00
tornado notifications: Remove unused fields in queue events. 2021-07-08 11:22:45 -07:00
views settings_emoji: Allow only admins to override existing emojis. 2021-07-13 08:28:28 -07:00
webhooks message: Fix the edit topic bug by removing leading \n from msg content. 2021-07-06 09:41:54 -07:00
worker embed_links: Interrupt consume() function on worker timeout. 2021-07-07 09:24:50 -07:00
__init__.py django: Upgrade Zulip to Django 3.2 LTS. 2021-05-03 08:36:22 -07:00
apps.py
context_processors.py context_processors: Add test for `get_apps_page_url`. 2021-06-16 07:49:03 -07:00
decorator.py zilencer: Log warning when a remote server hits rate limits. 2021-07-08 15:55:03 -07:00
filters.py
forms.py billing: Enforce license limit for plans on manual license management. 2021-06-09 17:42:38 -07:00
logging_handlers.py logging_handlers: Remove STAGING_ERROR_NOTIFICATIONS setting. 2021-07-07 09:26:02 -07:00
middleware.py json_error: Completely remove json_error. 2021-07-06 15:34:33 -07:00
models.py models: Add UserBaseSettings class to include some user settings. 2021-07-08 13:01:37 -07:00
signals.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00