Commit graph

39 commits

Author SHA1 Message Date
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
2ecf1b21ca
client: remove server as build requirement
This means public/unlisted posts and the home-page are no longer
generated at build-time, so TTFB may be increased for the first user to
load/access a page. Cache-Control headers are set so if the RP / server
supports it the results should be cached for future users.
2022-04-06 10:41:42 -07:00
Max Leiter
f20fa72b6d
client: password modal fixes for protected posts 2022-04-01 16:51:23 -07:00
Max Leiter
752b2c0980
client/server: add support for expiring posts 2022-03-30 20:01:24 -07:00
Max Leiter
62bc7af004
client: misc style improvements, error handling 2022-03-26 00:05:05 -07:00
Max Leiter
da8e7415dc
Merge with main 2022-03-24 14:53:57 -07:00
Max Leiter
34b1ab979f
client: overhaul markdown rendering (now server-side), refactor theming 2022-03-22 20:06:15 -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
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
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
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
9ba17db6f9
client: improve responsiveness 2022-03-20 20:46:22 -07:00
Anton
c720b929ce specify renderPost, new error message, try await 2022-03-19 20:15:17 -04:00
Anton
e646df43f2 clean up post check 2022-03-16 19:21:22 -04:00
Anton
3ac9cbcf4e remove console.log 2022-03-16 18:58:43 -04:00
Anton
ac9027c522 fix wrong post check 2022-03-16 18:57:40 -04:00
Anton
7364eb668b remove client side post fetch 2022-03-16 18:54:04 -04:00
Anton
79a8f498c5 render posts server side 2022-03-15 22:49:41 -04: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
Emily Strickland
1f0d60424e
Minor wording change for "Download" link
Suggesting this change simply because "ZIP" appears to be (per its specification published by PKWARE) canonically spelled uppercase.

I also added the word "archive" to provide a noun modified by "ZIP" rather than treating "ZIP" as a noun itself. It seems clearer this way, but may cause text flow issues in the design if it's too long.
2022-03-14 02:51:01 +00:00
Samuel
7f50654da4 fix: sign-in/up and add head component 2022-03-13 01:13:35 -03:00
Max Leiter
f9e9c6fe06
client: add downloading and viewing raw files (#21) 2022-03-11 18:48:40 -08:00
Max Leiter
f17ef649b9
client: minor styling improvements 2022-03-10 19:51:10 -08:00
Max Leiter
cb6faa50b0
client: add some loading skeletons 2022-03-09 17:11:37 -08:00
Max Leiter
dabe3e7f3c
WIP dockerfiles 2022-03-07 20:42:44 -08:00
Max Leiter
247124c7a7
Header and home page improvements 2022-03-07 18:36:36 -08:00
Max Leiter
6c8e7933e1
Far superior header 2022-03-07 16:42:47 -08:00
Max Leiter
41f0dd5c7a
Switch header on [id] depending on auth 2022-03-06 22:25:11 -08:00
Max Leiter
773920bb41
remove hanging )) 2022-03-06 22:20:23 -08:00
Max Leiter
ecd89fdf0e
Post permissions 2022-03-06 22:16:08 -08:00
Max Leiter
92a16b5a05
adjustments 2022-03-06 17:41:30 -08:00
Max Leiter
208ba42c0e
Initial commit 2022-03-06 16:46:59 -08:00