Commit graph

1493 commits

Author SHA1 Message Date
Ash Monty
992137826e
style: replace Patreon button with account upgrade 2022-07-10 12:30:11 +02:00
Ash Monty
6e7e6fbf7a
locales: add Simplified Chinese
Co-Authored-By: Dooda Pooda <109019726+DoodaPooda@users.noreply.github.com>
2022-07-10 11:27:36 +02:00
Ash Monty
748ec633f7
fix: possible unsafe redirect 2022-07-10 10:41:11 +02:00
Ash Monty
041dc82a94
style: unhide account from footer, remove Patreon andKo-fi 2022-07-09 18:25:59 +02:00
Ash Monty
1feecdc4cc
feat: add progressbar to upgrade page, text tweaks 2022-07-09 17:57:24 +02:00
Ash Monty
72b0a24734
feat: add donation goal progressbar 2022-07-09 15:23:30 +02:00
Ash Monty
af778faac3
style: tier names in account page 2022-07-09 15:22:17 +02:00
Ash Monty
af015cf656
feat: redirect to requested page after the user logs in 2022-07-09 15:21:42 +02:00
Ash Monty
16f0ef8533
fix: trello faiing on minor api degradation 2022-07-09 12:52:11 +02:00
Ash Monty
7087c92d17
fix: error on invalid Discord refresh token, broken user popout 2022-07-09 12:48:25 +02:00
Ash Monty
d4ce74b11a
Merge branch 'feature-stripe-tiers' into feature-stripe-tiers-styling 2022-07-09 10:52:19 +02:00
Ash Monty
f1c18efe35
feat: add user popout to navbar 2022-07-09 10:51:00 +02:00
Jonathan Barrow
b85f8f13b3
Merge pull request #120 from PretendoNetwork/feature-stripe-tiers-cancel-subscription
Cancel subscription, donation cache, minor account page edits
2022-07-07 19:44:14 -04:00
Jonathan Barrow
e9846ad246 Do check for staff members when subscribing 2022-07-07 17:55:17 -04:00
Jonathan Barrow
3921f01d2a Exit on subscription cancel error 2022-07-07 17:54:56 -04:00
Jonathan Barrow
a4fdcd72ee Cancel subscription, donation cache, minor account page edits 2022-07-06 19:50:53 -04:00
Ash Monty
f9601953b5
Merge branch 'dev' 2022-07-06 14:36:07 +02:00
Ash Monty
39a6dbcc84
fix(trello): return placeholder if cache is undefined 2022-07-06 14:35:53 +02:00
Ash Monty
1877aa54ac
Merge branch 'dev' 2022-07-06 11:34:21 +02:00
Ash Monty
ecd19e3ec6
fix: trello failing on degraded service 2022-07-06 11:24:08 +02:00
Ash Monty
24b1251be4
style(fix): broken modal background 2022-07-05 21:24:02 +02:00
Jonathan Barrow
d3b0f100bc
Merge pull request #118 from PretendoNetwork/feature-stripe-tiers-change-tier
Add tier change styling
2022-07-04 16:49:27 -04:00
Ash Monty
04f4f9ee4b
feat: add back button to upgrade page 2022-07-04 22:19:50 +02:00
Ash Monty
c1ab90518c
style: minor changes to account page 2022-07-04 22:19:26 +02:00
Ash Monty
f05fecea43
style: minor changes 2022-07-04 18:35:31 +02:00
Ash Monty
83e808f551
style: add tier change styling 2022-07-04 18:26:10 +02:00
Jonathan Barrow
a1bc06c1e3
Merge pull request #117 from PretendoNetwork/feature-stripe-tiers-change-tier
Added the ability to change tiers
2022-07-04 12:10:43 -04:00
Jonathan Barrow
8e7ca070a0 Updated webhook timestamp updates and remove all past subscriptions 2022-07-04 11:54:15 -04:00
Jonathan Barrow
2f02d5a1f6 create new subs and remove old ones 2022-06-30 18:17:21 -04:00
Jonathan Barrow
d97ed180f5 Change tier 2022-06-25 19:55:39 -04:00
Jonathan Barrow
bd4cf6aaf0
Merge pull request #116 from PretendoNetwork/feature-stripe-tiers-styling
styles: various style changes
2022-06-25 18:07:29 -04:00
ash
0fe9aabaae styles: various style changes 2022-06-26 00:03:15 +02:00
Jonathan Barrow
3db2bf2bb3
Merge pull request #115 from PretendoNetwork/feature-stripe-tiers-styling
styles: add styling for upgrade page
2022-06-25 12:03:30 -04:00
Jonathan Barrow
e47721801f Added better email sending 2022-06-25 12:02:22 -04:00
ash
80fc58d81c chore: fix bad js 2022-06-25 17:56:01 +02:00
ash
e1a0755946 styles: add styling for upgrade page 2022-06-25 16:14:06 +02:00
Jonathan Barrow
48f2fdcd01
Merge pull request #113 from PretendoNetwork/feature-stripe-tiers-create-subscription
Stripe start create subscription
2022-06-25 10:09:35 -04:00
Jonathan Barrow
e15b117642 Catch errors when creating checkout session 2022-06-25 08:48:00 -04:00
Jonathan Barrow
4f9f1919f2 Added better logging to util.js 2022-06-25 08:40:26 -04:00
Jonathan Barrow
b1671b4104 order tiers by level on upgrade page 2022-06-24 19:50:44 -04:00
Jonathan Barrow
3af4f9160a Fixed example config 2022-06-24 19:45:55 -04:00
Jonathan Barrow
149456059a only change access level if not staff member 2022-06-24 19:44:45 -04:00
Jonathan Barrow
f32ea19630 Check for older webhooks and ignore 2022-06-24 19:39:21 -04:00
Jonathan Barrow
e622a1e759 self heal from missed webhooks 2022-06-24 19:28:28 -04:00
Jonathan Barrow
027321911b Check if Stripe customer has PNID and if PNID exists 2022-06-24 15:25:41 -04:00
Jonathan Barrow
0241fb1f10 Added perks array to tiers 2022-06-21 18:00:33 -04:00
Jonathan Barrow
b30402b904 only need one await 2022-06-21 17:57:23 -04:00
Jonathan Barrow
2aeca356bf canceled not cancled 2022-06-21 17:56:48 -04:00
Jonathan Barrow
ad60c70831 Use a full Mongo URI instead of address and port in config 2022-06-20 17:16:28 -04:00
Jonathan Barrow
3183e45fb2 await Mongo connection 2022-06-20 17:13:27 -04:00