zulip/zerver
Lauryn Menard 1cccdd8103 realm-settings: Make default_code_block_language empty string as default.
Updates the realm field `default_code_block_language` to have a default
value of an empty string instead of None. Also updates the web-app to
check for the empty string and not `null` to indicate no default is set.

This means that both new realms and existing realms that have no default
set will have the same value for this setting: an empty string.

Previously, new realms would have None if no default was set, while realms
that had set and then unset a value for this field would have an empty
string when no default was set.
2023-07-21 18:54:02 +02:00
..
actions users: Directly access id of foreign keys instead of full object. 2023-07-20 10:44:39 -07:00
data_import ruff: Fix UP032 Use f-string instead of `format` call. 2023-07-19 16:14:59 -07:00
integration_fixtures/nagios
lib realm-settings: Make default_code_block_language empty string as default. 2023-07-21 18:54:02 +02:00
management sync_ldap_user_data: Pass realm as arg to select_related. 2023-07-20 10:44:39 -07:00
migrations realm-settings: Make default_code_block_language empty string as default. 2023-07-21 18:54:02 +02:00
openapi realm-settings: Make default_code_block_language empty string as default. 2023-07-21 18:54:02 +02:00
tests realm-settings: Make default_code_block_language empty string as default. 2023-07-21 18:54:02 +02:00
tornado mention: Send notifications for @topic wildcard mentions. 2023-07-17 09:39:24 -07:00
transaction_tests test_classes: Do not necessary wrap test cases in a transaction. 2023-07-06 11:44:50 -07:00
views realm-settings: Make default_code_block_language empty string as default. 2023-07-21 18:54:02 +02:00
webhooks ruff: Fix B034 `re.split`, `re.sub` should pass keyword arguments. 2023-07-19 16:14:59 -07:00
worker error_notify: Remove custom email error reporting handler. 2023-07-20 11:00:09 -07:00
__init__.py
apps.py requirements: Upgrade Python requirements. 2023-04-03 22:39:21 -07:00
context_processors.py emails: Add corporate_enabled to context for emails. 2023-05-01 10:32:43 -07:00
decorator.py logging_util: Remove dependence on get_current_request. 2023-07-11 22:23:47 -07:00
filters.py error_notify: Remove custom email error reporting handler. 2023-07-20 11:00:09 -07:00
forms.py python: Convert translated positional {} fields to {named} fields. 2023-07-18 15:19:07 -07:00
logging_handlers.py error_notify: Remove custom email error reporting handler. 2023-07-20 11:00:09 -07:00
middleware.py logging_util: Remove dependence on get_current_request. 2023-07-11 22:23:47 -07:00
models.py realm-settings: Make default_code_block_language empty string as default. 2023-07-21 18:54:02 +02:00
signals.py requirements: Upgrade to Django 4.0. 2022-07-13 16:07:17 -07:00