Nutomic [Wed, 28 Jun 2023 20:32:07 +0000 (22:32 +0200)]
Set cache-control headers to reduce server load (fixes #412) (#1641)
* Set cache-control headers to reduce server load (fixes #412)
* add missing file
* remove old middleware folder
* use let
---------
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
SleeplessOne1917 [Wed, 28 Jun 2023 17:51:36 +0000 (13:51 -0400)]
Merge pull request #1670 from LemmyNet/bugfix/fix-subscribe-button-layout
Make community sidebar "Subscribe"/"Joined"/"Pending" button consistent
Alec Armbruster [Wed, 28 Jun 2023 15:43:40 +0000 (11:43 -0400)]
Merge branch 'main' into bugfix/fix-subscribe-button-layout
SleeplessOne1917 [Wed, 28 Jun 2023 15:17:28 +0000 (11:17 -0400)]
Merge pull request #1610 from LemmyNet/feat/pureblack-theme
Add `darkly-pureblack` theme
Alec Armbruster [Wed, 28 Jun 2023 15:09:52 +0000 (11:09 -0400)]
formatting
Alec Armbruster [Wed, 28 Jun 2023 15:06:55 +0000 (11:06 -0400)]
make subscribe/unsub/pending button consistent
Alec Armbruster [Wed, 28 Jun 2023 14:52:24 +0000 (10:52 -0400)]
Merge branch 'main' into feat/pureblack-theme
Jay Sitter [Wed, 28 Jun 2023 13:35:26 +0000 (09:35 -0400)]
Merge pull request #1667 from jsit/fix/revert-lang-auto-select
Revert #1463, markdown default lang select
Jay Sitter [Wed, 28 Jun 2023 12:42:55 +0000 (08:42 -0400)]
Revert #1463, markdown default lang select
Alec Armbruster [Wed, 28 Jun 2023 04:12:10 +0000 (00:12 -0400)]
Merge branch 'main' into feat/pureblack-theme
Jay Sitter [Tue, 27 Jun 2023 23:50:47 +0000 (19:50 -0400)]
Merge pull request #1661 from LemmyNet/subscribe-fix
Fix subscribe and block community buttons not showing up on first load
SleeplessOne1917 [Tue, 27 Jun 2023 23:28:52 +0000 (19:28 -0400)]
Merge branch 'main' into subscribe-fix
Alec Armbruster [Tue, 27 Jun 2023 23:08:01 +0000 (19:08 -0400)]
remove hard-coded text foreground color classes (#1658)
Signed-off-by: Alec Armbruster <35377827+alectrocute@users.noreply.github.com>
SleeplessOne1917 [Tue, 27 Jun 2023 23:01:47 +0000 (19:01 -0400)]
Fix subscribe and block community buttons not showing up on first load
SleeplessOne1917 [Tue, 27 Jun 2023 21:18:56 +0000 (17:18 -0400)]
Merge pull request #1630 from jsit/fix/thumb-action-button-alignment
fix: Fix alignment of preview mini-overlay buttons on thumbs
Alec Armbruster [Tue, 27 Jun 2023 21:16:26 +0000 (17:16 -0400)]
Merge branch 'main' into fix/thumb-action-button-alignment
SleeplessOne1917 [Tue, 27 Jun 2023 20:42:42 +0000 (16:42 -0400)]
Merge pull request #1656 from LemmyNet/refactor/move-role-pill-to-util
Move `getRoleLabelPill` to `@utils/app`
Alec Armbruster [Tue, 27 Jun 2023 19:49:14 +0000 (15:49 -0400)]
refactor
SleeplessOne1917 [Tue, 27 Jun 2023 19:10:43 +0000 (15:10 -0400)]
Merge pull request #1623 from LemmyNet/bugfix/make-post-creator-badge-stand-out-more
Distinguish "Creator" badge on comments
Alec Armbruster [Tue, 27 Jun 2023 19:00:35 +0000 (15:00 -0400)]
refactor again
Alec Armbruster [Tue, 27 Jun 2023 18:39:30 +0000 (14:39 -0400)]
change me-2 to me-1, no need for me-2 width
Alec Armbruster [Tue, 27 Jun 2023 18:36:19 +0000 (14:36 -0400)]
make mod shrunken label text-primary
Alec Armbruster [Tue, 27 Jun 2023 18:31:53 +0000 (14:31 -0400)]
oops
Alec Armbruster [Tue, 27 Jun 2023 18:29:44 +0000 (14:29 -0400)]
refactor x2
Alec Armbruster [Tue, 27 Jun 2023 18:10:05 +0000 (14:10 -0400)]
refactor
Alec Armbruster [Tue, 27 Jun 2023 17:49:34 +0000 (13:49 -0400)]
Merge branch 'main' of https://github.com/LemmyNet/lemmy-ui into bugfix/make-post-creator-badge-stand-out-more
SleeplessOne1917 [Tue, 27 Jun 2023 17:48:50 +0000 (13:48 -0400)]
Merge pull request #1651 from LemmyNet/chore/use-classnames-instead
Use `classNames` in #1650
Alec Armbruster [Tue, 27 Jun 2023 17:41:31 +0000 (13:41 -0400)]
add @jsit advice
SleeplessOne1917 [Tue, 27 Jun 2023 17:22:57 +0000 (13:22 -0400)]
Merge pull request #1650 from LemmyNet/bugfix/fix-markdown-textarea-disabled-button-borders
Fix borders on `MarkdownTextarea` buttons when disabled
Alec Armbruster [Tue, 27 Jun 2023 16:59:06 +0000 (12:59 -0400)]
fix weird borders when markdown textarea is disabled
Alec Armbruster [Tue, 27 Jun 2023 15:44:17 +0000 (11:44 -0400)]
use span
Jay Sitter [Tue, 27 Jun 2023 15:42:31 +0000 (11:42 -0400)]
Merge branch 'main' into fix/thumb-action-button-alignment
Alec Armbruster [Tue, 27 Jun 2023 15:42:00 +0000 (11:42 -0400)]
always show badge on mobile
Alec Armbruster [Tue, 27 Jun 2023 15:41:15 +0000 (11:41 -0400)]
Merge branch 'main' of https://github.com/LemmyNet/lemmy-ui into bugfix/make-post-creator-badge-stand-out-more
Alec Armbruster [Tue, 27 Jun 2023 15:31:07 +0000 (11:31 -0400)]
Merge branch 'main' into feat/pureblack-theme
Alec Armbruster [Tue, 27 Jun 2023 15:30:32 +0000 (11:30 -0400)]
fix a few colors
Sander Saarend [Tue, 27 Jun 2023 14:52:01 +0000 (17:52 +0300)]
Reduce fetchLimit (40 -> 20) (#1638)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Jay Sitter [Tue, 27 Jun 2023 13:13:20 +0000 (09:13 -0400)]
Merge pull request #1596 from jsit/feat/toggle-body-1595
feat(UI): Always put post body behind toggle on post listings
Jay Sitter [Tue, 27 Jun 2023 13:11:01 +0000 (09:11 -0400)]
Merge branch 'main' into feat/toggle-body-1595
SleeplessOne1917 [Tue, 27 Jun 2023 13:04:11 +0000 (09:04 -0400)]
Merge pull request #1642 from LemmyNet/fix_docker_build_webpack_analyzer
Moving webpack-bundle-analyzer require inside mode check to fix docker.
Jay Sitter [Tue, 27 Jun 2023 12:57:06 +0000 (08:57 -0400)]
Merge branch 'main' into feat/toggle-body-1595
Dessalines [Tue, 27 Jun 2023 12:47:39 +0000 (08:47 -0400)]
Moving webpack-bundle-analyzer require inside mode check to fix docker.
Dessalines [Tue, 27 Jun 2023 12:10:42 +0000 (08:10 -0400)]
v0.18.1-rc.1
SleeplessOne1917 [Tue, 27 Jun 2023 12:09:55 +0000 (08:09 -0400)]
Fix allowed and blocked instances not being fetched for admin settings (#1627)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
SleeplessOne1917 [Tue, 27 Jun 2023 11:56:04 +0000 (07:56 -0400)]
Merge pull request #1620 from pascaldevink/create_space_between_cancel_and_ban_button
Add space between cancel and ban button
Dessalines [Tue, 27 Jun 2023 11:46:25 +0000 (07:46 -0400)]
Merge branch 'main' into create_space_between_cancel_and_ban_button
Jay Sitter [Tue, 27 Jun 2023 01:12:43 +0000 (21:12 -0400)]
fix: Restore mdNoImages import
Jay Sitter [Tue, 27 Jun 2023 01:05:50 +0000 (21:05 -0400)]
fix: Fix alignment of preview mini-overlay buttons on thumbs
SleeplessOne1917 [Tue, 27 Jun 2023 00:40:30 +0000 (20:40 -0400)]
Merge pull request #1629 from jsit/fix/remove-body-preview
fix: Remove body preview
Jay Sitter [Tue, 27 Jun 2023 00:37:28 +0000 (20:37 -0400)]
fix: Remove body preview
SleeplessOne1917 [Tue, 27 Jun 2023 00:34:32 +0000 (20:34 -0400)]
Merge pull request #1590 from jsit/fix/wider-max-width-1536
fix(UI): Make max-width wider, and make sidebar narrower on wide screens (#1536)
SleeplessOne1917 [Tue, 27 Jun 2023 00:29:13 +0000 (20:29 -0400)]
Merge branch 'main' into fix/wider-max-width-1536
SleeplessOne1917 [Tue, 27 Jun 2023 00:27:41 +0000 (20:27 -0400)]
Merge pull request #1597 from jsit/feat/hide-avatars-on-listings
feat(UI): Make post listing (icon) avatars smaller (line-height)
Jay Sitter [Tue, 27 Jun 2023 00:22:38 +0000 (20:22 -0400)]
Merge branch 'main' into fix/wider-max-width-1536
Jay Sitter [Tue, 27 Jun 2023 00:22:26 +0000 (20:22 -0400)]
Merge branch 'main' into feat/hide-avatars-on-listings
Jay Sitter [Tue, 27 Jun 2023 00:20:14 +0000 (20:20 -0400)]
fix: Move toggle button to its own function
Jay Sitter [Tue, 27 Jun 2023 00:15:56 +0000 (20:15 -0400)]
Merge remote-tracking branch 'lemmy/main' into feat/toggle-body-1595
* lemmy/main:
fix vote button alignment
partially revert change
Fix feedback on banning an unbanning
remove icon (#1618)
Indicate valid and invalid fields in signup form (#1450)
capitalize button (#1616)
Move password reset form to separate route, view (#1390)
feat(UI): Reduce base font size (#1591)
Fix: missing semantic css classes and html elements (#1583)
remove hook entirely
chore(DX): Add prettier to eslint config for use with editors
fix bug collapsing previews when voting
fix: Remove unnecessary string interpolations
fix: Remove unnecessary class
fix: Remove unnecessary classes
fix: Restore removed classes
fix: Remove wrapping li's
fix: Remove extraneous classes
fix: Move things back to where they were
chore: Separate post mod buttons into functions
Jay Sitter [Tue, 27 Jun 2023 00:12:21 +0000 (20:12 -0400)]
fix: Show metadata preview card on all post pages
Pascal de Vink [Mon, 26 Jun 2023 20:45:56 +0000 (21:45 +0100)]
Fix feedback on banning an unbanning
When banning or unbanning, the API call was done, but updating the
frontend failed. This caused a confusing experience for an admin, until
the page was reloaded.
Alec Armbruster [Mon, 26 Jun 2023 21:10:39 +0000 (17:10 -0400)]
fix vote button alignment
Alec Armbruster [Mon, 26 Jun 2023 20:09:11 +0000 (16:09 -0400)]
remove icon (#1618)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
dullbananas [Mon, 26 Jun 2023 19:57:23 +0000 (12:57 -0700)]
Indicate valid and invalid fields in signup form (#1450)
* Use was-validated class in signup form
* Update signup.tsx
* Update signup.tsx
---------
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Alec Armbruster [Mon, 26 Jun 2023 19:25:22 +0000 (15:25 -0400)]
capitalize button (#1616)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Alec Armbruster [Mon, 26 Jun 2023 18:54:38 +0000 (14:54 -0400)]
Move password reset form to separate route, view (#1390)
* rework password reset form
* make self-suggested changes
* cleaning
* validate in handlePasswordReset as well
* update submodule
* partially make suggested changes
* make suggested changes
* resolve merge conflicts
* resolve merge conflicts
* resolve merge conflicts
---------
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Jay Sitter [Mon, 26 Jun 2023 18:53:37 +0000 (14:53 -0400)]
feat(UI): Reduce base font size (#1591)
* feat: Reduce base font size
* chore: Build themes
---------
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Anansi [Mon, 26 Jun 2023 18:51:04 +0000 (20:51 +0200)]
Fix: missing semantic css classes and html elements (#1583)
* Fix: missing semantic css classes and html elements.
Now all pages have a main and aside element when a sidebar is present to facilitate custom theming. This does not impact the default behavior of the front.
* Fix: re-added communityref on main element
---------
Co-authored-by: 0xAnansi <0xAnansi@omageni.com>
Co-authored-by: Jay Sitter <jsit@users.noreply.github.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Alec Armbruster [Mon, 26 Jun 2023 21:04:19 +0000 (17:04 -0400)]
partially revert change
Jay Sitter [Mon, 26 Jun 2023 14:37:21 +0000 (10:37 -0400)]
chore(DX): Add prettier to eslint config for use with editors
Jay Sitter [Sun, 25 Jun 2023 22:18:47 +0000 (18:18 -0400)]
fix: Remove unnecessary class
Jay Sitter [Sun, 25 Jun 2023 22:18:16 +0000 (18:18 -0400)]
fix: Remove unnecessary classes
Jay Sitter [Sun, 25 Jun 2023 22:15:59 +0000 (18:15 -0400)]
fix: Restore removed classes
Jay Sitter [Sun, 25 Jun 2023 22:13:13 +0000 (18:13 -0400)]
fix: Remove wrapping li's
Jay Sitter [Sun, 25 Jun 2023 22:11:12 +0000 (18:11 -0400)]
fix: Remove extraneous classes
Jay Sitter [Sun, 25 Jun 2023 22:08:26 +0000 (18:08 -0400)]
fix: Move things back to where they were
Jay Sitter [Sun, 25 Jun 2023 22:01:25 +0000 (18:01 -0400)]
chore: Separate post mod buttons into functions
Alec Armbruster [Mon, 26 Jun 2023 16:16:32 +0000 (12:16 -0400)]
remove hook entirely
Alec Armbruster [Mon, 26 Jun 2023 13:25:00 +0000 (09:25 -0400)]
fix bug collapsing previews when voting
Jay Sitter [Sun, 25 Jun 2023 23:36:19 +0000 (19:36 -0400)]
fix: Remove unnecessary string interpolations
Jay Sitter [Mon, 26 Jun 2023 23:46:29 +0000 (19:46 -0400)]
fix: Remove smallavatars prop
Jay Sitter [Mon, 26 Jun 2023 22:07:10 +0000 (18:07 -0400)]
fix: Restore icon avatars; make smaller and roundrect
SleeplessOne1917 [Mon, 26 Jun 2023 22:51:05 +0000 (18:51 -0400)]
Merge pull request #1608 from LemmyNet/bug/fix-image-collapse-upon-vote
Prevent `PostListing` previews from collapsing when voting
SleeplessOne1917 [Mon, 26 Jun 2023 22:47:49 +0000 (18:47 -0400)]
Merge branch 'main' into bug/fix-image-collapse-upon-vote
SleeplessOne1917 [Mon, 26 Jun 2023 22:46:22 +0000 (18:46 -0400)]
Merge branch 'main' into create_space_between_cancel_and_ban_button
Jay Sitter [Mon, 26 Jun 2023 22:43:26 +0000 (18:43 -0400)]
Merge branch 'main' into feat/create-post-file-upload-a11y
Jay Sitter [Mon, 26 Jun 2023 22:42:44 +0000 (18:42 -0400)]
fix: Use Bootstrap file upload form control styles
Pascal de Vink [Mon, 26 Jun 2023 20:45:56 +0000 (21:45 +0100)]
Fix feedback on banning an unbanning
When banning or unbanning, the API call was done, but updating the
frontend failed. This caused a confusing experience for an admin, until
the page was reloaded.
Alec Armbruster [Mon, 26 Jun 2023 21:10:39 +0000 (17:10 -0400)]
fix vote button alignment
Alec Armbruster [Mon, 26 Jun 2023 20:09:11 +0000 (16:09 -0400)]
remove icon (#1618)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
dullbananas [Mon, 26 Jun 2023 19:57:23 +0000 (12:57 -0700)]
Indicate valid and invalid fields in signup form (#1450)
* Use was-validated class in signup form
* Update signup.tsx
* Update signup.tsx
---------
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Alec Armbruster [Mon, 26 Jun 2023 19:25:22 +0000 (15:25 -0400)]
capitalize button (#1616)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Alec Armbruster [Mon, 26 Jun 2023 18:54:38 +0000 (14:54 -0400)]
Move password reset form to separate route, view (#1390)
* rework password reset form
* make self-suggested changes
* cleaning
* validate in handlePasswordReset as well
* update submodule
* partially make suggested changes
* make suggested changes
* resolve merge conflicts
* resolve merge conflicts
* resolve merge conflicts
---------
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Jay Sitter [Mon, 26 Jun 2023 18:53:37 +0000 (14:53 -0400)]
feat(UI): Reduce base font size (#1591)
* feat: Reduce base font size
* chore: Build themes
---------
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Anansi [Mon, 26 Jun 2023 18:51:04 +0000 (20:51 +0200)]
Fix: missing semantic css classes and html elements (#1583)
* Fix: missing semantic css classes and html elements.
Now all pages have a main and aside element when a sidebar is present to facilitate custom theming. This does not impact the default behavior of the front.
* Fix: re-added communityref on main element
---------
Co-authored-by: 0xAnansi <0xAnansi@omageni.com>
Co-authored-by: Jay Sitter <jsit@users.noreply.github.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Jay Sitter [Mon, 26 Jun 2023 14:37:21 +0000 (10:37 -0400)]
chore(DX): Add prettier to eslint config for use with editors
SleeplessOne1917 [Sun, 25 Jun 2023 19:20:06 +0000 (15:20 -0400)]
Only give child comments colored borders
Dominic Mazzoni [Mon, 26 Jun 2023 04:11:23 +0000 (21:11 -0700)]
Associate NSFW label with its checkbox
Jay Sitter [Sun, 25 Jun 2023 23:36:19 +0000 (19:36 -0400)]
fix: Remove unnecessary string interpolations
Jay Sitter [Sun, 25 Jun 2023 22:18:47 +0000 (18:18 -0400)]
fix: Remove unnecessary class
Jay Sitter [Sun, 25 Jun 2023 22:18:16 +0000 (18:18 -0400)]
fix: Remove unnecessary classes
Jay Sitter [Sun, 25 Jun 2023 22:15:59 +0000 (18:15 -0400)]
fix: Restore removed classes