]> Untitled Git - lemmy-ui.git/log
lemmy-ui.git
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

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)

20 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

20 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)

21 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

23 months 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)

23 months 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)

23 months 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)

23 months 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)

23 months 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)

23 months 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)

23 months 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)

23 months 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)