Commit graph

354 commits

Author SHA1 Message Date
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
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
Dessalines ffa7deee81 v0.18.0-rc.4 2023-06-21 08:31:29 -04:00
Jay Sitter cc64a1fec9 feat: Drop dependency for tsconfig-paths-webpack-plugin 2023-06-20 17:40:14 -04:00
Alec Armbruster baf12e6952
Merge branch 'main' into breakout-role-utils 2023-06-20 16:00:20 -04:00
Alec Armbruster fe8368548b
add tsconfigpathsplugin to resolve 2023-06-20 15:48:42 -04:00
Dessalines 54b5d62df5 v0.18.0-rc.3 2023-06-20 10:20:21 -04:00
Dessalines 1a982bd17d v0.18.0-beta.9 2023-06-20 09:20:12 -04:00
Jay Sitter c77086a9d5
feat: Bootstrap 5 (#1378)
* feat: Use Bootstrap 5; remove Bootstrap 4

* feat: Add link decoration override global var

* fix: Change sr-only to visually-hidden

* fix: Fix missing toggle button classes

* fix: Use darker green to pass 3:1 contrast and allow foreground color generation

* fix: Replace all mr- and ml- classes with me- (end) and ms- (start) classes

* fix: Replace all pr- and pl- classes with pe- (end) and ps- (start) classes

* fix: Replace custom-select with form-select d-inline-block

* fix: Change max-width to Bootstrap 4's max-width

* fix: Fix badge colors

* fix: Replace deprecated btn-block class with d-block

* fix: Temporary fix for missing btn-block styles

* fix: Fix margin-left auto and margin-right auto

* fix: Fix default border color

* fix: Fix some button widths

* fix: Fix form row margins

* fix: Remove theme color maps; no longer necessary in Bootstrap 5

* fix: Remove unused gray

* test commit

* fix: Fix deprecated input-group-append usage

* fix: Add missing col-form-label classes

* fix: Fix some column widths

* fix: Fix language dropdown style regression

* fix: Fix toast background color

* fix: Fix missing colors in red themes

* fix: Fix default radio button appearance for toggles

* fix: Fix missing margin in search form

* fix: Fix search form widths

* fix: Fix rate limit form columns

* fix: Fix search filters layout

* fix: Fix weird table background issue; re-compile from main updates

* fix: Fix modlog filter layout

* fix: Fix some horizontal margins

* fix: Fix incorrect usage of input-group

* chore: Empty commit to re-trigger Woodpecker job

* fix: Fix incorrect Bootstrap 5 padding class

* fix: Tighten up the home filter bars for the hell of it

* fix: Fix home filter bar gap

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-20 08:01:29 -04:00
SleeplessOne1917 2678dd2a3d
Add scripts to make managing translations easier (#1414) 2023-06-20 07:57:09 -04:00
Dessalines a7e5c5ee8a v0.18.0-rc.2 2023-06-19 11:29:57 -04:00
Jay Sitter 9f0657ab9b feat(a11y): Add eslint-plugin-jsx-a11y 2023-06-17 15:46:51 -04:00
SleeplessOne1917 6c998ed862
Merge branch 'main' into route-data-refactor 2023-06-17 02:25:18 +00:00
abias 4d716e039b Merge branch 'main' into route-data-refactor 2023-06-16 18:17:17 -04:00
abias 71336002e7 Fix first loads not working 2023-06-16 18:12:14 -04:00
SleeplessOne1917 242eeb5646
Merge branch 'main' into generate-theme-css 2023-06-16 21:07:49 +00:00
Dessalines e0cc7ba3c3
Adding a few more 0.18.0 API changes. (#1324)
- Removes number_online
2023-06-16 17:06:14 -04:00
SleeplessOne1917 4c67ff255b
Merge branch 'main' into generate-theme-css 2023-06-15 15:51:52 +00:00
Dessalines 89be27bb9d
Add long polling to update unread counts in navbar. (#1271)
* Upping version.

* Add long-polling to update unread counts in navbar.

- Fixes #1148

* Using async for polling.

* Update src/shared/utils.ts

Co-authored-by: Sander Saarend <sander@saarend.com>

* Adding window visibility check, removing generic sleep.

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Sander Saarend <sander@saarend.com>
2023-06-14 20:28:20 -04:00
Dessalines 4152928331 Upping version. 2023-06-14 08:21:52 -04:00