43 Commits

Author SHA1 Message Date
austinkelsay
10285a82e6
Revert 2024-10-28 15:19:49 -05:00
austinkelsay
523eaf5b6a
Fix for pool connection issues on cron 2024-10-28 15:16:22 -05:00
austinkelsay
173632deb8 Fix to purchase models after unique purchases update 2024-10-12 13:43:35 -05:00
austinkelsay
50eea8f872 Unique purchases 2024-10-12 13:17:01 -05:00
austinkelsay
69843bff73 Revert create user model, add log for debugging 2024-10-06 16:37:08 -05:00
austinkelsay
2ccf3b6e7b Log n user models 2024-10-06 16:26:55 -05:00
austinkelsay
b2bee7b97d fix for overwriting email signup user 2024-10-06 16:21:29 -05:00
austinkelsay
c33aecea5c Update cron to be one day 25 sats to test recurring subscriptions 2024-10-06 14:44:20 -05:00
austinkelsay
5fd17eaf30 Update getUserByEmail model 2024-09-30 15:06:11 -05:00
austinkelsay
0a40b7c04c Preparing for deployment 2024-09-30 14:50:10 -05:00
austinkelsay
d13ddfcaa9 custom nip05 and lightning address creation, updates, and deletes fully working. Still need to add to lnurlp endpoints 2024-09-26 14:50:14 -05:00
austinkelsay
ca77e2674f Fix duplicate purchases bug 2024-09-24 09:36:28 -05:00
austinkelsay
215a00e593 fix course and lesson tracking for paid courses, add usercourses and userlessons into session 2024-09-22 17:08:26 -05:00
austinkelsay
96a6a29936 Created userCourse model, added endpoints, added basic useTrackcourse hook 2024-09-21 16:50:59 -05:00
austinkelsay
f7bbf93f95 video lesson tracking for courses, new userlesson table, also github experiment 2024-09-19 15:38:36 -05:00
austinkelsay
8f2935a7dc Small styling fixes, also tested auth with new appConfig with multiple author pubkeys, also added i tag to videos 2024-09-17 18:06:03 -05:00
austinkelsay
e825803077 New templates 2024-09-12 12:07:38 -05:00
austinkelsay
c7f98fcf5d Added glow on profile, added isAdmin hook and blocked components / pages that nly admins should access 2024-09-11 16:48:56 -05:00
austinkelsay
9528010829 Email login is working 2024-09-06 12:32:23 -05:00
austinkelsay
b9c2d04ed4 Add payment to cron endpoint for recurring subscribers, set cron to nce a day, set expiration to 31 days 2024-09-01 13:36:53 -05:00
austinkelsay
e69d974ad7 Added basic cron job, endpoint, and vercel setup just wrong intervals right now, also added admin and subscriptionExpiredAt into Role schema so I can show user a special message after their subscription expired 2024-09-01 12:40:25 -05:00
austinkelsay
c6c6fc4fbd implementation of pay as you go and recurring subscriptions on the frontend is fully working, just need the cron endpoint now. 2024-08-31 18:18:21 -05:00
austinkelsay
c8870bc1ff pay as you go subscriptions working and recurring subscriptions flow is halfway done, had to change schema. 2024-08-30 19:37:13 -05:00
austinkelsay
0ab37a3f79 got embedded workshop and resouce forms to work in course form 2024-08-25 14:58:25 -05:00
austinkelsay
280c0e5763 improve course display, accordians, and fixed tag usage for plebdevs resource and workshop 2024-08-25 13:41:32 -05:00
austinkelsay
61a78f4b28 Course publishing works for free, paid, drafts, published and any combination of them 2024-08-25 12:12:55 -05:00
austinkelsay
347ca659d3 Add additional links to drafts and published resources, updated forms and rendering accordingly 2024-08-24 17:10:00 -05:00
austinkelsay
b2d9d2bbe6 Improvements to courseform ui, fix draftcourse delete 2024-08-24 15:55:59 -05:00
austinkelsay
128234c7ad Huge update with lessons and draftLessons and refactoring course forms, models, and api endpoints to account for these changes 2024-08-23 20:21:29 -05:00
austinkelsay
e212f2f4f0 relation between drafts and courseDrafts 2024-08-21 22:33:19 -05:00
austinkelsay
ff9efe6fc9 Course publishing with partial drafts barely works 2024-08-18 17:50:54 -05:00
austinkelsay
cee1679a8b Paid course creation, got started on rendering paid course details 2024-08-16 18:00:46 -05:00
austinkelsay
b8b10907bb Improved draftCourses schema and relations, can publish draft course in new schema, can edit draft course and lessons 2024-08-16 11:40:50 -05:00
austinkelsay
7808a88258 Payment flow for resources works 2024-08-12 17:27:47 -05:00
austinkelsay
573f560f28 Progress on payment flow, added purchases endpoint 2024-08-11 19:10:08 -05:00
austinkelsay
b953b76785 A lotta good stuff 2024-08-09 14:28:57 -05:00
austinkelsay
80edbf0905 A bunch of good stuff 2024-08-08 16:29:16 -05:00
austinkelsay
45bc85bba6 course form mostly 2024-07-21 19:56:55 -05:00
austinkelsay
a9a443fed1 Resource and workshop forms support edits, fixes to md display 2024-07-20 12:40:53 -05:00
austinkelsay
6b3991d332 Add aothor pubkey as env var, improve login/signup flow 2024-07-20 10:51:16 -05:00
austinkelsay
aca8c6ee82 Starting on drafts flow, updating forms, updating db, some small ui fixes 2024-03-25 13:39:32 -05:00
austinkelsay
1f9d76d783 Nostr login flow 2024-02-11 00:00:27 -06:00
austinkelsay
2de8b23d07 Added db models and endpoints for courses/resources/users 2024-02-10 22:13:44 -06:00