Commit graph

389 commits

Author SHA1 Message Date
d1053e4b8a 0.19.4-rc.6 2024-06-04 08:31:18 -04:00
renovate[bot]
1c246c85e7 Update pnpm to v9.1.4 2024-06-01 14:33:30 -04:00
50cd984ae4 0.19.4-rc.5 2024-06-01 13:34:52 -04:00
16b72778cd 0.19.4-rc.4 2024-05-30 16:08:15 -04:00
f2302145ec 0.19.4-rc.3 2024-05-27 09:37:00 -04:00
e3814064a7 0.19.4-rc.2 2024-05-23 12:08:55 -04:00
937fd3eb4e 0.19.4-rc.1 2024-05-22 08:57:29 -04:00
31ff759929 0.19.4-beta.8 2024-05-22 10:36:39 +02: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
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]
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
SleeplessOne1917
b793697f68
Refresh admin settings on submit (#2456) 2024-05-14 09:48:59 -04:00
0b35d4a1ae 0.19.4-beta.7 2024-05-11 13:53:17 -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
be9a2c7950 0.19.4-beta.6 2024-04-30 06:35:44 -04:00
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
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
f8d5543508 0.19.4-beta.4 2024-04-18 21:10:30 -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
be10d62257 0.19.4-beta.3 2024-04-10 11:02:20 -04:00
Dessalines
0894c77b6c
Adding generate translations to pnpm dev task. (#2410) 2024-04-09 14:03:09 +00: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
1a1cb8fce2 0.19.4-beta.2 2024-04-03 18:40:20 -04:00
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
1787a778f8 v0.19.3 2024-01-22 08:55:26 -05:00
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
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
9aa19d8bbd v0.19.2 2024-01-10 10:15:50 -05:00
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
107e512b7b v0.19.2-rc.4 2024-01-09 09:25:31 -05:00
53830b52be v0.19.1 2023-12-20 09:27:51 -05:00
36f5960acb v0.19.1-rc.1 2023-12-18 14:20:32 -05:00
82b939b0ec v0.19.0 2023-12-15 06:51:39 -05:00
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
af86eae4e3 v0.19.0-rc.15 2023-12-13 09:16:50 -05:00
a8817eae25 v0.19.0-rc.14 2023-12-12 14:57:05 -05:00
ab9c7a0788 v0.19.0-rc.13 2023-12-06 18:19:40 -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
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
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
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
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
8485a2c5dc v0.19.0-rc.5 2023-11-16 23:28:54 -05:00
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
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
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
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
a304c7d527 v0.19.0-rc.1 2023-09-27 15:09:37 -04:00
SleeplessOne1917
65e669035d
Remove auth from API request body params (#2140)
* chore: Remove auth param from API request bodies

* chore: Update client to use bearer token
2023-09-25 21:07:26 -04:00
biosfood
8e2609a96d
Add moderator view button (#1993)
* update lemmy-js-client version

* add moderator view to moderator view select

* fix some linting problems introduced in recent lemmy-js-client changes

* remove form id from mardown-textarea submit

* add default delete_content as false

* manually check if a user is an admin

* update lemmy-js-client to 0.19.0-rc.7
2023-09-06 08:43:19 -04:00
Dessalines
0ec0af71bb
Fix husky for yarn 2 . (#2110)
- Context: https://typicode.github.io/husky/getting-started.html#yarn-2
2023-09-02 09:51:58 -04:00
Dessalines
2117f1d0f2
Fixing webpack build. (#2042) 2023-08-07 20:07:09 +00:00
Pavlos Smith
d923cfa522
Lemmy 2515 controversial posts and comments (#1727)
* Added buttons to be able to sort posts and comments by controversy rank

* Added buttons to be able to sort posts and comments by controversy rank

* lost changes

* Hiding controversial sort if downvotes disabled (unfinished)

* Finished hiding sort option correctly

* Removed newline

* Removed hiding logic for now, this should be included in a future PR

* woodpecker re-run

* woodpecker re-run

* woodpecker re-run

* Update lemmy js-client version

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-08-04 16:32:07 -04:00
Dessalines
9f2289d466
Upgrading deps, running prettier. (#1987) 2023-07-28 16:15:42 -04:00
Daniele Basso
dbeab6450b
Remove lodash.merge dependency (#1911)
Remove lodash.merge dependency from webpack.config.js file, replacing it with using spread sintax (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax)
2023-07-13 20:05:28 +00:00
Sander Saarend
5d4edf555e
Fix CSP in dev mode (#1918) 2023-07-12 10:03:49 -04:00
Sander Saarend
546f0ad704
Add nonce-based CSP header (#1907)
* Remove websocket config

* Add nonce based CSP
2023-07-10 14:26:41 -04:00
51842d6410 v0.18.2-rc.1 2023-07-10 13:58:16 +02:00
SleeplessOne1917
3d58baea7c
User inferno prompt instead of handrolled one (#1867) 2023-07-07 19:33:03 -04:00
Sander Saarend
497fb7014f
Update lemmy-js-client and lemmy-translations (#1848) 2023-07-07 14:53:42 +00:00
7197474633 v0.18.1 2023-07-07 09:17:00 -04:00
02198f1076 v0.18.1-rc.11 2023-07-06 09:15:44 -04:00
Michael Charles Aubrey
1de0fdb8c2
add ruby annotation support (#1831) 2023-07-06 07:44:32 -04:00
SleeplessOne1917
4a0368bd5b v0.18.1-rc.10 2023-07-04 12:52:17 -04:00
b9d9231520 v0.18.1-rc.9 2023-07-03 16:55:54 -04:00
SleeplessOne1917
8b478e9712 v0.18.1-rc.8 2023-07-03 10:22:12 -04:00
SleeplessOne1917
61255bf01a v0.18.1-rc.7 2023-06-30 16:26:09 -04:00
SleeplessOne1917
e658e36420 v0.18.1-rc.6 2023-06-30 16:26:00 -04:00
Diamond
a7592d74bb
Enforce SameSite=Strict (#1713) 2023-06-30 09:51:41 -04:00
9e7fec772d v0.18.1-rc.5 2023-06-29 16:20:38 -04:00
b73cb808e4 v0.18.1-rc.4 2023-06-29 10:40:19 -04:00