Commit graph

94 commits

Author SHA1 Message Date
Max Leiter
36e255ad2b
client: lint tsx files with prettier 2022-04-09 17:48:19 -07:00
Max Leiter
9fe9b818c4
client: remove console.log from /mine 2022-04-08 22:44:46 -07:00
Max Leiter
bc6362e412
client: improve error page design, fix isPageRequest regex in middleware 2022-04-06 16:31:41 -07:00
Max Leiter
18dff00a93
client: cleanup middleware redirect code 2022-04-06 14:42:18 -07:00
Max Leiter
5dabbbe64b
client/server: re-add removed config test line, remove unnecessary import 2022-04-06 10:48:41 -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
c6f89a28ad
server/client: replace JWTDenyList model with AuthToken, update middleware and routes 2022-04-06 09:08:51 -07:00
Max Leiter
9cbcfd3397
server/client: remove unnecessary console.logs 2022-04-06 08:36:20 -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
5e9288e9fb
client: stop middleware from signing out on /signout pre-fetch 2022-04-02 00:53:06 -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
ce01eba9c0
client: don't run middleware if the request isn't a page 2022-04-01 21:17:33 -07:00
Max Leiter
f20fa72b6d
client: password modal fixes for protected posts 2022-04-01 16:51:23 -07:00
Max Leiter
eae627807b
client: expiration styling improvements 2022-03-30 23:30:01 -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
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
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
12f25c49a7
client: misc style improvements 2022-03-24 19:25:02 -07:00
Max Leiter
a61f2c00e2
client: proxy html render requests so they can be cached easier 2022-03-24 18:24:09 -07:00
Max Leiter
951088bacf
client/server: add post searching 2022-03-24 18:03:57 -07:00
Max Leiter
9949faeebd
client: improve default home message 2022-03-24 15:44:12 -07:00
Max Leiter
da8e7415dc
Merge with main 2022-03-24 14:53:57 -07:00
Max Leiter
de68796101
client: disable theme transitions on change 2022-03-23 18:54:42 -07:00
Max Leiter
6045200ac4
client: add next-themes support for CSS variables 2022-03-23 18:22:51 -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
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
26a9639589
client: nprogress 2022-03-22 21:37:27 -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
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
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
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