Commit Graph

1184 Commits

Author SHA1 Message Date
javayhu
90757475ac refactor: implement credits page with balance and transactions tabs 2025-08-18 00:29:56 +08:00
javayhu
904dceec44 refactor: update billing and credits pages & move credit balance and packages to credits page 2025-08-18 00:19:35 +08:00
javayhu
f468638f49 Merge remote-tracking branch 'origin/main' into cloudflare 2025-08-17 23:27:24 +08:00
javayhu
f1d02720d0 refactor: restructure credit distribution logic and enhance user credit handling 2025-08-17 23:26:10 +08:00
javayhu
35ddf5e08e Merge remote-tracking branch 'origin/main' into cloudflare 2025-08-17 08:45:27 +08:00
javayhu
bade6b620e refactor: enhance error handling in credit balance retrieval 2025-08-16 23:08:16 +08:00
javayhu
d1928575b3 refactor: replace createSafeActionClient with userActionClient for improved session handling across multiple actions 2025-08-16 23:00:21 +08:00
javayhu
262228d6e9 feat: add session validation for admin access in getUsersAction 2025-08-16 22:03:01 +08:00
javayhu
57b92cfe85 feat: add script of listing users emails 2025-08-16 13:51:12 +08:00
javayhu
9f2fd58eb0 feat: optimize loading state in login and register forms 2025-08-16 10:48:58 +08:00
javayhu
1f7c38f9f5 Merge remote-tracking branch 'origin/main' into cloudflare 2025-08-16 08:19:56 +08:00
javayhu
9f71c9942a chore: optimize the colors of componnets in home page 2025-08-16 01:39:11 +08:00
javayhu
e99d6da45c chore: update blog card category bg 2025-08-16 00:39:43 +08:00
javayhu
63dd4e52fb Merge remote-tracking branch 'origin/main' into cloudflare 2025-08-15 23:03:55 +08:00
javayhu
debbb5abf5 feat: support disable storage module 2025-08-15 22:51:48 +08:00
javayhu
c5dfaafe61 chore: optimize distributing credits when user sign up 2025-08-15 22:40:59 +08:00
javayhu
df3f3aa895 feat: support disable newsletter module 2025-08-15 22:39:29 +08:00
javayhu
a1ae6ca384 feat: support disable docs module 2025-08-15 22:23:28 +08:00
javayhu
866988d73c feat: support disable blog module 2025-08-15 22:20:15 +08:00
javayhu
46fd529390 refactor: add isDemo function 2025-08-15 22:10:01 +08:00
javayhu
fbb9a1b053 chore: update size of youtube video component 2025-08-15 20:25:37 +08:00
javayhu
200a9963f7 Merge remote-tracking branch 'origin/main' into cloudflare 2025-08-15 00:41:00 +08:00
javayhu
f6a2df402e fix: fix rate limit for newsletter subscription when sign up 2025-08-15 00:37:30 +08:00
javayhu
0da8f7d335 Merge remote-tracking branch 'origin/main' into cloudflare 2025-08-15 00:10:26 +08:00
javayhu
335c3b46d6 fix: fix build error in newsletter form validation 2025-08-15 00:06:28 +08:00
javayhu
004edeecea Merge remote-tracking branch 'origin/main' into cloudflare 2025-08-14 23:14:32 +08:00
javayhu
f2b5bae866 feat: upgrade react-hook-form & zod & @hookform/resolvers
fix zod validation errors in form submission
2025-08-14 23:12:44 +08:00
javayhu
6bb12a2d86 Merge remote-tracking branch 'origin/main' into cloudflare 2025-08-11 07:41:56 +08:00
javayhu
a1b54d7518 chore: update env example 2025-08-11 07:41:29 +08:00
javayhu
97654d97ea Merge remote-tracking branch 'origin/main' into cloudflare 2025-08-11 07:36:28 +08:00
javayhu
064576f48e refactor: streamline user payment retrieval by utilizing a subquery for latest active payments 2025-08-10 15:54:46 +08:00
javayhu
0be53d3251 feat: optimize credit distribution by batching user processing and enhancing database queries 2025-08-10 14:26:53 +08:00
javayhu
564efbd3e2 feat: increase maxDuration for API functions in vercel.json from 60 to 300 seconds 2025-08-10 14:02:49 +08:00
javayhu
2814f87578 feat: update user last refresh time and refine user selection criteria 2025-08-10 13:53:48 +08:00
javayhu
78f76f35b9 feat: add basic auth to distribute credits cron jobs 2025-08-10 11:48:53 +08:00
javayhu
f50f60443a
Merge pull request #79 from MkSaaSHQ/dev/cron-jobs
support cron jobs
2025-08-10 11:16:48 +08:00
javayhu
346d154604 feat: support cron jobs 2025-08-10 11:13:21 +08:00
javayhu
7985769871 refactor: remove inngest 2025-08-10 11:07:10 +08:00
javayhu
aa2e025270 cf: update cloudflare env types 2025-08-09 13:12:42 +08:00
javayhu
11bfcb731d cf: upgrade version of opennextjs and wrangler 2025-08-09 10:13:32 +08:00
javayhu
62eb4124be Merge remote-tracking branch 'origin/main' into cloudflare 2025-08-03 15:20:14 +08:00
javayhu
2b72570784 feat: support openrouter in ai text (not stable for now) 2025-08-03 11:17:39 +08:00
javayhu
3c3dcd5d2a feat: upgrade zod v4 & use error instead of message
https://zod.dev/v4/changelog?id=deprecates-message
2025-08-03 00:35:22 +08:00
javayhu
89fd7193ac feat: upgrade to zod v4 & fix z.url() and z.email()
https://zod.dev/v4/changelog?id=zstring-updates
2025-08-03 00:32:44 +08:00
javayhu
8b2f1848a8 feat: upgrade zod to v4 2025-08-02 01:00:15 +08:00
javayhu
d0ddc2b1b0 feat: upgrade ai sdk to v5
https://v5.ai-sdk.dev/docs/migration-guides/migration-guide-5-0
2025-08-02 00:54:34 +08:00
javayhu
6d4d316564 chore: remove google vertex ai 2025-08-02 00:22:02 +08:00
javayhu
7a61aa3dff chore: update google api key var name 2025-08-01 21:39:20 +08:00
javayhu
46ec614fd3 refactor: move CreditsProvider 2025-07-28 22:53:31 +08:00
javayhu
abb15de848 fix: reset enable update avatar by default 2025-07-26 22:52:34 +08:00