thunderbird_accounts.mail.views
Functions
|
Contact page for support requests (uses ZenDesk's API) A user can always access this page even if they don't have a mail account setup since they might encounter problems before the mail account setup itself. |
|
Get ticket fields from Zendesk API and filter for fields with custom options. |
|
Uses Zendesk's Requests API to create a ticket Ref https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/#tickets-and-requests |
|
|
|
Puts the error message into the message bag and redirects to a named view. |
|
|
|
Account Settings page for Self Serve A user can always access this page even if they don't have a mail account setup. |
|
|
|
|
|
App Password page for Self Serve A user can create (if none exists), or delete an App Password which is used to connect to the mail server. |
Common return params for self serve pages |
|
|
Connection Info page for Self Serve This page displays information relating to the connection settings that a user may need to connect an external mail client. |
|
Subscription page allowing user to select plan tier and do checkout via Paddle.js overlay |
|
|
|
|
|
- thunderbird_accounts.mail.views.raise_form_error(request, to_view: str, error_message: str)[source]
Puts the error message into the message bag and redirects to a named view.
- thunderbird_accounts.mail.views.self_serve_common_options(is_account_settings: bool, user: User, account: Account)[source]
Common return params for self serve pages
- thunderbird_accounts.mail.views.contact(request: HttpRequest)
Contact page for support requests (uses ZenDesk’s API) A user can always access this page even if they don’t have a mail account setup since they might encounter problems before the mail account setup itself.
- thunderbird_accounts.mail.views.contact_fields(request: HttpRequest)
Get ticket fields from Zendesk API and filter for fields with custom options.
- thunderbird_accounts.mail.views.contact_submit(request: HttpRequest)
Uses Zendesk’s Requests API to create a ticket Ref https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/#tickets-and-requests
- thunderbird_accounts.mail.views.self_serve_account_settings(request: HttpRequest)
Account Settings page for Self Serve A user can always access this page even if they don’t have a mail account setup. This way they can delete their account if they wish, or create an account.
- thunderbird_accounts.mail.views.self_serve_connection_info(request: HttpRequest)
Connection Info page for Self Serve This page displays information relating to the connection settings that a user may need to connect an external mail client.
- thunderbird_accounts.mail.views.self_serve_subscription_success(request: HttpRequest)
Subscription page allowing user to select plan tier and do checkout via Paddle.js overlay
- thunderbird_accounts.mail.views.self_serve_app_passwords(request: HttpRequest)
App Password page for Self Serve A user can create (if none exists), or delete an App Password which is used to connect to the mail server.