Commit graph

117 commits

Author SHA1 Message Date
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
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
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
1c68aa9765
client: use cookie for theme, redirect post view in server side props 2022-03-21 14:27:48 -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
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
Anton
a92062414f Merge branch 'store-token-in-cookies' into token-as-cookie 2022-03-15 15:27:46 -04:00
Anton
ecbd0584c2 store token and userid in a Cookie 2022-03-15 15:15:54 -04:00
Sebastian Sauerer
a361b16293 enhance auth workflow by adding a better error message and by validating the auth payload on server side 2022-03-13 20:57:55 +01:00
Sebastian Sauerer
2ba1dd7f26 refactor: improve the auth component 2022-03-13 14:07:03 +01:00
Max Leiter
a490b94bce
Merge pull request #26 from sampaioxsamuel/fix-sign-up
Fix empty spaces in sign-in/sign-up inputs
2022-03-12 20:51:02 -08:00
Samuel
0e0c4e36ac add path alias 2022-03-13 01:40:28 -03:00
Kris Alcordo
39eb4aae04
client: Scroll Bar should not show unless necessary (#27)
Co-authored-by: Kris Alcordo <kalcordo@glimpselive.com>
2022-03-12 20:30:12 -08:00
Samuel
7f50654da4 fix: sign-in/up and add head component 2022-03-13 01:13:35 -03:00
Max Leiter
bbbbb19d26
client: move images to assets/, improve new post on mobile 2022-03-12 15:51:31 -08:00
Max Leiter
f9e9c6fe06
client: add downloading and viewing raw files (#21) 2022-03-11 18:48:40 -08:00
Max Leiter
606e38e192
client: switch to vs code color palette for syntax highlighting
this eliminates some WCAG contrast errors, especially in light mode.
2022-03-11 15:59:52 -08:00
Max Leiter
a251d7f764
client: improved drag-and-drop styles for mobile 2022-03-11 15:49:45 -08:00
Max Leiter
54adafa41d
client: drag and drop file uploading (#20) 2022-03-11 15:38:37 -08:00
Max Leiter
4bdd5435ce
client: remove unused header CSS 2022-03-10 19:52:33 -08:00
Max Leiter
f17ef649b9
client: minor styling improvements 2022-03-10 19:51:10 -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
55a2b19f9a
client: favicon and touch icons, use logo on homepage 2022-03-09 17:47:54 -08:00
Max Leiter
cb6faa50b0
client: add some loading skeletons 2022-03-09 17:11:37 -08:00
Max Leiter
d2edb119d9
client: useSharedState and syntax highlighting 2022-03-09 15:04:24 -08:00
Max Leiter
252d16866f
client: dark mode 2022-03-09 02:06:03 -08:00
Max Leiter
d8447f759d
client: improved mobile stylings 2022-03-09 01:50:55 -08:00
Max Leiter
7ef696f88e
sort your posts by time, style improvements 2022-03-09 01:33:22 -08:00
Max Leiter
73e32a58e7
client: add spacing to top/bottom of Documents 2022-03-09 01:01:58 -08:00
Max Leiter
844ccded3c
client: improve rendered post styling; length is 100% if uneditable 2022-03-08 16:39:24 -08:00
Max Leiter
5b71fc6b27
Better header loading 2022-03-08 13:19:42 -08:00
Max Leiter
ada427b2d7
client: accessible emoji 2022-03-08 02:43:04 -08:00
Max Leiter
7f88cd9a60
client: conditionally render formatting buttons 2022-03-08 00:43:18 -08:00
Max Leiter
dc16802ffc
client: formatting icons 2022-03-08 00:37:18 -08:00
Max Leiter
886a61922c
overflow adjustmentsg 2022-03-07 21:41:23 -08:00
Max Leiter
f0f4f98c58
Better homepage and add github to header 2022-03-07 21:02:51 -08:00
Max Leiter
247124c7a7
Header and home page improvements 2022-03-07 18:36:36 -08:00
Max Leiter
e3321edf9b
Some header fixes 2022-03-07 16:54:33 -08:00
Max Leiter
6c8e7933e1
Far superior header 2022-03-07 16:42:47 -08:00
Max Leiter
ecd89fdf0e
Post permissions 2022-03-06 22:16:08 -08:00
Max Leiter
a57654f05a
Fix basePath? 2022-03-06 17:29:34 -08:00
Max Leiter
9a0b83c992
Fix basePath? 2022-03-06 17:27:13 -08:00
Max Leiter
144574535a
Fix basePath? 2022-03-06 17:25:23 -08:00
Max Leiter
b0f4cc2781
Link fixes for basePath 2022-03-06 17:20:43 -08:00
Max Leiter
ed842bdc78
Remove worker and change <a> to Link in auth 2022-03-06 16:53:39 -08:00
Max Leiter
208ba42c0e
Initial commit 2022-03-06 16:46:59 -08:00