javayhu
fe2b1bbe39
feat: add credit purchase functionality with Stripe integration
...
- Introduced credit purchase payment intent actions in credits.action.ts.
- Created new components for credit packages and Stripe payment form.
- Added routes and layout for credits settings page.
- Updated sidebar configuration to include credits settings.
- Enhanced constants for credit packages with detailed pricing and descriptions.
- Implemented loading and layout components for credits page.
- Integrated payment confirmation handling in Stripe provider.
2025-07-05 22:30:22 +08:00
javayhu
8a9c76c628
fix: add missing newline at end of index.zh.mdx file
2025-07-05 17:11:07 +08:00
javayhu
98421afab8
Merge remote-tracking branch 'origin/main' into dev/credits
2025-07-05 15:52:40 +08:00
javayhu
6980507c43
chore: update dashboard and setting pages layout
2025-07-05 15:51:36 +08:00
javayhu
8657bf4e84
chore: show theme selector in demo website only
2025-07-05 10:10:39 +08:00
javayhu
bab58e6420
chore: add @stripe/react-stripe-js
2025-07-05 00:25:11 +08:00
javayhu
8d17bd80c5
feat: implement admin access control in UsersLayout
2025-07-04 23:23:25 +08:00
javayhu
c7e3de816c
chore: update credit related functions
2025-07-04 01:02:56 +08:00
javayhu
da26c2cf5d
Merge branch 'main' of https://github.com/MkSaaSHQ/mksaas-template into dev/credits
2025-07-02 23:46:20 +08:00
javayhu
cc9a15db8f
chore: make DiscordWidget deprecated
2025-07-02 22:52:32 +08:00
javayhu
aaadd7fcf4
fix: add type assertion for image generation response
2025-07-02 01:14:58 +08:00
javayhu
88bb977c7b
Merge branch 'dev/credits' of https://github.com/MkSaaSHQ/mksaas-template into dev/credits
2025-07-01 00:23:25 +08:00
javayhu
abf8b31ec7
chore: optimize the credit functions
2025-07-01 00:23:21 +08:00
javayhu
12fb19e97b
chore: add credit related tables
2025-07-01 00:23:21 +08:00
javayhu
d8904750d9
chore: fix db instance
2025-07-01 00:23:21 +08:00
javayhu
b30355dfe5
chore: update credit related functions (2)
2025-07-01 00:23:21 +08:00
javayhu
dae7a3b0e8
chore: update credits related functions (2)
2025-07-01 00:23:21 +08:00
javayhu
e0c0ff9518
chore: update credits related functions
2025-07-01 00:23:21 +08:00
javayhu
e1b0e2f44c
feat: support credits
2025-07-01 00:23:21 +08:00
javayhu
6195df2bc5
chore: update readme
2025-07-01 00:02:51 +08:00
javayhu
3fa44f92c7
chore: add config for enableTurnstileCaptcha
2025-06-30 23:50:56 +08:00
javayhu
55ae5ced9e
fix: fix ai image default models
2025-06-30 23:50:01 +08:00
javayhu
111568d746
fix: show captcha when turnstile is enabled only
2025-06-30 23:05:38 +08:00
javayhu
45e6a59fe6
chore: optimize the credit functions
2025-06-30 01:10:14 +08:00
javayhu
684bbdff82
chore: add credit related tables
2025-06-30 00:25:26 +08:00
javayhu
181e478bc3
chore: fix db instance
2025-06-30 00:05:25 +08:00
javayhu
82d0fa1061
Merge branch 'main' of https://github.com/MkSaaSHQ/mksaas-template into dev/credits
2025-06-28 23:12:38 +08:00
javayhu
ba3cbe0724
Merge pull request #58 from MkSaaSHQ/dev/ai-image
...
feat: ai image generator
2025-06-28 22:57:30 +08:00
javayhu
91614ed6e5
fix: fix build error & remove Spinner
2025-06-28 22:50:40 +08:00
javayhu
0453db5ec6
chore: optimize ai image generator
2025-06-28 22:47:40 +08:00
javayhu
1a297e33f9
Merge branch 'main' of https://github.com/MkSaaSHQ/mksaas-template into dev/ai-image
2025-06-28 10:12:23 +08:00
javayhu
05b90fb0a7
chore: optimize validate captcha
2025-06-28 10:09:50 +08:00
javayhu
66567cfecd
chore: optimize turnstile captcha
2025-06-28 00:34:31 +08:00
javayhu
46d008e5fc
chore: update readme
2025-06-28 00:01:53 +08:00
javayhu
c7cbf96a70
Merge pull request #57 from MkSaaSHQ/dev/turnstile
...
feat: support cloudflare turnstile
2025-06-27 23:52:18 +08:00
javayhu
958852335d
feat: support cloudflare turnstile
2025-06-27 23:50:56 +08:00
javayhu
3058484803
custom: optimize ai image generator page
2025-06-27 01:05:19 +08:00
javayhu
985579b964
feat: support ai image generator
2025-06-26 00:41:27 +08:00
javayhu
b3180e617d
chore: support datafast analytics revenue track
2025-06-25 20:28:09 +08:00
javayhu
bc915a53dc
chore: add monitor api route
2025-06-24 23:48:43 +08:00
javayhu
bd67ac3517
chore: support allow promotion code in price config
2025-06-24 23:00:42 +08:00
javayhu
e70a8c92a2
Merge remote-tracking branch 'origin/main' into dev/credits
2025-06-21 22:50:09 +08:00
javayhu
cfbfa409b0
Merge branch 'main' of https://github.com/MkSaaSHQ/mksaas-template
2025-06-21 10:47:37 +08:00
javayhu
ffbe7f4fb0
chore: optimize docker deployment by add docker ignore file
2025-06-21 10:47:29 +08:00
javayhu
13a79c7a01
Merge pull request #51 from MkSaaSHQ/dev/docker
...
feat: support docker & dokploy deployment
2025-06-21 09:41:15 +08:00
javayhu
1cb0793a83
chore: change baseURL in fetch session
2025-06-21 09:27:22 +08:00
javayhu
5e1f9167e0
fix: fix build error Cannot find config file
2025-06-21 01:23:31 +08:00
javayhu
39a2870131
chore: support docker deployment
2025-06-21 01:02:27 +08:00
javayhu
40b313a2f2
chore: move mdx-components to docs folder
2025-06-20 23:51:25 +08:00
javayhu
9e54932b27
chore: move source.ts to lib folder
2025-06-20 23:12:29 +08:00