Commit graph

272 commits

Author SHA1 Message Date
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
Dessalines 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
Felix Ableitner 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
Dessalines 7197474633 v0.18.1 2023-07-07 09:17:00 -04:00
Dessalines 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
Dessalines 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
Dessalines 9e7fec772d v0.18.1-rc.5 2023-06-29 16:20:38 -04:00
Dessalines 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
Dessalines eee1f443a8 Removing unecessary timezone adjusting 2023-06-29 08:59:54 -04:00
Dessalines 083e468df5 v0.18.1-rc.3 2023-06-29 01:11:05 -04:00
Dessalines a2716d5f48
Fixing timezone issue with date-fns. Fixes #1680 (#1681)
Co-authored-by: Alec Armbruster <35377827+alectrocute@users.noreply.github.com>
2023-06-28 23:09:25 -04:00
Dessalines 4674f6ff57 v0.18.1-rc.2 2023-06-28 17:00:43 -04:00
Dessalines d8f4cc328e v0.18.1-rc.1 2023-06-27 08:10:42 -04:00
SleeplessOne1917 e8dda77d4b
Fix comments expanding when they're not supposed to (#1540) 2023-06-24 00:06:19 -04:00
SleeplessOne1917 25e9acee39 Merge branch 'main' into reduce-bundle 2023-06-23 10:39:01 -04:00
Dessalines 4a7bfe41d9 v0.18.0 2023-06-23 08:40:00 -04:00
Dessalines 2f59332400 v0.18.0-rc.8 2023-06-23 07:06:05 -04:00
SleeplessOne1917 a2568a41f3
Merge branch 'main' into reduce-bundle 2023-06-23 03:31:29 +00:00
SleeplessOne1917 8dc38c7cee Remove unused dep 2023-06-22 23:30:41 -04:00
Dessalines fdb370a88d v0.18.0-rc.7 2023-06-22 21:16:51 -04:00
SleeplessOne1917 d0dff77377 Replace momentjs with date-fns 2023-06-22 19:33:02 -04:00
Dessalines 902930bb9d v0.18.0-rc.6 2023-06-22 08:52:52 -04:00
Dessalines f7df831499 v0.18.0-rc.5 2023-06-21 19:48:43 -04:00
Dessalines 5c55b41971
Upgrade lemmy-js-client to 0.18.0-rc.2 (#1445)
* Updating translations.

* Upgrading lemmy-js-client.
2023-06-21 15:08:21 -04:00