lemmy-ui.git
16 months agoAttempt to fix inability to logout from some instances (subdomains) (#1809)
Alec Armbruster [Tue, 4 Jul 2023 16:52:14 +0000 (12:52 -0400)]
Attempt to fix inability to logout from some instances (subdomains) (#1809)

* slight refactor, tweak params

* fix paths

* remove domain

* remove expires

* Use maxAge instead of expires

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
16 months agofeat(theme): Vaporwave (#1682)
SleeplessOne1917 [Tue, 4 Jul 2023 16:13:31 +0000 (16:13 +0000)]
feat(theme): Vaporwave (#1682)

* Make vaporwave dark theme work

* Tweak vaporwave light theme

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
16 months agofix: Revert smaller text size (#1795)
Jay Sitter [Tue, 4 Jul 2023 15:58:54 +0000 (11:58 -0400)]
fix: Revert smaller text size (#1795)

16 months agoUpdated the regex for isAuthPath to reduce false positive hits (#1806)
Security-Chief-Odo [Tue, 4 Jul 2023 15:13:04 +0000 (10:13 -0500)]
Updated the regex for isAuthPath to reduce false positive hits (#1806)

* OUpdated the regex for isAuthPath to reduce false positive hits as described in issue #1704

* Updated the regex for isAuthPath to reduce false positive hits - Re-ran Linting

16 months agoMerge pull request #1797 from jsit/fix/markdown-toolbar-button-focus
SleeplessOne1917 [Tue, 4 Jul 2023 05:30:10 +0000 (05:30 +0000)]
Merge pull request #1797 from jsit/fix/markdown-toolbar-button-focus

fix: Add focus border to markdown toolbar buttons

16 months agofix: Add focus border to markdown toolbar buttons
Jay Sitter [Tue, 4 Jul 2023 04:53:31 +0000 (00:53 -0400)]
fix: Add focus border to markdown toolbar buttons

16 months agofix: Add data-bs-theme attribute for user dark/light modes (#1782)
Jay Sitter [Tue, 4 Jul 2023 00:02:24 +0000 (20:02 -0400)]
fix: Add data-bs-theme attribute for user dark/light modes (#1782)

* fix: Add data-bs-theme attribute for user dark/light modes

* fix: Remove unnecessary optional chain

* fix: Oops -- add missing files

16 months agoMerge pull request #1771 from jsit/fix/fix-long-words-in-titles-overflow
SleeplessOne1917 [Mon, 3 Jul 2023 21:30:32 +0000 (21:30 +0000)]
Merge pull request #1771 from jsit/fix/fix-long-words-in-titles-overflow

fix: Break text on post titles so long words don't overflow

16 months agoMerge remote-tracking branch 'lemmy/main' into fix/fix-long-words-in-titles-overflow
Jay Sitter [Mon, 3 Jul 2023 21:13:33 +0000 (17:13 -0400)]
Merge remote-tracking branch 'lemmy/main' into fix/fix-long-words-in-titles-overflow

* lemmy/main:
  v0.18.1-rc.9
  fix: Fix comment collapse and vote buttons not having focus style (#1789)
  Add missing modlog reasons (#1787)
  Fix search page breaking on initial load when logged in (#1781)
  feat: Add PR template (#1785)
  v0.18.1-rc.8
  Fix profile loading spinner
  fix: Move getRoleLabelPill to the only component that uses it
  fix: Remove unused hasBadges() function
  fix: Fix badge alignment and break out into component
  fix: Fix up filter row gaps and margins a little
  fix: Fix heading levels
  fix: Simplify row classes a bit
  fix: Fix some gaps in search filters
  fix: Fix row gap on search options
  fix: Add bottom margin to inbox controls
  fix: Small cleanup to search/inbox controls

16 months agov0.18.1-rc.9
Dessalines [Mon, 3 Jul 2023 20:55:54 +0000 (16:55 -0400)]
v0.18.1-rc.9

16 months agofix: Fix comment collapse and vote buttons not having focus style (#1789)
Jay Sitter [Mon, 3 Jul 2023 20:53:10 +0000 (16:53 -0400)]
fix: Fix comment collapse and vote buttons not having focus style (#1789)

16 months agoAdd missing modlog reasons (#1787)
SleeplessOne1917 [Mon, 3 Jul 2023 20:52:33 +0000 (20:52 +0000)]
Add missing modlog reasons (#1787)

16 months agoFix search page breaking on initial load when logged in (#1781)
SleeplessOne1917 [Mon, 3 Jul 2023 20:43:52 +0000 (20:43 +0000)]
Fix search page breaking on initial load when logged in (#1781)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
16 months agofeat: Add PR template (#1785)
Jay Sitter [Mon, 3 Jul 2023 18:18:22 +0000 (14:18 -0400)]
feat: Add PR template (#1785)

16 months agov0.18.1-rc.8
SleeplessOne1917 [Mon, 3 Jul 2023 14:22:12 +0000 (10:22 -0400)]
v0.18.1-rc.8

16 months agoMerge pull request #1780 from m-gail/fix-profile-loading-spinner
SleeplessOne1917 [Mon, 3 Jul 2023 14:15:22 +0000 (14:15 +0000)]
Merge pull request #1780 from m-gail/fix-profile-loading-spinner

Fix profile loading spinner

16 months agoMerge branch 'main' into fix-profile-loading-spinner
SleeplessOne1917 [Mon, 3 Jul 2023 14:12:14 +0000 (14:12 +0000)]
Merge branch 'main' into fix-profile-loading-spinner

16 months agoMerge pull request #1770 from jsit/fix/fix-badges-spacing-componentize
SleeplessOne1917 [Mon, 3 Jul 2023 12:35:35 +0000 (12:35 +0000)]
Merge pull request #1770 from jsit/fix/fix-badges-spacing-componentize

fix: Fix badge alignment and break out into component

16 months agoMerge branch 'main' into fix/fix-badges-spacing-componentize
SleeplessOne1917 [Mon, 3 Jul 2023 12:29:55 +0000 (12:29 +0000)]
Merge branch 'main' into fix/fix-badges-spacing-componentize

16 months agoFix profile loading spinner
m-gail [Mon, 3 Jul 2023 10:56:22 +0000 (12:56 +0200)]
Fix profile loading spinner

16 months agoMerge pull request #1762 from jsit/fix/h1-page-titles
SleeplessOne1917 [Mon, 3 Jul 2023 08:07:17 +0000 (08:07 +0000)]
Merge pull request #1762 from jsit/fix/h1-page-titles

fix: Fix heading levels

16 months agofix: Break text on post titles so long words don't overflow
Jay Sitter [Mon, 3 Jul 2023 00:20:08 +0000 (20:20 -0400)]
fix: Break text on post titles so long words don't overflow

16 months agoMerge branch 'main' into fix/h1-page-titles
Jay Sitter [Mon, 3 Jul 2023 00:08:55 +0000 (20:08 -0400)]
Merge branch 'main' into fix/h1-page-titles

16 months agoMerge pull request #1760 from jsit/fix/use-row-in-filters
SleeplessOne1917 [Mon, 3 Jul 2023 00:02:16 +0000 (00:02 +0000)]
Merge pull request #1760 from jsit/fix/use-row-in-filters

fix: Small cleanup to search/inbox controls

16 months agoMerge branch 'main' into fix/use-row-in-filters
SleeplessOne1917 [Sun, 2 Jul 2023 23:56:46 +0000 (23:56 +0000)]
Merge branch 'main' into fix/use-row-in-filters

16 months agoMerge branch 'main' into fix/h1-page-titles
Jay Sitter [Sun, 2 Jul 2023 23:54:03 +0000 (19:54 -0400)]
Merge branch 'main' into fix/h1-page-titles

16 months agoMerge branch 'main' into fix/fix-badges-spacing-componentize
Jay Sitter [Sun, 2 Jul 2023 23:47:41 +0000 (19:47 -0400)]
Merge branch 'main' into fix/fix-badges-spacing-componentize

16 months agofix: Move getRoleLabelPill to the only component that uses it
Jay Sitter [Sun, 2 Jul 2023 23:47:12 +0000 (19:47 -0400)]
fix: Move getRoleLabelPill to the only component that uses it

16 months agoMerge pull request #1757 from jsit/fix/expand-button-when-no-link
SleeplessOne1917 [Sun, 2 Jul 2023 23:23:08 +0000 (23:23 +0000)]
Merge pull request #1757 from jsit/fix/expand-button-when-no-link

fix: Post expand button was not showing if body-only post

16 months agoMerge branch 'main' into fix/expand-button-when-no-link
Alec Armbruster [Sun, 2 Jul 2023 23:20:32 +0000 (19:20 -0400)]
Merge branch 'main' into fix/expand-button-when-no-link

16 months agofix: Remove unused hasBadges() function
Jay Sitter [Sun, 2 Jul 2023 23:00:06 +0000 (19:00 -0400)]
fix: Remove unused hasBadges() function

16 months agoMerge branch 'main' into fix/fix-badges-spacing-componentize
Jay Sitter [Sun, 2 Jul 2023 22:59:15 +0000 (18:59 -0400)]
Merge branch 'main' into fix/fix-badges-spacing-componentize

16 months agofix: Fix badge alignment and break out into component
Jay Sitter [Sun, 2 Jul 2023 22:48:35 +0000 (18:48 -0400)]
fix: Fix badge alignment and break out into component

16 months agoMerge pull request #1766 from LemmyNet/auth-error-message
SleeplessOne1917 [Sun, 2 Jul 2023 22:37:37 +0000 (22:37 +0000)]
Merge pull request #1766 from LemmyNet/auth-error-message

Prevent JWT token from showing up on error page

16 months agoMerge branch 'main' into auth-error-message
SleeplessOne1917 [Sun, 2 Jul 2023 22:35:17 +0000 (22:35 +0000)]
Merge branch 'main' into auth-error-message

16 months agoMerge pull request #1577 from jsit/feat/create-post-file-upload-a11y
SleeplessOne1917 [Sun, 2 Jul 2023 22:27:42 +0000 (22:27 +0000)]
Merge pull request #1577 from jsit/feat/create-post-file-upload-a11y

feat(a11y): Change behavior of some file upload fields

16 months agoMerge branch 'main' into feat/create-post-file-upload-a11y
SleeplessOne1917 [Sun, 2 Jul 2023 22:22:15 +0000 (22:22 +0000)]
Merge branch 'main' into feat/create-post-file-upload-a11y

16 months agoMerge branch 'auth-error-message' of https://github.com/LemmyNet/lemmy-ui into auth...
SleeplessOne1917 [Sun, 2 Jul 2023 22:19:04 +0000 (18:19 -0400)]
Merge branch 'auth-error-message' of https://github.com/LemmyNet/lemmy-ui into auth-error-message

16 months agoUpdate yarn lock
SleeplessOne1917 [Sun, 2 Jul 2023 22:18:33 +0000 (18:18 -0400)]
Update yarn lock

16 months agoMerge branch 'main' into auth-error-message
SleeplessOne1917 [Sun, 2 Jul 2023 22:14:46 +0000 (22:14 +0000)]
Merge branch 'main' into auth-error-message

16 months agoMove export to barrel file
SleeplessOne1917 [Sun, 2 Jul 2023 22:14:13 +0000 (18:14 -0400)]
Move export to barrel file

16 months agoMerge pull request #1764 from jsit/fix/vote-button-no-spinners-1761
Jay Sitter [Sun, 2 Jul 2023 21:39:33 +0000 (17:39 -0400)]
Merge pull request #1764 from jsit/fix/vote-button-no-spinners-1761

fix: Fix vote buttons not showing spinners while registering vote #1761

16 months agoMerge branch 'main' into fix/vote-button-no-spinners-1761
Jay Sitter [Sun, 2 Jul 2023 21:36:52 +0000 (17:36 -0400)]
Merge branch 'main' into fix/vote-button-no-spinners-1761

16 months agoMerge branch 'main' into feat/create-post-file-upload-a11y
Jay Sitter [Sun, 2 Jul 2023 21:33:01 +0000 (17:33 -0400)]
Merge branch 'main' into feat/create-post-file-upload-a11y

16 months agofix: Fix avatar image overlay aspect ratio
Jay Sitter [Sun, 2 Jul 2023 21:23:48 +0000 (17:23 -0400)]
fix: Fix avatar image overlay aspect ratio

16 months agofix: Fix circle image aspect ratio
Jay Sitter [Sun, 2 Jul 2023 21:14:00 +0000 (17:14 -0400)]
fix: Fix circle image aspect ratio

16 months agofix: Add some spacing between upload field and image; fix circle image aspect ratio
Jay Sitter [Sun, 2 Jul 2023 20:08:55 +0000 (16:08 -0400)]
fix: Add some spacing between upload field and image; fix circle image aspect ratio

16 months agoPrevent JWT token from showing up on error page
SleeplessOne1917 [Sun, 2 Jul 2023 19:45:45 +0000 (15:45 -0400)]
Prevent JWT token from showing up on error page

16 months agoMerge pull request #1763 from jsit/fix/fix-joined-check-color
SleeplessOne1917 [Sun, 2 Jul 2023 19:28:40 +0000 (19:28 +0000)]
Merge pull request #1763 from jsit/fix/fix-joined-check-color

fix: Fix joined button check color

16 months agoMerge branch 'main' into fix/fix-joined-check-color
SleeplessOne1917 [Sun, 2 Jul 2023 19:25:36 +0000 (19:25 +0000)]
Merge branch 'main' into fix/fix-joined-check-color

16 months agoMerge branch 'main' into feat/create-post-file-upload-a11y
Jay Sitter [Sun, 2 Jul 2023 19:24:18 +0000 (15:24 -0400)]
Merge branch 'main' into feat/create-post-file-upload-a11y

16 months agoMerge pull request #1732 from sunaurus/undefined_quote
Jay Sitter [Sun, 2 Jul 2023 19:14:38 +0000 (15:14 -0400)]
Merge pull request #1732 from sunaurus/undefined_quote

Fix markdown editor quote bugs

16 months agoMerge branch 'main' into undefined_quote
Jay Sitter [Sun, 2 Jul 2023 19:11:48 +0000 (15:11 -0400)]
Merge branch 'main' into undefined_quote

16 months agofix: Fix vote buttons not showing spinners while registering vote #1761
Jay Sitter [Sun, 2 Jul 2023 19:07:24 +0000 (15:07 -0400)]
fix: Fix vote buttons not showing spinners while registering vote #1761

16 months agofix: Fix joined button check color
Jay Sitter [Sun, 2 Jul 2023 18:47:45 +0000 (14:47 -0400)]
fix: Fix joined button check color

16 months agofix: Fix up filter row gaps and margins a little
Jay Sitter [Sun, 2 Jul 2023 18:42:30 +0000 (14:42 -0400)]
fix: Fix up filter row gaps and margins a little

16 months agofix: Fix heading levels
Jay Sitter [Sun, 2 Jul 2023 18:29:56 +0000 (14:29 -0400)]
fix: Fix heading levels

16 months agofix: Simplify row classes a bit
Jay Sitter [Sun, 2 Jul 2023 17:43:28 +0000 (13:43 -0400)]
fix: Simplify row classes a bit

16 months agofix: Fix some gaps in search filters
Jay Sitter [Sun, 2 Jul 2023 17:36:00 +0000 (13:36 -0400)]
fix: Fix some gaps in search filters

16 months agofix: Fix row gap on search options
Jay Sitter [Sun, 2 Jul 2023 17:26:07 +0000 (13:26 -0400)]
fix: Fix row gap on search options

16 months agofix: Add bottom margin to inbox controls
Jay Sitter [Sun, 2 Jul 2023 17:22:03 +0000 (13:22 -0400)]
fix: Add bottom margin to inbox controls

16 months agofix: Small cleanup to search/inbox controls
Jay Sitter [Sun, 2 Jul 2023 16:31:56 +0000 (12:31 -0400)]
fix: Small cleanup to search/inbox controls

16 months agoMerge pull request #1730 from sunaurus/dm_fix
Jay Sitter [Sun, 2 Jul 2023 15:49:38 +0000 (11:49 -0400)]
Merge pull request #1730 from sunaurus/dm_fix

Fix DM replies not working

16 months agoMerge branch 'main' into fix/expand-button-when-no-link
SleeplessOne1917 [Sun, 2 Jul 2023 15:48:24 +0000 (15:48 +0000)]
Merge branch 'main' into fix/expand-button-when-no-link

16 months agoMerge branch 'main' into dm_fix
Jay Sitter [Sun, 2 Jul 2023 15:46:51 +0000 (11:46 -0400)]
Merge branch 'main' into dm_fix

16 months agoMerge pull request #1756 from jsit/fix/list-view-vote-button-width
SleeplessOne1917 [Sun, 2 Jul 2023 15:28:44 +0000 (15:28 +0000)]
Merge pull request #1756 from jsit/fix/list-view-vote-button-width

fix: Fix vote buttons in list view variable width

16 months agofix: Update comment to reflect new logic
Jay Sitter [Sun, 2 Jul 2023 15:26:44 +0000 (11:26 -0400)]
fix: Update comment to reflect new logic

16 months agofix: Post expand button was not showing if body-only post
Jay Sitter [Sun, 2 Jul 2023 15:23:42 +0000 (11:23 -0400)]
fix: Post expand button was not showing if body-only post

16 months agoMerge branch 'main' into fix/list-view-vote-button-width
SleeplessOne1917 [Sun, 2 Jul 2023 15:23:23 +0000 (15:23 +0000)]
Merge branch 'main' into fix/list-view-vote-button-width

16 months agofix: Fix vote buttons in list view variable width
Jay Sitter [Sun, 2 Jul 2023 15:20:02 +0000 (11:20 -0400)]
fix: Fix vote buttons in list view variable width

16 months agoMerge pull request #1755 from jsit/fix/thumb-button-transparent-1754
SleeplessOne1917 [Sun, 2 Jul 2023 15:06:03 +0000 (15:06 +0000)]
Merge pull request #1755 from jsit/fix/thumb-button-transparent-1754

fix: Fix thumb buttons having gray background #1754

16 months agofix: Fix thumb buttons having gray background #1754
Jay Sitter [Sun, 2 Jul 2023 15:02:53 +0000 (11:02 -0400)]
fix: Fix thumb buttons having gray background #1754

16 months agoMerge pull request #1750 from paradox460/main
SleeplessOne1917 [Sun, 2 Jul 2023 11:03:10 +0000 (11:03 +0000)]
Merge pull request #1750 from paradox460/main

Add support for Command (⌘) key shortcuts on Markdown text areas

16 months agoAdd metaKey to markdown-textarea, for macos
Jeff Sandberg [Sun, 2 Jul 2023 10:11:09 +0000 (04:11 -0600)]
Add metaKey to markdown-textarea, for macos

On MacOS, Ctrl is less commonly used than Command (⌘).
Javascript expresses command as `metaKey`.

This allows for _either_ Ctrl or Command to be used in the Markdown text
area.

Note that on Windows, on some browsers, the "windows" key is labeled as meta, so it would
work on windows as well.

http://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/metaKey

16 months agoMerge pull request #1741 from sunaurus/cookie_path
SleeplessOne1917 [Sat, 1 Jul 2023 23:33:56 +0000 (23:33 +0000)]
Merge pull request #1741 from sunaurus/cookie_path

Fix jwt cookie path

16 months agoMerge branch 'main' into undefined_quote
SleeplessOne1917 [Sat, 1 Jul 2023 23:32:59 +0000 (23:32 +0000)]
Merge branch 'main' into undefined_quote

16 months agoFix jwt cookie path
sunaurus [Sat, 1 Jul 2023 23:04:44 +0000 (02:04 +0300)]
Fix jwt cookie path

16 months agoMerge pull request #1729 from sunaurus/locale_fallback
SleeplessOne1917 [Sat, 1 Jul 2023 22:39:22 +0000 (22:39 +0000)]
Merge pull request #1729 from sunaurus/locale_fallback

Add fallback date-fns locale import

16 months agoFix quotedText bugs in markdown editor
sunaurus [Sat, 1 Jul 2023 16:46:42 +0000 (19:46 +0300)]
Fix quotedText bugs in markdown editor

16 months agoFix DM replies
sunaurus [Sat, 1 Jul 2023 16:25:52 +0000 (19:25 +0300)]
Fix DM replies

16 months agoAdd fallback date-fns locale import
sunaurus [Sat, 1 Jul 2023 15:57:19 +0000 (18:57 +0300)]
Add fallback date-fns locale import

16 months agov0.18.1-rc.7
SleeplessOne1917 [Fri, 30 Jun 2023 20:26:09 +0000 (16:26 -0400)]
v0.18.1-rc.7

16 months agov0.18.1-rc.6
SleeplessOne1917 [Fri, 30 Jun 2023 20:26:00 +0000 (16:26 -0400)]
v0.18.1-rc.6

16 months agoMerge pull request #1721 from sunaurus/date_fns_lang
SleeplessOne1917 [Fri, 30 Jun 2023 19:11:37 +0000 (15:11 -0400)]
Merge pull request #1721 from sunaurus/date_fns_lang

Fix date-fns locale import failing for some locales

16 months agoFix date-fns locale import failing for some locales
sunaurus [Fri, 30 Jun 2023 16:59:44 +0000 (19:59 +0300)]
Fix date-fns locale import failing for some locales

16 months agoMerge pull request #1719 from LemmyNet/fix-cookie-in-catch-all
SleeplessOne1917 [Fri, 30 Jun 2023 14:40:41 +0000 (10:40 -0400)]
Merge pull request #1719 from LemmyNet/fix-cookie-in-catch-all

Fix nonexistent property `req.cookies`

16 months agofix req.cookie nonexistent -.-
Alec Armbruster [Fri, 30 Jun 2023 14:35:57 +0000 (10:35 -0400)]
fix req.cookie nonexistent -.-

16 months agoMerge pull request #1718 from LemmyNet/fix-cache-auth
SleeplessOne1917 [Fri, 30 Jun 2023 14:17:14 +0000 (10:17 -0400)]
Merge pull request #1718 from LemmyNet/fix-cache-auth

Fix broken `user.auth()` method on `middleware.ts`

16 months agoMerge branch 'fix-cache-auth' of https://github.com/LemmyNet/lemmy-ui into fix-cache...
Alec Armbruster [Fri, 30 Jun 2023 14:04:27 +0000 (10:04 -0400)]
Merge branch 'fix-cache-auth' of https://github.com/LemmyNet/lemmy-ui into fix-cache-auth

16 months agowip
Alec Armbruster [Fri, 30 Jun 2023 14:04:19 +0000 (10:04 -0400)]
wip

16 months agowip
Alec Armbruster [Fri, 30 Jun 2023 14:04:01 +0000 (10:04 -0400)]
wip

16 months agoMerge branch 'main' into fix-cache-auth
SleeplessOne1917 [Fri, 30 Jun 2023 13:52:31 +0000 (09:52 -0400)]
Merge branch 'main' into fix-cache-auth

16 months agoMerge branch 'main' of https://github.com/LemmyNet/lemmy-ui into fix-cache-auth
Alec Armbruster [Fri, 30 Jun 2023 13:52:15 +0000 (09:52 -0400)]
Merge branch 'main' of https://github.com/LemmyNet/lemmy-ui into fix-cache-auth

16 months agoEnforce SameSite=Strict (#1713)
Diamond [Fri, 30 Jun 2023 13:51:41 +0000 (06:51 -0700)]
Enforce SameSite=Strict (#1713)

16 months agofix service worker path
Alec Armbruster [Fri, 30 Jun 2023 13:50:19 +0000 (09:50 -0400)]
fix service worker path

16 months agofix cache auth method
Alec Armbruster [Fri, 30 Jun 2023 13:42:09 +0000 (09:42 -0400)]
fix cache auth method

16 months agoMerge pull request #1711 from LemmyNet/cache-dev
SleeplessOne1917 [Thu, 29 Jun 2023 23:26:40 +0000 (19:26 -0400)]
Merge pull request #1711 from LemmyNet/cache-dev

Fix some issues

16 months agoFix authorized route false flag
SleeplessOne1917 [Thu, 29 Jun 2023 22:12:22 +0000 (18:12 -0400)]
Fix authorized route false flag

16 months agoFix dev caching issue
SleeplessOne1917 [Thu, 29 Jun 2023 20:33:08 +0000 (16:33 -0400)]
Fix dev caching issue

16 months agov0.18.1-rc.5
Dessalines [Thu, 29 Jun 2023 20:20:38 +0000 (16:20 -0400)]
v0.18.1-rc.5