Commit graph

2181 commits

Author SHA1 Message Date
Dessalines 9aa19d8bbd v0.19.2 2024-01-10 10:15:50 -05:00
Dessalines 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
Dessalines 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
Dessalines 53830b52be v0.19.1 2023-12-20 09:27:51 -05:00
Dessalines 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
Dessalines 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
Dessalines 82b939b0ec v0.19.0 2023-12-15 06:51:39 -05:00
Dessalines 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
Dessalines af86eae4e3 v0.19.0-rc.15 2023-12-13 09:16:50 -05:00
Dessalines 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
Dessalines 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
Dessalines 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
SleeplessOne1917 659d5f78d8
Revert "fix: Build on native platform (#2261)" (#2262)
This reverts commit 07aba95f19.
2023-12-01 07:17:54 -05:00
Kroese 07aba95f19
fix: Build on native platform (#2261) 2023-11-30 22:09:41 -05:00
Dessalines 7f4493d4db
Revert "Ignore autogenerated css files from being tracked in the repo (#2256)" (#2259)
This reverts commit a41258c793.
2023-11-30 05:28:14 -05:00
SleeplessOne1917 a41258c793
Ignore autogenerated css files from being tracked in the repo (#2256)
Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
2023-11-29 14:48:02 -05:00
Dessalines 86a504a626 v0.19.0-rc.11 2023-11-29 12:59:52 -05:00
Dessalines c487306b34
Fixing cross-fetch issues. (#2254) 2023-11-29 12:46:48 -05:00
Dessalines b6050c794a
Fixing comments auto-collapsing. Fixes #2252 (#2253) 2023-11-29 12:29:04 -05:00
Dessalines 996cd519ff v0.19.0-rc.10 2023-11-29 09:55:42 -05:00
Dessalines f80c846d9c Merge branch 'ssr_fix_2' 2023-11-29 09:54:43 -05:00
Dessalines e9fbb1081d Forgot to add yarn.lock. 2023-11-29 09:53:52 -05:00
Dessalines 7222632389
Trying another SSR fix. #2243 (#2251) 2023-11-29 09:44:31 -05:00
Dessalines 9e67c1bb65 Trying another SSR fix. #2243 2023-11-29 09:36:59 -05:00
Dessalines 684662c90b v0.19.0-rc.9 2023-11-28 22:09:21 -05:00
Dessalines 4446619a9e Updating translations. 2023-11-28 22:09:04 -05:00
Dessalines 37c72d599e
Disable post voting buttons when logged out. Fixes #2248 (#2249)
Co-authored-by: SleeplessOne1917 <insomnia_void@protonmail.com>
2023-11-28 22:04:54 -05:00
Dessalines 5ec9baa5a5
Attempting to fix SSR. #2243 (#2247)
Co-authored-by: SleeplessOne1917 <insomnia_void@protonmail.com>
2023-11-28 21:37:56 -05:00
Dessalines 48ed65639a
Fixing instance blocking. Fixes #2245 (#2246) 2023-11-28 21:12:23 -05:00
Dessalines 69a3a63dfd
Fixing QR code CSP, try 2. Fixes #2241 (#2242)
Co-authored-by: SleeplessOne1917 <insomnia_void@protonmail.com>
2023-11-28 09:56:28 -05:00
Kroese aafcfaf649
Fix shutdown behaviour (#2239)
* Handle SIGTERM signal

* Use constants

* Styling

* Prettier

* setTimeout

* Prettier

* Display version

* Display version

* Prettier
2023-11-27 18:37:37 -05:00