- The `timeout` parameter does not exist in `node-fetch`, so the timeout was not
working properly.
- Refactor the User-Agent header to be set in a central place instead of several
different places.
- Refactor more places to use getResult which handles the timeout and everything
else already instead of the normal `fetch` provided by `node-fetch`.
This seems to be a common occurrence with attempted migrations between different Misskey forks.
This is the best solution that I can come up with; someone who knows more bash could probably make this completely automated.
This fixes federating notes with advanced mfm usage, that looked weird/wrong otherwise.
See also c174f23389
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Changelog: Changed
The unzipper package did not seem to work any more and was
mangling the meta.json file in its extracted form and potentially
other files which lead to the emoji import not working properly.
Changelog: Fixed
Because findBy returns an array which is always truthy, this would
mean the user is not actually created as requested and instead an
empty array is returned.
Turning the MFM render container into a div changes it to display
as a block which messes up rendering in some places, e.g. when
it is used to render user names in "Renoted by".
Enforces HTTP signatures on object fetches, and rejects fetches from blocked
instances. This should mean proper and full blocking of remote instances.
This is now default behavior, which makes it a breaking change. To disable
it (mostly for development purposes), the configuration item
`allowUnsignedFetches` can be set to true. It is not the default for
development environments as it is important to have as close as possible
behavior to real environments for ActivityPub development.
Co-authored-by: nullobsi <me@nullob.si>
Co-authored-by: Norm <normandy@biribiri.dev>
Changelog: Added
Currently translated at 99.8% (1203 of 1205 strings)
Co-authored-by: kazari <6c577a54-aac9-482a-955e-745c858445e3@simplelogin.com>
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/ja/
Translation: Foundkey/foundkey
This allows to get rid of the special loader for ts files. There is
no need for the test files to be written in TypeScript, plain
JavaScript should be fine for this purpose.