Commit graph

287 commits

Author SHA1 Message Date
3dfbd7dd41 Fixing cross-fetch issues. 2023-11-29 12:42:18 -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
SleeplessOne1917
751495702c
Use git hash to break cache (#1684)
* Use git hash to break cache

* Address PR feedback

* Make hash docker agnostic

* Add trailing slash

* Update .prettierignore

Co-authored-by: Alec Armbruster <35377827+alectrocute@users.noreply.github.com>

* Remove debugging log

* implement getStaticDir util

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: Alec Armbruster <35377827+alectrocute@users.noreply.github.com>
2023-06-29 10:29:33 -04:00
eee1f443a8 Removing unecessary timezone adjusting 2023-06-29 08:59:54 -04:00