827 Commits

Author SHA1 Message Date
austinkelsay
2c6c230521
switch back datasource in prisma schema, remove test pubkey in app config 2025-05-14 15:48:00 -05:00
austinkelsay
5d884cf2b6
update and unify modals into generic component 2025-05-14 14:43:01 -05:00
austinkelsay
2b10e74d35
update subscriptions frontend and backend to support both monthly and yearly subscriptions, tested minimally 2025-05-14 13:30:19 -05:00
austinkelsay
64235797fe
fix lesson navigation /decryption in course 2025-05-14 12:57:21 -05:00
austinkelsay
724e7aa642
start/continue lesson button on course overview 2025-05-14 12:29:13 -05:00
Austin Kelsay
d906625168
Merge pull request #74 from AustinKelsay/bugfix/update-bitcoin-connect-integration
Bugfix/update bitcoin connect integration
2025-05-13 12:11:52 -05:00
austinkelsay
074de680df
prevent race conditions in BitcoinConnect initialization by memoizing promise, clean up some logs 2025-05-13 11:47:00 -05:00
Austin Kelsay
3583379468
Update src/components/bitcoinConnect/SubscriptionPaymentButton.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-05-13 11:39:11 -05:00
austinkelsay
cb4e04ef73
remove test user from config 2025-05-13 11:22:43 -05:00
austinkelsay
3ec3f69ae6
update Bitcoin Connect integration to use client-based approach and direct SDK for NWC operations 2025-05-13 11:22:43 -05:00
austinkelsay
5dd71c3de0
started on bitcoinconnect update 2025-05-13 11:22:42 -05:00
austinkelsay
014d438414
locked content state for unauthorized course lesson 2025-05-13 11:22:26 -05:00
Austin Kelsay
6b35da2333
Merge pull request #73 from AustinKelsay/bugfix/course-sidebar-spacing-glitch
fix spacing and animation again whoops
2025-05-12 14:19:25 -05:00
austinkelsay
113fb787d5
fix spacing and animation again whoops 2025-05-12 14:12:19 -05:00
Austin Kelsay
514eeb5126
Merge pull request #72 from AustinKelsay/bugfix/course-sidebar-spacing-glitch
remove empty space when sidebar closed, fix transition animation
2025-05-12 12:53:44 -05:00
austinkelsay
bc8e7f7ef1
remove commented out css 2025-05-12 12:51:51 -05:00
austinkelsay
a0c53e9d5a
remove empty space when sidebar closed, fix transition animation 2025-05-12 12:47:48 -05:00
Austin Kelsay
e20bf4e961
Merge pull request #71 from AustinKelsay/refactor/courses-cleanup
Refactor/courses cleanup
2025-05-12 12:24:26 -05:00
austinkelsay
c995048ddd
fix bottom bar margin when present 2025-05-12 12:09:01 -05:00
austinkelsay
8b6a7c39e7
remove test account from config 2025-05-12 11:58:29 -05:00
austinkelsay
403948f7b2
fix for memory leak 2025-05-12 11:17:57 -05:00
austinkelsay
ccda05df96
deduplicate course tab logic, add pure useCourseTabsState, and sync tab state with URL 2025-05-12 10:07:50 -05:00
austinkelsay
5a79523ba0
clean up decryption and retry timers on unmount to prevent memory leaks 2025-05-12 10:07:47 -05:00
Austin Kelsay
bac65c0dd3
Update src/hooks/courses/useCourseData.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-05-12 09:44:29 -05:00
Austin Kelsay
f8bd1ddb43
Update src/hooks/courses/useCoursePayment.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-05-12 09:36:43 -05:00
austinkelsay
44929d54b9
buffer import to account for polyfill, remove unused imports 2025-05-12 09:31:32 -05:00
Austin Kelsay
cfac21a666
Update src/components/content/courses/tabs/CourseOverview.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-05-12 09:30:21 -05:00
Austin Kelsay
cfefabfcdf
Update src/hooks/courses/useCourseTabs.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-05-12 09:29:35 -05:00
austinkelsay
9bd0c0877d
fix completed lesson state for all lessons in sidebar 2025-05-12 08:20:02 -05:00
austinkelsay
e3317f870a
smoother course navigation 2025-05-11 16:14:15 -05:00
austinkelsay
7a805f0988
implement generic markdown input form for content 2025-05-11 15:43:53 -05:00
austinkelsay
027bf28e2f
improve course page architecture with custom hooks and components 2025-05-11 14:07:55 -05:00
austinkelsay
51cd1e4d97
useCourseData into reusable hooks 2025-05-11 12:58:37 -05:00
austinkelsay
045418397c
extract course logic into reusable hooks 2025-05-11 12:46:25 -05:00
austinkelsay
f526913f30
course decryption logic in its own hook 2025-05-11 11:14:54 -05:00
Austin Kelsay
c73d6eb8bb
Merge pull request #70 from AustinKelsay/bugfix/course-author-view
refactor for recalling /decrypt on lesson change
2025-05-10 17:10:38 -05:00
austinkelsay
1aed72ab78
remove test pubkey from config 2025-05-10 17:08:04 -05:00
austinkelsay
1e9e9471b7
cancel in-flight decryption requests on timeout 2025-05-10 17:04:39 -05:00
austinkelsay
f0f5b54768
use per-content promise map for concurrent decryption 2025-05-10 17:00:10 -05:00
austinkelsay
c54785353e
add retry logic for lesson decryption with timeout handling 2025-05-10 16:56:40 -05:00
austinkelsay
333cb30e31
refactor for recalling /decrypt on lesson change 2025-05-05 18:51:17 -05:00
Austin Kelsay
c72ce2d8ad
Merge pull request #64 from AustinKelsay/refactor/course-and-lesson-pages
Refactor/course and lesson pages
2025-04-30 18:51:26 -05:00
austinkelsay
14d63d7240
remove duplicate deduping 2025-04-28 17:21:00 -05:00
austinkelsay
fac14d5b77
fix lesson parsing on course page, also fetches all lessons in one query now 2025-04-28 13:28:39 -05:00
austinkelsay
cc86708b6a
cleanup 2025-04-28 10:27:48 -05:00
austinkelsay
156e2ffc7b
clean up course tabs, unify logic 2025-04-28 10:27:48 -05:00
Austin Kelsay
f3d667a0ba
Update src/pages/course/[slug]/index.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-04-28 10:27:48 -05:00
austinkelsay
176a58d42d
cleanup 2025-04-28 10:27:48 -05:00
Austin Kelsay
8c9d288dff
Update src/components/content/courses/DesktopCourseDetails.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-04-28 10:27:47 -05:00
austinkelsay
b5b94e934a
fix tab menu styles, remove test account pubkey from config 2025-04-28 10:27:47 -05:00