Anders Kaseorg
dd3fa4ac52
templates: Mark all void tags as self-closing.
...
This reverses the policy that was set, but incompletely enforced, by
commit 951514dd7d
. The self-closing tag
syntax is clearer, more consistent, simpler to parse, compatible with
XML, preferred by Prettier, and (most importantly now) required by
FormatJS.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-04-21 09:49:34 -07:00
Anders Kaseorg
72d6ff3c3b
docs: Fix more capitalization issues.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-10-23 11:46:55 -07:00
Anders Kaseorg
dd48dbd912
docs: Add spaces to “check out”, “log in”, “set up”, “sign up” as verbs.
...
“Checkout”, “login”, “setup”, and “signup” are nouns, not verbs.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-10-13 15:47:13 -07:00
Vishnu KS
d3c7277f77
billing: Show sponsorship message for organization on STANDARD_FREE.
...
Fixes #16180
2020-08-24 18:25:01 -07:00
Anders Kaseorg
6dea085187
docs: Correct “login” as a verb to “log in”.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-11 10:25:53 -07:00
Anders Kaseorg
fb2e56e3c9
docs: Fix capitalization of keyboard keys.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-11 10:25:53 -07:00
Anders Kaseorg
c155403884
docs: Fix various capitalization errors.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-11 10:25:52 -07:00
Vishnu KS
e736bc3ec6
sponsorship: Ensure that all the fields are filled in form.
2020-07-31 10:36:53 -07:00
Vishnu KS
cb01a7f599
billing: Restrict access to billing page to realm owners and billing admins.
2020-07-22 16:57:49 -07:00
Anders Kaseorg
c2f9db4602
logo: Update Zulip logo.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-07-16 01:37:08 -07:00
Vishnu KS
4c6350fa4b
billing: Add option to request a sponsorship in /upgrade.
2020-07-01 16:45:38 -07:00
Vishnu KS
cde4486f8c
billing: Support switching from monthly to annual plan.
2020-06-18 17:34:03 -07:00
Vishnu KS
98cd52cc3e
billing: Mention how the licenses are managed in /billing.
2020-06-18 16:30:48 -07:00
Tim Abbott
7b8ba5ebd9
docs: Update most remaining references to zulipchat.com.
...
In some cases, the cleanest tweak is to replace references to the
domain with Zulip Cloud, the product.
2020-06-08 18:10:45 -07:00
Tim Abbott
4d2b1673f8
docs: Replace support@zulipchat.com with support@zulip.com.
...
The new address is cleaner and shorter.
2020-05-28 08:14:30 +00:00
Tim Abbott
368e9572cc
billing: Clean up copy on free trial pages.
...
This fixes some issues with unclear terminology and visual styling in
the pages for the new free trial.
There's probably more we can and should usefully do in the future.
2020-05-26 21:31:07 -07:00
Vishnu KS
be831e0085
free trial: Hide free trial message during payment processing.
2020-05-26 17:01:32 -07:00
Vishnu KS
8784539d53
free trial: Send users to /upgrade after realm creation.
2020-05-26 17:01:32 -07:00
Vishnu KS
ad99bba121
billing: Add emojis to /upgrade page.
2020-05-24 17:35:17 -07:00
Vishnu Ks
66b1ad7002
billing: User FREE_TRIAL_DAYS instead of FREE_TRIAL_MONTHS.
2020-05-16 14:52:01 -07:00
Vishnu KS
8fb1f2af58
billing: Support downgrading plan from /billing page.
2020-05-11 17:20:54 -07:00
Vishnu KS
f1b1bf5a0d
billing: Add support for Zulip Standard free trial.
2020-05-11 17:20:54 -07:00
Steve Howell
cf78cb0d6e
templates: Use `<hr>` and `<br>` consistently.
...
We now prevent these variations:
* <hr/>
* <hr />
* <br/>
* <br />
We could enforce similar consistency for other void
tags, if we wished, but these two are particularly
prevalent.
2020-04-28 17:05:48 -07:00
Vishnu KS
a9c1fa25d6
upgrade: Set the default billing period to monthly.
2020-04-17 08:57:15 -07:00
Vishnu KS
3f94195d51
billing: Show appropriate message when not on a paid plan.
2020-04-16 19:28:37 -07:00
Vishnu KS
05b4610381
bots: Remove feedback cross realm bot.
...
This completes the remaining pieces of removing this missed in
d70e799466
(mostly in tests).
2020-01-25 22:54:44 -08:00
Anders Kaseorg
fda70a5458
templates: Use just one webpack entry point per page.
...
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2019-10-28 15:53:15 -07:00
Anders Kaseorg
7494f1600c
templates: Move page_params from an inline script to the <body> dataset.
...
This sidesteps tricky escaping issues, and will make it easier to
build a strict Content-Security-Policy.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2019-09-17 16:06:33 -07:00
Anders Kaseorg
9b38bcc2a6
templates: Abstract render_bundle behind a Jinja2 macro.
...
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2019-09-17 16:06:33 -07:00
Alexandra Ciobica
62a1e988f7
portico: Add `.markdown` class to `why-zulip` pages.
2019-07-25 15:04:09 -07:00
Vishnu Ks
8c249644b1
billing: Seperate out tests for invoice and autopay form fields.
2019-05-30 10:34:56 -07:00
Vishnu Ks
e40addd181
jobs: Mention the email ID for applying to job.
2019-05-24 15:50:41 -07:00
Greg Price
de66b3b0f1
corporate: Add a /jobs page, with job posts for mobile/fullstack.
...
With various edits from Rishi and Tim.
2019-05-22 22:20:58 -07:00
Rishi Gupta
81745ba171
billing: Show licenses_used and better renewal information on /billing.
2019-01-29 07:38:24 -08:00
Rishi Gupta
6a1017ea94
billing: Update text on /upgrade.
2019-01-29 06:30:19 -08:00
Vishnu Ks
2547d4ea07
billing: Remove mix option from frontend.
2019-01-04 23:52:00 +05:30
Vishnu Ks
d94b0da3c8
billing: Separate billing.js into multiple modules.
2019-01-04 23:52:00 +05:30
Vishnu Ks
806fa1a834
billing: Make card change use create_ajax_request.
2018-12-30 08:00:23 +05:30
Vishnu Ks
41fbc699ad
billing: Make invoice upgrade use create_ajax_request.
2018-12-30 08:00:23 +05:30
Vishnu Ks
938438364f
billing: Use form.serializeArray in create_ajax_request.
2018-12-30 08:00:23 +05:30
Vishnu Ks
93b1795ed1
billing: Don't pass csrf token in Ajax requests.
...
The Ajax request will automatically fetch the value
from input[name='csrfmiddlewaretoken'] and set the
headers. This is done in csrf.js.
2018-12-30 08:00:23 +05:30
Vishnu Ks
ed196bb980
billing: Rename #invoice_seat_count to #invoiced_licenses.
...
Followup of b4a28f3147
2018-12-30 08:00:23 +05:30
Vishnu Ks
eebf526657
billing: Check for min license count in frontend.
2018-12-30 08:00:23 +05:30
Rishi Gupta
653416ab23
billing: Update /billing to work with new subscription model.
2018-12-23 00:18:21 -08:00
Rishi Gupta
e7220fd71f
billing: Do subscription management in-house instead of with Stripe Billing.
...
This is a major rewrite of the billing system. It moves subscription
information off of stripe Subscriptions and into a local CustomerPlan
table.
To keep this manageable, it leaves several things unimplemented
(downgrading, etc), and a variety of other TODOs in the code. There are also
some known regressions, e.g. error-handling on /upgrade is broken.
2018-12-22 13:39:30 -08:00
Rishi Gupta
b4a28f3147
billing: Rename seat_count to licenses where appropriate.
2018-12-22 13:30:15 -08:00
Rishi Gupta
7ab1406962
billing: Prepare for moving Plan to CustomerPlan.billing_schedule.
2018-12-22 13:30:15 -08:00
Vishnu Ks
8176d112fe
billing: Add frontend for license-based billing system.
2018-12-22 13:30:15 -08:00
Vishnu Ks
0fd6ff722b
billing: Migrate /upgrade endpoint to JSON.
...
The fixture changes are because self.upgrade formerly used to cause a page load
of /billing, which in turn calls Customer.retrieve.
If we ran the full test suite with GENERATE_STRIPE_FIXTURES=True, we would
likely see several more Customer.retrieve.N.json's being deleted. But
keeping them there for now to keep the diff small.
2018-12-13 17:01:12 -08:00
Rishi Gupta
1ba037201c
billing: Move all price computations into billing.js.
2018-11-30 11:19:07 -08:00