Commit Graph

66941 Commits

Author SHA1 Message Date
Anders Kaseorg
9ac9dbdc1c dependencies: Upgrade JavaScript dependencies.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-10-07 22:42:50 -07:00
Anders Kaseorg
9372b47d04 eslint: Fix unicorn/prefer-dom-node-dataset.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-10-07 22:42:50 -07:00
Anders Kaseorg
910718ccd3 eslint: Fix unicorn/no-array-sort.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-10-07 22:42:50 -07:00
Anders Kaseorg
88a7fde8bd install-node: Upgrade Node.js from 22.19.0 to 22.20.0.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-10-07 22:42:50 -07:00
Alex Vandiver
01664a1a10 sharding: Swap new config into place during restart-server.
This allows restart-server, before moving the new config into place,
to perform a diff and only restart the affected Tornado ports.
2025-10-07 13:19:05 -07:00
Alex Vandiver
e18b0fcd16 sharding: Use restart-server after setting up new sharding config.
restart-server has grown more complex since
efresh-sharding-and-restart was written -- use that complexity.  For
instance, workers are stopped one-at-a-time, rather than requiring
that they all stop sequentially before being started again.

It also means that Django restarts will be rolling, which trades off
500s during login for realms which are moving, in exchange for leaving
other realms unaffected.
2025-10-07 13:19:05 -07:00
Alex Vandiver
2bd4c07fdb sharding: Move chown/chmod into where the files are written. 2025-10-07 13:19:05 -07:00
Alex Vandiver
6249c2f970 sharding: Make nginx shard map owned by zulip:zulip.
This will make it easier to manipulate in restart-server.
2025-10-07 13:19:05 -07:00
Alex Vandiver
970ff73c5f restart-server: Fix comment to be sensical. 2025-10-07 09:40:53 -07:00
Shubham Padia
9b1b52ec8a settings: Rename grey-box to settings-highlight-box.
Having the class named after a color limited to things we can do with
the class + does not signify what the class is for in terms of it's use.

Name decided at
https://chat.zulip.org/#narrow/channel/101-design/topic/grey-box.20dark.20theme.20color.2E/near/2272404
2025-10-07 09:26:51 -07:00
Shubham Padia
da0fa1349c css: Use --color-background-modal-bar for .grey-box.
Before 567e8f369e, the background-color
for .grey-box was --color-background-modal-bar, but the dark part out of
the light-dark() for that color was being overriden by
hsl(0deg 0% 0% / 20%) in dark_theme.css. Since that was a refactor PR,
we added a new color called --color-background-grey-box to keep the
behaviour same as before.

But discussion in
https://chat.zulip.org/#narrow/channel/101-design/topic/grey-box.20dark.20theme.20color.2E
confirmed that we want to have `--color-background-modal-bar` as the
background color for that class.
2025-10-07 09:26:51 -07:00
Shubham Padia
c3fdee6ed0 help: Add canonical URL pointing to zulip.com.
Partially fixes #35110.

We ideally want this only for self hosted installations since we want to
point them to the right canonical URL. But we can have this for all
pages since for zulip.com, this will be a self referencing URL.
2025-10-06 22:22:34 -07:00
Shubham Padia
94f8198072 help: Redirect web app URLs to web app proxy port.
Help center dev server always runs on a port different than the web
app. We have relative URLs pointing to the web app in the help
center, but they are not on the port help center is running on. We
redirect instead to our web app proxy port.
2025-10-06 22:21:39 -07:00
Shubham Padia
9fa09f8f87 help: Make canonical URL for the root to be /help/.
We also make sure that /help/ is accessible when using the dev server.

We add vite as a dependency. v7 of vite is the latest version but using
that causes type problems for PluginOptions since astro uses vite v6.
Therefore we pin vite to v6 for now.

This commit also runs `pnpm dedupe` for `tinyglobby` pinning it to
0.2.15 instead of the previous 0.2.14 in the lockfile.
2025-10-06 22:21:39 -07:00
Alex Vandiver
72e3b94855 docs: Document how push notifications require a real email address. 2025-10-06 22:20:02 -07:00
Alex Vandiver
afd7c4b1d1 register_remote_server: Check for NS records, now just A/AAAA.
We shouldn't declare that the domain doesn't exist, if it has a valid
NS record but no A/AAAA.
2025-10-06 22:20:02 -07:00
Alex Vandiver
a0e5be7f2e register_remote_server: Be more explicit about example.com emails. 2025-10-06 22:20:01 -07:00
Alex Vandiver
fc42c70346 register_remote_server: Explain why we're validating the domain. 2025-10-06 22:20:01 -07:00
Shubham Padia
44d1343158 css: Remove redundant border-color for message rows.
The dark component out of the light-dark() of
--color-message-list-border is hsl(0deg 0% 0% / 40%), which is the same
as the color we specify in dark_theme.css.

- .recipient_row already uses the above variable, so it's entry is not
  needed in dark_theme.css
- .message_row uses the same variable as well.
- .overlay-message-row does not have a direct border. Although
  .message_row nested inside it does. It already uses the above
  variable, so we can remove this entry as well.
2025-10-06 17:44:11 -07:00
Shubham Padia
f6d972048b css: Remove redundant border related css for .preview_message_area.
We removed the border declaration in #29953. We do not need the
border-radius anymore, nor the border-color declaration in
dark_theme.css.
2025-10-06 17:44:11 -07:00
Shubham Padia
de2126d240 subscriptions: Use light-dark() instead of dark_theme.css for stream-row.
Fixes part of #35881.

We extract out relevant colors from dark_theme.css for .stream-row and
.group-row and place them in light-dark(). We also transform all these
colors for .group-row and .stream-row into variables.

We use the alpha value for hsl() colors as a stand-in for the opacity we
were defining in dark_theme.css.
2025-10-06 17:44:11 -07:00
Shubham Padia
567e8f369e css: Move out background-color hsl(0deg 0% 0% / 20%) out of dark_theme.
Fixes part of #35881.
2025-10-06 17:44:05 -07:00
Shubham Padia
c96caded1f subscriptions: Use existing variable for .subscriber-list-box.
Fixes part of #35881.

Instead of having all the rules in the dark_theme.css, we use the
existing variable which uses `light-dark()`.

We also create a new variable color-border-settings-radio-input-parent,
since the existing variable was not created for that radio input and
they should be allowed to change independently.
2025-10-06 17:44:00 -07:00
Shubham Padia
ee298be34b subscriptions: Replace svg with .sub-unsub-icon in dark_theme.css.
We missed doing so in #36047.
2025-10-06 17:43:23 -07:00
Evy Kassirer
9d532baa94 pill_input: Use flex-grow 1 on all input pills.
This extends existing styling for pills for search and org permissions,
to fix a bug in the invite users modal. Continues work in #34371, which
tested other input elements.

Fixes bug reported here:
https://chat.zulip.org/#narrow/channel/9-issues/topic/pasting.20invite.20email.20addresses
2025-10-06 17:32:58 -07:00
Alex Vandiver
ef238f2bf5 docs: Update some broken links. 2025-10-06 17:31:38 -07:00
Karl Stolley
5ce956c9bb compose: Clear recipient-focused timeout before setting another. 2025-10-06 16:41:09 -07:00
Prakhar Pratyush
7a96ca2412 onboarding_steps: Retry with backoff when marking a step as read fails.
Earlier, transient errors while marking an onboarding step as read
resulted in blueslip reporting - which is not required.

This commit updates the logic to retry with backoff in case of error.

Signed-off-by: Prakhar Pratyush <prakhar@zulip.com>
2025-10-06 12:18:57 -07:00
Evy Kassirer
ce56be02bc hotkey: Convert module to typescript. 2025-10-06 11:01:01 -07:00
Evy Kassirer
7c90d2cee5 compose_setup: Convert module to typescript. 2025-10-03 18:21:16 -07:00
Evy Kassirer
02f1a624f7 filter: Standardize type of has_topic's stream_id. 2025-10-03 18:21:16 -07:00
Sayam Samal
a8387a6487 dark_theme: Clean up input styles in dark_theme.css.
Fixes part of #35135.
2025-10-03 18:18:27 -07:00
Karl Stolley
31e5e8f636 left_sidebar: Remove open-menu outline on zoomed channel. 2025-10-03 16:59:46 -07:00
Karl Stolley
f82a1f3002 left_sidebar: Correct filter backgrounds on active-filter zoom. 2025-10-03 16:59:46 -07:00
Karl Stolley
d61e86faff left_sidebar: Clarify and correct active-filter hover backgrounds. 2025-10-03 16:59:46 -07:00
Karl Stolley
1b164c680e left_sidebar: Clarify hover backgrounds on active filters. 2025-10-03 16:59:46 -07:00
Karl Stolley
3b4c5abd82 left_sidebar: Specify app background color on checkmark. 2025-10-03 16:59:46 -07:00
Karl Stolley
00e437caa7 sidebars: Remove unnecessary opaque color variant.
There is no longer any opacity in the
--color-background-hover-narrow-filter, so the opaque
variant just adds noise and the potential for drift
from the original color.
2025-10-03 16:59:46 -07:00
Karl Stolley
023fd27bcb left_sidebar: Remove unnecessary dark-mode color. 2025-10-03 16:59:46 -07:00
Tim Abbott
9361a3cffe test_classes: Give useful error when using /json/ URLs wrong. 2025-10-03 15:49:20 -07:00
Tim Abbott
981fd35288 test_channel_creation: Fix misuse of test helper APIs.
This mix of authentication and endpoints used here was incoherent, and
throws an exception following the next commit.
2025-10-03 15:49:20 -07:00
Niloth P
6469fc5395 integration-docs: Add missing example screenshots.
For Asana, Discourse, GitHub Actions, Phabricator, Puppet integrations
that previously did not have any example screenshots.

The screenshot images were generated in the prior commit.
2025-10-03 15:38:03 -07:00
Niloth P
e69a596612 integrations: Generate example screenshots for fixtureless integrations.
- Updates the existing example screenshots for all fixtureless
integrations that do not involve threaded messages.
- Adds 5 new screenshot files for integrations that did not previously
have an example screenshot. The images are used by the integration
docs only in the following commit though.

The screenshot configurations were added in prior commits.
2025-10-03 15:38:03 -07:00
Niloth P
1f4267f3e0 integrations: Add screenshot configs for monitoring integrations.
that do not have fixtures.
2025-10-03 15:38:03 -07:00
Niloth P
d70b099644 integrations: Add screenshot configs for productivity integrations.
that do not have fixtures.
2025-10-03 15:38:03 -07:00
Niloth P
433f43a9b4 integrations: Add screenshot configs for communication integrations.
that do not have fixtures.
2025-10-03 15:38:03 -07:00
Niloth P
f5e925b26b integrations: Add screenshot configs for the project management type.
of integrations that do not have fixtures.
2025-10-03 15:38:03 -07:00
Niloth P
24eab61ab0 integrations: Add screenshot configs for deployment integrations.
that do not have fixtures.
2025-10-03 15:38:03 -07:00
Niloth P
7f2161bffa integrations: Add screenshot configs for fixtureless CI integrations. 2025-10-03 15:38:03 -07:00
Niloth P
65d01b553b integrations: Add screenshot configs for fixtureless VCS integrations.
Co-authored-by: Lauryn Menard <lauryn@zulip.com>
2025-10-03 15:38:03 -07:00