Commit graph

46 commits

Author SHA1 Message Date
Max Leiter
60d1b031f5 use next-auth, add sign in via github, switch to postgres 2022-11-11 19:17:44 -08:00
Max Leiter
cf7d89eb20 cookies fixes, hook improvement, more porting 2022-11-09 19:46:12 -08:00
Max Leiter
95d1ef31ef rework cookies 2022-11-09 19:02:06 -08:00
Max Leiter
9b9c3c1d87 start api transition, prisma additions 2022-11-09 18:38:05 -08:00
Max Leiter
0a5a2adb26 dep improvements, style fixes, next/link codemod 2022-11-08 00:23:28 -08:00
Max Leiter
a52e9a1c62
client/server: linting and fix next building 2022-04-21 22:01:59 -07:00
Max Leiter
bceeb5cee8
Revert "client/server: lint and add functionality for admin to update homepage"
This reverts commit b5024e3f45.
2022-04-20 01:52:07 -07:00
Max Leiter
b5024e3f45
client/server: lint and add functionality for admin to update homepage 2022-04-20 01:49:34 -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
00b03db3ef
client: lint and fix building due to missing type 2022-04-14 14:32:20 -07:00
Joaquin "Florius" Azcarate
5df56fbdae
Add description to posts (#71)
Closes #37
2022-04-14 14:25:31 -07:00
Max Leiter
7d5afbc682
client: fix building with react 18 2022-04-12 19:19:06 -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
83def0ec86
client: remove preact to fix file dropdown process crash 2022-04-10 20:05:42 -07:00
Max Leiter
36e255ad2b
client: lint tsx files with prettier 2022-04-09 17:48:19 -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
06fad98ee1
client: add new-post error if no files are present 2022-04-01 16:59:06 -07:00
Max Leiter
f20fa72b6d
client: password modal fixes for protected posts 2022-04-01 16:51:23 -07:00
Max Leiter
222b020e9a
client: new-post style improvements and date picker bug fixes 2022-03-30 23:03:21 -07:00
Max Leiter
5da96a8f0a
client: fix expiration input on small screens 2022-03-30 21:22:55 -07:00
Max Leiter
9f810378f1
remove expiration modal 2022-03-30 20:02:16 -07:00
Max Leiter
752b2c0980
client/server: add support for expiring posts 2022-03-30 20:01:24 -07:00
Max Leiter
871b57ea3c
client: client-side validation of new post page 2022-03-29 17:06:11 -07:00
Max Leiter
62bc7af004
client: misc style improvements, error handling 2022-03-26 00:05:05 -07:00
Max Leiter
e5f467b26a
client: improve theming variable consistency 2022-03-24 15:12:54 -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
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
da46422764
client: stop some unncessary re-renders on new page 2022-03-21 22:50:25 -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
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
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
Anton
ecbd0584c2 store token and userid in a Cookie 2022-03-15 15:15:54 -04:00
Samuel
0e0c4e36ac add path alias 2022-03-13 01:40:28 -03:00
Max Leiter
f9e9c6fe06
client: add downloading and viewing raw files (#21) 2022-03-11 18:48:40 -08:00
Max Leiter
54adafa41d
client: drag and drop file uploading (#20) 2022-03-11 15:38:37 -08:00
Renamed from client/components/post/index.tsx (Browse further)