Go to file
okayurisotto e35a370af0
refactor(backend): core/activitypub (#11247)
* eslint: `explicit-function-return-type`

* eslint: `no-unnecessary-condition`

* eslint: `eslint-disable-next-line`

* eslint: `no-unused-vars`

* eslint: `comma-dangle`

* eslint: `import/order`

* cleanup: unnecessary non-null assertion

* cleanup: `IActivity`に`actor`は常に存在するようなので

* cleanup: unnecessary `as`

* cleanup: unnecessary `Promise.resolve`

* cleanup

* refactor: `String.prototype.match()`である必要がない部分をよりシンプルな書き方に変更

* refactor: よりよい型定義

* refactor: よりよい型定義

- `LdSignature`の`normalize`メソッドでの使われ方から、
	- `data`引数の型定義を`any`から`JsonLdDocument`へ修正
	- `getLoader`メソッドの返り値の型定義の一部を`any`から`RemoteDocument`へ修正
		- `contextUrl`が不正な値(`null`)となっていたことが判明したため`undefined`へ修正
		- `document`の型と合わせるために`CONTEXTS`の型定義の一部を`unknown`から`JsonLd`へ修正
			- とりあえず`satisfies`を使用
		- `document`の型と合わせるために`fetchDocument`メソッドの返り値の型定義の一部を`unknown`から`JsonLd`へ修正
			- どうしようもなく`as`を使用

* refactor: 型ガードを使うことでnon-null assertionをやめた

* refactor: non-null assertionをやめた

`.filter()`で行っている型ガードなどの文脈から、より適しているだろうと思われる書き方に変更した。

* refactor: 型ガードを使うことで`as`をやめた

* refactor: `as`をやめた

* refactor: よりよい型定義

- `id`は`null`とのunionになっていたが、`null`を渡している場面はなかった
	- またおそらくこのメソッドは`IOrderedCollection`を返すため、そちらに合わせて`null`とのunionをやめた
		- `IOrderedCollection`とはまだ型に相違がある
- `totalItems`をコメントや使われ方を元に`number`へ推論

* refactor: `for-of` -> `Array.prototype.map`

* refactor: `delete`演算子を使わない形に
2023-07-13 12:48:34 +09:00
.config fix(backend): ひとつのMeilisearchサーバーを複数のMisskeyサーバーで使えない問題を修正 2023-05-11 21:09:29 +09:00
.devcontainer use node 20.3.1 2023-07-08 15:48:46 +09:00
.github update node to 20.4.0 2023-07-07 13:58:43 +09:00
.okteto
.vscode enhance: account migration (#10592) 2023-04-30 00:09:29 +09:00
assets cleanup: trim trailing whitespace (#11136) 2023-07-08 07:08:16 +09:00
chart fix(backend): ひとつのMeilisearchサーバーを複数のMisskeyサーバーで使えない問題を修正 2023-05-11 21:09:29 +09:00
cypress cleanup: trim trailing whitespace (#11136) 2023-07-08 07:08:16 +09:00
fluent-emojis@cae981eb4c
locales fix(locales, storybook): use default import (#11259) 2023-07-12 22:27:51 +02:00
misskey-assets@0179793ec8
packages refactor(backend): core/activitypub (#11247) 2023-07-13 12:48:34 +09:00
scripts refactor: use esm 2023-07-08 13:03:31 +09:00
.dockerignore feat: Introduce Meilisearch (#10755) 2023-05-05 08:52:14 +09:00
.dockleignore fix: aptのキャッシュを削除しないようにする (#9803) 2023-02-05 14:15:59 +09:00
.editorconfig cleanup: trim trailing whitespace (#11136) 2023-07-08 07:08:16 +09:00
.gitattributes 改行コードをLFに統一 (#9926) 2023-02-14 13:13:34 +09:00
.gitignore Update .gitignore 2023-07-07 10:49:17 +09:00
.gitmodules
.node-version use node 20.3.1 2023-07-08 15:48:46 +09:00
.vsls.json
CHANGELOG.md オフライン時の画面にリロードボタンを追加 (#11242) 2023-07-11 18:24:10 +09:00
CODE_OF_CONDUCT.md
codecov.yml Update codecov.yml 2023-02-26 14:17:29 +09:00
CONTRIBUTING.md cleanup: trim trailing whitespace (#11136) 2023-07-08 07:08:16 +09:00
COPYING
crowdin.yml
cypress.config.ts
docker-compose.yml.example feat: Introduce Meilisearch (#10755) 2023-05-05 08:52:14 +09:00
Dockerfile use node 20.3.1 2023-07-08 15:48:46 +09:00
gulpfile.mjs refactor(locales, sw): use es module (#11204) 2023-07-09 17:19:07 +09:00
healthcheck.sh fix docker health check (#9810) 2023-02-08 17:59:10 +09:00
LICENSE
package.json 13.14.0-beta.2 2023-07-08 21:13:35 +09:00
pnpm-lock.yaml refactor: use esm 2023-07-08 13:03:31 +09:00
pnpm-workspace.yaml chore: integrate misskey-js as a workspace item (git subtree) (#10409) 2023-03-30 09:33:19 +09:00
Procfile
README.md cleanup: trim trailing whitespace (#11136) 2023-07-08 07:08:16 +09:00
ROADMAP.md Update ROADMAP.md 2023-02-22 16:38:00 +09:00
SECURITY.md

Misskey logo

🌎 Misskey is an open source, decentralized social media platform that's free forever! 🚀


find an instance create an instance become a contributor join the community become a patron

codecov

Features

  • ActivityPub support
    Not on Misskey? No problem! Not only can Misskey instances talk to each other, but you can make friends with people on other networks like Mastodon and Pixelfed!
  • Reactions
    You can add emoji reactions to any post! No longer are you bound by a like button, show everyone exactly how you feel with the tap of a button.
  • Drive
    With Misskey's built in drive, you get cloud storage right in your social media, where you can upload any files, make folders, and find media from posts you've made!
  • Rich Web UI
    Misskey has a rich and easy to use Web UI! It is highly customizable, from changing the layout and adding widgets to making custom themes. Furthermore, plugins can be created using AiScript, an original programming language.
  • And much more...

Documentation

Misskey Documentation can be found at Misskey Hub, some of the links and graphics above also lead to specific portions of it.

Sponsors

RSS3

Thanks

Chromatic

Thanks to Chromatic for providing the visual testing platform that helps us review UI changes and catch visual regressions.

Codecov

Thanks to Codecov for providing the code coverage platform that helps us improve our test coverage.

Crowdin

Thanks to Crowdin for providing the localization platform that helps us translate Misskey into many languages.

Docker

Thanks to Docker for providing the container platform that helps us run Misskey in production.