494 Commits

Author SHA1 Message Date
austinkelsay
9ebf71f7e4 Handle email logic in session callback 2024-10-06 16:53:36 -05:00
austinkelsay
0e4188cb34 Log 2024-10-06 16:40:57 -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
2b3ff6285a Add nodemailer import 2024-10-06 15:49:32 -05:00
austinkelsay
8f4ccb8443 Fix email provider 2024-10-06 15:46:33 -05:00
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
c33aecea5c Update cron to be one day 25 sats to test recurring subscriptions 2024-10-06 14:44:20 -05:00
austinkelsay
3c9a91e7d8 Update copy and styles of promotional carousel 2024-10-06 14:41:08 -05:00
austinkelsay
3cb64a9a16 30 mins caching for allContentids query 2024-10-06 12:43:09 -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
58f2a6635a Fix datasource 2024-10-05 19:14:28 -05:00
austinkelsay
094d2eaa37 Increase rate limit range, fix bug with content search if no summary is present 2024-10-05 19:11:19 -05:00
austinkelsay
b5d66e8de3 fix datasource 2024-10-05 19:01:07 -05:00
austinkelsay
f9a2647d10 Fix nip05 claim 2024-10-05 18:53:18 -05:00
austinkelsay
89f8c69289 Fix query param 2024-10-05 17:57:20 -05:00
austinkelsay
74d84bd308 fix request to check completed 2024-10-05 17:53:05 -05:00
austinkelsay
3abacba428 fix request to check completed 2024-10-05 17:49:55 -05:00
austinkelsay
09182d4a92 Fix iscompleted check 2024-10-05 17:39:56 -05:00
austinkelsay
6fe2b8904a Update hook to update session 2024-10-05 17:36:36 -05:00
austinkelsay
fe295d29f4 Fix course status hook 2024-10-05 17:31:37 -05:00
austinkelsay
2df2724d83 New hook for checking if any courses are completed on profile page 2024-10-05 17:28:57 -05:00
austinkelsay
c89fb91a40 Play promotional video from cdn instead of embedded in frontend 2024-10-05 17:13:01 -05:00
austinkelsay
32d44418eb Revert data source 2024-10-05 17:03:16 -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
04ab5a2428 Hard code lnAdresses for now 2024-10-04 17:26:28 -05:00
austinkelsay
9649c92768 Add log for author in resource payment button 2024-10-04 17:22:50 -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
6872d77d01 fix github links 2024-10-04 15:09:26 -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
08033464c6 Increase number of allowed requests 2024-10-04 14:54:59 -05:00
austinkelsay
949004b0f3 Fix mobile vs tab view on promotional carousel message 2024-10-03 16:37:08 -05:00
austinkelsay
03a517f057 fix promotional carousel message and mobile styling 2024-10-03 15:21:22 -05:00
austinkelsay
9021648cef Icons instead of buttons, small copy change 2024-10-03 14:13:34 -05:00
austinkelsay
31c7daac99 Switch back datasource 2024-10-03 14:05:11 -05:00
austinkelsay
987e630e9c Mini about modal next to buttons on interactive carousel 2024-10-03 14:03:18 -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
0eecb9a23b Add security headers 2024-10-01 18:00:59 -05:00
austinkelsay
a8c9ab7f68 Add cors headers to all api routes, with deployment as origin 2024-10-01 17:52:38 -05:00
austinkelsay
dc61827f86 Log headers for test 2024-10-01 17:44:02 -05:00
austinkelsay
29315b92ae Vercel analytics 2024-10-01 16:40:49 -05:00