zulip/corporate
Eeshan Garg a808f02a22 billing/sponsorship: Allow blank organization URLs.
We ran into a bug in production caused by two issues:
- Some users came from orgs that didn't have a website and since
  the URL field was required, they submitted invalid URLs.
- We didn't properly respond to invalid form submissions, which
  led to UnboundLocalError exceptions in another part of the
  code.

This commit solves this by doing the following:
- We now allow blank URLs and have a convenient placeholder text
  label that tells users that they may leave the URL field blank.
- This commit refactors the code such that invalid form submissions
  result in an informative error message about what exactly went
  wrong.
2021-08-19 03:08:17 -07:00
..
lib bots: Pass realm to get_system_bot calls in registration.py. 2021-07-26 15:33:13 -07:00
management billing: Do subscription management in-house instead of with Stripe Billing. 2018-12-22 13:39:30 -08:00
migrations billing/sponsorship: Allow blank organization URLs. 2021-08-19 03:08:17 -07:00
tests billing/sponsorship: Allow blank organization URLs. 2021-08-19 03:08:17 -07:00
views billing/sponsorship: Allow blank organization URLs. 2021-08-19 03:08:17 -07:00
__init__.py Create non-localserver "corporate" app with jobs pages. 2013-11-06 12:07:31 -05:00
models.py billing/sponsorship: Allow blank organization URLs. 2021-08-19 03:08:17 -07:00
urls.py billing: Split views into upgrade and billing page views. 2021-07-20 14:43:39 -07:00