MeiMei
MeiMei
Maybe the images published below are useful. https://github.com/recurser/exif-orientation-examples Landscape_[0-8].jpg In my test, 2-8 seems to give wrong results.
What's your cpu architecture? `uname -a`
For verified AP responses, please set ``` ctx.set('Cache-Control', 'private, max-age=0, must-revalidate'); ``` For anonymous responses, leave as below ``` ctx.set('Cache-Control', 'public, max-age=180'); ```
Maybe the code is great though. I have to explain how the function should be, so please wait for a while.
attachment だけは意味的にありえないと思う。 というか他人の投稿を添付した扱いになるのは困る。 あと、`_misskey_quote` がダメな理由がわからない。 `quoteUrl` は ActivityStream を勝手に拡張しているかもしれないけど、`_misskey_quote` は一応 valid なはず。
これらは全て valid であって 独自拡張 でもあるので、どれかに寄せる理由は何?という感じなんだわ。 `"http://fedibird.com/ns#quoteUri": ...` `"https://misskey-hub.net/ns#_misskey_quote": ...` `tag rel="https://misskey-hub.net/ns#_misskey_quote"`
そもそも `quoteUri`, `_misskey_quote` は invalid という誤認を元に話を進めきているのが、変な感じ。 https://github.com/mastodon/mastodon/issues/18473#issuecomment-1133874921 ↓ https://github.com/misskey-dev/misskey/issues/8722 ↓
> I am also not sure why you are complaining about that here because this pull request does not remove or modify anything related to quoteUrl and _misskey_quote. Because it...
https://github.com/misskey-dev/misskey/pull/8837#issuecomment-1166894145 とりあえず、Misskeyの互換用のも変えておいたほうが良さそう `https://www.w3.org/ns/activitystreams#quoteUrl` ↓ `http://fedibird.com/ns#quoteUri`
ここんとこに`.js`加えて https://github.com/misskey-dev/misskey/blob/53f55defda9129baeb15f023050b63148d400940/ormconfig.js#L13 migration作成時に`-o`で`.js`で吐かせるだけで良さそう ``` npx ts-node ./node_modules/typeorm/cli.js migration:generate -o -n 変更の名前 ``` JSコードをガリガリ書くなら`.ts`にしたいかもしれないけど、 実際ベタクエリを流してるだけなのでわざわざ.tsでpublishするメリットもなさそう。