281 Commits

Author SHA1 Message Date
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
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
735ed2b7db Update matcher 2024-09-30 19:55:56 -05:00
austinkelsay
30076181dc Update rate limiter 2024-09-30 19:51:23 -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
41dfcb6918 Update middleware to combine techniques for detecting external requests 2024-09-30 19:28:03 -05:00
austinkelsay
b55a3cd892 Trying x-vercel-protection-bypass to prevent external requests 2024-09-30 19:23:15 -05:00
austinkelsay
a1f47e0dd3 Check host on middleware instead 2024-09-30 19:16:35 -05:00
austinkelsay
5235e76855 update middleware to check origin for now 2024-09-30 19:09:55 -05:00
austinkelsay
5c15b93c48 Log hostname 2024-09-30 19:00:33 -05:00
austinkelsay
f87746c628 Add staging to image domains 2024-09-30 15:54:47 -05:00