Anders Kaseorg
6e725f0d17
compose: Move call link insertion to new compose_call_ui module.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-10-05 14:42:19 -07:00
Lauryn Menard
da4b54d414
analytics: Remove out of date tabs from main activity page.
...
Removes the various 'ad_hoc_queries' in the main activity page
that no longer have relevant data or information.
2023-10-05 12:31:57 -07:00
Lauryn Menard
40e6455579
analytics: Move integrations by client to separate activity page.
...
Moves the tab in the main installation activity page to be a
separate page: "/activity/integrations".
2023-10-05 12:31:57 -07:00
Lauryn Menard
0f009c439d
analytics: Move remote server view to separate file.
...
Moves the view for "/activity/remove" from the main installation
activity view to a separate file.
2023-10-05 12:31:57 -07:00
David Rosa
13e1a389b0
help: Fix missing icons in "Stream permissions".
...
This brings back the icons in the legend for the Stream permissions
tables that disappeared somehow.
2023-10-05 12:11:51 -07:00
evykassirer
c54ca567a9
typeahead: Only return early from blur if parentElement is specified.
...
From a bug reported here:
https://chat.zulip.org/#narrow/stream/9-issues/topic/Typeahead.20fails.20to.20automatically.20close/near/1655321
2023-10-05 11:51:42 -07:00
Tim Abbott
3d804ef186
pm_list: Rename handle_narrow_deactivated.
...
It did the same thing as handle_narrow_activated when passed the
home_msg_list filter.
We still leave a renamed version for use by the inbox/recent views.
2023-10-05 10:31:23 -07:00
Tim Abbott
0a189119aa
stream_list: Rename handle_narrow_deactivated.
...
It did the same thing as handle_narrow_activated when passed the
home_msg_list filter.
We still leave a renamed version for use by the inbox/recent views.
2023-10-05 10:31:23 -07:00
Tim Abbott
20b2323c67
left_sidebar: Deduplicate handle_narrow_deactivated.
...
handle_narrow_activated did the same thing is passed the home_msg_list
filter.
2023-10-05 10:31:23 -07:00
Tim Abbott
246139e1d0
narrow: Extract handle_post_view_change.
2023-10-05 10:31:23 -07:00
Tim Abbott
62fe1dcad1
narrow: Simplify compute_narrow_title for All messages.
...
filter.get_title() already returns "All messages" for the filter we
now pass in, which is the "in:home" operator defined by that view.
2023-10-05 10:31:23 -07:00
Tim Abbott
4465262bcb
narrow: Pass a msg_list to handle_post_narrow_deactivate_processes.
2023-10-05 10:31:23 -07:00
Tim Abbott
ab15462669
hashchange: Remove duplicate handle_narrow_deactivated call.
...
narrow.deactivate calls this directly.
2023-10-05 10:31:23 -07:00
Alex Vandiver
db203cfc2d
newrelic: ids are uuids, not integers.
...
The previous fixtures were not generated from New Relic directly, so
incorrectly implied that `id` was an integer. See the examples for
`issueId` in their documentation[^1].
[^1]: https://docs.newrelic.com/docs/alerts-applied-intelligence/notifications/message-templates/
2023-10-05 09:44:51 -07:00
Sahil Batra
05c6a41dd7
upgrade: Rename "Add card" button to "Pay now".
...
We do not redirect to Zulip's billing page for confirmation
even when user did not had added a card already and the payment
is directly processed after adding a card so is better to just
rename the button.
2023-10-05 09:28:27 -07:00
Sahil Batra
f88715cb2c
signup: Use portico_modals module to handle modal on signup page.
...
This does not results in any behavioral or UI change, we just
use portico_modals module to open and close the modal instead
of directly calling functions like Micromodal.open and
Micromodal.close. This change also solves a bug where the
modal was not closed previously on clicking anywhere outside
the modal.
2023-10-05 09:28:27 -07:00
Sahil Batra
2df26f3d27
bootstrap-btn: Remove bootstrap CSS for ".btn-success" elements.
...
We used "btn-success" class only in user profile modal subscribe
widget and the CSS rules applied by bootstrap on this class were
overridden by other CSS. We also remove the btn-success class
since this is a bootstrap-specific class and we no longer
need it.
2023-10-05 09:28:27 -07:00
Sahil Batra
cfc9dccb2a
bootstrap-btn: Remove bootstrap CSS for ".btn-primary" elements.
...
We used "btn-primary" class only in integrations dev panel page
and this commit re-adds the CSS applied by this class in
integrations_dev_panel.css. We also remove the btn-primary class
since this is a bootstrap-specific class and we no longer
need it.
2023-10-05 09:28:27 -07:00
Sahil Batra
cc4a6d08e7
development: Update modal in emails page to use micromodal.
...
We now use micromodal in the modal on dev server emails page to
make it consistent with other modals in the app and this is
preparatory work for moving away from bootstrap as well.
2023-10-05 09:28:27 -07:00
Sahil Batra
8710feb5dd
billing: Update modal shown on license increase to use micromodal.
...
We now use micromodal in the license update modal on billing page
to make it consistent with other modals in the app and this is
preparatory work for moving away from bootstrap as well.
2023-10-05 09:28:27 -07:00
Sahil Batra
866b6cd632
portico: Add portico_modals.ts module.
...
This commit adds portico_modals.ts module which contains functions
for supporting modals in portico pages. The new module basically
contains code from functions in overlays.ts without the code
that is not needed currently for modals in portico pages.
2023-10-05 09:28:27 -07:00
Anders Kaseorg
ac8436d46c
resize: Move handler to new resize_handler module.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-10-05 09:26:59 -07:00
Alex Vandiver
89f824c769
update-prod-static: Only run generate_landing_page_images if necessary.
...
The vast majority of deployments do not need landing page assets
generated every deploy, which takes more than 15s. This also removes
them from built tarballs, which also do not need them.
2023-10-05 09:04:33 -07:00
Alex Vandiver
369eea27ba
provision: Tweak comment to not just mention static assets.
2023-10-05 09:04:33 -07:00
Aman Agrawal
c2c1f1ac6d
inbox: Add icon in search box to clear any text.
2023-10-05 08:57:44 -07:00
Aman Agrawal
b494424ffa
inbox: Change hover / focus styles of search box.
...
This is to make search box less noticeable when focus is given / taken
away from it.
2023-10-05 08:57:44 -07:00
Aman Agrawal
5142f1279a
popovers: Refactor show popovers as overlay on mobile widths.
...
This also fixes user_card_popover not being displayed as overlay
on mobile widths.
2023-10-05 08:29:12 -07:00
Anders Kaseorg
13d1241eed
activity: Extract new activity_ui module.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-10-05 08:27:30 -07:00
Anders Kaseorg
69ceff4995
settings_notifications: Cut import of stream_edit.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-10-05 08:22:56 -07:00
Anders Kaseorg
4ec78ee2d4
compose_recipient: Move selected_recipient_id to compose_state.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-10-05 08:21:33 -07:00
Aman Agrawal
75826d8409
handlebars: Move popover handlebars to a new popovers folder.
...
Organize related handlebars in a new folder together.
2023-10-05 08:19:49 -07:00
Aman Agrawal
95ee178d1a
user_card_popover_content: Rename to remove `_content`.
2023-10-05 08:19:49 -07:00
Aman Agrawal
a6f864a9a4
user_card_popover: Rename function name to avoid conflict.
...
This function name would have conflicted with
`render_user_card_popover_content` variable name once
we remove `_content` from it.
2023-10-05 08:19:49 -07:00
Aman Agrawal
3415a6898c
user_card_popover: Rename `_title` suffix to `_avatar`.
2023-10-05 08:19:49 -07:00
Aman Agrawal
78543a7f12
emoji_picker: Merge templates.
...
Merge `emoji_popover.hbs` and `emoji_popover_content.hbs`.
2023-10-05 08:19:49 -07:00
Aman Agrawal
54233f0363
playground_links_popover: Rename to remove `_content`.
2023-10-05 08:19:49 -07:00
Aman Agrawal
ecba66e613
compose_popovers: Rename to remove `_content`.
2023-10-05 08:19:49 -07:00
Aman Agrawal
acd584c336
actions_popover: Rename template to remove `_content`.
2023-10-05 08:19:49 -07:00
Anders Kaseorg
4c11f49627
settings_notifications: Fix stream_settings_api namespace import name.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-10-04 23:57:16 -07:00
Anders Kaseorg
eb6ac7bd98
settings_ui: Fix type and $ prefix of status_element argument.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-10-04 23:51:50 -07:00
Alex Vandiver
ba97611a8b
zilencer: Handle very old server push notifications.
...
Tweaked by tabbott to add a comment about deprecation policies.
2023-10-04 17:29:34 -07:00
Anders Kaseorg
f99cce91bf
middleware: Send got_request_exception signal for JSON 500 errors.
...
This is ordinarily emitted by Django at
https://github.com/django/django/blob/4.2.6/django/core/handlers/exception.py#L139
and received by Sentry at
https://github.com/getsentry/sentry-python/blob/1.31.0/sentry_sdk/integrations/django/__init__.py#L166
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-10-04 17:25:20 -07:00
Mateusz Mandera
f71e2c8247
support: Add basic support endpoint for remote servers.
2023-10-04 16:55:47 -07:00
Aman Agrawal
2ed1465b04
css: Display status emoji along with overflowing sender names.
...
Even if sender name overflows the available space, we should
show status emoji along with sender name by hiding the overflowing
part of sender name.
2023-10-04 16:49:39 -07:00
Anders Kaseorg
8d217847db
stream_edit: Move can_remove_subscribers_group_widget to settings_org.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-10-04 16:35:24 -07:00
Anders Kaseorg
278bd52b4e
stream_edit: Move get_request_data_for_stream_privacy to settings_data.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-10-04 16:35:24 -07:00
Anders Kaseorg
d17c0dabc8
stream_data: Move stream_*_policy_values to settings_config.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-10-04 16:35:24 -07:00
Anders Kaseorg
0f0fd3f07d
tests: Remove sub_store mock from recent_view test.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-10-04 16:35:24 -07:00
evykassirer
083062cd11
search: Don't "initiate search" if it's already open.
...
(or if you're using a hotkey, since then we should select
the searchbar)
Reported here:
https://chat.zulip.org/#narrow/stream/9-issues/topic/search.20bar.3A.20selection.20jumping.20to.20whole.20query/near/1652562
2023-10-04 16:32:19 -07:00
Alex Vandiver
528d0ebcf0
puppet: Serve /etc/zulip/well-known/ in nginx as /.well-known/.
2023-10-04 15:56:42 -07:00