Commit graph

179 commits

Author SHA1 Message Date
renovate[bot]
83ea77e0fb
Update dependency css-loader to v7.1.2 (#2484)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-31 22:15:58 -04:00
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
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
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
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
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
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
Dessalines
9dcaff4301
Adding image upload views for admins and profiles. (#2424)
* Adding image upload views for admins and profiles.

* Upgraded lemmy-js-client dep.

* Removing this.

* Upgrade to pnpm v9.0.1

---------

Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
2024-04-17 08:37:58 -04:00
Dessalines
9aa1e06ae3
Adding alt_text and custom_thumbnail to post form. (#2404)
* Adding alt_text and custom_thumbnail to post form.

* Adding htmlFor, and only show alt_text if its an image post.

* Only show custom thumbnail url field when its not an image post.
2024-04-04 19:59:13 -04:00
SleeplessOne1917
579aea40d0
Notify users that they are banned from a community (#2397)
* Add banned blurb to community sidebar

* Hide interactable parts of posts and comments when banned from community

* Add translation

* Fix some typescript errors

* Fix typescript errors

* PR feedback
2024-03-26 19:03:02 -04:00
matc-pub
201e5fcd53
Lazy loading less common languages for syntax highlighting (#2388)
* Use fewer syntax highlighter languages.

Reduces client.js size by about 250kB (800kB uncompressed)

Common languages:
bash, c, cpp, csharp, css, diff, go, graphql, ini, java, javascript,
json, kotlin, less, lua, makefile, markdown, objectivec, perl,
php-template, php, plaintext, python-repl, python, r, ruby, rust, scss,
shell, sql, swift, typescript, vbnet, wasm, xml, yaml

Additionally enabled languages:
dockerfile, pgsql

* Configurable syntax highlighter languages

Allows to individually enable languages.

* Lazy load syntax highlighter languages

Allows to enable additional languages that will not be autodetected.

* Include highlight.js in dynamic import check
2024-03-14 08:31:07 -04:00
SleeplessOne1917
eb5095b686
Bump dependencies (#2378)
Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
2024-02-26 19:16:41 -05:00
SleeplessOne1917
71c2206405
Update deps (#2357)
Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
2024-02-05 23:30:41 -05:00
Dessalines
140ff8271c
Move to pnpm (#2345)
* Switch from yarn to pnpm.

* Moving from yarn to pnpm.

* Try 2

* Try 3

* Try 4

* Try 5

* Try 6

* Adding qs.

* Try corepack.

* Remove comment.

* Adding prebuild:dev.

* Some fixes.

* Fixing up husky.

* Fixing up version and others.
2024-01-28 22:09:08 -05:00