278 Commits

Author SHA1 Message Date
austinkelsay
d23e98f535 tracking events for new signups, course, resource, and subscription payments 2024-10-06 15:39:53 -05:00
austinkelsay
aab1d5c6ce Copy fix for pay as you go subscription 2024-10-06 14:53:20 -05:00
austinkelsay
34e116e9cc Allow details and course pages to be accessed with naddr or note id 2024-10-05 19:35:04 -05:00
austinkelsay
09182d4a92 Fix iscompleted check 2024-10-05 17:39:56 -05:00
austinkelsay
129cbd02e2 Fix authorize function 2024-10-05 16:37:44 -05:00
austinkelsay
a794755df4 Add lud16 to kind0Fields, add kind0 as nested object on user in session, keep it from conflicting with lightningAddress 2024-10-05 16:13:01 -05:00
austinkelsay
be72bd2c11 Log basurl 2024-10-04 17:02:20 -05:00
austinkelsay
153be7cb20 Fix auth bg 2024-10-04 16:41:49 -05:00
austinkelsay
3e1e369f1f Add another auth log 2024-10-04 15:05:24 -05:00
austinkelsay
9b614896ce Remove first log 2024-10-04 15:02:20 -05:00
austinkelsay
7b9aff87eb Add auth log 2024-10-04 14:59:31 -05:00
austinkelsay
cafa83a083 Log dbUser 2024-10-04 14:58:29 -05:00
austinkelsay
b0204d3307 update api key logic 2024-10-02 17:31:57 -05:00
austinkelsay
e89c5cfcd3 Protect the rest of the endpoints 2024-10-02 17:27:38 -05:00
austinkelsay
a0e124d9ef Secure user endponts with session, dont require calling endpoints from nextauth, call models instead so we can completely secure the endpoints 2024-10-02 16:58:36 -05:00
austinkelsay
29315b92ae Vercel analytics 2024-10-01 16:40:49 -05:00
austinkelsay
107f6b4499 Check session for decrypt, check session and admin for encrypt 2024-09-30 20:41:52 -05:00
austinkelsay
7953bb641f Remove getAllUsers endpoint, add checks to image proxy endpoint, setup local in memory cache for rate limitng in dev, added NODE_ENV variable 2024-09-30 20:35:07 -05:00
austinkelsay
e59bee30f7 Return back to basic rate limit middleware, setup server session to block user route to test 2024-09-30 19:41:26 -05:00
austinkelsay
f56c54cebb Fix path 2024-09-30 19:34:51 -05:00
austinkelsay
156a1c906f Try logging server session 2024-09-30 19:32:54 -05:00
austinkelsay
5c15b93c48 Log hostname 2024-09-30 19:00:33 -05:00
austinkelsay
b8a7057be1 Fix lnaddress issue on usercreation 2024-09-30 15:29:52 -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
17ca8fcf59 Styling fixes, add video to promotional carousel 2024-09-30 12:59:19 -05:00
austinkelsay
f48559bb29 Styling fixes 2024-09-28 19:06:17 -05:00
austinkelsay
6efbdb1ed7 Fix non logged in subscribe page and some mobile styles 2024-09-27 17:00:20 -05:00
austinkelsay
ace772f32c Update subscribe and about page, a bunch of styling and mobile styling fixes 2024-09-27 16:30:04 -05:00
austinkelsay
28f98dee14 Lightning address works from db for subscribed users and from the app config 2024-09-26 17:44:24 -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
8d2ed9a967 Feed fixes, also fixed stackernews graphql query to fetch most recent 21 items 2024-09-25 17:19:02 -05:00
austinkelsay
24afd44409 Security updates to image proxy 2024-09-25 11:22:45 -05:00
austinkelsay
4f98ea3656 Progress on course progress flow, lso fixes for course tracking 2024-09-23 22:44:32 -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
4585ed263c Implemented document progress tracking based on read time, got video progress tracking working with Youtube embeds 2024-09-19 17:33:22 -05:00
austinkelsay
f7bbf93f95 video lesson tracking for courses, new userlesson table, also github experiment 2024-09-19 15:38:36 -05:00
austinkelsay
2e25beea71 fix zaps on lightning address 2024-09-18 14:59:04 -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
09e0ba026a Add encrypt and decrypt endpoint and replaced encryption/decryption in app to use these endpoints 2024-09-17 16:00:00 -05:00
austinkelsay
b800ab3b88 Good stuff 2024-09-17 13:55:51 -05:00
austinkelsay
a0a9b9fcc8 Improvements to progress spinners, fixed resource and course payment buttons to not have to fetch invoice until button is pressed 2024-09-17 13:28:58 -05:00
austinkelsay
ff3e907677 Add nip05 and lnaddress endpoints 2024-09-16 17:13:23 -05:00
austinkelsay
365b54c498 Mobile style fixes 2024-09-16 16:10:28 -05:00
austinkelsay
5bb89c4c35 Good stuff 2024-09-15 15:53:27 -05:00
austinkelsay
cb3f124c3a Changed resource to document on the frontend 2024-09-15 15:15:58 -05:00
austinkelsay
aa13faaf44 Rename from workshops to videos 2024-09-15 13:27:37 -05:00
austinkelsay
7091da9ecd Mobile styling fixes, search bar and interactive carousela now both play along with mobile view 2024-09-14 18:05:59 -05:00
austinkelsay
38244a8da7 Add re;ays to every naddr encode, fix layout fo details pages, fix text overflow for nostr comments 2024-09-14 17:39:01 -05:00