Lauryn Menard
a8172591ca
support: Show current discount for current plan.
...
This should match any discount information shown for the remote
realm or server.
2023-12-19 14:44:26 -08:00
Lauryn Menard
be6c90f608
support: Move and highlight current sponsorship information.
...
Moves the note about being on the sponsored Community plan to be
under the remote server or realm name.
Adds a note about a remote server or realm with a partial discount
set, which is another type of sponsorship.
Highlights these notes visually with emojis for support admin.
2023-12-19 14:44:26 -08:00
Lauryn Menard
f92152fafb
support: Add shared helper for customer/plan in support views tests.
...
Adds a shared helper function for support view tests that need
a customer and/or customer plan.
2023-12-19 14:44:26 -08:00
Lauryn Menard
649cc15220
corporate: Shorten plan status strings.
2023-12-19 14:01:43 -08:00
Karl Stolley
e4a3b1b1a3
plans: Precisely determine min- and max-widths.
2023-12-19 13:31:57 -08:00
Prakhar Pratyush
63bb63ad80
corporate: Remove '#nocoverage' comments.
...
This commit removes '#nocoverage' comment as we have added
few E2E tests in 'test_stripe.py'.
2023-12-19 10:59:38 -08:00
Prakhar Pratyush
f278e21c7a
test_stripe: Add legacy remote server schedule upgrade E2E test.
2023-12-19 10:59:38 -08:00
Prakhar Pratyush
2a6c93a2b9
test_stripe: Add remote server non-sponsorship E2E test.
2023-12-18 23:49:03 -08:00
Prakhar Pratyush
1380319708
test_stripe: Improve non-sponsorship remote realm billing test.
...
This commit improves the test to check the internal states
of the database e.g. check what /billing/ says about the
next renewal date and amount.
2023-12-18 23:49:03 -08:00
Anders Kaseorg
125ddf2f79
self-hosting: Fix link to redirect.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-18 16:11:35 -08:00
Anders Kaseorg
620a75f149
check_help_documentation: Exclude temporarily unavailable endpoint.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-18 15:44:00 -08:00
Aman Agrawal
b2faa5c5bb
stripe: Add a CustomerPlan for self hosted sponsored customers.
2023-12-18 12:55:34 -08:00
Aman Agrawal
d4a852e97c
stripe: Save a query to get CustomerPlan for sponsored customers.
2023-12-18 12:55:34 -08:00
Karl Stolley
44c8e25e32
portico: Correct tab/scroll logic for self-hosted fragments.
2023-12-18 12:24:50 -08:00
Aman Agrawal
d962814a30
upgrade: Make it possible to upgrade to a provided tier.
...
Main work is maintaining context during various redirects and
and passing the context to the final upgrade process.
2023-12-18 12:23:46 -08:00
Aman Agrawal
1326619b77
stripe: Provide min license count to template as per tier.
2023-12-18 12:23:46 -08:00
Lalit
02257b8cbf
ts: Migrate `popover_menus` to typescript.
...
This commit migrates `popover_menus` module to TypeScript. Also adds
a placeholder types declaration file for `css_variables` module.
2023-12-17 14:00:44 -08:00
evykassirer
bfff48decc
unread: Return objects directly, no functional change.
2023-12-17 10:14:11 -08:00
evykassirer
f15a687916
unread: Use message type instead of checking stream_id.
2023-12-17 10:14:11 -08:00
evykassirer
6596598949
unread: Create key_to_bucket object in call to constructor.
2023-12-17 10:14:11 -08:00
evykassirer
722494bfae
unread: Rename KeyDict to key_to_bucket.
2023-12-17 10:14:11 -08:00
evykassirer
5c9bb51c5b
unread: Use some clearer variable names.
2023-12-17 10:14:11 -08:00
Tim Abbott
39936972f7
zilencer: Fix can_push logging bug with system bot realms.
...
We could be incorrectly logging the can_push value associated with the
system bot realm when only a single human realm existed on a server.
2023-12-17 09:55:31 -08:00
evykassirer
24dc2e783d
message_store: Migrate message_store to typescript.
2023-12-17 09:43:47 -08:00
Tim Abbott
5dc1d36f73
zilencer: Fix community plan push notifications.
2023-12-17 09:36:47 -08:00
Aman Agrawal
311a645c5a
sponsorship_request: Minor changes.
...
* Show if requested org is hosted on Zulip Cloud.
* Change how user numbers are displayed.
2023-12-17 09:33:37 -08:00
Tim Abbott
1e0339c18b
plans: Fix community plan documentation.
...
It appears the plans page version of this had a less clear/specific
list of example communities than was intended. Also improve the longer
version in the Help Center to give the same examples.
2023-12-17 00:09:06 -08:00
Aman Agrawal
6b1f71872b
plans: Fix same page hashtag link.
...
Fixes /plans fragment links redirecting users to different page.
2023-12-16 22:51:21 -08:00
Aman Agrawal
d85462a459
pricing_plans: Fix scrollbars always visible.
...
Kick in min-width at the required width.
This will ensure that scrollbars are only visible if the window
is at this width.
2023-12-16 22:51:21 -08:00
Anders Kaseorg
b38f3d2472
models: Extract zerver.models.lookups.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-16 22:08:44 -08:00
Anders Kaseorg
c343d7c30e
models: Move query_for_ids to zerver.lib.query_helpers.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-16 22:08:44 -08:00
Anders Kaseorg
33d140c8dc
models: Extract zerver.models.alert_words.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-16 22:08:44 -08:00
Anders Kaseorg
1f1b2f9a68
models: Extract zerver.models.bots.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-16 22:08:44 -08:00
Anders Kaseorg
27c0b507af
models: Extract zerver.models.custom_profile_fields.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-16 22:08:44 -08:00
Anders Kaseorg
d5410b577a
models: Extract zerver.models.onboarding_steps.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-16 22:08:44 -08:00
Anders Kaseorg
68d3b9f629
models: Extract zerver.models.realm_audit_logs.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-16 22:08:44 -08:00
Anders Kaseorg
c9c819e1d7
models: Extract zerver.models.scheduled_jobs.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-16 22:08:44 -08:00
Anders Kaseorg
73e68050bb
models: Extract zerver.models.presence.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-16 22:08:44 -08:00
Anders Kaseorg
9fb577337b
models: Extract zerver.models.user_activity.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-16 22:08:44 -08:00
Anders Kaseorg
cff0b78771
models: Move some functions to zerver.lib.attachments.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-16 22:08:44 -08:00
Anders Kaseorg
09d0abfe70
models: Extract zerver.models.drafts.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-16 22:08:44 -08:00
Anders Kaseorg
b15999c799
models: Extract zerver.models.messages.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-16 22:08:44 -08:00
Anders Kaseorg
bac027962f
models: Extract zerver.models.clients.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-16 22:08:44 -08:00
Anders Kaseorg
2394b37fa3
models: Extract zerver.models.muted_users.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-16 22:08:44 -08:00
Anders Kaseorg
ea2ee61b4c
models: Extract zerver.models.user_topics.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-16 22:08:44 -08:00
Anders Kaseorg
4aa2d76bea
models: Extract zerver.models.streams.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-16 22:08:44 -08:00
Anders Kaseorg
5391ec99d9
models: Extract zerver.models.push_notifications.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-16 22:08:44 -08:00
Anders Kaseorg
927d7a9a60
models: Extract zerver.models.prereg_users.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-16 22:08:44 -08:00
Anders Kaseorg
51f1dc257d
models: Extract zerver.models.recipients.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-16 22:08:44 -08:00
Anders Kaseorg
3c11fd9466
models: Move some functions to zerver.lib.display_recipient.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-16 22:08:44 -08:00