evykassirer
e0a10c2d94
all_messages_data: Convert module to typescript.
2023-12-27 22:55:47 -08:00
evykassirer
ccd5b4a813
narrow_state: Convert module to typescript.
2023-12-27 22:16:21 -08:00
evykassirer
b7a28f1630
page params: Add narrow attribute.
2023-12-27 22:16:21 -08:00
evykassirer
0f1fa8e159
message_list_data: Potentially return undefined in first_unread_message_id.
2023-12-27 21:48:54 -08:00
evykassirer
0cf1d49fee
message_list_data: Convert module to typescript.
2023-12-27 21:48:54 -08:00
evykassirer
dc8d0ed861
message_lists: Convert module to typescript.
2023-12-27 20:44:58 -08:00
evykassirer
e0fef6fdff
narrow_title: Migrate module to typescript.
2023-12-27 20:39:53 -08:00
evykassirer
01abd96127
buddy_data: Convert module to typescript.
2023-12-27 15:53:39 -08:00
evykassirer
68f2535ebc
recent senders: Convert module to typescript.
2023-12-27 14:05:35 -08:00
evykassirer
1f2ea95b9f
recent senders: Use for loop instead of filter/if combination.
2023-12-27 14:05:35 -08:00
Anders Kaseorg
6e220f4dc1
eslint: Enable @typescript-eslint/method-signature-style.
...
For historical reasons, TypeScript ignores variance errors for method
shorthand type declarations even in strict mode. Prefer the correctly
checked style.
https://typescript-eslint.io/rules/method-signature-style
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-26 17:30:33 -08:00
Anders Kaseorg
b44daf080c
list_widget: Remove unknown generic defaults.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-26 17:30:33 -08:00
Anders Kaseorg
d7803db5c7
list_widget: Remove get.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-26 17:30:33 -08:00
Anders Kaseorg
c1636ffc6f
list_widget: Add missing generic parameters to handle_sort.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-26 17:30:33 -08:00
Anders Kaseorg
3cc94ea930
types: Remove stacktrace-gps declarations.
...
I sent these upstream with documentation in 3.1.0.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-26 16:26:22 -08:00
evykassirer
4ce13f72f0
filter: Convert module to typescript.
2023-12-26 15:45:40 -08:00
evykassirer
cc8b35ff23
filter: Preparation to appease the typescript linter.
2023-12-26 15:45:40 -08:00
evykassirer
2c35aa38b7
filter: Move static functions above public instance method definitions.
2023-12-26 15:45:40 -08:00
evykassirer
86fd0864a7
page_params: Add narrow_stream to type.
2023-12-26 15:45:40 -08:00
Anders Kaseorg
ea697cdd93
eslint: Enable @typescript-eslint/stylistic-type-checked config.
...
https://typescript-eslint.io/linting/configs/#stylistic-type-checked
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-23 15:36:05 -08:00
Anders Kaseorg
c16837a664
eslint: Fix @typescript-eslint/prefer-string-starts-ends-with.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-23 15:36:05 -08:00
Anders Kaseorg
c943dc5035
eslint: Fix @typescript-eslint/prefer-optional-chain.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-23 15:36:05 -08:00
Anders Kaseorg
3d55e7ef10
eslint: Fix @typescript-eslint/prefer-nullish-coalescing.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-23 15:36:05 -08:00
Anders Kaseorg
9ec4c6d852
eslint: Fix @typescript-eslint/no-inferrable-types.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-23 15:36:05 -08:00
Anders Kaseorg
b33988a553
eslint: Fix @typescript-eslint/no-empty-function.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-23 15:36:05 -08:00
Anders Kaseorg
f88e3b9735
presence: Remove paranoid handling of falsy timestamps.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-23 15:36:05 -08:00
Anders Kaseorg
a36ef0b593
stream_data: Avoid undefined return from is_user_subscribed.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-12-23 15:36:05 -08:00
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