]> Untitled Git - lemmy-ui.git/log
lemmy-ui.git
17 months agoMerge pull request #1125 from skspade/1078-language-select-disable-warning
SleeplessOne1917 [Sat, 10 Jun 2023 01:00:34 +0000 (01:00 +0000)]
Merge pull request #1125 from skspade/1078-language-select-disable-warning

fix: Adds ability to hide language warning

17 months agoMerge branch 'main' into 1078-language-select-disable-warning
SleeplessOne1917 [Sat, 10 Jun 2023 00:58:04 +0000 (00:58 +0000)]
Merge branch 'main' into 1078-language-select-disable-warning

17 months agoMerge pull request #1140 from fheft/hide_saved_profile_tab
SleeplessOne1917 [Sat, 10 Jun 2023 00:50:14 +0000 (00:50 +0000)]
Merge pull request #1140 from fheft/hide_saved_profile_tab

Only show 'saved' tab on own profile page

17 months agoOnly show 'saved' tab on own profile page
Florian Heft [Fri, 9 Jun 2023 23:08:08 +0000 (01:08 +0200)]
Only show 'saved' tab on own profile page

* Users can't view saved posts of other users.
* fixes #1090

17 months agoMerge pull request #1136 from Adam-Shea/main
SleeplessOne1917 [Fri, 9 Jun 2023 22:29:47 +0000 (22:29 +0000)]
Merge pull request #1136 from Adam-Shea/main

17 months agoAdded Ctrl-K keybind
Adam Shea [Fri, 9 Jun 2023 21:30:12 +0000 (21:30 +0000)]
Added Ctrl-K keybind

17 months agoMerge branch 'main' into 1078-language-select-disable-warning
SleeplessOne1917 [Fri, 9 Jun 2023 16:41:28 +0000 (16:41 +0000)]
Merge branch 'main' into 1078-language-select-disable-warning

17 months agoFix quotes (#1131)
Nutomic [Fri, 9 Jun 2023 13:00:45 +0000 (15:00 +0200)]
Fix quotes (#1131)

Need to replace before rendering markdown, not after

17 months agoAlternative way to sanitize isoData (#1129)
Nutomic [Fri, 9 Jun 2023 12:17:02 +0000 (14:17 +0200)]
Alternative way to sanitize isoData (#1129)

* Alternative way to sanitize isoData

* use split/join instead of replaceAll

* Use sanitize, then restore > chars for markdown render

17 months agochore: switched to enabling language warning by prop rather than disabling
Sean Spade [Fri, 9 Jun 2023 03:29:24 +0000 (23:29 -0400)]
chore: switched to enabling language warning by prop rather than disabling

17 months agofix: Adds ability to hide language warning
Sean Spade [Thu, 8 Jun 2023 23:42:39 +0000 (19:42 -0400)]
fix: Adds ability to hide language warning

17 months agoMerge pull request #1118 from mr00z/main
SleeplessOne1917 [Thu, 8 Jun 2023 19:34:34 +0000 (19:34 +0000)]
Merge pull request #1118 from mr00z/main

17 months agostyles(#1067): Run prettier
Marcin Mróz [Thu, 8 Jun 2023 19:08:28 +0000 (21:08 +0200)]
styles(#1067): Run prettier

17 months agofix(#1067): Fix language not updating when editing post
Marcin Mróz [Thu, 8 Jun 2023 18:48:32 +0000 (20:48 +0200)]
fix(#1067): Fix language not updating when editing post

17 months agoFix isoData can contain user generated content (#1114)
0xDEADCADE [Thu, 8 Jun 2023 15:15:03 +0000 (15:15 +0000)]
Fix isoData can contain user generated content (#1114)

* Fix isoData can contain user generated content

* Fix formatting

17 months agoMerge pull request #1092 from thomasdouwes/patch-1
SleeplessOne1917 [Tue, 6 Jun 2023 13:15:47 +0000 (13:15 +0000)]
Merge pull request #1092 from thomasdouwes/patch-1

17 months agoAdd media-src * to Content-Security-Policy header
Thomas [Tue, 6 Jun 2023 12:45:17 +0000 (13:45 +0100)]
Add media-src * to Content-Security-Policy header

17 months agoMerge pull request #1089 from jwhitmarsh/fix/1039
SleeplessOne1917 [Mon, 5 Jun 2023 23:30:31 +0000 (23:30 +0000)]
Merge pull request #1089 from jwhitmarsh/fix/1039

Refactor lets to consts

17 months agoMerge branch 'main' into fix/1039
SleeplessOne1917 [Mon, 5 Jun 2023 23:27:50 +0000 (23:27 +0000)]
Merge branch 'main' into fix/1039

17 months agoMerge pull request #1088 from jwhitmarsh/fix/1079
SleeplessOne1917 [Mon, 5 Jun 2023 23:26:23 +0000 (23:26 +0000)]
Merge pull request #1088 from jwhitmarsh/fix/1079

Fix aria-label for language select

17 months agoRefactor lets to consts
James Whitmarsh [Mon, 5 Jun 2023 21:31:12 +0000 (22:31 +0100)]
Refactor lets to consts

17 months agoFix aria-label for language select
James Whitmarsh [Mon, 5 Jun 2023 21:06:54 +0000 (22:06 +0100)]
Fix aria-label for language select

17 months agoAdd aria attribute to track toggle status of up/down votes. (#1074)
SleeplessOne1917 [Mon, 5 Jun 2023 15:49:03 +0000 (15:49 +0000)]
Add aria attribute to track toggle status of up/down votes. (#1074)

17 months agoMerge pull request #1063 from mezzode/fix-sorting-help-url
SleeplessOne1917 [Sat, 3 Jun 2023 19:34:10 +0000 (19:34 +0000)]
Merge pull request #1063 from mezzode/fix-sorting-help-url

Fix sorting help link

17 months agoMerge branch 'main' into fix-sorting-help-url
SleeplessOne1917 [Sat, 3 Jun 2023 19:32:06 +0000 (19:32 +0000)]
Merge branch 'main' into fix-sorting-help-url

17 months agoMerge pull request #1064 from mezzode/fix-contributing-link
SleeplessOne1917 [Sat, 3 Jun 2023 19:25:13 +0000 (19:25 +0000)]
Merge pull request #1064 from mezzode/fix-contributing-link

Fix CONTRIBUTING link

17 months agoFix CONTRIBUTING link
mezzode [Sat, 3 Jun 2023 05:25:40 +0000 (22:25 -0700)]
Fix CONTRIBUTING link

17 months agoFix sorting help link
mezzode [Sat, 3 Jun 2023 05:18:00 +0000 (22:18 -0700)]
Fix sorting help link

17 months agoDo not refresh when community is selected in create post (#1042)
SleeplessOne1917 [Mon, 29 May 2023 13:01:52 +0000 (13:01 +0000)]
Do not refresh when community is selected in create post (#1042)

17 months agoUpdate translations (#1041)
SleeplessOne1917 [Mon, 29 May 2023 10:07:31 +0000 (10:07 +0000)]
Update translations (#1041)

17 months agoMerge pull request #1036 from LemmyNet/language-tag-changes
SleeplessOne1917 [Sun, 28 May 2023 23:01:43 +0000 (23:01 +0000)]
Merge pull request #1036 from LemmyNet/language-tag-changes

Changes to language tag

17 months agoremove badge-muted
Felix Ableitner [Thu, 25 May 2023 08:52:00 +0000 (10:52 +0200)]
remove badge-muted

17 months agoMerge branch 'main' into language-tag-changes
SleeplessOne1917 [Wed, 24 May 2023 13:34:04 +0000 (13:34 +0000)]
Merge branch 'main' into language-tag-changes

17 months agoMerge pull request #1031 from SleeplessOne1917/rate-limiting-tab
SleeplessOne1917 [Wed, 24 May 2023 13:33:05 +0000 (13:33 +0000)]
Merge pull request #1031 from SleeplessOne1917/rate-limiting-tab

Rate limiting tab

17 months agoMerge branch 'main' into rate-limiting-tab
SleeplessOne1917 [Wed, 24 May 2023 13:31:12 +0000 (13:31 +0000)]
Merge branch 'main' into rate-limiting-tab

17 months agouse badge-muted
Felix Ableitner [Wed, 24 May 2023 10:22:24 +0000 (12:22 +0200)]
use badge-muted

17 months agoNavbar fix 2 (#1038)
SleeplessOne1917 [Wed, 24 May 2023 00:42:19 +0000 (00:42 +0000)]
Navbar fix 2 (#1038)

* Fix navbar not closing on mobile when it should

* Get rid of unnecessary HTML tags

* Forgot to include this

17 months agoMerge branch 'rate-limiting-tab' of https://github.com/SleeplessOne1917/lemmy-ui...
abias [Tue, 23 May 2023 23:31:58 +0000 (19:31 -0400)]
Merge branch 'rate-limiting-tab' of https://github.com/SleeplessOne1917/lemmy-ui into rate-limiting-tab

17 months agoAdd translations
abias [Tue, 23 May 2023 23:31:33 +0000 (19:31 -0400)]
Add translations

17 months agoMerge branch 'main' into rate-limiting-tab
abias [Tue, 23 May 2023 23:14:44 +0000 (19:14 -0400)]
Merge branch 'main' into rate-limiting-tab

17 months agoMerge pull request #1024 from SleeplessOne1917/nicer-error-hnadling
SleeplessOne1917 [Tue, 23 May 2023 23:09:41 +0000 (23:09 +0000)]
Merge pull request #1024 from SleeplessOne1917/nicer-error-hnadling

Nicer error handling

17 months agoMerge branch 'main' into nicer-error-hnadling
SleeplessOne1917 [Tue, 23 May 2023 23:07:23 +0000 (23:07 +0000)]
Merge branch 'main' into nicer-error-hnadling

17 months agoMerge branch 'main' into rate-limiting-tab
SleeplessOne1917 [Tue, 23 May 2023 23:06:38 +0000 (23:06 +0000)]
Merge branch 'main' into rate-limiting-tab

17 months agoLint fix (#1035)
SleeplessOne1917 [Tue, 23 May 2023 22:55:36 +0000 (22:55 +0000)]
Lint fix (#1035)

* User HTTP instead of HTTPS when fetching icon in docker internal network

* Add debug statement.

* Revert "Add debug statement."

This reverts commit 7fbb12a4bde29d72c1bf55e0d0a954f19c863b4a.

* Revert "User HTTP instead of HTTPS when fetching icon in docker internal network"

This reverts commit 498de660bac1bffe15fef74a898c6d669794196a.

* Always replace host with internal host

* Fix lint script

* Remove prettier from pre-commit

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
17 months agoChanges to language tag
Felix Ableitner [Tue, 23 May 2023 20:16:54 +0000 (22:16 +0200)]
Changes to language tag

- Dont use bright white color because its not that important
- Hide tag in case of undetermined (doesnt add any information)

17 months agoHopefully stop lint command from erroring
abias [Tue, 23 May 2023 12:34:20 +0000 (08:34 -0400)]
Hopefully stop lint command from erroring

17 months agoMerge branch 'nicer-error-hnadling' of https://github.com/SleeplessOne1917/lemmy...
abias [Tue, 23 May 2023 12:10:28 +0000 (08:10 -0400)]
Merge branch 'nicer-error-hnadling' of https://github.com/SleeplessOne1917/lemmy-ui into nicer-error-hnadling

17 months agoRun prettier
abias [Tue, 23 May 2023 12:10:13 +0000 (08:10 -0400)]
Run prettier

17 months agoMerge branch 'main' into nicer-error-hnadling
SleeplessOne1917 [Tue, 23 May 2023 12:07:08 +0000 (12:07 +0000)]
Merge branch 'main' into nicer-error-hnadling

17 months agoMerge branch 'main' into nicer-error-hnadling
abias [Tue, 23 May 2023 12:01:09 +0000 (08:01 -0400)]
Merge branch 'main' into nicer-error-hnadling

17 months agoAlways replace host with internal host
abias [Mon, 22 May 2023 23:15:11 +0000 (19:15 -0400)]
Always replace host with internal host

17 months agoRevert "User HTTP instead of HTTPS when fetching icon in docker internal network"
abias [Mon, 22 May 2023 22:42:05 +0000 (18:42 -0400)]
Revert "User HTTP instead of HTTPS when fetching icon in docker internal network"

This reverts commit 498de660bac1bffe15fef74a898c6d669794196a.

17 months agoRevert "Add debug statement."
abias [Mon, 22 May 2023 22:41:33 +0000 (18:41 -0400)]
Revert "Add debug statement."

This reverts commit 7fbb12a4bde29d72c1bf55e0d0a954f19c863b4a.

17 months agoAdd debug statement.
abias [Mon, 22 May 2023 22:15:44 +0000 (18:15 -0400)]
Add debug statement.

17 months agoUser HTTP instead of HTTPS when fetching icon in docker internal network
abias [Mon, 22 May 2023 22:10:16 +0000 (18:10 -0400)]
User HTTP instead of HTTPS when fetching icon in docker internal network

17 months agoAdd error message paragraph
abias [Mon, 22 May 2023 16:57:52 +0000 (12:57 -0400)]
Add error message paragraph

17 months agoMerge branch 'nicer-error-hnadling' of https://github.com/SleeplessOne1917/lemmy...
abias [Mon, 22 May 2023 12:38:33 +0000 (08:38 -0400)]
Merge branch 'nicer-error-hnadling' of https://github.com/SleeplessOne1917/lemmy-ui into nicer-error-hnadling

17 months agoMake error code always display
abias [Mon, 22 May 2023 12:38:05 +0000 (08:38 -0400)]
Make error code always display

17 months agoMerge branch 'main' into nicer-error-hnadling
abias [Mon, 22 May 2023 11:47:17 +0000 (07:47 -0400)]
Merge branch 'main' into nicer-error-hnadling

17 months agoNavbar hide menu fix (#1033)
SleeplessOne1917 [Mon, 22 May 2023 03:31:08 +0000 (03:31 +0000)]
Navbar hide menu fix (#1033)

* Fix navbar not closing on mobile when it should

* Get rid of unnecessary HTML tags

17 months agoMerge branch 'main' into nicer-error-hnadling
SleeplessOne1917 [Mon, 22 May 2023 02:44:29 +0000 (02:44 +0000)]
Merge branch 'main' into nicer-error-hnadling

17 months agoShow parent comment for comment link. Fixes #1030 (#1032)
Dessalines [Mon, 22 May 2023 01:30:13 +0000 (21:30 -0400)]
Show parent comment for comment link. Fixes #1030 (#1032)

* Show parent comment for comment link. Fixes #1030

* Changing let to const.

17 months agoMerge branch 'rate-limiting-tab' of https://github.com/SleeplessOne1917/lemmy-ui...
abias [Sun, 21 May 2023 19:32:00 +0000 (15:32 -0400)]
Merge branch 'rate-limiting-tab' of https://github.com/SleeplessOne1917/lemmy-ui into rate-limiting-tab

17 months agoAdd heading tag to rate limit form
abias [Sun, 21 May 2023 19:31:42 +0000 (15:31 -0400)]
Add heading tag to rate limit form

17 months agoMerge branch 'main' into rate-limiting-tab
SleeplessOne1917 [Sun, 21 May 2023 19:13:03 +0000 (19:13 +0000)]
Merge branch 'main' into rate-limiting-tab

17 months agoRemove console log
abias [Sun, 21 May 2023 19:11:20 +0000 (15:11 -0400)]
Remove console log

17 months agoMerge branch 'main' into nicer-error-hnadling
SleeplessOne1917 [Sun, 21 May 2023 18:46:20 +0000 (18:46 +0000)]
Merge branch 'main' into nicer-error-hnadling

17 months agoInclude forgotten translation
abias [Sun, 21 May 2023 18:42:17 +0000 (14:42 -0400)]
Include forgotten translation

17 months agoRemove console logs
abias [Sun, 21 May 2023 18:41:41 +0000 (14:41 -0400)]
Remove console logs

17 months agoAdd web share for browsers that have it enabled (#1029)
SleeplessOne1917 [Sun, 21 May 2023 18:17:56 +0000 (18:17 +0000)]
Add web share for browsers that have it enabled (#1029)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
17 months agoShow language on posts and comments (#1026)
SleeplessOne1917 [Sun, 21 May 2023 18:13:25 +0000 (18:13 +0000)]
Show language on posts and comments (#1026)

* Show language on posts and comments

* Revert "Show language on posts and comments"

This reverts commit 54267903fc6941762030ec20daa048d47662d50d.

* Change language indicator look

17 months agoIncorporate translations
abias [Sun, 21 May 2023 18:13:06 +0000 (14:13 -0400)]
Incorporate translations

17 months agoAllow user to submit rate limit changes
abias [Sun, 21 May 2023 16:40:22 +0000 (12:40 -0400)]
Allow user to submit rate limit changes

17 months agoPut rate limit options in its own tab
abias [Sun, 21 May 2023 13:07:22 +0000 (09:07 -0400)]
Put rate limit options in its own tab

17 months agoRefactor tabs into reuseable component
abias [Sat, 20 May 2023 19:39:12 +0000 (15:39 -0400)]
Refactor tabs into reuseable component

17 months agoMerge branch 'nicer-error-hnadling' of https://github.com/SleeplessOne1917/lemmy...
abias [Fri, 19 May 2023 17:06:34 +0000 (13:06 -0400)]
Merge branch 'nicer-error-hnadling' of https://github.com/SleeplessOne1917/lemmy-ui into nicer-error-hnadling

17 months agoReplace link to issue tracker with proper support spaces
abias [Fri, 19 May 2023 17:06:14 +0000 (13:06 -0400)]
Replace link to issue tracker with proper support spaces

18 months agoMerge branch 'main' into nicer-error-hnadling
SleeplessOne1917 [Wed, 17 May 2023 01:10:51 +0000 (01:10 +0000)]
Merge branch 'main' into nicer-error-hnadling

18 months agoFix isoData bug
abias [Wed, 17 May 2023 01:07:57 +0000 (21:07 -0400)]
Fix isoData bug

18 months agoRefactor how error data is passed from server to client
abias [Wed, 17 May 2023 00:34:15 +0000 (20:34 -0400)]
Refactor how error data is passed from server to client

18 months agoMake admin UI for allowing/blocking instances easier to work with (#1012)
SleeplessOne1917 [Tue, 16 May 2023 13:08:52 +0000 (13:08 +0000)]
Make admin UI for allowing/blocking instances easier to work with (#1012)

* Make admin UI for allowing/blocking instances easier to work with

* Tweak styles

* Remove log statements

* Trim instance names and slight refactor

* Use linkEvent

18 months agoGet rid or forced error
abias [Tue, 16 May 2023 01:02:34 +0000 (21:02 -0400)]
Get rid or forced error

18 months agoCleanup
abias [Tue, 16 May 2023 00:56:08 +0000 (20:56 -0400)]
Cleanup

18 months agoMerge branch 'main' into nicer-error-hnadling
abias [Tue, 16 May 2023 00:34:45 +0000 (20:34 -0400)]
Merge branch 'main' into nicer-error-hnadling

18 months agoMerge pull request #1023 from LemmyNet/remove_bigints
SleeplessOne1917 [Mon, 15 May 2023 22:21:34 +0000 (22:21 +0000)]
Merge pull request #1023 from LemmyNet/remove_bigints

Changing all bigints to numbers

18 months agoChanging all bigints to numbers
Dessalines [Mon, 15 May 2023 19:53:29 +0000 (15:53 -0400)]
Changing all bigints to numbers

18 months agoUpgrade lemmy-js-client to work with bigints. Fixes #1018 (#1022)
Dessalines [Mon, 15 May 2023 18:39:11 +0000 (14:39 -0400)]
Upgrade lemmy-js-client to work with bigints. Fixes #1018 (#1022)

18 months agoRedirect from pages that require auth on logout (#1016)
SleeplessOne1917 [Mon, 15 May 2023 15:22:35 +0000 (15:22 +0000)]
Redirect from pages that require auth on logout (#1016)

* Redirect fomr pages that require auth on logout

* Extract helper function

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
18 months agoFix things not working in production build
abias [Mon, 15 May 2023 03:45:21 +0000 (23:45 -0400)]
Fix things not working in production build

18 months agoFix error page not showing when site not fetched and adjust styles
abias [Mon, 15 May 2023 03:01:39 +0000 (23:01 -0400)]
Fix error page not showing when site not fetched and adjust styles

18 months agoHandle error when site not returned
abias [Sun, 14 May 2023 23:49:55 +0000 (19:49 -0400)]
Handle error when site not returned

18 months agoUse node env instead of version for environment specific logic
abias [Sun, 14 May 2023 20:25:03 +0000 (16:25 -0400)]
Use node env instead of version for environment specific logic

18 months agoRedirect to login and remove duplicated code
abias [Sun, 14 May 2023 19:28:38 +0000 (15:28 -0400)]
Redirect to login and remove duplicated code

18 months agoFix server redirect error
abias [Sun, 14 May 2023 18:59:42 +0000 (14:59 -0400)]
Fix server redirect error

18 months agoMerge branch 'main' into nicer-error-hnadling
abias [Sun, 14 May 2023 15:09:13 +0000 (11:09 -0400)]
Merge branch 'main' into nicer-error-hnadling

18 months agoSet up logic for handling errors
abias [Sun, 14 May 2023 15:08:06 +0000 (11:08 -0400)]
Set up logic for handling errors

18 months agoExtract helper function
abias [Sun, 14 May 2023 03:09:05 +0000 (23:09 -0400)]
Extract helper function

18 months agoDont preselect new post language (#1008)
Nutomic [Sat, 13 May 2023 20:07:05 +0000 (22:07 +0200)]
Dont preselect new post language (#1008)

Lemmy-ui currently preselects the first language in the user
settings when creating a new post or comment. This is a bad
idea because this language might not actually be allowed in
the community. It is better to pass the language as None if
the user didnt specify it explicitly, because then the backend
can smartly choose a language based on the overlap of user
languages and community languages.

This fixes the problem described in
[this thread](https://lemmy.ml/post/1066608), where a user
tries to post in a community that has only English allowed,
with all languages enabled in user settings. In this case
lemmy-ui preselects "undetermined language" as default, which
is not allowed and results in an error. This PR fixes the issue
because it lets the backend automatically select the correct
language (English).

18 months agoUpdate JS client to version with fixed JSON serialization (#1017)
SleeplessOne1917 [Sat, 13 May 2023 17:36:36 +0000 (17:36 +0000)]
Update JS client to version with fixed JSON serialization (#1017)

18 months agoRedirect fomr pages that require auth on logout
SleeplessOne1917 [Sat, 13 May 2023 14:38:43 +0000 (10:38 -0400)]
Redirect fomr pages that require auth on logout