Commit graph

110 commits

Author SHA1 Message Date
Max Leiter
7ca0cbac4c
client: set post title if text pasted w/o title set 2022-03-23 16:42:56 -07:00
Max Leiter
c55ca681b4
client: improve markdown rendering 2022-03-23 16:28:39 -07:00
Max Leiter
60f2ab99b3
client: lint with useTabs 2022-03-23 15:42:22 -07:00
Max Leiter
48a8e9f6a9
client: fix hydration error with placeholder for post title 2022-03-23 15:40:47 -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
534cd87dc9
client: improve link accessibility in markdown 2022-03-22 23:34:33 -07:00
Max Leiter
a139acc747
client/server: render nested elements in headings 2022-03-22 23:20:40 -07:00
Max Leiter
f92d854336
client/server: linkify headers and transform html entities in markdown 2022-03-22 22:18:07 -07:00
Max Leiter
c0c18e5b61
client: improve makrdown handling of nested elements 2022-03-22 22:05:26 -07:00
Max Leiter
ef16bfc565
client: better link hover symbol 2022-03-22 21:57:11 -07:00
Max Leiter
26a9639589
client: nprogress 2022-03-22 21:37:27 -07:00
Max Leiter
0a724f6f97
client: improved code styles in markdown 2022-03-22 21:24:11 -07:00
Max Leiter
118c06f272
client: fix useless prop 2022-03-22 21:19:55 -07:00
Max Leiter
19988e49ed
server: store and render markdown on server 2022-03-22 21:18:26 -07:00
Max Leiter
30e32e33cf
client: improve markdown styles 2022-03-22 20:27:48 -07:00
Max Leiter
eaffebb53c
client: optimize fetching rendered markdown 2022-03-22 20:16:24 -07:00
Max Leiter
34b1ab979f
client: overhaul markdown rendering (now server-side), refactor theming 2022-03-22 20:06:15 -07:00
Max Leiter
d1ee9d857f
client: beging markdown rendering on server 2022-03-22 17:37:21 -07:00
Max Leiter
da46422764
client: stop some unncessary re-renders on new page 2022-03-21 22:50:25 -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
Max Leiter
266848e6b2
client: fix uploading files when no files are present 2022-03-21 19:14:40 -07:00
Max Leiter
c1dcfb6a58
client: don't require confirming password accessing protected page 2022-03-21 19:01:29 -07:00
Max Leiter
ecd06a2258
client: finish protected posts 2022-03-21 18:51:19 -07:00
Max Leiter
d30c34deec
Add usage of SECRET_KEY to secure API routes 2022-03-21 17:42:37 -07:00
Max Leiter
90fa28ad65
post generation rework with static paths/props 2022-03-21 17:20:41 -07:00
Max Leiter
3efbeb726f
client: tree-shaking improvements 2022-03-21 16:00:55 -07:00
Max Leiter
2ec4019ea2
client: fix submitting status on new post 2022-03-21 14:56:45 -07:00
Max Leiter
d06d0ffea2
client: remove cache control 2022-03-21 14:54:36 -07:00
Max Leiter
1c68aa9765
client: use cookie for theme, redirect post view in server side props 2022-03-21 14:27:48 -07:00
Max Leiter
e37bd00a13
Merge with main 2022-03-21 12:46:21 -07:00
Max Leiter
dc64972188
client: tsconfig and next settings 2022-03-21 12:45:35 -07:00
Max Leiter
5b3d69d4a7
Merge pull request #34 from icepaq/render-public-posts-server-side
client: render posts server side
2022-03-21 12:45:04 -07:00
Max Leiter
3f0212c5c6
begin work on protected posts 2022-03-21 03:28:06 -07:00
Max Leiter
65b0c8f7f3
client: distinguish current page in header 2022-03-21 02:20:12 -07:00
Max Leiter
bf878473af
client: change all auth redirects to middleware 2022-03-21 01:36:31 -07:00
Max Leiter
abe419daba
client: add signout route 2022-03-21 01:15:37 -07:00
Max Leiter
a5e4c0ef75
client: use next middleware for redirects/rewrites based on auth; make preview 100% height always 2022-03-21 01:03:21 -07:00
Max Leiter
594e903fe4
README: update disclaimer on current status for production use 2022-03-20 23:40:51 -07:00
Max Leiter
c4cd55f4e6
server/client: add registration password and env vars 2022-03-20 23:27:09 -07:00
Max Leiter
c57e0d6692
client: fix logging out with new cookie auth 2022-03-20 22:34:42 -07:00
Max Leiter
3f8511e0c1
client: stop unnecessary title re-renders in /new 2022-03-20 21:43:04 -07:00
Max Leiter
2fbcb41cdd
client: clean-up drag and drop code and set post title if unset 2022-03-20 21:18:42 -07:00
Max Leiter
921f219c5a
client: add focus styling for file upload area 2022-03-20 20:54:31 -07:00
Max Leiter
9ba17db6f9
client: improve responsiveness 2022-03-20 20:46:22 -07:00
Max Leiter
c9f84fe69c
client: remove backticks around inline code markdown blocks 2022-03-20 14:23:35 -07:00
Max Leiter
9d6db0c40b
client: improve link hover in markdown 2022-03-20 14:17:54 -07:00
Max Leiter
59d33042f2
client: fix auth errors and wrap markdown headings in links 2022-03-20 14:09:56 -07:00