Commit graph

48 commits

Author SHA1 Message Date
Max Leiter
c5d2e9ac63
client: add jest and basic lib/ tests 2022-04-16 22:43:57 -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
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
fe589d63d8
client: mine page fixes, remove lodash.debounce 2022-04-11 23:07:52 -07:00
Max Leiter
481d4ae36c
client: add / auto-increment number at end of copied posts instead of 'copy of' text 2022-04-11 19:57:41 -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
52dc5e41a5
client: remove signout() function from useSignedIn
We now use the middleware-implemented /signout route
2022-04-02 00:46:39 -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
dafc0c37f8
client/server: use config dictionary on server, improve types on client 2022-04-01 16:27:23 -07:00
Max Leiter
752b2c0980
client/server: add support for expiring posts 2022-03-30 20:01:24 -07:00
Max Leiter
85ae8173bb
client/server: lint 2022-03-29 00:19:33 -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
ac1cf27d56
client: add more file extensions 2022-03-28 11:47:46 -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
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
da8e7415dc
Merge with main 2022-03-24 14:53:57 -07:00
Max Leiter
b93e42a347
markdown: re-enable code highlighting 2022-03-24 14:09:36 -07:00
Max Leiter
6045200ac4
client: add next-themes support for CSS variables 2022-03-23 18:22:51 -07:00
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
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
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
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
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
3f0212c5c6
begin work on protected posts 2022-03-21 03:28:06 -07:00
Max Leiter
bf878473af
client: change all auth redirects to middleware 2022-03-21 01:36:31 -07:00
Max Leiter
c57e0d6692
client: fix logging out with new cookie auth 2022-03-20 22:34:42 -07:00
Anton
ecbd0584c2 store token and userid in a Cookie 2022-03-15 15:15:54 -04:00
Max Leiter
f9e9c6fe06
client: add downloading and viewing raw files (#21) 2022-03-11 18:48:40 -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
d2edb119d9
client: useSharedState and syntax highlighting 2022-03-09 15:04:24 -08:00
Max Leiter
6c8e7933e1
Far superior header 2022-03-07 16:42:47 -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