Commit graph

2050 commits

Author SHA1 Message Date
1934be7cfc Merge remote-tracking branch 'origin/main' into fix_security_link 2024-01-22 08:57:27 -05:00
1787a778f8 v0.19.3 2024-01-22 08:55:26 -05:00
a63b32583f v0.19.3-rc.2 2024-01-20 08:22:29 -05:00
SleeplessOne1917
57b4aacfad
Make it more obvious when a community is locked (#2329)
* Make it more obvious when a community is locked

* Add translations

---------

Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
2024-01-20 08:22:13 -05:00
Dessalines
dee4257082
Downgrade sharp. (#2337) 2024-01-19 17:35:17 -05:00
93fc3a7872 v0.19.3-rc.1 2024-01-19 15:48:42 -05:00
Dessalines
1070aafeef
Upgrading deps. (#2336) 2024-01-19 15:48:24 -05:00
60b42a9958 Updating translations. 2024-01-19 15:24:21 -05:00
Dessalines
f62953797c
Revert "Fix captcha cache control bug" (#2335) 2024-01-19 13:00:15 -05:00
Dessalines
23e3bfcf02
Merge branch 'main' into fix_security_link 2024-01-19 11:15:49 -05:00
02026ec661 Adding an expires date, one year from build date. 2024-01-19 11:15:05 -05:00
SleeplessOne1917
d6ce6a1afd
Improve TOTP modal (#2327)
* Improve TOTP modal

* Add submit translation

* Update translations

---------

Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
2024-01-19 10:06:54 -05:00
1a33cd09be Changing security.txt to use github security advisories page.
- Fixes #2332
2024-01-19 10:03:09 -05:00
Dessalines
5ba9da1545
Make a separate post markdown field character limit. (#2331)
Context: https://github.com/LemmyNet/lemmy/issues/3262
2024-01-19 00:54:27 +00:00
SleeplessOne1917
7e0652df45
Fix fedi link regression (#2324)
Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
2024-01-15 09:37:48 -05:00
SleeplessOne1917
59308bd7ae
Fix captcha cache control bug (#2326)
Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
2024-01-15 09:37:12 -05:00
Jon Charter
909e3e0fa8
Add logic to filter view for denied registration applications (#2322)
* Add logic to filter view for denied registrations

* Adjust filter criteria
2024-01-14 13:23:25 -05:00
Kroese
b3d667edb4
Update Dockerfile to Node 21 (#2315) 2024-01-10 19:14:18 -05:00
ubergeek77
a0add1e61c
Clean up Dockerfile (#2314)
* Clean up Dockerfile

* Reduce image size

Recommended by @kroese
2024-01-10 18:50:00 -05:00
9aa19d8bbd v0.19.2 2024-01-10 10:15:50 -05:00
b7bff7aac0 v0.19.2-rc.5 2024-01-09 22:08:57 -05:00
Dessalines
d1bc165327
Adding admin view vote modal. (#2303)
Admins can now click post or comment dropdowns, and view their votes. Should help with vote-trolling.
2024-01-09 18:48:46 -05:00
107e512b7b v0.19.2-rc.4 2024-01-09 09:25:31 -05:00
SleeplessOne1917
e2fa55e122
Fix error page error interpolation (#2302)
* Fix error page error interpolation

* Run prettier

---------

Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
2024-01-07 12:13:05 -05:00
SleeplessOne1917
b41aa874bf
Fix compact theme letter tail cutoff bug (#2301)
Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
2024-01-04 12:54:24 -05:00
İsmail Karslı
0bd26aa568
Store volume level on window object (#2307)
* Store volume level on window object

* Store volume level on localStorage, instead of window object

* Refactor video event handlers in PostListing component

* Take `muted` prop into account while storing volume level

* fix

* simplify logic
2024-01-03 18:30:32 +00:00
İsmail Karslı
22f2b47243
Do not auto expand media if blur_nsfw is active and the post is NSFW (#2305)
* Do not auto expand media if blur_nsfw is active and the post is NSFW flagged

* Update src/shared/components/post/post-listing.tsx

* Update src/shared/components/post/post-listing.tsx

---------

Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
2023-12-30 19:47:27 -05:00
Pseudochron
ab74d3ad90
Fix dark theme highlight color for recent comments, restores colors to 0.18 values (#2297)
* Update darkly-compact.css to set highlight-bg for dark theme

* Revert main.css

* Update darkly-pureblack.css to set highlight-bg for dark theme

* Update darkly-red.css to set highlight-bg for dark theme

* Update darkly.css to set highlight-bg for dark theme

* Update vaporwave-dark.css to set highlight-bg for dark theme

* Update i386.css to set highlight-bg for dark theme

* Update _variables.darkly-pureblack.scss to set $mark-bg-dark

* Update _variables.darkly.scss to set $mark-bg-dark

* Update _variables.i386.scss to set $mark-bg-dark

* Update _variables.vaporwave-dark.scss
2023-12-21 04:39:27 +00:00
53830b52be v0.19.1 2023-12-20 09:27:51 -05:00
898fdf254f Updating translations. 2023-12-20 09:06:11 -05:00
SleeplessOne1917
9e68dbef20
Use highlight color for new comments on dark themes that won't burn your (#2295)
eyes out

Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
2023-12-19 15:41:13 -05:00
36f5960acb v0.19.1-rc.1 2023-12-18 14:20:32 -05:00
SleeplessOne1917
714618c80c
Re-add show source for comments (#2290)
Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
2023-12-18 11:51:44 -05:00
82b939b0ec v0.19.0 2023-12-15 06:51:39 -05:00
25dba2db8a v0.19.0-rc.16 2023-12-14 07:58:22 -05:00
Dessalines
1feb95ca04
Upgrading lemmy-js-client. (#2285) 2023-12-13 19:51:58 +00:00
af86eae4e3 v0.19.0-rc.15 2023-12-13 09:16:50 -05:00
0cb5aefe0c Updating translations. 2023-12-13 09:16:01 -05:00
Dessalines
6f1d975e74
Make sure banned toast has correct user. (#2281) 2023-12-13 01:41:10 +00:00
a8817eae25 v0.19.0-rc.14 2023-12-12 14:57:05 -05:00
Dessalines
2fff988dc6
Fixing link targets reloading page. Fixes #2275 (#2276) 2023-12-07 16:59:42 +00:00
ab9c7a0788 v0.19.0-rc.13 2023-12-06 18:19:40 -05:00
SleeplessOne1917
8594a30a53
Moderation/content action overhaul (#2258)
* Fix remove post dialog

* Consolidate mod action logic

* Make mod action form less janky

* Move content action dropdown to its own component

* Make reusable component for content action buttons

* Finish up mod dropdown

* Introduce new content dropdown component to post listing

* Fix cancel moderation button bug

* Add icons, tweak UI

* Handle delete/undelete icons

* The thing

* Fix some of the banning related bugs

* Fix mod form ban bugs

* Fix some more bugs

* Make comments use dropdown menu

* Use mod action form with comments

* Make confirmation modal

* Make all the mod action dialogs modals

* Tweak modal

* Fix bug with mod form submit

* Tweak modal more

* More modal tweaking and some feedback toasts

* Use icon pairs for on/off

* Make modals auto focus input

* Implement PR suggestions

* Make UI use async functions where needed

* Make loading state for context action modals

* Hide context actions that users should not be able to do

* Add loading state to confirmation modals

* Use updated translations

* PR feedback

* Add forgotten trnslations

* Fix scrolling bug

---------

Co-authored-by: SleeplessOne <insomnia-void@protonmail.com>
2023-12-06 18:17:02 -05:00
Dessalines
39f86d421e
Fixing communityToChoice. Fixes #2231 . Fixes #2232 . (#2271)
* Fixing communityToChoice. Fixes #2231 . Fixes #2232 .

* Fixing map.

---------

Co-authored-by: SleeplessOne1917 <insomnia_void@protonmail.com>
2023-12-06 09:36:15 -05:00
SleeplessOne1917
8a722c939c
Only generate manifest if it isn't already in memory (#2272)
* Only generate manifest if it isn't already in memory

* Remove forward header

---------

Co-authored-by: SleeplessOne <insomnia-void@protonmail.com>
2023-12-06 08:57:31 -05:00
Dessalines
fc234716b0
Adding a few promise.all concurrent fetches to FetchInitialData. #2234 (#2270) 2023-12-05 19:22:16 +00:00
Dessalines
f245d2b517
Changing auth cookie name back to jwt. (#2269) 2023-12-05 12:56:29 -05:00
İsmail Karslı
5784f9e0b5
Added aspect ratio to the video (#2268) 2023-12-05 11:39:44 -05:00
Dessalines
7702c041e5
Move lemmyClient generation into fetchInitialData functions. Fixes #2243 (#2260)
* Trying more ssr fixes. #2243

* Try to enforce cross-fetch again.

* Try to forward cookies.

* Try to forward cookies 2.

* Trying a new cross-fetch.

* Fixing headers

* Fixing some auth issues.

* Fixing isBanned.

* Fix shutdown.

* Pushing up some tries.

* Moving lemmyclient building into fetchInitialData functions.
2023-12-05 03:07:36 +00:00
phiresky
03fcaa0815
fix wrapped http client (#2267)
wrappedhttpclient has two bugs:

1. setHeaders becomes async with errors gobbled up. this is probably not intentional and the result is not awaited at the call site
2. wrappedhttpclient overrides methods in the prototype and not the instance. this means that when a new instance is created, from then on all methdos on all wrappedhttpclients call the inner methods on the newly created client instead of their respective clients

this PR tries to fix both. it is untested so idk if it works

related: #2243
2023-12-04 17:24:15 +00:00