wrappedhttpclient has two bugs:
1. setHeaders becomes async with errors gobbled up. this is probably not intentional and the result is not awaited at the call site
2. wrappedhttpclient overrides methods in the prototype and not the instance. this means that when a new instance is created, from then on all methdos on all wrappedhttpclients call the inner methods on the newly created client instead of their respective clients
this PR tries to fix both. it is untested so idk if it works
related: #2243
* 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>
* Add UI for import/export of settings
* Make settings update after import without requiring manual browser refresh
* Address PR feedback
* Add translations
* 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>
* 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
* 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>
* 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