evykassirer
5604ebedf0
unread: Iterate over both topic_name and messages.
2023-12-23 15:14:34 -08:00
Prakhar Pratyush
2883bd92c2
test_stripe: Add E2E test for deactivate registration with bouncer.
2023-12-23 14:58:52 -08:00
Mateusz Mandera
d3e8ddd6ce
test_push_notifications: Use self.server instead of .get expression.
...
It makes no sense to do RemoteZulipServer.objects.get with
self.server_uuid, when there simply is self.server.
2023-12-23 14:58:27 -08:00
Mateusz Mandera
82ee93d967
zilencer: Set .remote_realm for existing RemotePushDeviceToken.
...
Old RemotePushDeviceTokens were created without this attribute. But when
processing a notification, if we have remote_realm, we can take the
opportunity to to set this for all the registrations for this user.
2023-12-23 14:58:27 -08:00
Alex Vandiver
1ba2f39854
install: Support PostgreSQL 16.
2023-12-23 14:57:12 -08:00
Sahil Batra
415fb2014b
settings: Show push notifications tooltip on stream specific row.
...
This commit fixes the bug about not showing the tooltip about push
notifications not being enabled on the server on checkbox in stream
specific notification row.
2023-12-23 14:55:23 -08:00
Sahil Batra
99f29983a1
settings: Do not show tooltip if push notifications are enabled.
...
We previously showed tooltips about push notifictions not being
enabled on server on the checkboxes in "Notification triggers"
section incorrectly when server had push notifications enabled.
This bug was present as realm_push_notifications_enabled was
not passed to the template correctly. This commit fixes it by
instead using "is_disabled" in the "if" condition as we only
expect it to be true when push notifications are not enabled
on server.
2023-12-23 14:55:23 -08:00
evykassirer
d1acdf20e7
unread: Convert module to TypeScript.
2023-12-22 16:18:50 -08:00
evykassirer
d2cf9aaff2
unread: Return consistent data structure in unread_count_info_for_stream.
2023-12-22 16:18:50 -08:00
evykassirer
dedae1de12
unread: Remove Bucketer in favor of simpler Map.
2023-12-22 16:18:50 -08:00
evykassirer
af84d9dab0
FoldDict: Always use IterableIterator.
...
Being more specific will help in converting
the unread module to typescript.
2023-12-22 16:18:50 -08:00
Anders Kaseorg
8f3e5e1b6b
eslint: Enable @typescript-eslint/strict-type-checked config.
...
https://typescript-eslint.io/linting/configs/#strict-type-checked
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-21 16:14:40 -08:00
Anders Kaseorg
cbe227af6f
eslint: Fix @typescript-eslint/no-unnecessary-boolean-literal-compare.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-21 16:14:40 -08:00
Anders Kaseorg
6368cf17cb
eslint: Fix @typescript-eslint/no-confusing-void-expression.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-21 16:14:40 -08:00
Aman Agrawal
3fde4f977d
docs: Change you organization to your organization.
2023-12-20 23:09:21 -08:00
Alya Abbott
79e0cf9005
help: Document guest user discounts for self-hosted organizations.
2023-12-20 23:09:21 -08:00
Alya Abbott
9e67a273b6
help: Improve documentation on automatic and manual license management.
2023-12-20 23:09:21 -08:00
Alya Abbott
37e408a428
help: Update self hosted billing documentation to add Basic plan.
2023-12-20 23:09:21 -08:00
Aman Agrawal
e192aef23d
billing: Apply a flat discount for self hosted plans.
2023-12-20 23:09:21 -08:00
Aman Agrawal
0337c726d3
plans: Align basic plan price detail at bottom.
2023-12-20 23:09:21 -08:00
Aman Agrawal
48af342bd8
landing-page: Show correct pricing tab based on context.
2023-12-20 23:09:21 -08:00
Karl Stolley
a37354f92a
corporate: Add a Basic plan.
2023-12-20 23:09:21 -08:00
Karl Stolley
3a0be097f4
portico: Reduce bold in additional info area.
2023-12-20 23:09:21 -08:00
Alya Abbott
fd911cbfbb
billing: Update sponsorship hint text.
2023-12-20 23:09:21 -08:00
Alya Abbott
9d5105557d
portico: Tweak discount eligibility description.
2023-12-20 23:09:21 -08:00
Sahil Batra
377df9e4db
user_groups: Do not remove the user group row if user can join again.
...
We now do not remove the user group row immediately from "Your groups"
panel when user is removed from the group, if the user can join that
group again by themselves. This makes the behavior similar to what
we have for streams.
2023-12-20 20:34:01 -08:00
Lauryn Menard
653901fc30
support: Update remote server support search test.
...
Creates some reusable helper functions and adds remote realms to
the search results that are checked, which gives coverage for the
remote realm user counts in the support view.
2023-12-19 14:44:26 -08:00
Lauryn Menard
22e035d8e2
support: Fix description for remote realm host field.
2023-12-19 14:44:26 -08:00
Lauryn Menard
f56923fafa
support: Format ARR column as dollar amount in remote activity view.
2023-12-19 14:44:26 -08:00
Lauryn Menard
ad8daffb62
support: Add Zulip version to remote server information.
...
In the remote server information displayed in the remote support
view, show the Zulip version currently on the RemoteZulipServer
object as last_version.
2023-12-19 14:44:26 -08:00
Lauryn Menard
9e9fec68a1
support: Add plan's estimated annual revenue to remote support view.
...
Also fixes formatting for per license price and moves the billing
schedule to be above this line so that it's clearer the per license
price is based on the billing schedule.
2023-12-19 14:44:26 -08:00
Lauryn Menard
fb3bd0cde1
support: Add user count data to remote support view.
2023-12-19 14:44:26 -08:00
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