Karl Stolley
6696a47d3d
pygments: Place GitHub-style red and green for diffs.
2023-12-04 13:03:34 -08:00
Karl Stolley
78d767c1ee
pygments: Place Quansight Labs accessible GitHub themes.
2023-12-04 13:03:34 -08:00
Karl Stolley
1c88cc481c
pygments: Isolate non-color Zulip custom styles.
2023-12-04 13:03:34 -08:00
Karl Stolley
7817e358f4
markdown: Place redesigned colors and borders on code spans and blocks.
...
Prior to merging, this commit and others in the PR should be adjusted
and squashed for a cleaner history.
Co-Authored-By: Vlad Korobov <terpimost@gmail.com>
2023-12-04 13:03:34 -08:00
Karl Stolley
6d4f852dc4
markdown: Remove background colors from code blocks.
...
It appears as though we're still setting a background color,
but that is only to push back against the background set by
Pygments.
However, code blocks in mention messages get the same color
background as ordinary messages, preserving contrast on syntax
highlighting.
2023-12-04 13:03:34 -08:00
Karl Stolley
78d4232fc4
markdown: Present code spans without borders.
2023-12-04 13:03:34 -08:00
Karl Stolley
2811f2fe0f
markdown: Implement redesigned Markdown code styles.
...
Fixes a part of #22022 .
2023-12-04 13:03:34 -08:00
Karl Stolley
f1a5fffae9
markdown: Express Markdown code/pre colors as CSS vars.
...
This ensures that all colors (text, background, and border) are
explicitly declared for Markdown-rendered pre elements, even when
the colors replicate values already declared, e.g., with Pygments.
2023-12-04 13:03:34 -08:00
Karl Stolley
a8612ee9bc
markdown: Remove unreachable color properties.
2023-12-04 13:03:34 -08:00
N-Shar-ma
4d590f1f93
compose: Make the Preview button the first, and Upload files the second.
...
We exchange the positions of the preview and upload buttons to make the
preview button the first one, as the preview button is different from
the other buttons in that it does not manipulate the contents of the
ompose box.
2023-12-04 13:00:35 -08:00
Aman Agrawal
00f4f8cb04
billing: Use PATCH requests for update plan for remote instances.
...
This fixes the update requests for billing frequency and other
requests not working on billing page for cloud customers.
2023-12-04 12:36:24 -08:00
Aman Agrawal
1a063986e3
billing: Render page for legacy server scheduled for upgrade.
2023-12-04 12:36:24 -08:00
Aman Agrawal
f22ccd3125
stripe: Render upgrade page for remote servers on legacy plan.
2023-12-04 12:36:24 -08:00
Karl Stolley
c651c4f668
icons: Place new log-in and log-out icons across UI.
2023-12-04 12:11:00 -08:00
Karl Stolley
c3adfa2679
top_navbar: Apply current icon styles to narrow login icon.
2023-12-04 12:11:00 -08:00
Karl Stolley
d85dd6bf2b
top_navbar: Set new spectator button styles.
2023-12-04 12:11:00 -08:00
Karl Stolley
b53836de03
top_navbar: Allow spectator items to participate in flexbox.
2023-12-04 12:11:00 -08:00
Tim Abbott
f6c7eaf1e5
models: Add push_notifications_enabled & corresponding end_timestamp.
...
Add two fields to Realm model:
*push_notifications_enabled
*push_notifications_enabled_end_timestamp
Co-authored-by: Prakhar Pratyush <prakhar@zulip.com>
2023-12-04 07:08:39 -08:00
Aman Agrawal
895d76f6f0
hello: Add getapp badge on landing page.
2023-12-03 20:43:07 -08:00
Anders Kaseorg
ec44722252
timerender: Move display_time_zone fallback to initialize.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-03 20:05:25 -08:00
Aman Agrawal
a59245e932
billing: Make various buttons on billing page work.
...
We pass billing_base_url to the template and use it to construct
session specific URLs. Also, add corresponding function on server
to support them.
2023-12-03 15:15:04 -08:00
Aman Agrawal
f942bbd70f
stripe: Show tier information correctly on billing and upgrade page.
2023-12-03 15:15:04 -08:00
Lauryn Menard
4250e9c1c9
support: Update remote server customer default discount.
...
Adds ability to update the default discount for a customer attached
to a remote server via the remote server support view.
2023-12-03 14:27:07 -08:00
Lauryn Menard
6621de6f07
analytics: Add copy email button for remote server support view.
2023-12-03 14:27:07 -08:00
Lauryn Menard
0679bc044a
corporate: Make references to billing modality consistent.
...
The "send_invoice" and "charge_automatically" strings used by stripe
for the `collection_method` are referred to both as the "billing
method" and "billing modality" in the billing code.
Because we send this as data to stripe as either `collection_method`
or `billing_modality`, renames any references that are any form of
"billing method".
2023-12-03 14:27:07 -08:00
Karl Stolley
4987600edc
message_edit: Don't hide spinner on save success.
...
Hiding the spinner confusingly flashes the Save button before the
edit view closes. This just prevents that from happening, so that
the sign of success is the rendered, edited message.
2023-12-03 10:32:43 -08:00
Karl Stolley
780d60a9ee
left_sidebar: Remove tabindex from correct home-view element.
2023-12-03 08:44:54 -08:00
Karl Stolley
0e4dfa04b3
top_navbar: Contain stream, description elements.
2023-12-03 08:40:45 -08:00
evykassirer
875b7f1377
padded widget: Unabbreviate content_sel to content_selector.
2023-12-03 08:39:07 -08:00
Anders Kaseorg
1efc6efd23
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-01 18:52:00 -08:00
Karl Stolley
871054bd1e
plans_page: Allow different max-widths on cloud, self-hosted panes.
2023-12-01 15:12:31 -08:00
Karl Stolley
5eb86f3fbb
plans_page: Add responsive non-JS plan-pane scrolling.
2023-12-01 15:12:31 -08:00
Karl Stolley
056dde8618
plans_page: Place responsive styles, other than plans pane.
2023-12-01 15:12:31 -08:00
Karl Stolley
94cf3b57a3
plans_page: Add dashed separators.
2023-12-01 15:12:31 -08:00
Karl Stolley
5bfe45b244
plans_page: Implement button styles and icons.
2023-12-01 15:12:31 -08:00
Karl Stolley
c5b4b452c1
plans_page: Place swooshes on question headers.
2023-12-01 15:12:31 -08:00
Karl Stolley
6fb2e28cd2
plans_page: Add curvature to pricing tabs.
2023-12-01 15:12:31 -08:00
Karl Stolley
abbf511322
plans_page: Adjust spacing, curved borders.
2023-12-01 15:12:31 -08:00
Karl Stolley
854d2820d5
plans_page: Place pricing styles.
2023-12-01 15:12:31 -08:00
Karl Stolley
8529d86fc6
plans_page: Place custom bullets with flexbox.
2023-12-01 15:12:31 -08:00
Karl Stolley
dbaef860bf
plans_page: Place non-button link colors.
2023-12-01 15:12:31 -08:00
Karl Stolley
4f8cc13417
plans_page: Place text, background colors.
2023-12-01 15:12:31 -08:00
Karl Stolley
b0db397ec6
plans_page: Add independent additional info sections for cloud, self-hosted.
2023-12-01 15:12:31 -08:00
Karl Stolley
c9f33344e2
plans_page: Add JS toggle for showing cloud or self-hosted plans.
2023-12-01 15:12:31 -08:00
Karl Stolley
eb36256d7a
plans_page: Handle typesetting and vertical alignment.
2023-12-01 15:12:31 -08:00
Karl Stolley
52f8f56286
plans_page: Rough out structures and grid layout.
2023-12-01 15:12:31 -08:00
Karl Stolley
a6498ad666
plans_page: Simplify structures and present page header.
2023-12-01 15:12:31 -08:00
N-Shar-ma
82895ff535
compose: Update icons for formatting buttons.
...
Also made the buttons bigger, and updated breakpoints accordingly.
Fixes : #27845 .
2023-12-01 13:51:39 -08:00
Aman Agrawal
d0c0b11fbf
upgrade: Make purchase upgrade work for remove servers and realms.
...
We are upgrading them to cloud standard right now, we can easily
change tiers in future while adding pricing and configuration for
them.
2023-12-01 08:55:58 -08:00
Aman Agrawal
9889dc38fe
event_status: Pass billing_base_url to calculate realm specific URLs.
2023-12-01 08:55:58 -08:00