Commit graph

313 commits

Author SHA1 Message Date
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
Dessalines 1a1cb8fce2 0.19.4-beta.2 2024-04-03 18:40:20 -04:00
Dessalines 4e548d7238 0.19.4-beta.1 2024-04-03 16:50:27 -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
Dessalines 1787a778f8 v0.19.3 2024-01-22 08:55:26 -05:00
Dessalines a63b32583f v0.19.3-rc.2 2024-01-20 08:22:29 -05:00
Dessalines dee4257082
Downgrade sharp. (#2337) 2024-01-19 17:35:17 -05:00
Dessalines 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
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
Dessalines 53830b52be v0.19.1 2023-12-20 09:27:51 -05:00
Dessalines 36f5960acb v0.19.1-rc.1 2023-12-18 14:20:32 -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 a8817eae25 v0.19.0-rc.14 2023-12-12 14:57:05 -05:00
Dessalines ab9c7a0788 v0.19.0-rc.13 2023-12-06 18:19:40 -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 996cd519ff v0.19.0-rc.10 2023-11-29 09:55:42 -05:00
Dessalines 7222632389
Trying another SSR fix. #2243 (#2251) 2023-11-29 09:44:31 -05:00
Dessalines 684662c90b v0.19.0-rc.9 2023-11-28 22:09:21 -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 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
Dessalines c2bde493eb v0.19.0-rc.7 2023-11-23 21:07:59 -05:00
Dessalines fa4695738c v0.19.0-rc.6 2023-11-22 11:15:49 -05:00
Dessalines cc2ad2d113
Adding creator_is_admin and creator_is_mod, removing pointless functions (#2228) 2023-11-22 11:13:00 -05:00
Dessalines 8485a2c5dc v0.19.0-rc.5 2023-11-16 23:28:54 -05:00
Dessalines 890a1921ca v0.19.0-rc.4 2023-11-03 10:01:35 -04:00
Dessalines c3a57b114c
Upgrade for lemmy js client 0.19.0-alpha.16 (#2210)
* Use `auth` cookie set by backend instead of `jwt` (fixes #2193)

Requires https://github.com/LemmyNet/lemmy-js-client/pull/208

* Revert "Use `auth` cookie set by backend instead of `jwt` (fixes #2193)"

This reverts commit 442766c1d8.

* Updating for new lemmy-js-client.

---------

Co-authored-by: Felix Ableitner <me@nutomic.com>
2023-11-03 10:00:25 -04:00
Benjamin Barbeau 2b5068187c
Add code highlighting (#2195)
* Add highlighting

* Adds it to mdNoImages as well

* Revert "Adds it to mdNoImages as well"

This reverts commit 2f8e3bb0cc.

* Revert "Add highlighting"

This reverts commit 80bcddd4df.

* Prevent yarn.lock from massively updating

* Add code themes locally

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-10-20 11:18:13 -04:00
Dessalines ca456fdd1b v0.19.0-rc.3 2023-10-19 20:48:42 -04:00
Dessalines 538fb5e28c
Updating for new v19 changes. (#2191)
* Updating for new v19 changes. WIP.

* Fixing package json.

* Updating for new lemmy-js-client.

* Trying to add node-sass

* Revert "Trying to add node-sass"

This reverts commit 959ea0de13.

* Trying node:20-alpine
2023-10-19 20:47:28 -04:00
Kaveh f5780c22ba
Add RTL/BIDI to post text (#1963) 2023-10-11 12:07:53 -04:00
Dessalines b0307ada71 v0.19.0-beta.8 2023-10-06 09:11:22 -04:00
Dessalines ff98c2428d
Fixing broken docker build due to missing rxjs. (#2174) 2023-10-05 17:11:31 -04:00
Dessalines ca6f0baa18 v0.19.0-beta.7 2023-10-05 16:00:57 -04:00
SleeplessOne1917 c6d6107ddc
feat: Accomodate 2FA changes in UI
* feat: Add modal for totp settings

* Make inputs show up on totp modal

* Make modal work when enabling and disabling 2FA

* Give user better feedback when en/disabling totp

* Use new 2FA flow for login

* Refactor 2fa modal to prevent implementation details from leaking

* chore: Use constant objects where appropriate

* Incorporate translations
2023-10-04 21:24:23 -04:00
Dessalines aec61ec5d1
Husky fix for production build. (#2150)
* Trying to fix CI for husky 1.

* v0.19.0-beta.1
2023-09-27 20:02:42 +00:00