zulip/zerver/openapi
Saubhagya Patel d0c5c1cacb settings: Add backend to change allow_edit_history to integer field.
This commit implements the backend of migrating the
`allow_edit_history` setting to
`message_edit_history_visibility_policy`.
This allows organizations, to have an intermediate setting to
view only the "Moves" history of the messages.

We still pass `realm_allow_edit_history` in `/register` response
though for older clients with its value being set depending on the
value of `realm_message_edit_history_visibility_policy`. We set
`realm_allow_edit_history` to `False` if the
`realm_message_edit_history_visibility_policy` is "None", and
`True` for "Moves only" or "All" message edit history.

Fixes part of #21398.

Co-authored-by: Shlok Patel <shlokcpatel2001@gmail.com>
Co-authored-by: Tim Abbott <tabbott@zulip.com>
2025-02-25 18:18:23 -08:00
..
__init__.py openapi: Add missing __init__.py; fix type errors hidden by its absence. 2021-07-05 12:20:39 -07:00
curl_param_value_generators.py users: Remove unnecessary get_api_key helper. 2025-02-13 12:40:53 -08:00
javascript_examples.js web: Set "type": "module" and convert various CJS files to ESM. 2024-11-13 09:18:56 -08:00
javascript_examples.py python: Simplify with str.removeprefix, str.removesuffix. 2024-09-03 12:30:16 -07:00
markdown_extension.py python: Simplify with str.removeprefix, str.removesuffix. 2024-09-03 12:30:16 -07:00
openapi.py requirements: Upgrade Python requirements. 2025-01-14 09:42:16 -08:00
python_examples.py get_streams: Return metadata access streams in include_all. 2025-02-25 14:25:43 -08:00
test_curl_examples.py models: Replace realm.uri with realm.url. 2024-05-08 11:12:43 -07:00
testing.yaml test_openapi: Make testing.yml a full conformant specification. 2022-01-13 14:34:11 -08:00
zulip.yaml settings: Add backend to change allow_edit_history to integer field. 2025-02-25 18:18:23 -08:00