Vinicius Brasil
e417c82a26
Perform calculations in SQL instead of app when creating sites ( #2156 )
...
This commit removes some Enum calls to rely on the database for
aggregating data. This improves performance when creating new sites,
especially if the user has multiple sites.
2022-09-01 17:09:28 +03:00
Uku Taht
e7e36b994d
Skip usage checking for users who are on grace period
2021-12-02 11:42:34 +02:00
Uku Taht
9c07cf7ea6
Report allowance issues to Sentry
2021-11-29 12:04:02 +02:00
Uku Taht
06d0d0eafa
Fix over limit email reccommendation
2021-11-23 11:21:55 +02:00
Uku Taht
d3311898c5
Show message when grace period is over
2021-11-16 10:14:24 +02:00
Uku Taht
e9cb8eb4e2
Remove grace period if user upgrades
2021-11-16 10:14:24 +02:00
Uku Taht
29cb7462e6
Add grace period to upgrade
2021-11-16 10:14:23 +02:00
Uku Taht
26e34596c8
Allow enterprise plan users to create sites
2021-10-22 11:38:47 +02:00
Uku Taht
e66e9bd1b7
Check site limit for enterprise customers
2021-10-22 11:26:07 +02:00
Uku Taht
6a5b383e2b
Add enterprise plans
2021-10-20 16:49:11 +02:00
Uku Taht
7c520e16d2
Make discount notices more generic
2021-05-11 11:34:25 +03:00
Uku Taht
885b1d271a
Refactor current plan data format to make changing it easier
2021-05-11 11:32:29 +03:00
Uku Taht
0fb8f09b41
Fix usage checking job
2021-05-10 12:57:07 +03:00
Uku Taht
8d1039b8ce
Upgrades Oban to v2.6.1 ( #967 )
...
* Upgrades Oban to v2.6.1
* Use correct clickhouse_ecto
2021-04-26 11:32:18 +03:00
Uku Taht
1d4ae3d16f
Fix tests
2021-03-29 14:53:34 +03:00
Uku Taht
7fe50c3ef2
Fix check_usage
2021-03-01 16:52:26 +02:00
Uku Taht
9eff6b03ed
Send test billing upgrade notifications
2021-02-18 15:46:58 +02:00
Uku Taht
a8cb187e8d
Track billing cycles ( #697 )
...
* Add dummy check usage worker
* Add and persist last_bill_date
* Remove name clash
* Correct timing and suggestions for over limit emails
* Fix tests for trial upgrade notifications
2021-02-12 10:17:53 +02:00