Commit graph

2292 commits

Author SHA1 Message Date
renovate[bot] 2668533196
Update babel monorepo to v7.24.6 (#2483)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-31 22:15:41 -04:00
Dessalines 16b72778cd 0.19.4-rc.4 2024-05-30 16:08:15 -04:00
Dessalines f2302145ec 0.19.4-rc.3 2024-05-27 09:37:00 -04:00
Dessalines e3814064a7 0.19.4-rc.2 2024-05-23 12:08:55 -04:00
Dessalines 7d93959009 Updating translations. 2024-05-23 12:08:44 -04:00
matc-pub b7fe70d8c1
Render more while reloading only some resources (#2480)
* AdminSettings remove unused currentTab state

* Fix amAdmin check in reports fetchInitialData

* Make CreatePost render earlier

* Include children of auth and anonymous guard in first render.

* Convert DidMount to WillMount where things don't depend on the DOM

`componentDidMount` is called after the first render. A lot of
components used it to call `setState`, which causes a second render.

* Keep route components mounted during same route navigation

Not sure why this wasn't the case without this change. The only
difference here is that the same array is reused in every render.

* Disable mounted same route navigation by default

* Enable mounted same route navigation for some routes

* Render more while loading

* Prettier markup

* Make Post use query params and reload comments independently

* Fix issue with <Prompt /> for forms that remain mounted after "leaving".

* Make Search not rerender the results on every keystroke

* Discard old requests

These used to (mostly) arrive at the old already unmounted components.
Now they would render briefly until the latest response is received.

* Move non breaking space to modlog

* Make show optional for modals
2024-05-22 15:46:13 -04:00
Dessalines 937fd3eb4e 0.19.4-rc.1 2024-05-22 08:57:29 -04:00
Felix Ableitner 31ff759929 0.19.4-beta.8 2024-05-22 10:36:39 +02:00
renovate[bot] ed3f280c48
Update dependency i18next to v23.11.5 (#2477)
* Update dependency i18next to v23.11.5

* Update dependency i18next to v23.11.5

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2024-05-21 14:29:37 -04:00
renovate[bot] 57d01928b3
Update typescript-eslint monorepo to v7.10.0 (#2479)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-21 14:29:00 -04:00
renovate[bot] 2069566ab9
Update pnpm to v9.1.2 (#2478)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-21 14:25:31 -04:00
SleeplessOne1917 1f7c8dd1b0
Fix video thumbnail override issue (#2474)
* Fix video thumbnail override issue

* Cleanup

* Make thumbnails always show up, even on mobile

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
2024-05-21 14:25:21 -04:00
SleeplessOne1917 139514cac8
Use non-deprecated QR library (#2475) 2024-05-21 14:20:32 -04:00
renovate[bot] 7875a793b3
Update dependency @types/markdown-it to v14 (#2470)
* Update dependency @types/markdown-it to v14

* Fixing markdown import.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dessalines <tyhou13@gmx.com>
2024-05-15 13:46:26 -04:00
Dessalines c6d1e06fe9 Updating translations. 2024-05-15 13:42:05 -04:00
renovate[bot] 9e94d404f8
Update dependency eslint to v9 (#2472)
* Update dependency eslint to v9

* Fixing eslint.

* Forgot to add file.

* Fixing

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dessalines <tyhou13@gmx.com>
2024-05-15 13:30:03 -04:00
renovate[bot] 67dd5d164f
Update dependency rimraf to v5.0.7 (#2464)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-15 11:07:18 -04:00
renovate[bot] d07ed0a90a
Update dependency style-loader to v4 (#2473)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-15 11:07:00 -04:00
renovate[bot] e7bc05a446
Update dependency css-loader to v7 (#2471)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-15 11:06:50 -04:00
renovate[bot] 3d65ff6c02
Update typescript-eslint monorepo to v7.9.0 (#2469)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-15 11:06:41 -04:00
renovate[bot] 52b814945e
Update dependency terser to v5.31.0 (#2468)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-15 10:48:42 -04:00
renovate[bot] 44ca1d14b7
Update dependency sass to v1.77.1 (#2467)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-15 10:48:29 -04:00
renovate[bot] 007fdb3e85
Update dependency emoji-mart to v5.6.0 (#2466)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-15 10:48:17 -04:00
renovate[bot] 8599afcd11
Update dependency @emoji-mart/data to v1.2.1 (#2465)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-15 10:47:56 -04:00
renovate[bot] 51aa169ca3
Update dependency i18next to v23.11.4 (#2463)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-15 10:47:45 -04:00
renovate[bot] 633a83cc7c
Update dependency @types/node to v20.12.12 (#2462)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-15 10:47:34 -04:00
renovate[bot] a6882ce693
Update dependency @types/markdown-it to v13.0.8 (#2461)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-15 10:47:20 -04:00
renovate[bot] 403b5292e5
Update babel monorepo to v7.24.5 (#2460)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-15 10:47:10 -04:00
renovate[bot] 2146883168
Configure Renovate (#2458)
* Add renovate.json

* Updating schedule.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dessalines <tyhou13@gmx.com>
2024-05-15 10:08:38 -04:00
SleeplessOne1917 da5a740fd4
Fix Language not allowed infinite loading on failed post (#2457)
* Fix language not allowed bug

* Add translations
2024-05-14 22:35:54 -04:00
SleeplessOne1917 b793697f68
Refresh admin settings on submit (#2456) 2024-05-14 09:48:59 -04:00
SleeplessOne1917 d705f3685f
Fix leap year issue (#2453)
* Fix leap year issue

* Show same cake day date independent of timezone (#2455)

* Show same cake day date independent of timezone

* Remove commented out assertions

---------

Co-authored-by: matc-pub <161147791+matc-pub@users.noreply.github.com>
2024-05-13 22:45:33 -04:00
Dessalines 0b35d4a1ae 0.19.4-beta.7 2024-05-11 13:53:17 -04:00
Dessalines 1dcb29a8ac Updating translations. 2024-05-11 13:52:04 -04:00
SleeplessOne1917 17097ecd34
Fix bug where newly created communities cannot be edited until refresh (#2451)
* Fix bug where newly created communities cannot be edited until refresh

* Fix bug with slightly less crappy kludge than before
2024-05-10 11:04:31 -04:00
SleeplessOne1917 b0a711a4ac
Fix bug where UI breaks trying to send a DM (#2452) 2024-05-10 11:01:34 -04:00
SleeplessOne1917 ef72c75000
Prevent onBlur from appending URL scheme to URLs (#2449) 2024-05-07 13:21:16 -04:00
SleeplessOne1917 167d5c991e
Fix dev dockerfile (#2444) 2024-05-01 13:21:54 -04:00
Dessalines be9a2c7950 0.19.4-beta.6 2024-04-30 06:35:44 -04:00
Dessalines ee5806f423 0.19.4-beta.5 2024-04-25 19:57:34 -04:00
Dessalines 5b5f684e98
Hiding RSS button for saved view on profile page. Fixes #2438 (#2440) 2024-04-25 22:39:07 +00:00
SleeplessOne1917 6fdec8c06e
Prevent videos and embeds from showing if adult consent not accepted (#2436) 2024-04-23 23:02:14 -04:00
SleeplessOne1917 d89dc07e71
Mod action history (#2437)
* Add action for viewing moderation history

* Add translations

* Remove unnecessary function

* Update packageManager

* Package manager
2024-04-23 22:34:52 -04:00
Dessalines b2a3f29fe2
Adding creator_banned_from_community to view votes modal. (#2435)
* Adding creator_banned_from_community to view votes modal.

* Adding margin.

* Updating pnpm to 9.0.5
2024-04-23 21:58:52 -04:00
SleeplessOne1917 c1b8946875
Add fallback image for broken images (#2434)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2024-04-22 11:54:04 -04:00
matc-pub f01701f5ec
Content warning fixups (#2432)
* Content warning fixups

- Require consent of logged in existing users.
- Prevent link clicks in blurred areas.
- Enable tippy again.
- Prevent stacking of countdowns for Back button.
- Fix auto expand blocking for images.

* Hide content warning for logged in users
2024-04-22 11:05:54 -04:00
Dessalines b608e8e525
Using corepack to install pnpm, instead of npm -g (#2431) 2024-04-18 21:22:50 -04:00
Dessalines f8d5543508 0.19.4-beta.4 2024-04-18 21:10:30 -04:00
Dessalines d8a92812d8
Adding vote display modes (#2426)
* Adding vote display modes

* Only show downvotes setting if site has downvotes enabled.
2024-04-18 20:20:37 -04:00
SleeplessOne1917 643c1f6f01
Make confirm popup for adult consent (#2419)
* Make confirm popup for adult consent

* Fix import

* Fix blur and adjust user settings

* Make confirmation popup more stylish

* Add setting to site settings form

* Fix modal bug

* Put adult consent logic all in one place

* Make modal use markdown

* Fix consent modal showing up for currently logged in admin

* Add go-back redirect countdown

* Center modal title

* Handle enable_nsfw correctly

* Blur background of modal to hide spicy things

* Add translations
2024-04-18 19:54:16 -04:00