Pēteris Caune
5afc2ea20c
Improve type hints
2023-10-26 08:35:06 +03:00
Pēteris Caune
a308997b3a
Remove most of the hc.payments stuff
...
Why remove:
* For self-hosters, payment-related features are unused and dead weight
* For SaaS (any would-be Healthchecks.io competitors), the existing
payment handling logic is not very useful either, as it would need to
be heavily modified to match their business model, pricing, chosen
payment gateway
* For the hosted service (Healthchecks.io), the up-to-date billing code
lives in a private fork of this repo. Maintenance is easier if this
repo does not have an older, diverging version of the same
functionality
A few payment-related bits are staying at least for time being:
* the "USE_PAYMENTS" setting
* the hc.payments.models.Subscription model
* tiny stubs for the "Pricing" and "Billing" pages
They are used in various places in the code and templates,
and I think ripping them out in one go would be too disruptive.
2023-10-19 14:17:44 +03:00
Pēteris Caune
161430fb10
Sort imports and add "from __future__ import annotations"
2022-10-17 16:52:15 +03:00
Pēteris Caune
00790dc33c
Member.rw flag. Read-only users cannot edit check's name/desc/tags or schedule
2020-08-26 12:16:43 +03:00
Pēteris Caune
8c13457037
Use separate counters for SMS and phone calls.
2020-08-03 17:52:09 +03:00
Pēteris Caune
95279f6f3f
Billing page allows setting up a subscription before a payment method is added.
2020-05-29 15:08:00 +03:00
Pēteris Caune
f42b2b144a
New feature: Project Settings > Transfer Ownership (WIP, missing tests)
2020-04-12 14:46:12 +03:00
Pēteris Caune
a982ad7123
Tooltips and updated FAQ in the pricing page.
2020-04-07 14:35:21 +03:00
Pēteris Caune
f1880657fd
Added "Supporter" billing plan.
2020-04-07 12:32:20 +03:00
Pēteris Caune
9c3f7101db
Don't use request.project in the pricing page cc: #336
2020-02-26 10:27:45 +02:00
Pēteris Caune
b0db5181d8
Don't validate plan_id if it has not changed from the old value (when updating payment method).
2019-10-02 17:28:20 +03:00
Pēteris Caune
ca5e19fd2d
Don't throw an exception if user's current project is unset.
2019-09-18 14:56:58 +03:00
Pēteris Caune
accdfb637b
Remove PDF invoice generation bits - these are unlikely to ever be useful in the open source version.
2019-09-15 18:39:32 +03:00
Pēteris Caune
fa16bd4e42
Prepare for 3DS 2
2019-08-18 18:16:37 +03:00
Pēteris Caune
4c39aeea83
Make sure account limits are reset when user cancels their subscription.
2019-08-12 16:10:49 +03:00
Pēteris Caune
e386ccaa0a
Don't mention whatsapp in the pricing page if it's not enabled in settings.
2019-07-04 09:39:31 +03:00
Pēteris Caune
cdfc9840a7
Source formatted with Black
2019-05-15 14:27:50 +03:00
Pēteris Caune
eaf49f2367
Don't switch projects when viewing the "Account Settings" page
2019-01-22 16:23:51 +02:00
Pēteris Caune
b013a92c43
Move project-specific settings to a new "Project Settings" page
2019-01-22 15:44:54 +02:00
Pēteris Caune
3c1964b493
Prepare for the removal of Member.team_id
2019-01-21 21:35:32 +02:00
Pēteris Caune
664aad916a
Remove Profile.team_name (use Project.name instead) and Profile.current_team (use Profile.current_project instead)
2019-01-19 17:56:16 +02:00
Pēteris Caune
f357cd3305
Prepare for removing Check.user_id, Channel.user_id, Profile.current_team_id
2019-01-14 21:13:57 +02:00
Pēteris Caune
82b644ae0a
Project.num_checks_available() method.
2019-01-14 12:55:54 +02:00
Pēteris Caune
eafb5d6096
Increase check limits for paid accounts.
2018-05-09 21:04:07 +03:00
Pēteris Caune
521b089501
Remove First & Last name from Billing Details, to limit the amount of personal data we potentially store.
2018-05-02 21:41:39 +03:00
Pēteris Caune
9bc0f1b82a
Dropping Python 2 support
2018-04-24 21:04:33 +03:00
Pēteris Caune
9fb7ca7103
Users can specify a separate email address that will receive invoices.
2018-04-24 16:06:03 +03:00
Pēteris Caune
01fef3d054
Pricing updates.
2018-03-04 20:26:30 +02:00
Pēteris Caune
3efd70e50c
Adding "Standard (3 years)" plan.
2018-01-18 15:52:01 +02:00
Pēteris Caune
1497ff204b
Fix active plan display in the pricing page.
2018-01-09 17:56:48 +02:00
Pēteris Caune
39bc12e351
Invoices to email.
2018-01-09 16:45:38 +02:00
Pēteris Caune
01c3a13922
Billing overhaul.
2018-01-09 13:31:43 +02:00
Pēteris Caune
dbaae9c2b7
Most recent payment method is the default payment method.
2017-12-17 16:47:50 +02:00
Pēteris Caune
9e37b22a70
PDF invoices.
2017-11-30 00:23:37 +02:00
Pēteris Caune
cf5cbfaa3c
Annual subscriptions, updated Braintree Drop-in integration
2017-11-05 14:25:39 +02:00
Pēteris Caune
6a57bcfdf3
Pricing in top nav is visible for team members too, but pricing page says "you are not the team owner".
2017-10-18 18:00:45 +03:00
Pēteris Caune
f6c585a10c
team_access_allowed field is not used any more, removing.
2017-10-14 19:16:01 +03:00
Pēteris Caune
0723476a0c
All plans now have team access, but different team size limits.
2017-09-02 15:45:20 +03:00
Pēteris Caune
d6917065d4
Users can edit their company details for invoices.
2017-08-07 20:18:58 +03:00
Pēteris Caune
c04017c2b3
Updated pricing.
2017-07-15 01:46:41 +03:00
Pēteris Caune
5f2da08d7e
Per-profile, per-month counters of sent SMS messages.
2017-07-15 01:04:05 +03:00
Pēteris Caune
859a9ed735
Pricing page tweaks. Limit free accounts to 20 checks per account.
2017-05-07 16:58:44 +03:00
Pēteris Caune
e685154cc2
"Close Account" section in Settings page. Fixes #95
2017-03-16 19:39:30 +02:00
Pēteris Caune
666706ef3e
Pricing updates.
2017-03-07 16:49:39 +02:00
Pēteris Caune
965e32884b
Django 1.10
2016-08-29 17:54:53 +03:00
Pēteris Caune
9ad825ff83
Users can update payment method
2016-07-20 10:36:30 +03:00
Pēteris Caune
d1c07d89a6
Fix tests
2016-05-14 17:24:26 +03:00
Pēteris Caune
fdf9c607e5
Team Access, test cleanup
2016-05-09 15:35:13 +03:00
Pēteris Caune
1bc0f82d25
Team access WIP
2016-05-09 11:54:18 +03:00
Pēteris Caune
636710f4f0
Don't use Subscription.objects.for_user method here, so a subscription object is not created just by viewing a page.
2016-03-11 12:24:19 +02:00