Anders Kaseorg
1a9441ec70
dependencies: Upgrade JavaScript dependencies.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-01-29 16:14:26 -08:00
Anders Kaseorg
24ecafbdd2
eslint: Fix @typescript-eslint/no-useless-template-literals.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-01-29 16:14:26 -08:00
Anders Kaseorg
2dca29ce5a
eslint: Fix @typescript-eslint/no-unnecessary-type-assertion.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-01-29 16:14:26 -08:00
roanster007
04013cdec1
left_sidebar: Add mark all messages unread to three dot topic menu.
...
This commit adds a new option to the three-dot topic menu in the
left sidebar to mark all the messages of topic as unread, provided
the topic's messages are already read before choosing this option.
This is done with the help of bulk_update_read_flags_for_narrow
method to remove the read flag on bulk of messages.
Fixes #25085
2024-01-29 16:07:19 -08:00
roanster007
b1ca1fd606
unread_ops: Refactor bulk_mark_messages_as_read method.
...
This commit renames the bulk_mark_messages_as_read method to
bulk_update_read_flags_for_narrow, and takes in an additional
parameter - op, which takes in values of add or remove, indicating
whether to add or remove the read flag for bulk messages.
This is a preparatory commit to bulk mark multiple messages as unread.
2024-01-29 16:07:19 -08:00
Tim Abbott
ae52adb4ee
lint: Fix errors caused by rebasing past black upgrade.
2024-01-29 11:31:04 -08:00
Prakhar Pratyush
edec29e0b6
support: Add support to configure fixed_price plan.
2024-01-29 11:23:20 -08:00
Lauryn Menard
15ba9cf8ec
bootstrap: Remove bootstrap.btn classes from support view buttons.
...
Moves CSS styles for support view buttons to
`web/styles/portico.activity.css`.
Also removed the "sea-green" and "small" classes from a few buttons
as no CSS rules were being applied and most of those buttons will
be removed when these forms are refactored to use a modal.
2024-01-29 10:59:33 -08:00
Anders Kaseorg
93198a19ed
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-01-29 10:41:54 -08:00
Anders Kaseorg
e56863fa85
ruff: Fix DJ012 Order of model's inner classes, methods, and fields.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-01-29 10:41:54 -08:00
Anders Kaseorg
ab25ebd5ce
ruff: Fix SIM300 Yoda conditions are discouraged.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-01-29 10:41:54 -08:00
Tim Abbott
3dfc24a908
test_push_notifications: Fix sort order assumption.
2024-01-29 10:22:55 -08:00
evykassirer
ea04f7d27d
topic list: Convert module to typescript.
2024-01-29 10:22:35 -08:00
evykassirer
7154539e80
typeahead_helper: Convert module to typescript.
2024-01-29 10:06:18 -08:00
evykassirer
fdb6f212d0
Remove User type from types.ts.
2024-01-29 10:06:18 -08:00
Sahil Batra
5f82bf0002
css: Remove bootstrap css for "fade" class.
...
We do not use "fade" class in our app anymore so we can
remove its CSS from boostrap.app.css.
2024-01-29 09:55:32 -08:00
Sahil Batra
d375921eb4
settings: Do not use bootstrap "fade" class.
...
We used bootstrap "fade" class to show the password strength
only after password_quality module is imported. Adding "fade"
class was only hiding the bar by setting opacity and the
transition defined in bootstrap was not used as it was
overridden by transition in progress_bar.css. So, we just
hide and show the bootstrap by using "hide" class and remove
the use of "fade" as part of the bootstrap removal project.
2024-01-29 09:55:32 -08:00
Sahil Batra
69d0c78f1e
settings: Remove unnecessary code.
...
We do not use "#pw_change_controls" element any more as it
was removed in 2ca0fb412
.
2024-01-29 09:55:32 -08:00
Tim Abbott
41fa2e7174
css: Remove unused portico tab-content CSS rules.
2024-01-28 16:08:30 -08:00
Tim Abbott
065dc8fc5d
css: Remove several unused Bootstrap rules from portico.
2024-01-28 16:08:30 -08:00
Tim Abbott
b44c3d321d
css: Delete unused Bootstrap close rules from portico.
2024-01-28 16:08:30 -08:00
Tim Abbott
00aa0631fe
css: Move Bootstrap alerts CSS to separate file.
2024-01-28 16:08:30 -08:00
Tim Abbott
db9ee6237e
css: Remove portico copy of Bootstrap typeahead CSS.
...
We don't use the typeahead component in portico pages.
2024-01-28 16:08:30 -08:00
Tim Abbott
56a884e0be
css: Extract Bootstrap Typeahead CSS to its own file.
2024-01-28 16:08:30 -08:00
Tim Abbott
73aca658f6
css: Remove unused Bootstrap dropdown-backdrop rules.
2024-01-28 16:08:30 -08:00
Tim Abbott
4395c54c23
css: Remove unused Bootstrap CSS for nav elements.
2024-01-28 16:08:30 -08:00
Tim Abbott
ee97d018af
css: Remove unused Bootstrap dropup CSS.
2024-01-28 16:08:30 -08:00
Tim Abbott
3818969f04
css: Remove overridden body styles from app.
2024-01-28 16:08:30 -08:00
Tim Abbott
98637e3a88
css: Remove unused Bootstrap text-* styles from app.
2024-01-28 16:08:30 -08:00
Tim Abbott
49ff0dc2e2
css: Remove unused row/container CSS from app.
2024-01-28 16:08:30 -08:00
Tim Abbott
25d7740b26
css: Remove dead Bootstrap CSS from app.
...
The only reference to any of these was in a comment.
2024-01-28 16:08:30 -08:00
Karl Stolley
f07dae6b25
bootstrap: Fork CSS into app, portico copies.
...
This aims to reduce the cognitive overhead of doing Bootstrap CSS
cleanup by concerning contributors only with Zulip or the portico.
2024-01-28 15:07:36 -08:00
David Rosa
fd4897137b
help: Document how to configure warnings about mobile notifications.
...
Documents the new setting to control warning banners about
mobile push notifications.
Fixes #28707 .
2024-01-28 14:57:51 -08:00
Alya Abbott
557693bd9a
help: Rename send-group-dm.md to send-dm.md.
2024-01-28 14:55:38 -08:00
Alya Abbott
ad3e9286a6
help: Simplify direct messages documentation.
...
Remove unnecessary emphasis on DMs vs. group DMs.
2024-01-28 14:55:38 -08:00
Pratik Chanda
f4260cf40d
stream_settings: Add stream "reset to default notifications" button.
...
This commit introduces a "reset to default notifications" button to
the personal panel in stream settings. On clicking, it unmutes the
current stream and resets all its notification configurations to
default user settings.
Fixes zulip#27624.
2024-01-28 14:32:45 -08:00
evykassirer
3975c508b5
topic_generator: Convert module to typescript.
2024-01-28 14:20:45 -08:00
evykassirer
d969ac3764
reactions: Rename reaction_info to rendering_details.
...
When we convert to typescript, these variables
will be of type EmojiRenderingDetails. This is
a more clear name.
2024-01-28 14:17:15 -08:00
evykassirer
3208235e79
emoji: Remove number as possible type for emoji_code.
...
More details here:
https://github.com/zulip/zulip/pull/28375#issuecomment-1878073956
2024-01-28 14:17:15 -08:00
evykassirer
0e358b9f85
reactions: Always call update_user_fields with should_display_reactors.
...
This was wrong before. `update_user_fields` is called with
`should_display_reactors` everywhere else.
2024-01-28 14:17:15 -08:00
evykassirer
84038a9984
reactions: Fix typo.
2024-01-28 14:17:15 -08:00
evykassirer
fc1bd590b6
reactions: Remove view namespace.
...
This will make a migration to typescript easier,
and was unnecessary extra complexity.
2024-01-28 14:17:15 -08:00
Alya Abbott
af6a30db7e
help: Clarify that newsletter only goes to Zulip Cloud users.
2024-01-26 16:55:36 -08:00
Alya Abbott
31839a1306
docs: Update priorities GitHub board link 8.0->9.0.
2024-01-26 16:55:20 -08:00
Tim Abbott
7b4afb35e7
analytics: Fix improperly scoped billing import.
2024-01-26 09:33:30 -08:00
Sahil Batra
3fc2bccc21
bootstrap: Remove css for btn-link elements.
...
We currently use btn-link class only in buttons used for
changing email and password in account settings panel and
for we already bootstrap CSS rules for those so we can
safely remove the CSS rules in bootstrap-btn.css.
2024-01-26 09:10:09 -08:00
Sahil Batra
6b459c0ea4
invite: Re-add bootstrap CSS rules for btn-link elements.
...
This commit re-adds the bootstrap CSS rules for the specific
btn-link elements in invite modal to zulip.css. This is part
of the bootstrap removal project.
2024-01-26 09:10:09 -08:00
Mateusz Mandera
4a245a3f62
register_remote_server: Add more validation of contact_email.
2024-01-26 09:09:31 -08:00
Mateusz Mandera
25f47bd749
register_remote_server: Don't allow duplicate hostnames.
...
This requires a bit of restructuring of the existing code to handle all
the cases correctly.
2024-01-26 09:09:31 -08:00
nimishmedatwal
5e2d620d9f
help: Add installation through Flathub.
...
Fixes #28508
2024-01-26 09:07:38 -08:00