zulip/zerver
Mateusz Mandera fc247cba3f remote_billing: Fix /self-hosted-billing/ handling for desktop app.
When you click "Plan management", the desktop app opens
/self-hosted-billing/ in your browser immediately. So that works badly
if you're already logged into another account in the browser, since that
session will be used and it may be for a different user account than in
the desktop app, causing unintended behavior.

The solution is to replace the on click behavior for "Plan management"
in the desktop app case, to instead make a request to a new endpoint
/json/self-hosted-billing, which provides the billing access url in a
json response. The desktop app takes that URL and window.open()s it (in
the browser). And so a remote billing session for the intended user will
be obtained.
2024-01-15 16:50:48 -08:00
..
actions actions: Rename *topic local variables to *topic_name. 2024-01-15 09:40:43 -08:00
data_import models: Extract zerver.models.streams. 2023-12-16 22:08:44 -08:00
integration_fixtures/nagios
lib auth: Add a configurable wrapper around authenticate calls. 2024-01-15 12:18:48 -08:00
management process_queue: For threaded workers, create them when they start. 2024-01-12 08:38:46 -08:00
migrations models: Extract zerver.models.realm_audit_logs. 2023-12-16 22:08:44 -08:00
models actions: Rename *topic local variables to *topic_name. 2024-01-15 09:40:43 -08:00
openapi docs: Fix other help pages that were renamed or moved, to save a redirect. 2024-01-11 13:52:12 -08:00
tests auth: Add a configurable wrapper around authenticate calls. 2024-01-15 12:18:48 -08:00
tornado models: Extract zerver.models.clients. 2023-12-16 22:08:44 -08:00
transaction_tests models: Extract zerver.models.realms. 2023-12-16 22:08:44 -08:00
views remote_billing: Fix /self-hosted-billing/ handling for desktop app. 2024-01-15 16:50:48 -08:00
webhooks models: Extract zerver.models.clients. 2023-12-16 22:08:44 -08:00
worker queue_processors: Defer initial email connection creation. 2024-01-12 08:38:46 -08:00
__init__.py
apps.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
context_processors.py login: Remove external_authentication_methods from page_params. 2023-12-29 13:02:12 -08:00
decorator.py auth: Add hardening authenticate(use_dummy_backend=True) in do_login. 2024-01-15 12:18:48 -08:00
filters.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
forms.py models: Extract zerver.models.realms. 2023-12-16 22:08:44 -08:00
logging_handlers.py error_notify: Remove custom email error reporting handler. 2023-07-20 11:00:09 -07:00
middleware.py csrf_failure: Update error page. 2024-01-10 09:49:24 -08:00
signals.py email: Add a space after the time and AM/PM in the login email. 2023-11-27 09:47:30 -08:00