Commit graph

20 commits

Author SHA1 Message Date
Max Leiter
60d1b031f5 use next-auth, add sign in via github, switch to postgres 2022-11-11 19:17:44 -08:00
Max Leiter
8b0b172f7d convert admin, run lint 2022-11-09 23:11:36 -08:00
Max Leiter
cf7d89eb20 cookies fixes, hook improvement, more porting 2022-11-09 19:46:12 -08:00
Max Leiter
95d1ef31ef rework cookies 2022-11-09 19:02:06 -08:00
Max Leiter
4177897691
client: redirect unauthed users from all /new paths 2022-04-18 14:48:08 -07:00
Max Leiter
52dc5e41a5
client: remove signout() function from useSignedIn
We now use the middleware-implemented /signout route
2022-04-02 00:46:39 -07:00
Max Leiter
a1fef656bb
client: refactor header component for improved SSR 2022-04-02 00:45:26 -07:00
Max Leiter
60f2ab99b3
client: lint with useTabs 2022-03-23 15:42:22 -07:00
Max Leiter
d4120e6f41
client: add prettier, switch to preact 2022-03-23 15:34:23 -07:00
Max Leiter
9bdff8f28f
client/server: load rendered html after page load, fix raw exporting 2022-03-23 12:36:29 -07:00
Max Leiter
34b1ab979f
client: overhaul markdown rendering (now server-side), refactor theming 2022-03-22 20:06:15 -07:00
Max Leiter
ecd06a2258
client: finish protected posts 2022-03-21 18:51:19 -07:00
Max Leiter
bf878473af
client: change all auth redirects to middleware 2022-03-21 01:36:31 -07:00
Max Leiter
c57e0d6692
client: fix logging out with new cookie auth 2022-03-20 22:34:42 -07:00
Anton
ecbd0584c2 store token and userid in a Cookie 2022-03-15 15:15:54 -04:00
Max Leiter
f9e9c6fe06
client: add downloading and viewing raw files (#21) 2022-03-11 18:48:40 -08:00
Max Leiter
d669f1057e
client: add time-ago utility and auth cleanup (#19)
* client: add time-ago utility and use it in post list
* client: improve header, timeago styling
* client: Use next/link with geist-ui Link
2022-03-09 23:46:59 -08:00
Max Leiter
d2edb119d9
client: useSharedState and syntax highlighting 2022-03-09 15:04:24 -08:00
Max Leiter
6c8e7933e1
Far superior header 2022-03-07 16:42:47 -08:00
Max Leiter
208ba42c0e
Initial commit 2022-03-06 16:46:59 -08:00