Evy Kassirer
635d99ba72
zform: Convert module to typescript.
2025-10-01 16:39:59 -07:00
Evy Kassirer
ec78f0551b
server_events: Rename messages to raw_messages.
2025-10-01 16:38:55 -07:00
Evy Kassirer
f186a0edbb
message: Make draft_id not optional in LocalMessage.
2025-10-01 16:38:55 -07:00
Evy Kassirer
a175a82590
compose: Convert module to typescript.
2025-10-01 16:38:55 -07:00
Evy Kassirer
66b90d3736
message: Create new LocalMessage to fix type of transmit.send_message.
2025-10-01 16:38:55 -07:00
Evy Kassirer
3c4fe73470
message: Differentiate between new local messages and server messages.
2025-10-01 16:38:55 -07:00
Anders Kaseorg
80b9cffb3d
build_emoji: Use clean emoji sheets without Apple fallback images.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com >
2025-10-01 13:35:06 -07:00
Anders Kaseorg
85c94599c5
emoji: Remove deprecated Google blobs emoji set.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com >
2025-10-01 13:35:06 -07:00
Anders Kaseorg
b742ab18f9
emoji: Remove setting for deprecated Google blobs emoji set.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com >
2025-10-01 13:35:06 -07:00
Shubham Padia
bbca79d92e
help: Include dist in release tarball and exclude source code.
...
We don't include starlight_help/dist_no_relative_links since that is
only useful for zulip.com and zulip.com doesn't use tarballs for
deployment.
2025-10-01 13:10:13 -07:00
Aman Agrawal
024559e1b9
email_notifications: Convert datetime to local date string.
2025-10-01 11:25:00 -07:00
Aman Agrawal
a694fe1865
signals: Extract function to convert datetime to readable string.
2025-10-01 11:25:00 -07:00
Alex Vandiver
755cb7d854
export: Move all queries, when possible, to iterators.
...
This reduces overall memory usage for large exports.
2025-10-01 11:21:34 -07:00
Alex Vandiver
0ffc0e810c
export_search: Switch to using orjson_stream.
2025-10-01 11:21:34 -07:00
Alex Vandiver
67743d150a
export: Support streaming iterators when writing JSON.
2025-10-01 11:21:34 -07:00
Alex Vandiver
78bc17ecbe
export: Switch chunked() to the itertools.batched definition.
...
We only require Python 3.10, so we cannot use `itertools.batched`
directly, which came in 3.12. Include and use a short version of it.
2025-10-01 11:21:34 -07:00
Alex Vandiver
cf33119348
export: Remove export-most-recent symlink.
...
The only callsite of do_export_realm calls `rmtree` on the output
path, which means this symlink is always dangling. Since realms can
also be exported by end-users, following it would always be a race
condition, anyways.
Remove it.
2025-10-01 11:21:34 -07:00
Alex Vandiver
6a8deb7115
export: We expect that zerver_client is written late.
...
This silences a misleading warning; the behaviour changed in
f2024ad625 .
2025-10-01 11:21:34 -07:00
Alex Vandiver
d17851a3ed
openapi: Remove a debugging statement.
2025-10-01 11:21:34 -07:00
Evy Kassirer
2888459f25
peer_data: Add clarity for when we do/don't have the full subscriber set.
2025-10-01 11:10:22 -07:00
Aman Agrawal
180ef91d1a
people: Remove incorrect comment.
...
`error` type blueslip calls are checked.
2025-10-01 11:04:44 -07:00
Alex Vandiver
bea7d6ff93
cache_helpers: Use iterators, so we do not keep the full list in memory.
2025-10-01 10:36:37 -07:00
Alex Vandiver
95354366c7
docs: Fix broken link syntax.
2025-10-01 09:52:09 -07:00
Lauryn Menard
6fb19fdd2d
templates: Add rel-canonical link to some documentation pages.
...
Updates templates/zerver/meta_tags.html to add a rel-canonical
link if REL_CANONICAL_LINK is in the template context dict.
We add REL_CANONICAL_LINK to the documentation context for the
API and integrations documentation pages in all cases. The link
will be self-referencing for the main zulip.com site.
For policies documentation pages, we add REL_CANONICAL_LINK to
the context only when settings.CORPORATE_ENABLED is true, so
that self-hosted servers' policies documentation do not have a
rel-canonical link set.
Part of #35110 .
2025-10-01 11:50:59 -04:00
PieterCK
1400ad7307
template_parser: Fix f-string not formatted.
2025-10-01 11:12:44 -04:00
Anders Kaseorg
c1a4dcf33d
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com >
2025-09-30 16:47:54 -07:00
Anders Kaseorg
7f3bb4523c
update_subscriber_counts: Fix union typing.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com >
2025-09-30 16:47:54 -07:00
Anders Kaseorg
2eb2d5b6de
user_groups: Fix union typing.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com >
2025-09-30 16:47:54 -07:00
Anders Kaseorg
33b8eabd9f
message_flags: Fix type error.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com >
2025-09-30 16:47:54 -07:00
Anders Kaseorg
3ba68e7847
test_auth_backends: Fix _LDAPUser type errors.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com >
2025-09-30 16:47:54 -07:00
Anders Kaseorg
1d694aeff4
mypy: Fix no-redef errors from django-stubs.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com >
2025-09-30 16:47:54 -07:00
Anders Kaseorg
f24a0a6b81
ruff: Fix RUF059 Unpacked variable is never used.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com >
2025-09-30 16:47:54 -07:00
Anders Kaseorg
fa4d680851
ruff: Fix PYI059 Generic[] should always be the last base class.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com >
2025-09-30 16:47:54 -07:00
Anders Kaseorg
e9abaacd5c
ruff: Fix PYI061 Use None rather than Literal[None].
...
Signed-off-by: Anders Kaseorg <anders@zulip.com >
2025-09-30 16:47:54 -07:00
Anders Kaseorg
0b400a66cc
install-uv: Upgrade uv from 0.8.15 to 0.8.22.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com >
2025-09-30 16:47:54 -07:00
Anders Kaseorg
7ebadb5d41
release-checklist: Prescribe docker build --pull.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com >
2025-09-30 16:35:21 -07:00
Evy Kassirer
7167150a87
stream: Move subscriber_count to api_stream_schema.
2025-09-30 12:52:47 -07:00
Evy Kassirer
e9135cdc34
stream_data: Use clearer name for attrs for create_sub_from_server_data.
2025-09-30 12:52:47 -07:00
Evy Kassirer
06845359bd
peer_data: Store subscriber counts off of the sub object.
2025-09-30 12:52:47 -07:00
Evy Kassirer
10a815cae7
stream_data: Rename add_sub to add_sub_for_tests.
2025-09-30 12:52:47 -07:00
Lauryn Menard
b4c63b73dc
prod-template: Fix link for LDAP email sync unique ID.
2025-09-30 12:50:11 -07:00
Alya Abbott
f20035e2ad
docs: Reorganize authentication backends documentation.
2025-09-30 12:50:11 -07:00
Evy Kassirer
665bce3c13
transmit: Pass params directly instead of using opts.
2025-09-30 11:49:16 -07:00
Evy Kassirer
53cbfb9086
compose: Rename request to more specific sent_message.
2025-09-30 11:49:16 -07:00
Evy Kassirer
240177b87e
events: Use more realistic avatar_url in tests.
2025-09-30 11:49:16 -07:00
Evy Kassirer
1b9da1e3c7
transmit: Convert module to typescript.
2025-09-30 11:49:16 -07:00
Evy Kassirer
8a25069dd6
echo: Ensure avatar_url is defined when creating a local message.
...
`current_user.avatar_url` can be undefined, and we want to make
sure it's always defined here. Using `small_avatar_url_for_person`
returns the `person.avatar_url` if it is defined, but then properly
sets up and returns backup values if it's not.
2025-09-30 11:49:16 -07:00
Lauryn Menard
04275d8e14
docs: Rename "security-model.md" to "securing-your-zulip-server.md".
...
Updates relative links and any "security-model" label for ref links.
2025-09-30 11:41:06 -07:00
Sayam Samal
b894df61a4
drafts: Use span instead of em for placeholders without DM recipient.
...
The `em` tag is typically used to denote emphasis, which may not be
semantically appropriate for placeholder text, where we just want to
style the text as italic.
2025-09-30 11:37:16 -07:00
Sayam Samal
0d9e503add
drafts: Add placeholder text for drafts with no channel selected.
...
This commit handles the empty channel placeholder for drafts saved
without a channel selected. When these drafts also do not have a topic,
we display "No topic selected" in tandem with "No channel selected",
since we are unable to access the channel configuration to determine
if we should display realm_empty_topic_display_name.
2025-09-30 11:37:16 -07:00