Commit graph

78 commits

Author SHA1 Message Date
Max Leiter
5918b13867 lint 2022-12-04 14:26:14 -08:00
Max Leiter
7eeadbe065 Add basic /author/{id} page 2022-12-04 01:55:20 -08:00
Max Leiter
56eefc8419 add basic admin page, misc fixes 2022-12-04 01:31:51 -08:00
Max Leiter
ce0c442273 Remove geist-ui, add loading prop to button, convert header to CSS 2022-11-29 22:10:51 -08:00
Max Leiter
a7660f6374 add prisma to reg deps 2022-11-28 20:59:30 -08:00
Max Leiter
12d9eafcd9 lint 2022-11-17 22:36:53 -08:00
Max Leiter
3bebb6ac7d README updates 2022-11-14 19:00:21 -08:00
Max Leiter
2c3e271df1 only run prisma admin middleware if enable_admin 2022-11-14 18:49:58 -08:00
Max Leiter
8e7828d562 fix middleware, migrate gist importing 2022-11-14 18:39:42 -08:00
Max Leiter
bc2a4acd29 Fix admin page styling and user table 2022-11-14 17:32:32 -08:00
Max Leiter
c5e276b51c rm old constants 2022-11-14 17:26:37 -08:00
Max Leiter
c31b911c86 md table styles, expiration post fixes, dont render linenumbers 2022-11-14 17:24:35 -08:00
Max Leiter
2b783145d4 fix admin page, expiring view, displayName setting/field 2022-11-14 01:28:40 -08:00
Max Leiter
97cff7eb53 use custom badge component, add post deletion 2022-11-13 23:02:31 -08:00
Max Leiter
5f4749ebb3 radix tooltip, move header to layout 2022-11-12 18:39:03 -08:00
Max Leiter
733a93dd87 dep management 2022-11-12 17:19:27 -08:00
Max Leiter
ecd4521403 refactor getting html for files and previews 2022-11-12 17:11:05 -08:00
Max Leiter
c41cf7c5ef rm server code, add markdown rendering, html saving, visibility updating 2022-11-12 16:06:23 -08:00
Max Leiter
096cf41eee gen prisma migration, fix up rendering html (somewhat) in RSC 2022-11-12 01:57:30 -08:00
Max Leiter
86b9172527 fix up colocation 2022-11-12 01:28:06 -08:00
Max Leiter
96da95818f colocate components 2022-11-12 00:58:21 -08:00
Max Leiter
96c4023c14 migrate post page and create post api, misc changes 2022-11-11 23:59:33 -08:00
Max Leiter
60d1b031f5 use next-auth, add sign in via github, switch to postgres 2022-11-11 19:17:44 -08:00
Max Leiter
68570b3bb7 bump next, fix background color flash 2022-11-11 16:33:43 -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
9b9c3c1d87 start api transition, prisma additions 2022-11-09 18:38:05 -08:00
Max Leiter
0a5a2adb26 dep improvements, style fixes, next/link codemod 2022-11-08 00:23:28 -08:00
Max Leiter
519b6cdc71
client/server: add user settings page; add displayName, email, bio fields to user model (#108) 2022-04-19 22:14:08 -07:00
Max Leiter
4177897691
client: redirect unauthed users from all /new paths 2022-04-18 14:48:08 -07:00
Max Leiter
454ea303a6
client: remove get-post-path and usage of it, fix view parent btn on post page not working due to SSR 2022-04-14 17:18:47 -07:00
Max Leiter
7d08570915
client/server: admin page improvements; add deleting users and changing roles 2022-04-12 21:14:10 -07:00
Max Leiter
67e1b9889b
client: remove need for multiple post page URLs 2022-04-12 16:48:12 -07:00
Max Leiter
fe589d63d8
client: mine page fixes, remove lodash.debounce 2022-04-11 23:07:52 -07:00
Max Leiter
481d4ae36c
client: add / auto-increment number at end of copied posts instead of 'copy of' text 2022-04-11 19:57:41 -07:00
Max Leiter
3a879edc23
client/server: move markdown rendering from client/ entirely to server/ 2022-04-04 18:13:18 -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
b8cdc2cf72
client/server: add the ability to copy a post, view a posts parent 2022-04-01 22:55:49 -07:00
Max Leiter
dafc0c37f8
client/server: use config dictionary on server, improve types on client 2022-04-01 16:27:23 -07:00
Max Leiter
752b2c0980
client/server: add support for expiring posts 2022-03-30 20:01:24 -07:00
Max Leiter
85ae8173bb
client/server: lint 2022-03-29 00:19:33 -07:00
Max Leiter
fd7d0be6ba
server: add yarn start and building support with tsc 2022-03-28 16:19:53 -07:00
Max Leiter
e0b0102603
server: rework migrations/sequelize, add basic admin page/role, bug fixes 2022-03-28 12:13:22 -07:00
Max Leiter
ac1cf27d56
client: add more file extensions 2022-03-28 11:47:46 -07:00
Max Leiter
62bc7af004
client: misc style improvements, error handling 2022-03-26 00:05:05 -07:00
Max Leiter
0815d43ee8
client: lint and minor scroll button/file explorer adjustments 2022-03-25 14:31:10 -07:00
Max Leiter
dfea957046
client: add file tree to post view 2022-03-24 20:24:40 -07:00
Max Leiter
448c443e2e
client: misc style improvements 2022-03-24 19:32:24 -07:00