]> Untitled Git - lemmy-ui.git/log
lemmy-ui.git
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 agoRemove "banned" badge from posts and comments (fixes 899) (#1011)
Nutomic [Fri, 12 May 2023 01:15:04 +0000 (03:15 +0200)]
Remove "banned" badge from posts and comments (fixes 899) (#1011)

It doesnt need to be emphasized so much that a user is banned.
Anyway this can already be seen in the mod log. For users who
are banned from the entire site it is still shown on the profile.

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
18 months agoAdd support for PWA (#1005)
SleeplessOne1917 [Fri, 12 May 2023 01:07:59 +0000 (01:07 +0000)]
Add support for PWA (#1005)

* Add logic for dynamically generating web manifest

* Make PWA icon get autogenerated

* Make service worker work

* Tweak things for PWA

* Handle apple icons and refactor

* Update prod dockerfile

* Remove jimp

* Remove unnecessary option

* Use different function syntax

18 months agoUsing auto-generated types from ts-rs. (#1003)
Dessalines [Thu, 11 May 2023 18:32:32 +0000 (14:32 -0400)]
Using auto-generated types from ts-rs. (#1003)

* Using auto-generated types from ts-rs.

- Fixes #998
- Added support for new `GetFederatedInstances`
- Fixed a few bugs in the process.

* Update imports to use SleeplessOne1917's fix.

18 months agoFixing some outdated docs links. Fixes #1006 (#1007)
Dessalines [Thu, 11 May 2023 17:13:09 +0000 (13:13 -0400)]
Fixing some outdated docs links. Fixes #1006 (#1007)

18 months agoUpgrading deps. (#1004)
Dessalines [Thu, 11 May 2023 17:06:32 +0000 (13:06 -0400)]
Upgrading deps. (#1004)

18 months agoPrettier css (#995)
Dessalines [Thu, 4 May 2023 02:09:27 +0000 (22:09 -0400)]
Prettier css (#995)

* Add prettier lint for css and scss files.

* Fixing eslint issue.

* Run prettier

18 months agoAdd content warning to modlog and fix modlog routing bug (#994)
SleeplessOne1917 [Thu, 4 May 2023 02:06:59 +0000 (02:06 +0000)]
Add content warning to modlog and fix modlog routing bug (#994)

* Add content warning to modlog and fix modlog routing bug

* Add translation logic

18 months agoGet rid of "No Results" showing while search is still loading. (#997)
SleeplessOne1917 [Thu, 4 May 2023 01:47:37 +0000 (01:47 +0000)]
Get rid of "No Results" showing while search is still loading. (#997)

18 months agoAdd SleeplessOne1917 to Codeowners.
Dessalines [Wed, 3 May 2023 16:57:12 +0000 (12:57 -0400)]
Add SleeplessOne1917 to Codeowners.

18 months agoHandle when logged out (#986)
SleeplessOne1917 [Wed, 3 May 2023 16:09:47 +0000 (16:09 +0000)]
Handle when logged out (#986)

* Add logged out messages to profile and community

* Remove errors when not logged in

* Add logged out translations

19 months agoMake pages use query params instead of route params where appropriate (#977)
SleeplessOne1917 [Sat, 15 Apr 2023 14:47:10 +0000 (14:47 +0000)]
Make pages use query params instead of route params where appropriate (#977)

* feat: Add multiple image upload

* refactor: Slight cleanup

* feat: Add progress bar for multi-image upload

* fix: Fix progress bar

* fix: Messed up fix last time

* refactor: Use await where possible

* Add query params to search page

* Update translation logic

* Did suggested PR changes

* Updating translations

* Fix i18 issue

* Make prettier actually check src in hopes it will fix CI issue

* Make home page use query params in URL

* Remove unnecessary part of private message url

* Make communities page use query params

* Make community page use query params

* Make user profile use query params

* Make modlog use query params

* Replace choices.js searchable select entirely

* Make 404 screen show up when expected

* Refactor query params code

* Remove unnecessary boolean literal

* Fix query param bug

* Address bug with searchable select and initial fetch

* Only import what is needed from bootstrap

* Undo change to comment nodes component

* Convert closure style functions to normal functions

* Updated translations

* Use translation for loading

* Fix create post select community bug

* Fix community query params bug

19 months agoMultiple image upload (#971)
SleeplessOne1917 [Tue, 4 Apr 2023 12:40:00 +0000 (08:40 -0400)]
Multiple image upload (#971)

* feat: Add multiple image upload

* refactor: Slight cleanup

* feat: Add progress bar for multi-image upload

* fix: Fix progress bar

* fix: Messed up fix last time

* refactor: Use await where possible

* Update translation logic

* Did suggested PR changes

* Updating translations

* Fix i18 issue

* Make prettier actually check src in hopes it will fix CI issue

19 months agoUpdating translations.
Dessalines [Mon, 3 Apr 2023 13:32:36 +0000 (09:32 -0400)]
Updating translations.

19 months agoI18 quality of life change (#973)
SleeplessOne1917 [Mon, 3 Apr 2023 13:28:56 +0000 (09:28 -0400)]
I18 quality of life change (#973)

* I18 quality of life change

* Cleanup

19 months agoOptimize Tagline Form page (#972)
Anon [Thu, 30 Mar 2023 20:36:57 +0000 (15:36 -0500)]
Optimize Tagline Form page (#972)

* Move taglines to its own tab. Optimize for editing.

* Small fix

* null -> undefined

19 months agoMerge branch 'custom-emojis' of https://github.com/makotech222/lemmy-ui into makotech...
Dessalines [Mon, 27 Mar 2023 16:49:46 +0000 (12:49 -0400)]
Merge branch 'custom-emojis' of https://github.com/makotech222/lemmy-ui into makotech222-custom-emojis

19 months agoDon't show icons / banners for banned users and removed communities. (#962)
Dessalines [Mon, 27 Mar 2023 02:10:35 +0000 (22:10 -0400)]
Don't show icons / banners for banned users and removed communities. (#962)

- Fixes #961

19 months agofix: Fix undefined showing up in markdown (#970)
SleeplessOne1917 [Mon, 27 Mar 2023 02:10:08 +0000 (22:10 -0400)]
fix: Fix undefined showing up in markdown (#970)

19 months agorefactor: update UI to use new client uploadImage function (#967)
SleeplessOne1917 [Mon, 27 Mar 2023 02:06:42 +0000 (22:06 -0400)]
refactor: update UI to use new client uploadImage function (#967)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
19 months agoAdd woodpecker ci (#964)
Dessalines [Mon, 27 Mar 2023 01:59:33 +0000 (21:59 -0400)]
Add woodpecker ci (#964)

* Adding woodpecker. Try 1

* Adding woodpecker. Try 2

* Adding woodpecker. Try 3

* Adding woodpecker. Try 5

* Adding woodpecker. Try 6

* Adding woodpecker. Try 7

* Adding woodpecker. Try 8

* Adding woodpecker. Try 9

* Adding woodpecker. Try 10

* Adding woodpecker. Try 11

* Adding woodpecker. Try 12

* Adding woodpecker. Try 13

* Adding woodpecker. Try 14

19 months agofix: Make search screen able to change type, listing type, and sort when there is...
SleeplessOne1917 [Mon, 27 Mar 2023 01:56:49 +0000 (21:56 -0400)]
fix: Make search screen able to change type, listing type, and sort when there is no query (#966)

20 months agoMerge branch 'main' into custom-emojis
Anon [Tue, 14 Mar 2023 17:59:21 +0000 (12:59 -0500)]
Merge branch 'main' into custom-emojis

20 months agoAdding 2FA support. Fixes #938 (#939)
Dessalines [Thu, 2 Mar 2023 23:30:38 +0000 (18:30 -0500)]
Adding 2FA support. Fixes #938 (#939)

* Adding 2FA support. Fixes #938

* Updating totp_2fa names.

20 months agoFix table layout on mobile
Anon [Sun, 26 Feb 2023 17:18:25 +0000 (11:18 -0600)]
Fix table layout on mobile

20 months agoFix improper use of map
Anon [Sat, 25 Feb 2023 21:52:11 +0000 (15:52 -0600)]
Fix improper use of map

20 months agoFix loading emojis
Anon [Sat, 25 Feb 2023 21:46:03 +0000 (15:46 -0600)]
Fix loading emojis

20 months agofix casing
Anon [Sat, 25 Feb 2023 21:18:52 +0000 (15:18 -0600)]
fix casing

20 months agoAdd Custom Emoji Support
Anon [Sun, 27 Nov 2022 18:02:32 +0000 (12:02 -0600)]
Add Custom Emoji Support

20 months agoOnly show the determined warning for multiple. (#952)
Dessalines [Wed, 22 Feb 2023 13:03:04 +0000 (08:03 -0500)]
Only show the determined warning for multiple. (#952)

20 months agoUpgrading deps (#951)
Dessalines [Tue, 21 Feb 2023 21:15:13 +0000 (16:15 -0500)]
Upgrading deps (#951)

20 months agoAdding ban_from_community to be more clear. Fixes #872 (#943)
Dessalines [Tue, 21 Feb 2023 21:12:00 +0000 (16:12 -0500)]
Adding ban_from_community to be more clear. Fixes #872 (#943)

20 months agoLet any mod feature and lock posts. Fixes #875 (#944)
Dessalines [Tue, 21 Feb 2023 20:53:51 +0000 (15:53 -0500)]
Let any mod feature and lock posts. Fixes #875 (#944)

* Let any mod feature and lock posts. Fixes #875

* Change to amAdmin

20 months agoAdding a warning for deselecting the undetermined language. (#945)
Dessalines [Tue, 21 Feb 2023 20:53:35 +0000 (15:53 -0500)]
Adding a warning for deselecting the undetermined language. (#945)

- Fixes #930

20 months agoFixing line formatting. (#947)
Dessalines [Tue, 21 Feb 2023 20:53:15 +0000 (15:53 -0500)]
Fixing line formatting. (#947)

20 months agoDo local community checks for buttons. Fixes #918 (#948)
Dessalines [Tue, 21 Feb 2023 20:52:57 +0000 (15:52 -0500)]
Do local community checks for buttons. Fixes #918 (#948)

20 months agoCheck to make sure post is correct. Fixes #934 (#949)
Dessalines [Tue, 21 Feb 2023 20:52:34 +0000 (15:52 -0500)]
Check to make sure post is correct. Fixes #934 (#949)

20 months agoRemove buggy navbar search. Fixes #921 (#950)
Dessalines [Tue, 21 Feb 2023 20:52:12 +0000 (15:52 -0500)]
Remove buggy navbar search. Fixes #921 (#950)

21 months agoFix issue with empty markdown content not nulling DB. Fixes #924 (#925)
Dessalines [Fri, 17 Feb 2023 02:10:03 +0000 (21:10 -0500)]
Fix issue with empty markdown content not nulling DB. Fixes #924 (#925)

* Fix issue with empty markdown content not nulling DB. Fixes #924

* Better syntax

21 months agoAdding reports send email to admins option (#932)
Dessalines [Fri, 17 Feb 2023 02:07:22 +0000 (21:07 -0500)]
Adding reports send email to admins option (#932)

21 months agoMerge branch 'main' into release/v0.17
Dessalines [Fri, 3 Feb 2023 14:39:05 +0000 (09:39 -0500)]
Merge branch 'main' into release/v0.17

21 months agov0.17.1
Dessalines [Fri, 3 Feb 2023 14:38:57 +0000 (09:38 -0500)]
v0.17.1

21 months agoFix comment box closing. Fixes #904 (#914)
Dessalines [Fri, 3 Feb 2023 02:26:18 +0000 (21:26 -0500)]
Fix comment box closing. Fixes #904 (#914)

21 months agoFix showing crosspost dupes. Fixes #900 (#912)
Dessalines [Fri, 3 Feb 2023 02:15:36 +0000 (21:15 -0500)]
Fix showing crosspost dupes. Fixes #900 (#912)

21 months agoFix live updating postres edit. Fixes #908 (#911)
Dessalines [Fri, 3 Feb 2023 02:15:21 +0000 (21:15 -0500)]
Fix live updating postres edit. Fixes #908 (#911)

21 months agoRemoving extra themes. Fixes #905 (#910)
Dessalines [Fri, 3 Feb 2023 02:14:59 +0000 (21:14 -0500)]
Removing extra themes. Fixes #905 (#910)

21 months agoFixing post setState error. Fixes #902 (#903)
Dessalines [Wed, 1 Feb 2023 01:09:51 +0000 (20:09 -0500)]
Fixing post setState error. Fixes #902 (#903)

21 months agov0.17.0
Dessalines [Tue, 31 Jan 2023 13:30:44 +0000 (08:30 -0500)]
v0.17.0

21 months agov0.17.0-rc.4
Dessalines [Tue, 31 Jan 2023 03:38:25 +0000 (22:38 -0500)]
v0.17.0-rc.4

21 months agoUpgrading deps.
Dessalines [Tue, 31 Jan 2023 03:37:48 +0000 (22:37 -0500)]
Upgrading deps.

21 months agoUpdating translations.
Dessalines [Tue, 31 Jan 2023 03:33:28 +0000 (22:33 -0500)]
Updating translations.

21 months agov0.17.0-rc.3
Dessalines [Thu, 26 Jan 2023 14:08:41 +0000 (09:08 -0500)]
v0.17.0-rc.3

21 months agov0.17.0-rc.2
Dessalines [Thu, 19 Jan 2023 03:42:53 +0000 (22:42 -0500)]
v0.17.0-rc.2

21 months agoFixing requireapplication string. (#895)
Dessalines [Thu, 19 Jan 2023 03:23:07 +0000 (22:23 -0500)]
Fixing requireapplication string. (#895)

22 months agoFixing PWA install. Fixes #822 (#893)
Dessalines [Tue, 17 Jan 2023 19:38:21 +0000 (14:38 -0500)]
Fixing PWA install. Fixes #822 (#893)

22 months agov0.17.0-rc.1
Dessalines [Fri, 6 Jan 2023 13:34:19 +0000 (08:34 -0500)]
v0.17.0-rc.1

22 months agoRemoving monads. Fixes #884 (#886)
Dessalines [Wed, 4 Jan 2023 16:56:24 +0000 (11:56 -0500)]
Removing monads. Fixes #884 (#886)

* Removing monads. Fixes #884

* Fixing post fetching.

* Dont show not_logged_in error for navbar.

* Adding the lemmy-js-client RC.

* Fixing registration application mode

22 months agoSanitize article html. Fixes #882 (#883)
Dessalines [Thu, 29 Dec 2022 17:35:43 +0000 (12:35 -0500)]
Sanitize article html. Fixes #882 (#883)

22 months agoAdd `id` to `App` component (#880)
Zachary Dunn [Thu, 22 Dec 2022 21:54:52 +0000 (16:54 -0500)]
Add `id` to `App` component (#880)

Fixes #204. There's already a style block for `#app` so this just sets the id so those styles are applied.

22 months agoAdding Community Language fixes. #783 (#868)
Dessalines [Mon, 19 Dec 2022 15:57:29 +0000 (10:57 -0500)]
Adding Community Language fixes. #783 (#868)

* Partially done with language tagging. #783

* A few more updates.

23 months agoAdd FeaturedPost Support (#873)
Anon [Wed, 14 Dec 2022 15:03:18 +0000 (09:03 -0600)]
Add FeaturedPost Support (#873)

23 months agoFix csp header for svgs in firefox. Fixes #869 (#870)
Dessalines [Tue, 22 Nov 2022 21:39:55 +0000 (16:39 -0500)]
Fix csp header for svgs in firefox. Fixes #869 (#870)

23 months agoRemove federation strict_allowlist and retry_count. (#867)
Dessalines [Mon, 21 Nov 2022 17:40:48 +0000 (12:40 -0500)]
Remove federation strict_allowlist and retry_count. (#867)

23 months agoAdd Taglines support (#854)
Anon [Sun, 20 Nov 2022 16:08:44 +0000 (10:08 -0600)]
Add Taglines support (#854)

* Add Taglines support

* Fix issue with deletion not rendering properly.

* Address PR comments

* Missed alllanguages

* Cleanup tagline match

* Update js client

* Move taglines to siteres

* Only show taglines editor after site setup

* Update js client

2 years agoFix wrong comment link. Fixes #714 (#865)
Dessalines [Sat, 19 Nov 2022 04:39:32 +0000 (23:39 -0500)]
Fix wrong comment link. Fixes #714 (#865)

2 years agoDont render images in tippy. Fixes #776 (#864)
Dessalines [Sat, 19 Nov 2022 02:02:38 +0000 (21:02 -0500)]
Dont render images in tippy. Fixes #776 (#864)

2 years agoMove symbols to its own cacheable file. Fixes #809 (#862)
Dessalines [Fri, 18 Nov 2022 18:28:05 +0000 (13:28 -0500)]
Move symbols to its own cacheable file. Fixes #809 (#862)

2 years agoHide post report images. Fixes #824 (#861)
Dessalines [Fri, 18 Nov 2022 02:11:30 +0000 (21:11 -0500)]
Hide post report images. Fixes #824 (#861)

2 years agoAdd inline markdown rendering for post titles. Fixes #827 (#860)
Dessalines [Fri, 18 Nov 2022 02:01:52 +0000 (21:01 -0500)]
Add inline markdown rendering for post titles. Fixes #827 (#860)

2 years agoShow deleted on profile page. Fixes #834 (#859)
Dessalines [Fri, 18 Nov 2022 01:58:43 +0000 (20:58 -0500)]
Show deleted on profile page. Fixes #834 (#859)

2 years agoMake sure user is logged in for site creation. Fixes #838 (#858)
Dessalines [Fri, 18 Nov 2022 00:20:25 +0000 (19:20 -0500)]
Make sure user is logged in for site creation. Fixes #838 (#858)

2 years agoFix missing report shield. Fixes #842 (#855)
Dessalines [Thu, 17 Nov 2022 23:59:49 +0000 (18:59 -0500)]
Fix missing report shield. Fixes #842 (#855)

2 years agoIncrease markdown field char limit to 50k. Fixes #849 (#850)
Dessalines [Sat, 12 Nov 2022 17:06:41 +0000 (12:06 -0500)]
Increase markdown field char limit to 50k. Fixes #849 (#850)

2 years agoAdding new site setup fields. (#840)
Dessalines [Wed, 9 Nov 2022 19:53:07 +0000 (14:53 -0500)]
Adding new site setup fields. (#840)

2 years agoFix workaround for broken logout (#836)
sam365724 [Wed, 2 Nov 2022 18:32:30 +0000 (19:32 +0100)]
Fix workaround for broken logout (#836)

Use hostname without port for setting empty cookie, avoids error in browser:
Cookie “jwt” has been rejected for invalid domain.

2 years agoStrip html from og descriptions. Fixes #830 (#831)
Dessalines [Fri, 21 Oct 2022 20:14:53 +0000 (16:14 -0400)]
Strip html from og descriptions. Fixes #830 (#831)

2 years agoCleanup docker builds (#829)
Dessalines [Fri, 21 Oct 2022 19:28:18 +0000 (15:28 -0400)]
Cleanup docker builds (#829)

* Making docker builds smaller. Fixes #828

* Running sortpack

2 years agoFix admin default listing type. Fixes #797 (#818)
Dessalines [Fri, 21 Oct 2022 19:27:59 +0000 (15:27 -0400)]
Fix admin default listing type. Fixes #797 (#818)

2 years agoMerge branch 'browser_popup'
Dessalines [Fri, 21 Oct 2022 18:14:42 +0000 (14:14 -0400)]
Merge branch 'browser_popup'

2 years agoFixing up popup code.
Dessalines [Fri, 21 Oct 2022 18:14:28 +0000 (14:14 -0400)]
Fixing up popup code.

2 years agoSearch button and input style fixes (#825)
Rens Groothuijsen [Fri, 21 Oct 2022 03:56:57 +0000 (05:56 +0200)]
Search button and input style fixes (#825)

* Align search button style with other navbar buttons, disable search box when hidden, adjust search box size

* Align search button margin with other navigation bar buttons

2 years agoSupport new video embed api format (fixes #709) (#817)
Nutomic [Tue, 4 Oct 2022 20:35:20 +0000 (20:35 +0000)]
Support new video embed api format (fixes #709) (#817)

2 years agoChange for container divs to container-lg (#813)
umamawme [Mon, 3 Oct 2022 18:16:36 +0000 (21:16 +0300)]
Change for container divs to container-lg (#813)

* Change for container divs to container-lg

* Apply container-lg to footer.tsx

2 years agoRemove newline, save space for toast message.
sam365724 [Sat, 1 Oct 2022 20:05:17 +0000 (22:05 +0200)]
Remove newline, save space for toast message.

2 years agoMerge branch 'LemmyNet:main' into multiple-images-upload
sam365724 [Fri, 30 Sep 2022 20:36:55 +0000 (22:36 +0200)]
Merge branch 'LemmyNet:main' into multiple-images-upload

2 years agomerge
sam365724 [Fri, 30 Sep 2022 20:35:58 +0000 (22:35 +0200)]
merge

2 years agoAvoid browser warning about leaving page, handle delete image fail and add user filen...
sam365724 [Fri, 30 Sep 2022 20:26:32 +0000 (22:26 +0200)]
Avoid browser warning about leaving page, handle delete image fail and add user filenames to messages.

2 years agoAvoid browser warning about leaving page, handle delete image fail.
sam365724 [Fri, 30 Sep 2022 20:26:32 +0000 (22:26 +0200)]
Avoid browser warning about leaving page, handle delete image fail.

2 years agoUpdating translations.
Dessalines [Thu, 29 Sep 2022 02:39:25 +0000 (22:39 -0400)]
Updating translations.

2 years agoAdding private message reporting. Fixes #782 (#806)
Dessalines [Wed, 28 Sep 2022 12:50:47 +0000 (08:50 -0400)]
Adding private message reporting. Fixes #782 (#806)

2 years agoAdding the email_admins for new application config. (#742)
Dessalines [Tue, 27 Sep 2022 19:45:42 +0000 (15:45 -0400)]
Adding the email_admins for new application config. (#742)

2 years agoAdding new unread comments. (#749)
Dessalines [Tue, 27 Sep 2022 19:42:24 +0000 (15:42 -0400)]
Adding new unread comments. (#749)

2 years agoFix broken profile page, and missing sidebars. (#795)
Dessalines [Fri, 23 Sep 2022 04:41:04 +0000 (00:41 -0400)]
Fix broken profile page, and missing sidebars. (#795)

2 years agoUpdating translations.
Dessalines [Fri, 23 Sep 2022 02:18:39 +0000 (22:18 -0400)]
Updating translations.

2 years agoAdding a loading indicator for post community searching. Fixes #692 (#794)
Dessalines [Thu, 22 Sep 2022 18:13:22 +0000 (14:13 -0400)]
Adding a loading indicator for post community searching. Fixes #692 (#794)

2 years agoFix missing initial load of discussion languages. (#793)
Dessalines [Thu, 22 Sep 2022 17:15:59 +0000 (13:15 -0400)]
Fix missing initial load of discussion languages. (#793)

2 years agoFix posts pushed from blocked users/comms. Fixes #697 (#792)
Dessalines [Thu, 22 Sep 2022 17:13:59 +0000 (13:13 -0400)]
Fix posts pushed from blocked users/comms. Fixes #697 (#792)

2 years agoAdding post and comment language tagging. Fixes #771 (#781)
Dessalines [Thu, 22 Sep 2022 15:24:46 +0000 (11:24 -0400)]
Adding post and comment language tagging. Fixes #771 (#781)

2 years agoHide create community (#787)
Dessalines [Thu, 22 Sep 2022 15:14:58 +0000 (11:14 -0400)]
Hide create community (#787)

* Adding post and comment language tagging. Fixes #771

* Hiding create community button. Fixes #754