Commit Graph

125 Commits

Author SHA1 Message Date
syuilo dc69490e3a Refactoring 2021-07-15 20:45:32 +09:00
MeiMei 1772af9583
AP Actorの修正 (#7573)
* AP Actorの修正

* Add ActivityPub test

* Fix person

* Test

* ap test

* Revert "Test"

This reverts commit 3c493eff4e89f94fd33f25189ba3bc96ef4366b3.

* Test comment

* fix

* fix

* Update inbox

* indent

* nl

* indent

* TODO

* Fix inbox

* Update test
2021-07-10 23:14:57 +09:00
MeiMei 591a5c277c
Add queue types (#7504) 2021-05-08 18:56:21 +09:00
syuilo ce340aba7a
Refactor (#7394)
* wip

* wip

* wip

* wip

* wip

* Update define.ts

* Update update.ts

* Update user.ts

* wip

* wip

* Update request.ts

* URL

* wip

* wip

* wip

* wip

* Update invite.ts

* Update create.ts
2021-03-24 11:05:37 +09:00
syuilo c74fe3c6e2 refactor: Use path alias 2021-03-23 17:43:07 +09:00
syuilo 0d19c2d42e add note 2021-03-18 11:03:38 +09:00
syuilo 8aa089178a Improve server performance 2021-03-18 10:52:54 +09:00
syuilo 91172654e4 refactor: resolve #7139 2021-02-13 15:33:38 +09:00
syuilo f1ef85b636
feat(server): Fetch icon url of an instance (#6591)
* feat(server): Fetch icon url of an instance

Resolve #6589

* chore: Rename the function
2020-07-26 11:04:07 +09:00
MeiMei 0a4499fd03
Ignore Activities from deleted actors on both ends Fix #6553 (#6554) 2020-07-17 22:47:22 +09:00
MeiMei fd2573c068
署名検証失敗はリトライしないように (#6437) 2020-06-03 09:12:54 +09:00
MeiMei c5dd9439d5
Apply blocked instance to LD-Signature host (#6355) 2020-05-15 20:50:28 +09:00
MeiMei 145389768d
pub-relay (#6341)
* pub-relay

* relay actorをApplicationにする

* Disable koa-compress

* Homeはリレーに送らない

* Disable debug

* UI

* cleanupなど
2020-05-10 18:42:31 +09:00
MeiMei 99e34e9ee2
Fix inbox bug (#6334) 2020-05-09 17:08:54 +09:00
MeiMei 070f1f3c6e
APリファクタとLD-Signatureの検証に対応 (#6300)
* DbResolver

* inbox types

* 認証順を変更

* User/Keyあたりをまとめる

* LD-Signatue

* Validate contexts url

* LD-Signature DocumentLoaderにProxyとTimeout
2020-05-09 08:21:42 +09:00
syuilo 96648b651e isMarkedAsClosed --> isSuspended 2020-01-30 05:56:14 +09:00
syuilo f6154dc0af
v12 (#5712)
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>
Co-authored-by: Satsuki Yanagi <17376330+u1-liquid@users.noreply.github.com>
2020-01-30 04:37:25 +09:00
MeiMei 2a9de356db Fix #5611 (#5612) 2019-12-12 00:46:10 +09:00
MeiMei 873444c3c6 APの統計とログの修正と強化 (#5585)
* Fix #5580

* Improve AP logging
2019-11-07 00:02:18 +09:00
syuilo 77c9b90e6d
Store nodeinfo per federated instances (#5578)
* Store nodeinfo per federated instances

* Update fetch-nodeinfo.ts

* Update fetch-nodeinfo.ts

* update
2019-11-05 22:14:42 +09:00
syuilo 03e999875a
リモートファイルの削除が重い問題を修正 2019-07-01 21:12:14 +09:00
syuilo ed0070c470
Set job concurrency to reduce performance issue 2019-07-01 20:37:26 +09:00
syuilo 1331f0b953
Use WHATWG API
> New application code should use the WHATWG API.
2019-06-18 15:27:13 +09:00
syuilo 72fb23f4d5
Improve drive management 2019-05-27 16:54:47 +09:00
MeiMei 9d1ed1eb0d Some import and export fixes (#4842)
* Fix: Mastodon v2.8.0 のフォローリストがインポートできない

* Fix: エクスポートリクエストに失敗してもエラーが出ない (#4821)

* エクスポートファイルでは同一ハッシュチェックをしないように
2019-05-03 18:33:25 +09:00
syuilo 5aa5896b22
Cache meta 2019-04-24 08:11:19 +09:00
syuilo 9b05b6ef28
Improve readability 2019-04-18 00:57:06 +09:00
syuilo 54a87b25b3
Remove unused imports 2019-04-18 00:56:10 +09:00
MeiMei 55e97864bd Fix: v11で未認知ユーザーからActivityが飛んできた場合に処理できない (#4733)
* Fix: inboxに未知のユーザーが来ると処理できない

* こうかな
2019-04-18 00:53:00 +09:00
Acid Chicken (硫酸鶏) 054220db70 リファクタリング (#4587)
* Use I cap

* Avoid _

* Use default value instead of optional boolean

* Bye useless variable

* Bye verbose try-catch
2019-04-14 17:18:17 +09:00
syuilo ae16b45c11
Fix bug 2019-04-13 16:54:21 +09:00
syuilo 987168b863
strictNullChecks (#4666)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip
2019-04-13 01:43:22 +09:00
MeiMei 2a7e3b9c51 Fix: AP actor Service のサポートが不完全 (v11) (#4662) 2019-04-11 03:09:12 +09:00
syuilo 236d72685d
More puny 2019-04-10 00:59:41 +09:00
syuilo 33a9783ae5
ドメインは常にPunycodeで保存するように 2019-04-09 23:59:32 +09:00
syuilo d9780606b3
Refactor 2019-04-07 23:06:07 +09:00
syuilo f0a29721c9
Use PostgreSQL instead of MongoDB (#4572)
* wip

* Update note.ts

* Update timeline.ts

* Update core.ts

* wip

* Update generate-visibility-query.ts

* wip

* wip

* wip

* wip

* wip

* Update global-timeline.ts

* wip

* wip

* wip

* Update vote.ts

* wip

* wip

* Update create.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update files.ts

* wip

* wip

* Update CONTRIBUTING.md

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update read-notification.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update cancel.ts

* wip

* wip

* wip

* Update show.ts

* wip

* wip

* Update gen-id.ts

* Update create.ts

* Update id.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Docker: Update files about Docker (#4599)

* Docker: Use cache if files used by `yarn install` was not updated

This patch reduces the number of times to installing node_modules.
For example, `yarn install` step will be skipped when only ".config/default.yml" is updated.

* Docker: Migrate MongoDB to Postgresql

Misskey uses Postgresql as a database instead of Mongodb since version 11.

* Docker: Uncomment about data persistence

This patch will save a lot of databases.

* wip

* wip

* wip

* Update activitypub.ts

* wip

* wip

* wip

* Update logs.ts

* wip

* Update drive-file.ts

* Update register.ts

* wip

* wip

* Update mentions.ts

* wip

* wip

* wip

* Update recommendation.ts

* wip

* Update index.ts

* wip

* Update recommendation.ts

* Doc: Update docker.ja.md and docker.en.md (#1) (#4608)

Update how to set up misskey.

* wip

* ✌️

* wip

* Update note.ts

* Update postgre.ts

* wip

* wip

* wip

* wip

* Update add-file.ts

* wip

* wip

* wip

* Clean up

* Update logs.ts

* wip

* 🍕

* wip

* Ad notes

* wip

* Update api-visibility.ts

* Update note.ts

* Update add-file.ts

* tests

* tests

* Update postgre.ts

* Update utils.ts

* wip

* wip

* Refactor

* wip

* Refactor

* wip

* wip

* Update show-users.ts

* Update update-instance.ts

* wip

* Update feed.ts

* Update outbox.ts

* Update outbox.ts

* Update user.ts

* wip

* Update list.ts

* Update update-hashtag.ts

* wip

* Update update-hashtag.ts

* Refactor

* Update update.ts

* wip

* wip

* ✌️

* clean up

* docs

* Update push.ts

* wip

* Update api.ts

* wip

* ✌️

* Update make-pagination-query.ts

* ✌️

* Delete hashtags.ts

* Update instances.ts

* Update instances.ts

* Update create.ts

* Update search.ts

* Update reversi-game.ts

* Update signup.ts

* Update user.ts

* id

* Update example.yml

* 🎨

* objectid

* fix

* reversi

* reversi

* Fix bug of chart engine

* Add test of chart engine

* Improve test

* Better testing

* Improve chart engine

* Refactor

* Add test of chart engine

* Refactor

* Add chart test

* Fix bug

* コミットし忘れ

* Refactoring

* ✌️

* Add tests

* Add test

* Extarct note tests

* Refactor

* 存在しないユーザーにメンションできなくなっていた問題を修正

* Fix bug

* Update update-meta.ts

* Fix bug

* Update mention.vue

* Fix bug

* Update meta.ts

* Update CONTRIBUTING.md

* Fix bug

* Fix bug

* Fix bug

* Clean up

* Clean up

* Update notification.ts

* Clean up

* Add mute tests

* Add test

* Refactor

* Add test

* Fix test

* Refactor

* Refactor

* Add tests

* Update utils.ts

* Update utils.ts

* Fix test

* Update package.json

* Update update.ts

* Update manifest.ts

* Fix bug

* Fix bug

* Add test

* 🎨

* Update endpoint permissions

* Updaye permisison

* Update person.ts

#4299

* データベースと同期しないように

* Fix bug

* Fix bug

* Update reversi-game.ts

* Use a feature of Node v11.7.0 to extract a public key (#4644)

* wip

* wip

* ✌️

* Refactoring

#1540

* test

* test

* test

* test

* test

* test

* test

* Fix bug

* Fix test

* 🍣

* wip

* #4471

* Add test for #4335

* Refactor

* Fix test

* Add tests

* 🕓

* Fix bug

* Add test

* Add test

* rename

* Fix bug
2019-04-07 21:50:36 +09:00
MeiMei 63b1689155 Fix #4556 (#4558) 2019-04-06 00:41:08 +09:00
MeiMei 59dc929431 フォローインポートで自分をスキップするように (#4614)
* skip myself in import-following

* skip owner in publishToFollowers
2019-04-06 00:07:23 +09:00
MeiMei 0a0aa0e2db Fix #4484 (#4485)
* Fix #4484

* import order
2019-03-12 23:38:11 +09:00
syuilo 5bc30c5493
Add log 2019-03-12 13:12:49 +09:00
syuilo f19ac5320e
Remove unnecessary checking 2019-03-12 12:46:01 +09:00
syuilo c932f7a25b
Resolve #1736 2019-03-12 00:34:19 +09:00
syuilo a7e60f80bd
Refactor: Extract downloadTextFile function 2019-03-11 20:23:29 +09:00
syuilo e47c354916
Refactor 2019-03-11 19:57:50 +09:00
syuilo 496f42805d
リストをインポートしたときにプロキシアカウントがフォローするように修正 2019-03-11 19:51:58 +09:00
syuilo c3d34bda37
Resolve #4259 2019-03-11 19:43:58 +09:00
syuilo ce0d4f77fa
リストのエクスポートをできるように
#4259
2019-03-11 09:59:07 +09:00
syuilo 539409faf8
Better logs 2019-03-09 10:18:59 +09:00
syuilo 606e46e4d7
Make info 2019-03-09 10:10:24 +09:00