Commit graph

44 commits

Author SHA1 Message Date
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
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
a52e9a1c62
client/server: linting and fix next building 2022-04-21 22:01:59 -07:00
Max Leiter
bceeb5cee8
Revert "client/server: lint and add functionality for admin to update homepage"
This reverts commit b5024e3f45.
2022-04-20 01:52:07 -07:00
Max Leiter
b5024e3f45
client/server: lint and add functionality for admin to update homepage 2022-04-20 01:49:34 -07:00
Max Leiter
57cded29c3
client: remove unnecessary signedIn state from post-page 2022-04-18 14:51:02 -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
00b03db3ef
client: lint and fix building due to missing type 2022-04-14 14:32:20 -07:00
Joaquin "Florius" Azcarate
b9d26e16f7
Change post visibility (#83)
* Change post visibility

Closes #64

* Fix imports + right align controls
2022-04-14 14:27:38 -07:00
Joaquin "Florius" Azcarate
5df56fbdae
Add description to posts (#71)
Closes #37
2022-04-14 14:25:31 -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
36e255ad2b
client: lint tsx files with prettier 2022-04-09 17:48:19 -07:00
Max Leiter
d1415d1ee2
client: don't re-direct the owner of a file if it's expired 2022-04-08 23:30:07 -07:00
Max Leiter
f8ba5b32c9
client: mobile post page adjustments with longer button bar 2022-04-03 13:09:04 -07:00
Max Leiter
a1fef656bb
client: refactor header component for improved SSR 2022-04-02 00:45:26 -07:00
Max Leiter
e7cec9b827
client: remove console.log 2022-04-01 23:06:07 -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
e3e9d993f2
client: post page responsiveness improvements 2022-03-31 18:32:56 -07:00
Max Leiter
eae627807b
client: expiration styling improvements 2022-03-30 23:30:01 -07:00
Max Leiter
8291010f26
client: don't flash page after it's expired 2022-03-30 23:27:09 -07:00
Max Leiter
88d14a40b1
client: redirect on page expiration if not author 2022-03-30 20:52:30 -07:00
Max Leiter
93e8b7e1d9
remove @types/react-datetime-picker 2022-03-30 20:03:57 -07:00
Max Leiter
752b2c0980
client/server: add support for expiring posts 2022-03-30 20:01:24 -07:00
Max Leiter
e12e20418a
client: vertical buttongroup on post view page on mobile 2022-03-26 00:37:01 -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
ff8d5aab5c
client: add scroll to top button on post view 2022-03-25 13:29:49 -07:00
Max Leiter
1ace04985c
client: add file dropdown to post view 2022-03-25 13:01:46 -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
Max Leiter
6a4ff9c307
client: theme fixes and adjust visibility badge spacing on post view 2022-03-23 18:47:21 -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
19988e49ed
server: store and render markdown on server 2022-03-22 21:18:26 -07:00
Max Leiter
34b1ab979f
client: overhaul markdown rendering (now server-side), refactor theming 2022-03-22 20:06:15 -07:00
Max Leiter
d83cdf3eeb
client: use next/dynamic for react markdown rendering 2022-03-21 20:43:50 -07:00
Max Leiter
97f354a271
client: fix downloading zip files 2022-03-21 20:34:05 -07:00
Max Leiter
12cc8bccaa
client: refactor view page components and optimize geist-ui imports 2022-03-21 20:30:45 -07:00