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
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
1c2fef0ee4
server/client: use cross-env for Windows support ( #58 )
...
In order for windows to run a script with an environment variable, we need some extra steps (namely `cross-env`).
2022-04-01 14:37:24 -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
Max Leiter
85ae8173bb
client/server: lint
2022-03-29 00:19:33 -07:00
Max Leiter
6afc4c915e
client/server: search cleanup, admin work
2022-03-29 00:11:02 -07:00
Max Leiter
fb8f14fd98
server: dockerfile updates and switch to bcryptjs
2022-03-28 19:26:16 -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
1c411f3bdc
client: bump max file size to 50 MB
2022-03-28 12:04:29 -07:00
Max Leiter
ac1cf27d56
client: add more file extensions
2022-03-28 11:47:46 -07:00
Max Leiter
de54754833
client: markdown style improvements
2022-03-26 22:35:34 -07:00
Max Leiter
e12e20418a
client: vertical buttongroup on post view page on mobile
2022-03-26 00:37:01 -07:00
Max Leiter
5ac73718cf
server/client: add post deletion
2022-03-26 00:24:18 -07:00
Max Leiter
62bc7af004
client: misc style improvements, error handling
2022-03-26 00:05:05 -07:00
Max Leiter
9d9f2d98a7
client: respect reduce motion when auto-scrolling
2022-03-25 14:43:39 -07:00
Max Leiter
945d3fbe63
client: show header link icon on mobile
2022-03-25 14:40:13 -07:00
Max Leiter
0815d43ee8
client: lint and minor scroll button/file explorer adjustments
2022-03-25 14:31:10 -07:00
Max Leiter
887ecfabbc
client: handle files with no names in file dropdown
2022-03-25 13:37:54 -07:00
Max Leiter
ff8d5aab5c
client: add scroll to top button on post view
2022-03-25 13:29:49 -07:00
Max Leiter
1ace04985c
client: add file dropdown to post view
2022-03-25 13:01:46 -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
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
5aca059953
client: improve post-list spacing
2022-03-24 18:15:12 -07:00
Max Leiter
7c6eb87870
client: remove filters for post search
2022-03-24 18:10:27 -07:00
Max Leiter
21332a7d1e
client: remove extra message on 'mine' page
2022-03-24 18:09:37 -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
b77265e6b6
client: add client-side search of posts list
2022-03-24 15:35:59 -07:00
Max Leiter
e5f467b26a
client: improve theming variable consistency
2022-03-24 15:12:54 -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
41238cb79f
client: lighter border color
2022-03-23 19:54:54 -07:00
Max Leiter
8b2a22e3d3
client: tweak markdown link color
2022-03-23 19:09:59 -07:00
Max Leiter
de68796101
client: disable theme transitions on change
2022-03-23 18:54:42 -07:00
Max Leiter
6a4ff9c307
client: theme fixes and adjust visibility badge spacing on post view
2022-03-23 18:47:21 -07:00
Max Leiter
6045200ac4
client: add next-themes support for CSS variables
2022-03-23 18:22:51 -07:00
Max Leiter
186d536175
client: experiment with heading title color in markdown
2022-03-23 17:14:08 -07:00
Max Leiter
7c857cf318
client: increase markdown top margin
2022-03-23 17:01:41 -07:00
Max Leiter
2a1f95238b
client: improve heading margins in markdown
2022-03-23 16:52:14 -07:00
Max Leiter
bbee452250
client: improve markdown font styles
2022-03-23 16:49:58 -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
48a8e9f6a9
client: fix hydration error with placeholder for post title
2022-03-23 15:40:47 -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
ef16bfc565
client: better link hover symbol
2022-03-22 21:57:11 -07:00
Max Leiter
26a9639589
client: nprogress
2022-03-22 21:37:27 -07:00
Max Leiter
0a724f6f97
client: improved code styles in markdown
2022-03-22 21:24:11 -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
30e32e33cf
client: improve markdown styles
2022-03-22 20:27:48 -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
da46422764
client: stop some unncessary re-renders on new page
2022-03-21 22:50:25 -07:00
Max Leiter
d83cdf3eeb
client: use next/dynamic for react markdown rendering
2022-03-21 20:43:50 -07:00
Max Leiter
97f354a271
client: fix downloading zip files
2022-03-21 20:34:05 -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
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
2ec4019ea2
client: fix submitting status on new post
2022-03-21 14:56:45 -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
Max Leiter
65b0c8f7f3
client: distinguish current page in header
2022-03-21 02:20:12 -07:00
Max Leiter
bf878473af
client: change all auth redirects to middleware
2022-03-21 01:36:31 -07:00
Max Leiter
abe419daba
client: add signout route
2022-03-21 01:15:37 -07:00
Max Leiter
a5e4c0ef75
client: use next middleware for redirects/rewrites based on auth; make preview 100% height always
2022-03-21 01:03:21 -07:00
Max Leiter
594e903fe4
README: update disclaimer on current status for production use
2022-03-20 23:40:51 -07:00
Max Leiter
c4cd55f4e6
server/client: add registration password and env vars
2022-03-20 23:27:09 -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
Max Leiter
921f219c5a
client: add focus styling for file upload area
2022-03-20 20:54:31 -07:00
Max Leiter
9ba17db6f9
client: improve responsiveness
2022-03-20 20:46:22 -07:00
Max Leiter
c9f84fe69c
client: remove backticks around inline code markdown blocks
2022-03-20 14:23:35 -07:00
Max Leiter
9d6db0c40b
client: improve link hover in markdown
2022-03-20 14:17:54 -07:00
Max Leiter
59d33042f2
client: fix auth errors and wrap markdown headings in links
2022-03-20 14:09:56 -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
Sebastian Sauerer
a361b16293
enhance auth workflow by adding a better error message and by validating the auth payload on server side
2022-03-13 20:57:55 +01:00
Sebastian Sauerer
2ba1dd7f26
refactor: improve the auth component
2022-03-13 14:07:03 +01:00
Max Leiter
a490b94bce
Merge pull request #26 from sampaioxsamuel/fix-sign-up
...
Fix empty spaces in sign-in/sign-up inputs
2022-03-12 20:51:02 -08:00
Samuel
0e0c4e36ac
add path alias
2022-03-13 01:40:28 -03:00
Kris Alcordo
39eb4aae04
client: Scroll Bar should not show unless necessary ( #27 )
...
Co-authored-by: Kris Alcordo <kalcordo@glimpselive.com>
2022-03-12 20:30:12 -08:00
Samuel
7f50654da4
fix: sign-in/up and add head component
2022-03-13 01:13:35 -03:00
Max Leiter
bbbbb19d26
client: move images to assets/, improve new post on mobile
2022-03-12 15:51:31 -08:00
Max Leiter
f9e9c6fe06
client: add downloading and viewing raw files ( #21 )
2022-03-11 18:48:40 -08:00
Max Leiter
606e38e192
client: switch to vs code color palette for syntax highlighting
...
this eliminates some WCAG contrast errors, especially in light mode.
2022-03-11 15:59:52 -08:00
Max Leiter
988b05d52d
client: add WELCOME_TITLE and WELCOME_MESSAGE as env vars
2022-03-11 15:57:42 -08:00
Max Leiter
a251d7f764
client: improved drag-and-drop styles for mobile
2022-03-11 15:49:45 -08:00
Max Leiter
54adafa41d
client: drag and drop file uploading ( #20 )
2022-03-11 15:38:37 -08:00
Max Leiter
4bdd5435ce
client: remove unused header CSS
2022-03-10 19:52:33 -08:00
Max Leiter
f17ef649b9
client: minor styling improvements
2022-03-10 19:51:10 -08:00
Max Leiter
96fc4f38ae
client: remove TODO doc from home
2022-03-10 12:51:26 -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
55a2b19f9a
client: favicon and touch icons, use logo on homepage
2022-03-09 17:47:54 -08:00
Max Leiter
cb6faa50b0
client: add some loading skeletons
2022-03-09 17:11:37 -08:00
Max Leiter
d2edb119d9
client: useSharedState and syntax highlighting
2022-03-09 15:04:24 -08:00
Max Leiter
252d16866f
client: dark mode
2022-03-09 02:06:03 -08:00
Max Leiter
d8447f759d
client: improved mobile stylings
2022-03-09 01:50:55 -08:00
Max Leiter
4ca525fb12
client: remove typo from homepage
2022-03-09 01:37:56 -08:00
Max Leiter
7ef696f88e
sort your posts by time, style improvements
2022-03-09 01:33:22 -08:00
Max Leiter
73e32a58e7
client: add spacing to top/bottom of Documents
2022-03-09 01:01:58 -08:00
Max Leiter
844ccded3c
client: improve rendered post styling; length is 100% if uneditable
2022-03-08 16:39:24 -08:00
Max Leiter
5b71fc6b27
Better header loading
2022-03-08 13:19:42 -08:00
Max Leiter
ada427b2d7
client: accessible emoji
2022-03-08 02:43:04 -08:00
Max Leiter
7f88cd9a60
client: conditionally render formatting buttons
2022-03-08 00:43:18 -08:00
Max Leiter
dc16802ffc
client: formatting icons
2022-03-08 00:37:18 -08:00
Max Leiter
0943519026
client: add debug log to next.config.js
2022-03-07 23:45:13 -08:00
Max Leiter
5001310af0
"client: .env -> .env.local"
2022-03-07 23:13:37 -08:00
Max Leiter
b48d1ea745
add API_URl env var to client
2022-03-07 23:09:30 -08:00