zulip/zerver/views
Aman Agrawal 8e617f5df8 stripe: Fix customer charged for upgrade during free trial.
I accidentally free trials for both cloud and self hosted
enabled while testing, hence didn't catch it.

This mostly involves fixing `is_free_trial_offer_enabled` to
return the correct value and providing it the correct input.
2023-12-11 13:23:49 -08:00
..
development confirmation: Rename create_confirmation_link realm_creation arg. 2023-12-08 23:49:10 -08:00
__init__.py
alert_words.py alert_words: Migrate alert_words to use @typed_endpoint. 2023-09-08 08:20:17 -07:00
attachments.py attachments: Correct attachment_id type from string to integer. 2023-10-22 17:06:34 -07:00
auth.py stripe: Fix customer charged for upgrade during free trial. 2023-12-11 13:23:49 -08:00
compatibility.py django: Use HttpRequest.headers. 2022-05-13 20:42:20 -07:00
custom_profile_fields.py ruff: Fix PLR1714 Consider merging multiple comparisons. 2023-07-23 15:21:33 -07:00
digest.py mypy: Fix most AnonymousUser type errors. 2021-07-24 14:55:46 -07:00
documentation.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
drafts.py drafts: Migrate drafts to use @typed_endpoint. 2023-09-08 08:20:17 -07:00
email_mirror.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
errors.py config_error: Return status code 500. 2023-10-11 17:13:01 -07:00
events_register.py register: Add client capability to not receive unknown users data. 2023-12-06 00:09:53 -08:00
health.py views: Add a /health healthcheck endpoint. 2023-09-20 09:53:59 -07:00
home.py narrow: Split out narrow_helpers. 2023-06-30 11:26:23 -07:00
hotspots.py urls: Add a new endpoint for hotspot and deprecate the old one. 2023-12-06 18:19:20 -08:00
invite.py invites: Make it possible for non-admins to revoke multiuse invites. 2023-09-07 14:21:01 -07:00
message_edit.py message: Do not include details of inaccessible users in message data. 2023-12-09 17:23:16 -08:00
message_fetch.py message: Do not include details of inaccessible users in message data. 2023-12-09 17:23:16 -08:00
message_flags.py response: Remove "result: partially_completed" for success responses. 2023-09-18 13:18:24 -07:00
message_send.py send_message: Add an optional parameter in the success response. 2023-10-17 15:38:16 -07:00
muted_users.py bots: Fix muting of cross realm bots. 2023-11-27 16:16:23 -08:00
presence.py python: Consistently use from…import for datetime. 2023-12-05 12:01:18 -08:00
push_notifications.py remote_billing_page: Show error page for registration mismatch. 2023-12-10 19:33:48 -08:00
reactions.py message: Access realm object directly from message. 2023-08-23 11:38:32 -07:00
read_receipts.py read_receipts: Exclude muted users from read receipts. 2022-09-16 16:19:54 -07:00
realm.py setting: Allow changing "can_access_all_users_group" setting in prod. 2023-12-10 15:20:07 -08:00
realm_domains.py python: Convert translated positional {} fields to {named} fields. 2023-07-18 15:19:07 -07:00
realm_emoji.py ruff: Fix RUF015 Prefer `next(...)` over single element slice. 2023-07-23 15:20:53 -07:00
realm_export.py migration: Rename extra_data_json to extra_data in audit log models. 2023-08-16 17:18:14 -07:00
realm_icon.py ruff: Fix RUF015 Prefer `next(...)` over single element slice. 2023-07-23 15:20:53 -07:00
realm_linkifiers.py linkifier: Support reordering linkifiers. 2023-08-14 15:21:48 -07:00
realm_logo.py ruff: Fix RUF015 Prefer `next(...)` over single element slice. 2023-07-23 15:20:53 -07:00
realm_playgrounds.py realm_playgrounds: Refactor error handling for validation on creation. 2023-07-24 17:40:59 -07:00
registration.py confirmation: Rename create_confirmation_link realm_creation arg. 2023-12-08 23:49:10 -08:00
report.py ruff: Collapse short multi-line import statements. 2023-08-02 17:41:41 -07:00
scheduled_messages.py request: Extract out methods from 'scheduled_messages' to reuse. 2023-10-10 17:15:28 -07:00
sentry.py python: Use urlsplit instead of urlparse. 2023-12-05 13:03:07 -08:00
storage.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
streams.py streams: Fix unsorted import. 2023-11-16 19:02:13 +00:00
submessage.py actions: Split out zerver.actions.submessage. 2022-04-14 17:14:30 -07:00
thumbnail.py docs: Remove some outdated references to thumbnailing.md doc. 2022-07-12 17:44:24 -07:00
tutorial.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
typing.py typing_indicator: Add a 'stream_id' parameter to 'POST /typing'. 2023-10-12 09:53:09 -07:00
unsubscribe.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
upload.py python: Use urlsplit instead of urlparse. 2023-12-05 13:03:07 -08:00
user_groups.py user_groups: Pass config object to access_user_group_for_setting. 2023-11-01 10:42:56 -07:00
user_settings.py user_settings: Re-verify email addresses when enacting them. 2023-11-28 22:11:41 -08:00
user_topics.py python: Consistently use from…import for datetime. 2023-12-05 12:01:18 -08:00
users.py users: Restrict accessing avatar for inaccessible users. 2023-11-21 23:58:45 -08:00
video_calls.py docs: Fix grammar errors found by mwic. 2023-10-09 13:24:09 -07:00
zephyr.py ruff: Fix PLW0602 Using global but no assignment is done. 2023-01-04 16:25:07 -08:00