Commit graph

2190 commits

Author SHA1 Message Date
Dessalines 7222632389
Trying another SSR fix. #2243 (#2251) 2023-11-29 09:44:31 -05:00
Dessalines 9e67c1bb65 Trying another SSR fix. #2243 2023-11-29 09:36:59 -05:00
Dessalines 684662c90b v0.19.0-rc.9 2023-11-28 22:09:21 -05:00
Dessalines 4446619a9e Updating translations. 2023-11-28 22:09:04 -05:00
Dessalines 37c72d599e
Disable post voting buttons when logged out. Fixes #2248 (#2249)
Co-authored-by: SleeplessOne1917 <insomnia_void@protonmail.com>
2023-11-28 22:04:54 -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 48ed65639a
Fixing instance blocking. Fixes #2245 (#2246) 2023-11-28 21:12:23 -05:00
Dessalines 69a3a63dfd
Fixing QR code CSP, try 2. Fixes #2241 (#2242)
Co-authored-by: SleeplessOne1917 <insomnia_void@protonmail.com>
2023-11-28 09:56:28 -05:00
Kroese aafcfaf649
Fix shutdown behaviour (#2239)
* Handle SIGTERM signal

* Use constants

* Styling

* Prettier

* setTimeout

* Prettier

* Display version

* Display version

* Prettier
2023-11-27 18:37:37 -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 156cfccf34
Fixing follow from subscribe page. Fixes #2215 (#2229) 2023-11-22 22:44:42 +00:00
Dessalines fa4695738c v0.19.0-rc.6 2023-11-22 11:15:49 -05:00
Dessalines 102b1c4080 Updating translations. 2023-11-22 11:13:16 -05:00
Dessalines cc2ad2d113
Adding creator_is_admin and creator_is_mod, removing pointless functions (#2228) 2023-11-22 11:13:00 -05:00
SleeplessOne1917 dd3842655a
Update bs theme when site theme is changed (#2226) 2023-11-17 09:35:43 -05:00
Dessalines 8485a2c5dc v0.19.0-rc.5 2023-11-16 23:28:54 -05:00
SleeplessOne1917 4be7310441
Settings Import/export (#2223)
* Add UI for import/export of settings

* Make settings update after import without requiring manual browser refresh

* Address PR feedback

* Add translations
2023-11-16 22:47:33 -05:00
SleeplessOne1917 9fcd5ef54f
Auto focus search input when navigating to search page (#2224) 2023-11-15 16:58:58 -05:00
Dessalines 795dcdb894
Remove previous button for PaginatorCursor (#2221) 2023-11-14 14:36:41 +00:00
SleeplessOne1917 ad300f19d0
Fix back button from posts going back twice instead of once (#2220) 2023-11-14 08:14:28 -05:00
Dessalines b40a3c3e27
Fixing errors. Fixes #2216 (#2219) 2023-11-13 18:47:03 -05:00
Dessalines fe28c691e3
Fixing QR code CSP. (#2218) 2023-11-13 12:45:27 -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
SleeplessOne1917 acfcd86b9b
Search page select fix (#2201)
* Fix search page community searchable select

* Fix bug with search page creator select

* Add stricter typing to dedup function

* Fix modlog searchable selects
2023-10-30 16:22:51 -04:00
Jason Grim c22358e0d2
Fixed markdown parsing error particularly with the spoiler tag. (#2200) 2023-10-25 19:26:14 +00:00
biosfood 069c2c787f
use improved notification system for all notification types (#2190)
* only refetch PM counts when marking a message as read

* refresh registration applications and the corresponding unread counter when processing an application

* refetch reports when marking one as resolved

* update unread notifications when logging in

* UnreadCounterService: use async functions

* clarify the meaning of UnreadCounterService.updateInboxCounts

* UnreadCounterService: correct updateAll
2023-10-24 17:58:00 -04:00
SleeplessOne1917 25b06124fd
Make 2FA input play nicer with phone keyboards (#2199) 2023-10-23 21:25:06 -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
Dessalines bb8e4f26ee
Dont hide reply box on other actions. Fixes #1968 (#2189)
* Dont hide reply box on other actions. Fixes #1968

* Removing unecessary check.
2023-10-19 15:35:53 +00:00
Derek Vanderveer 68f0b654d4
Add curl for basic healthcheck (#2186) 2023-10-19 02:41:18 -04:00
SleeplessOne1917 aefd65ae83
Tweak 2fa (#2179)
* Handle 2FA inputs in a way that (hopefully) plays nice with virtual keyboards

* Some tweaks
2023-10-12 20:25:14 -04:00
Kaveh f5780c22ba
Add RTL/BIDI to post text (#1963) 2023-10-11 12:07:53 -04:00
Daniel Lo Nigro 42d60fe3d5
Simplify favicon (#2176)
Removes Inkscape metadata and resulting unneeded XML namespaces
2023-10-08 00:31:02 +00:00
Dessalines b0307ada71 v0.19.0-beta.8 2023-10-06 09:11:22 -04:00
Dessalines 2c1f4538be
Adding cursor pagination. Fixes #2155 (#2173)
* Adding cursor pagination. Fixes #2155

* Addressing PR comments.

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-10-06 09:08:55 -04:00
SleeplessOne1917 ae4c37ed44
fix: Fix emoji picker custom emoji bug (#2175)
* Make emoji picker insert custom emojis

* Close emoji picker after emoji is selected
2023-10-06 08:56:36 -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
Nutomic a4b09b14e4
Dont push to :latest docker tag (#2171)
* Dont push to :latest docker tag

Same as https://github.com/LemmyNet/lemmy/pull/4016

* Adding tag.

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
2023-10-05 15:41:04 -04:00
SleeplessOne1917 a2473680d4
fix: Prevent login screen from redirecting to signup (#2170) 2023-10-05 15:38:10 -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 0c18224cf2
Adding scaled sort to UI. Fixes #2156 (#2169) 2023-10-04 21:17:36 -04:00
biosfood de8255fc9e
fix: Fix notifications (#2132)
* add global service for unread notifications

* update inbox counter when marking a message as read

* adapt NotificationService for new auth parameter

* refactor unread counter service

* user service: refactor moderatesSomething

* use behavioursubjects for unreadcounterservice

* retry tests

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-10-04 16:47:51 -04:00