Commit graph

158 commits

Author SHA1 Message Date
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
be6de7c796
client/server: clean-up admin page, re-implement user deletion/role toggling 2022-04-19 23:36:56 -07:00
Max Leiter
519b6cdc71
client/server: add user settings page; add displayName, email, bio fields to user model (#108) 2022-04-19 22:14:08 -07:00
Max Leiter
57cded29c3
client: remove unnecessary signedIn state from post-page 2022-04-18 14:51:02 -07:00
Max Leiter
4177897691
client: redirect unauthed users from all /new paths 2022-04-18 14:48:08 -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
b9d26e16f7
Change post visibility (#83)
* Change post visibility

Closes #64

* Fix imports + right align controls
2022-04-14 14:27:38 -07:00
Joaquin "Florius" Azcarate
5df56fbdae
Add description to posts (#71)
Closes #37
2022-04-14 14:25:31 -07:00
Max Leiter
3d747f41cc
client: remove unused param in post-table 2022-04-13 12:42:20 -07:00
Max Leiter
7ce6acf5fe
client: fix admin imports 2022-04-13 12:37:15 -07:00
Max Leiter
16103f2fcb
client: temp. remove ability to view files in posts as admin 2022-04-12 21:24:04 -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
7d5afbc682
client: fix building with react 18 2022-04-12 19:19:06 -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
1369bdf996
client: remove unnecessary prop in edit-document-list 2022-04-11 22:47:45 -07:00
Max Leiter
f510813e4b
client: add textarea-markdown-editor package and replace current editor textarea 2022-04-11 22:39:35 -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
401a0df63b
client: add type to please next lint 2022-04-09 17:54:08 -07:00
Max Leiter
36e255ad2b
client: lint tsx files with prettier 2022-04-09 17:48:19 -07:00
Max Leiter
d1415d1ee2
client: don't re-direct the owner of a file if it's expired 2022-04-08 23:30:07 -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
e5b9b65b55
server: add basic is-admin tests and bug fixes 2022-04-05 16:17:08 -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
f8ba5b32c9
client: mobile post page adjustments with longer button bar 2022-04-03 13:09:04 -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
e7cec9b827
client: remove console.log 2022-04-01 23:06:07 -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
f927fae9ed
client: improve clicking jump to file button 2022-04-01 17:26:01 -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
dafc0c37f8
client/server: use config dictionary on server, improve types on client 2022-04-01 16:27:23 -07:00
Joaquin "Florius" Azcarate
dee06fab90
client: Use system theme (#60)
Use resolvedTheme theme from next-theme
2022-04-01 13:36:03 -07:00
Max Leiter
e3e9d993f2
client: post page responsiveness improvements 2022-03-31 18:32:56 -07:00
Max Leiter
eae627807b
client: expiration styling improvements 2022-03-30 23:30:01 -07:00
Max Leiter
8291010f26
client: don't flash page after it's expired 2022-03-30 23:27:09 -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
88d14a40b1
client: redirect on page expiration if not author 2022-03-30 20:52:30 -07:00
Max Leiter
93e8b7e1d9
remove @types/react-datetime-picker 2022-03-30 20:03:57 -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
a84459b859
client: redirect to /new when authenticated 2022-03-29 13:22:47 -07:00
Max Leiter
62a77b619e
client: potentially fix /new redirect 2022-03-29 13:21:58 -07:00