Commit Graph

64194 Commits

Author SHA1 Message Date
kash2104
daf7f855cc dm_headers: Show bot icon after bot name.
Fixes #32990.
2025-04-05 07:24:41 -07:00
Anders Kaseorg
39d8fa38fd update-for-legacy-translations: Don’t delete empty strings.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-04-05 07:17:47 -07:00
Tim Abbott
9dcdedf859 i18n: Update translations from Transifex. 2025-04-04 14:30:57 -07:00
Karl Stolley
d9b4b26878 settings: Make all of thead sticky. 2025-04-04 14:11:45 -07:00
Karl Stolley
5026a5b5c5 dark_theme: Remove out-specified compose recipients selector. 2025-04-04 14:04:52 -07:00
Karl Stolley
ce7cc60e54 dark_theme: Remove unusable color from horizontal rules.
We style horizontal rules with explicit border colors, so the color
value here is extraneous.
2025-04-04 14:04:52 -07:00
Karl Stolley
5709d5f26e dark_theme: Remove unnecessary background for search typeahead.
There is no background color set in light theme or elsewhere that
necessitates this style. Good riddance to the expensive `ul` at the
end of the selector, too.
2025-04-04 14:04:52 -07:00
Karl Stolley
30752a0011 dark_theme: Set color variables for overlays, non-empty indicators. 2025-04-04 14:04:52 -07:00
Karl Stolley
65e3d487bf dark_theme: Set color variables for compose-content border.
Note that the dark-theme color comes from the stack of selectors
that included `#compose-content`.
2025-04-04 14:04:52 -07:00
Karl Stolley
2b552d8036 dark_theme: Remove unnecessary compose-control hover color. 2025-04-04 14:04:52 -07:00
Karl Stolley
46d4f32473 dark_theme: Set color variables for plus buttons. 2025-04-04 14:04:52 -07:00
Karl Stolley
1c5b5ddf46 dark_theme: Remove overridden profile-field border.
The orange color here is never visible, and there is no analogous
selector-color combo like this in light theme.
2025-04-04 14:04:52 -07:00
Karl Stolley
d9fea6b382 dark_theme: Remove redundant .pill-container border properties.
Nowhere are these values different in light theme.
2025-04-04 14:04:52 -07:00
Karl Stolley
8b9942c015 dark_theme: Remove unused colorblock selectors.
None of these selectors appear in any template or JavaScript.
2025-04-04 14:04:52 -07:00
Karl Stolley
bdffa08c3e dark_theme: Remove unnecessary transparent background. 2025-04-04 14:04:52 -07:00
Karl Stolley
4c79c3c44c dark_theme: Remove selectors already in zulip.css. 2025-04-04 14:04:52 -07:00
Karl Stolley
59bc431243 dark_theme: Clean up modal close button colors. 2025-04-04 14:04:52 -07:00
Karl Stolley
8f2681b05a dark_theme: Clean up .modal__footer border color. 2025-04-04 14:04:52 -07:00
Karl Stolley
c72e9bed36 dark_theme: Clean up .placeholder definitions. 2025-04-04 14:04:52 -07:00
Sayam Samal
e9bd974760 user_profile_modal: Update add and subscribe button to action buttons.
This commit updates the add and subscribe button in the user profile
modal to use the action button component.

Fixes part of #33027.
2025-04-04 12:26:36 -07:00
Sayam Samal
91549cfba0 settings: Update remove/unsubscribe buttons to action button component.
This commit updates the remove and unsubscribe buttons in channel
settings and user group settings to use the action button component.
2025-04-04 12:26:36 -07:00
Sayam Samal
703acbaccc user_profile_modal: Update remove/unsubscribe buttons to action button.
This commit updates the remove and unsubscribe buttons in the user
profile modal to use the action button component.

Fixes part of #33027.
2025-04-04 12:26:36 -07:00
Sahil Batra
928c04df31 settings: Disable checkbox in permissions panel.
This commit adds code to disable checkbox in permissions panel
if unchecking the checkbox will set the setting to nobody group
and that setting can't be set to nobody group,

Fixes part of #33730.
2025-04-04 11:06:05 -07:00
Sahil Batra
c433e6b830 group-settings: Live update when can_manage_all_groups is changed.
Groups UI is now live updated when can_manage_all_groups is
changed.
2025-04-04 11:06:05 -07:00
Sahil Batra
9c2a2c97b5 group-settings: Refactor live update code.
This commit refactors code to live update UI when group
permission settings are changed. This change makes the code
cleaner and also makes sure we do not update the UI multiple
times when multiple settings are changed in a single request.
2025-04-04 11:06:05 -07:00
Evy Kassirer
450fbb7f48 peer_data: Process partial_subscriber data.
Work towards #34244. This shouldn't change production at all,
since we only send partial_subscribers when a dev flag is set.
2025-04-04 11:01:03 -07:00
Aman Agrawal
80c9698943 registration: Fix 500 error pages rendered without context.
We need `corporate_enabled` and some other params to render
500 error page which is not passed when using `server_error`,
as it only contains our custom inserted `DEFAULT_PAGE_PARAMS`.

We render the page with `zulip_default_context` to fix this.
2025-04-04 11:00:06 -07:00
Karl Stolley
76401a19c9 settings_tables: Prevent header/icon collapse onto second line. 2025-04-04 10:59:28 -07:00
Karl Stolley
728b9f18df settings_tables: Simplify table header background colors.
By moving the header background to <thead>, we achieve two things:

1. We avoid a bug in Chrome where the table background bled through
   between header cells.
2. We no longer need `!important` on the data-sort hover, because
   there is no longer a color set there.
2025-04-04 10:59:28 -07:00
Karl Stolley
e5a00b3163 settings_tables: Set variables for header colors. 2025-04-04 10:59:28 -07:00
Alex Vandiver
e2e0c72a80 nginx: Serve full app from localhost.
Some deployments choose to wrap Zulip's nginx in an outer proxy -- for
example, to do custom TLS termination.  In such deployments, the outer
proxy is routing to `127.0.0.1:80`; b4fb22ba1b breaks these
configurations, as it switches the `127.0.0.1:80` listener to only
serving `/api/internal/` paths.

Switch to serving the whole application over `127.0.0.1:80`.
2025-04-04 10:58:09 -07:00
Tim Abbott
c95dd65d75 settings: Remove useless commented mypy type.
Legacy settings contained type "Dict" which were removed in zulip 9.0,
so this type was wrong, but it also serves no purpose.

(The non-commented types are checked in the development environment).
2025-04-03 18:20:45 -07:00
Shubham Padia
53983c9eb9 users: Send peer_remove on deactivating user.
Tweaked by tabbott to clean up the API changelog.

Fixes #34245.
2025-04-03 18:07:31 -07:00
Tim Abbott
2f05bada96 api docs: Clean up maintenance release history.
Also allocate an additional number for 10.x, just in case we backport
a lot.
2025-04-03 18:07:31 -07:00
Saubhagya Patel
62745ddccb message_move: Fix new_topic_name in topic already exists warning.
In the move topic modal, the `new_topic_name` input is disabled if
the user doesn't have permission to move messages between topics.
This commit fixes a bug where `new_topic_name` is undefined since its
input is disabled. This causes `show_topic_already_exists_warning()`
to throw an AssertionError. Hence, the warning is not shown.

Specifically, this bug occurs when a user moves a topic to an
already existing topic in a different channel when he has permission
to move messages between channels but not between topics.
2025-04-03 17:45:17 -07:00
Saubhagya Patel
57c1a12853 message_move: Pass stream_widget_value to update submit button state.
In the move topic modal, the stream ID from the dropdown widget
should be passed to `update_submit_button_disabled_state()`
function instead of `current_stream_id`. This fixes a bug where
the submit button was incorrectly disabled after editing the
move topic input.

Specifically, when selecting a different channel and an existing
topic, the submit button remains enabled initially. However, if a
character is removed and then retyped in the move topic input,
the submit button becomes disabled incorrectly.
2025-04-03 17:45:17 -07:00
Saubhagya Patel
725fd707fe message_move: Initialize ResizeObserver for Rename topic modal.
This commit fixes a bug where the Rename topic modal did not resize
when the "topic already exists" warning was shown or hidden. This
caused the topic edit typeahead for topics in a channel
with similar prefixes to be misaligned.
2025-04-03 17:45:17 -07:00
kash2104
3243d278e2 user-card-tooltip: Open user card when user-card-tooltip visible.
Without hovering on the name or profile picture user-card-tooltip
was visible but on_click user card does not open.

To fix it message-avatar class is added in the
register_click_handlers function.
2025-04-03 17:44:14 -07:00
Sayam Samal
0e7a5c1774 user_profile_modal: Use icon button component for modal header buttons.
This commit updates the modal header buttons to use the icon button
component.

Fixes part of #33027.
2025-04-03 17:35:05 -07:00
Sayam Samal
47419fbfc3 settings: Update add/remove buttons on channel/group creation.
This commit updates the "Add" and "Remove" buttons in the channel/group
creation modal to use the action button component.

Fixes part of #33027.
2025-04-03 17:33:09 -07:00
Alex Vandiver
c7da412b3b web: Sync content of Django and nginx error pages.
Also edit the text to more clearly explain the situation.
2025-04-03 17:09:46 -07:00
Tim Abbott
f15d12f257 registration: Document incorrect 500 template use. 2025-04-03 17:09:46 -07:00
Karl Stolley
815dccdb7f snippets: Better distinguish snippet content in dropdown. 2025-04-03 16:44:36 -07:00
Karl Stolley
0c7e4d88f7 bootstrap: Remove vendor-prefixed placeholders.
These conflict with our own, standard styles in app_components.css.
2025-04-03 13:35:06 -07:00
Karl Stolley
31d3eba256 bootstrap: Preserve useful styles on button, input. 2025-04-03 13:35:06 -07:00
Karl Stolley
a9fa087f60 bootstrap: Rescue cursor definitions on label, button. 2025-04-03 13:35:06 -07:00
Karl Stolley
0fb2783c68 bootstrap: Remove font-size, line-height values superseded in zulip.css. 2025-04-03 13:35:06 -07:00
Karl Stolley
86623941a3 bootstrap: Remove font-family superseded in zulip.css. 2025-04-03 13:35:06 -07:00
Karl Stolley
2326cf443c bootstrap: Clean up HTML5 definitions part of UA stylesheets. 2025-04-03 13:35:06 -07:00
Karl Stolley
40fbb59310 bootstrap: Remove legacy ms-viewport media query. 2025-04-03 13:35:06 -07:00