Commit graph

504 commits

Author SHA1 Message Date
syuilo 62683d8878 なんかもうめっちゃ変えた
Resolve #5900
2020-02-10 07:23:43 +09:00
MeiMei 988ac80087
Correct Like id generation (#5852) 2020-02-06 17:07:37 +09:00
syuilo 8818648740 プロキシアカウントをユーザー名ではなくIDで保存するように 2020-02-05 10:15:09 +09:00
MeiMei b7a4f286b0
リモート投稿にリモートでされたリアクションが表示されるように (#5817)
* 第3インスタンスへのLikeも受け入れるように

* リアクション済みだったらエラーにせずに置き換えるように

* Likeを第3インスタンスにdeliverするように

* fix

* fix

* 同じリアクションがすでにされていたら何もしない

* リモートから自身の投稿へリアクションした場合にエラーにならないように
2020-02-04 08:26:00 +09:00
Acid Chicken (硫酸鶏) c30960d6bf
Fix hashtags contained in private notes are shown in trends (#5805)
* Update trend.ts

* Fix query

* Update create.ts

* Update create.ts

* Update trend.ts
2020-02-02 05:42:58 +09:00
fuyu 6f115c6d81
")"が抜けていたので追加 (#5802) 2020-02-01 17:02:46 +09:00
syuilo c44e8e6bf1 Emoji copy 2020-01-30 06:06:50 +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 9703ba5340
ファイルと画像認識処理の改善 (#5690)
* dimensions制限とリファクタ

* comment

* 不要な変更削除

* use fromFile など

* Add probe-image-size.d.ts

* えーCRLFで作るなよ…

* Update src/@types/probe-image-size.d.ts

Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* fix d.ts

* Update src/@types/probe-image-size.d.ts

Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* Update src/@types/probe-image-size.d.ts

Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* fix

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2020-01-12 16:40:58 +09:00
syuilo 3ed76718a8 Remove needless await 2020-01-10 16:04:25 +09:00
syuilo c62a16ae64 Add some log for debugging 2020-01-10 15:55:40 +09:00
rinsuki 3ecb0ab161 Add GitHub Actions (#5522)
* add .github/workflows/nodejs.yml

* fix

* GitHub Actions: Node.js 8.xはサポートしない

* add .github/workflows/docker.yml

* Dockerビルドをキャッシュするように

* Run test in github actions

* 同リポジトリ内からのプルリクだと無駄に二回走るのを抑制

* 6925c00のdocker.ymlへの適応忘れ

* fix .circleci/misskey/test.yml

* test実行時にDBとかredisとか動かすように

* fix

* fix tests (#5544)

* fix test

* fix compile errors

* PATH引き継ぎでchild_process.spawn時のENOENTを修正

*  サーバー起動処理を共通化

* fix coding style

* fd=4をipcに使うように

* fix port

* fix

* fix ws port

* #4033 にテストケースを追従

* fix?

* fix??

* fix

* fix

* fix

* maybe fix

* fix

* node 10.xサポートしてなかった

* 11.10じゃないとだめだった

* fix

* remove chart test

* fix

* chart test復活

* fix

* 一回一回コネクションを閉じる

* Revert "一回一回コネクションを閉じる"

This reverts commit 56e35cf4f83070744c8dd852f1a7075011d88828.

* 一回一回sync→dropしてるのをやめてみる

* fix

* fix

* …

* キャッシュを切ってみる

* add ts to require target

* omg fix

* Revert "キャッシュを切ってみる"

This reverts commit 88161c59d2ea769ddf87143ba4fd4660a06afdf2.

* done呼び忘れ

* 実際の文字数リミットと違ってたので対応

* テストケースがバグってたので修正

* Revert "一回一回sync→dropしてるのをやめてみる"

This reverts commit a9e543ba2eef790ac7a14ae8799b898765748e35.

* fix

* fix

* fix

* fix?

* fix

* chartのconnectionを分離する

* fix

* fix

* fix tsconfig?

* Revert "fix tsconfig?"

This reverts commit ba9269eaf65507ff97ec1dd2e27260fb2cf0510b.

* fix

* TS_NODE_FILES を scripts の方で指定

* Windowsェ

* Circle CIの実行条件をmasterへのpushのみに

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2020-01-09 14:35:04 +09:00
tamaina e37840d870 ドライブ関連の修正 (#5673)
* ✌️

* Update add-file.ts

* fix
2020-01-04 07:20:41 +09:00
MeiMei 78ef0a9929 ドライブファイルURL生成などの修正 (#5671)
* Fix: リモートプロキシ時にサムネイルのContent-Typeがおかしい

* fix drive
2020-01-02 02:45:05 +09:00
MeiMei b0bb5d8dfc
期限切れ/未保存リモートファイルのローカルプロキシ (#5655)
* Media Proxy を実装

* サンプルを追加

* https://github.com/syuilo/misskey/pull/5649#discussion_r359967471 の修正

* https://github.com/syuilo/misskey/pull/5649#discussion_r359967966 の修正

* https://github.com/syuilo/misskey/pull/5649#discussion_r359968219 の修正

* 期限切れ/未保存リモートファイルのローカルプロキシ

* 設定

* 説明

* comment out

* fix

Co-authored-by: 和風ドレッシング <37681609+CookieRamen@users.noreply.github.com>
2019-12-31 17:23:47 +09:00
MeiMei 3e85aad80a Implement Talk has read federation (#5636)
* Talk read

* fix

* 複数のRead ActivityはCollectionとして送るように

* あ
2019-12-15 03:37:19 +09:00
MeiMei 648be3005f Fix #5637 (#5638) 2019-12-15 03:35:09 +09:00
riku6460 4998ba8866 Fix #5424 (#5604) 2019-12-12 00:39:59 +09:00
syuilo f7a328d66e Update dependencies 🚀 2019-11-24 17:09:32 +09:00
syuilo 9c38e9722a
Fix bug 2019-11-24 16:43:19 +09:00
syuilo 1f86a6d329 Fix bug 2019-11-23 09:43:47 +09:00
MeiMei 44ab428803 無駄なAP deliverをしないように (#5589)
* DeliverManager, note/create

* recipe

* followers delivers

* comment

* rename

* fix

* cleanup
2019-11-09 18:51:54 +09:00
MeiMei b34b728fbb Resolve #5587 (#5588)
* Resolve #5587

* stat
2019-11-09 18:24:41 +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 2f8992f98a Fix bug 2019-11-05 22:11:47 +09:00
rinsuki 0c1d3e186b 新規投稿のMFMをHTMLに変換する際、リモートユーザーへのメンションのリンク先を(できれば)urlに (#5562)
* 新規投稿のMFMをHTMLに変換する際、リモートユーザーへのメンションのリンク先を(できれば)urlに

Fix #2467
Related #5560

* remove unnecessary import

* Update src/services/note/create.ts

Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* Apply suggestions from code review

Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2019-11-01 05:43:54 +09:00
syuilo 59a32e9352 Fix chart bug 2019-10-31 15:51:33 +09:00
MeiMei 245b08b624 Talk federation (#5534) 2019-10-29 06:01:14 +09:00
MeiMei 8da278a279 Update https-proxy-agent など (#5497)
* Use proxy for web-push

* https-proxy-agent 3.0.0
2019-10-14 01:53:28 +09:00
syuilo 4dc4ac2f0c Decrease tag limit 2019-09-27 05:18:09 +09:00
Acid Chicken (硫酸鶏) bf9da8458c Limit the tag counts to 100 (#5263)
* Limit the tag counts to 256

* Update create.ts

* Update create.ts

* Update create.ts

* Limit the user tag
2019-09-27 05:16:59 +09:00
Acid Chicken (硫酸鶏) 0f2d392b4b Use stringz.length instead of String.length in hashtag length calculation (#5443)
* Use stringz.length instead of String.length

* length to 128, ignore combining
2019-09-22 01:21:45 +09:00
MeiMei c033464b92 AP Undo Announce (#5400)
* AP Undo Announce

* Use activity id
2019-09-08 11:30:44 +09:00
MeiMei 593c2b9517 Proxy for SMTP (#5371) 2019-09-02 04:42:52 +09:00
syuilo 96b2267cb8
Chart resyncing (#5372)
* wip

* Add test

* Fix test

* Insert moderation log

* Add todo
2019-09-02 04:41:26 +09:00
syuilo 50abb51ece Syslog support
Resolve #5355
2019-08-30 08:29:46 +09:00
MeiMei 7ecfc007a9 updateHashtagを並列で行わないように (#5284) 2019-08-18 12:47:45 +09:00
MeiMei fc78c75bab Fix: Hashtagがupdateできない (#5285) 2019-08-18 12:46:47 +09:00
Satsuki Yanagi 59493a0cd9 uuid() と lint (#5288)
* Import only v4 uuid, uuid() without version is deprecated

* Add Missing semicolon
2019-08-18 12:42:58 +09:00
MeiMei 6060c6d56e リモートユーザー向けのNoteUnreadsレコードは作成しないように (#5280) 2019-08-17 14:40:06 +09:00
MeiMei 6cdbb27169 Fix: ドライブアップロード直後に取得できるURLがoriginalじゃない (#5274) 2019-08-17 12:32:52 +09:00
和風ドレッシング 1c273a0a75 Elasticsearchのインデックス名をconfigで変更できるように (#5257) 2019-08-09 13:04:35 +09:00
MeiMei db01fa0eef Enable s3ForcePathStyle (#5234) 2019-07-31 18:11:11 +09:00
MeiMei 14736620ec HTTPリクエストのKeep-AliveとPrxoy対応など (#5226)
* DriveのKeep-Alive, Proxy と APのProxy対応

* request系でKeep-Aliveするように

* fix lookup-dns-cache.d.ts

* remove debug output
2019-07-28 09:49:02 +09:00
Satsuki Yanagi 88f5e8e8e2 Bye moment from package.json (#5215)
* Bye moment from package.json

* Use Mapped types for argument type definition
2019-07-25 01:36:48 +09:00
rinsuki 7ac13a386c Improve GenerateVideoThumbnail (#5186)
* Improve GenerateVideoThumbnail

* use fluent-ffmpeg

* Update src/services/drive/generate-video-thumbnail.ts
2019-07-20 03:28:14 +09:00
MeiMei f1ab918ecd Fix question (#5197) 2019-07-20 03:20:06 +09:00
MeiMei 9c4e64b7b5 Send Delete activity on suspend (#5165)
* Send Delete Person activity

* Delete activityの後にフォロー解除する

* アカウント削除でもDelete activity
2019-07-18 02:03:28 +09:00
syuilo b34c1379e9 Resolve #3238 2019-07-14 03:18:45 +09:00
syuilo ec1f2a285b Resolve #5116 2019-07-08 16:03:17 +09:00
syuilo 65bf863093 Fix #4760 2019-07-05 22:32:15 +09:00
MeiMei 26f2ae093b APNGでもMIME typeはimage/pngにするように (#5100)
* APNGでもMIME typeはimage/pngにするように

* Revert "APNGでもMIME typeはimage/pngにするように"

This reverts commit e579eb2bf44f526cabfa9bd4adc6b4fa84727e3b.

* APNGはファイル送信時のみimage/pngにするように
2019-07-05 17:44:23 +09:00
syuilo ead5a6a258 APNG support 2019-07-04 14:45:28 +09:00
syuilo 5e7a4e4752 Fix MIME 2019-07-03 23:43:09 +09:00
syuilo 03e999875a
リモートファイルの削除が重い問題を修正 2019-07-01 21:12:14 +09:00
syuilo 952789cc1e
Use as const
#5089
2019-06-27 18:04:09 +09:00
syuilo 89f16668e6
Fix #4519 2019-06-22 04:17:02 +09:00
syuilo d64dffbdda
Add index 2019-06-18 17:11:28 +09:00
syuilo 4015ccef2f
Add chart indices 2019-06-18 17:10:28 +09:00
Aya Morisawa 2bd03ca725 Use halfwidth space instead of fullwidth space in code (#5054) 2019-06-14 22:54:19 +09:00
syuilo e9dc54c4d9
サムネイル生成でエラーになってもファイルのアップロードを失敗しないように
#5050
2019-06-13 22:59:15 +09:00
syuilo 72fb23f4d5
Improve drive management 2019-05-27 16:54:47 +09:00
syuilo dda7b0c80e
Refactor 2019-05-23 23:46:10 +09:00
syuilo e7dd5e155d
Fix bugs
Use Not(IsNull())
2019-05-20 21:44:16 +09:00
MeiMei 5a3ea38bbf Fix: Delete is not deliver (#4950)
* Fix: Delete is not deliver

* fix
2019-05-20 13:34:51 +09:00
syuilo c7cc3dcdfd
ユーザーグループ
Resolve #3218
2019-05-18 20:36:33 +09:00
syuilo 61f54f8f74
Fix bug 2019-05-18 00:38:33 +09:00
syuilo 62cbb92154
Fix #4930 2019-05-16 12:59:09 +09:00
syuilo 3f5b96bf62
Resolve #4928 2019-05-16 01:07:32 +09:00
syuilo 3d8bbedf1b
GIFのサムネイルが生成されないのを修正
#4728
2019-05-15 21:27:20 +09:00
syuilo 55e6cae240
Fix #4834 2019-05-03 09:16:31 +09:00
syuilo aff56469ed
Fix bug 2019-05-02 17:15:14 +09:00
syuilo 0db54386cd
Resolve #3119 2019-04-25 07:46:39 +09:00
syuilo f5091d524b
Refactorgin 2019-04-25 04:17:03 +09:00
MeiMei ee5720df2c Fix #4704 (#4797)
*  Fix #4632

* Fix #4795
2019-04-25 04:07:39 +09:00
syuilo 5aa5896b22
Cache meta 2019-04-24 08:11:19 +09:00
syuilo 0463c6bb0f
Refactor API (#4770)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update description.ts

* wip
2019-04-23 22:35:26 +09:00
syuilo 5eec896615
Better avgColor 2019-04-17 17:13:49 +09:00
syuilo 0ede390fef
Refactor 2019-04-17 14:32:59 +09:00
syuilo f38ab0b973
Update delete-file.ts 2019-04-17 02:37:37 +09:00
syuilo bcb1a9c5d3
Refactor 2019-04-17 02:19:49 +09:00
syuilo e265b538cc
Fix #4724 2019-04-17 02:11:22 +09:00
syuilo e90ac5d6a4
チャートの数値カラムの型を拡張 2019-04-16 17:52:09 +09:00
syuilo 168c22fc98
Fix bug 2019-04-15 23:00:39 +09:00
Acid Chicken (硫酸鶏) f90b6dbed4
Follow lint 2019-04-15 19:05:35 +09:00
syuilo 64b331c5b2
Update read.ts 2019-04-15 12:11:32 +09:00
syuilo 3c73a7ec6d
inc/dec score 2019-04-14 20:28:57 +09:00
syuilo 694ec7ebe1
Fix bug 2019-04-14 11:50:31 +09:00
syuilo e3b3f8fac1
Better error handling 2019-04-14 04:17:24 +09:00
syuilo e369031a28
Redis必須に 2019-04-13 19:19:32 +09:00
syuilo 186d7bbfd9
Fix bug 2019-04-13 19:08:41 +09:00
syuilo 1181fcdceb
Fix bug 2019-04-13 18:58:29 +09:00
syuilo 53d46d1cbe
Fix error 2019-04-13 18:23:32 +09:00
syuilo 275e1c8de9
Refactor 2019-04-13 18:17:27 +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
syuilo 654daff7ce
Better error handling 2019-04-12 13:07:56 +09:00
syuilo 4198246351
トランザクションを使用してアンケートレコードの挿入に失敗した場合に投稿レコードの挿入もなかったことにするように 2019-04-12 01:30:10 +09:00
syuilo d7df75ae6c
Clean up 2019-04-12 01:01:25 +09:00
syuilo 11c30eccb3
非正規化カラムを削除
非正規化するほどの情報じゃない
2019-04-12 00:42:39 +09:00
syuilo c28f4ffb3f
Clean up 2019-04-10 20:07:36 +09:00