Commit graph

2265 commits

Author SHA1 Message Date
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
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
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
996cd519ff v0.19.0-rc.10 2023-11-29 09:55:42 -05:00
f80c846d9c Merge branch 'ssr_fix_2' 2023-11-29 09:54:43 -05:00
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
9e67c1bb65 Trying another SSR fix. #2243 2023-11-29 09:36:59 -05:00
684662c90b v0.19.0-rc.9 2023-11-28 22:09:21 -05:00
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
1b20bf7807 v0.19.0-rc.8 2023-11-27 07:32:42 -05:00
Kroese
639aa28245
Multi-platform Dockerfile (#2235)
* Multi-platform Dockerfile

* Add ARM64 build to Woodpecker

* Sharp 0.32.6 is in package.json now

* Add Docker Healthcheck

* Prevent 'Inferno is in development mode' message

Currently Inferno runs in development mode because NODE_ENV=production was not set. This has a negative effect on performance, and for debugging purposes developers can override this flag in their Docker composefile.

* Fixing babel build.

* Removing node-prune.

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
2023-11-27 07:32:04 -05:00
SleeplessOne1917
ae4a4cc8af
Update deps (#2237)
Co-authored-by: SleeplessOne <insomnia-void@protonmail.com>
2023-11-26 19:53:24 -05:00
Dessalines
d9ce609365
Upgrading deps. (#2233)
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-11-23 22:03:28 -05:00
c2bde493eb v0.19.0-rc.7 2023-11-23 21:07:59 -05:00
Dessalines
156cfccf34
Fixing follow from subscribe page. Fixes #2215 (#2229) 2023-11-22 22:44:42 +00:00
fa4695738c v0.19.0-rc.6 2023-11-22 11:15:49 -05:00
102b1c4080 Updating translations. 2023-11-22 11:13:16 -05:00
Dessalines
cc2ad2d113
Adding creator_is_admin and creator_is_mod, removing pointless functions (#2228) 2023-11-22 11:13:00 -05:00
SleeplessOne1917
dd3842655a
Update bs theme when site theme is changed (#2226) 2023-11-17 09:35:43 -05:00
8485a2c5dc v0.19.0-rc.5 2023-11-16 23:28:54 -05:00
SleeplessOne1917
4be7310441
Settings Import/export (#2223)
* Add UI for import/export of settings

* Make settings update after import without requiring manual browser refresh

* Address PR feedback

* Add translations
2023-11-16 22:47:33 -05:00
SleeplessOne1917
9fcd5ef54f
Auto focus search input when navigating to search page (#2224) 2023-11-15 16:58:58 -05:00
Dessalines
795dcdb894
Remove previous button for PaginatorCursor (#2221) 2023-11-14 14:36:41 +00:00
SleeplessOne1917
ad300f19d0
Fix back button from posts going back twice instead of once (#2220) 2023-11-14 08:14:28 -05:00
Dessalines
b40a3c3e27
Fixing errors. Fixes #2216 (#2219) 2023-11-13 18:47:03 -05:00