Commit Graph

486 Commits

Author SHA1 Message Date
syuilo
d1550cf9e6 Update dependencies 🚀 2019-11-24 17:09:32 +09:00
syuilo
e9af7e94c4 Fix bug 2019-11-24 16:43:19 +09:00
syuilo
d3f04e36dd Fix bug 2019-11-23 09:43:47 +09:00
MeiMei
007f4bcef0 無駄なAP deliverをしないように (#5589)
* DeliverManager, note/create

* recipe

* followers delivers

* comment

* rename

* fix

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

* stat
2019-11-09 18:24:41 +09:00
syuilo
25dedfb911 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
349356a82c Fix bug 2019-11-05 22:11:47 +09:00
rinsuki
c393a91f58 新規投稿の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
1c8ebf983b Fix chart bug 2019-10-31 15:51:33 +09:00
MeiMei
d365b9d5f1 Talk federation (#5534) 2019-10-29 06:01:14 +09:00
MeiMei
15b3c4e250 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
2fe704bb71 Decrease tag limit 2019-09-27 05:18:09 +09:00
Acid Chicken (硫酸鶏)
ca02c57625 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 (硫酸鶏)
14defec353 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
5fbf30e00d AP Undo Announce (#5400)
* AP Undo Announce

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

* Add test

* Fix test

* Insert moderation log

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

* Add Missing semicolon
2019-08-18 12:42:58 +09:00
MeiMei
9f43e384d2 リモートユーザー向けのNoteUnreadsレコードは作成しないように (#5280) 2019-08-17 14:40:06 +09:00
MeiMei
774fa19fea Fix: ドライブアップロード直後に取得できるURLがoriginalじゃない (#5274) 2019-08-17 12:32:52 +09:00
和風ドレッシング
73bb119119 Elasticsearchのインデックス名をconfigで変更できるように (#5257) 2019-08-09 13:04:35 +09:00
MeiMei
9ebfe9e97f Enable s3ForcePathStyle (#5234) 2019-07-31 18:11:11 +09:00
MeiMei
40dc468a99 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
278ed9beb8 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
720ad1e4a8 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
f69a404588 Fix question (#5197) 2019-07-20 03:20:06 +09:00
MeiMei
9bf6a5732a Send Delete activity on suspend (#5165)
* Send Delete Person activity

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

* アカウント削除でもDelete activity
2019-07-18 02:03:28 +09:00
syuilo
bf10d57f03 Resolve #3238 2019-07-14 03:18:45 +09:00
syuilo
ba9d0e8641 Resolve #5116 2019-07-08 16:03:17 +09:00
syuilo
25bfcfa4c4 Fix #4760 2019-07-05 22:32:15 +09:00
MeiMei
ab79ca0794 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
cb9c97516e APNG support 2019-07-04 14:45:28 +09:00
syuilo
c28639437f Fix MIME 2019-07-03 23:43:09 +09:00
syuilo
7b0651d05d リモートファイルの削除が重い問題を修正 2019-07-01 21:12:14 +09:00
syuilo
583411681f Use as const
#5089
2019-06-27 18:04:09 +09:00
syuilo
9cd8b234aa Fix #4519 2019-06-22 04:17:02 +09:00
syuilo
bc9323c360 Add index 2019-06-18 17:11:28 +09:00
syuilo
5a7e9cebdf Add chart indices 2019-06-18 17:10:28 +09:00
Aya Morisawa
81c9d66bf4 Use halfwidth space instead of fullwidth space in code (#5054) 2019-06-14 22:54:19 +09:00
syuilo
1c8c166720 サムネイル生成でエラーになってもファイルのアップロードを失敗しないように
#5050
2019-06-13 22:59:15 +09:00
syuilo
6f00143bd6 Improve drive management 2019-05-27 16:54:47 +09:00
syuilo
65c5267db3 Refactor 2019-05-23 23:46:10 +09:00
syuilo
02511b837f Fix bugs
Use Not(IsNull())
2019-05-20 21:44:16 +09:00
MeiMei
e3d880b8be Fix: Delete is not deliver (#4950)
* Fix: Delete is not deliver

* fix
2019-05-20 13:34:51 +09:00
syuilo
20c34ead23 ユーザーグループ
Resolve #3218
2019-05-18 20:36:33 +09:00
syuilo
3d1239a3b3 Fix bug 2019-05-18 00:38:33 +09:00
syuilo
468f85c059 Fix #4930 2019-05-16 12:59:09 +09:00
syuilo
4452f8378b Resolve #4928 2019-05-16 01:07:32 +09:00
syuilo
55886e3ea4 GIFのサムネイルが生成されないのを修正
#4728
2019-05-15 21:27:20 +09:00
syuilo
dff4c43bc6 Fix #4834 2019-05-03 09:16:31 +09:00
syuilo
759d2ba6fb Fix bug 2019-05-02 17:15:14 +09:00
syuilo
2c885dc8a4 Resolve #3119 2019-04-25 07:46:39 +09:00
syuilo
4a1a92257f Refactorgin 2019-04-25 04:17:03 +09:00
MeiMei
3f86541215 Fix #4704 (#4797)
*  Fix #4632

* Fix #4795
2019-04-25 04:07:39 +09:00
syuilo
41b4c81335 Cache meta 2019-04-24 08:11:19 +09:00
syuilo
493c83ef2d 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
022bb7a5b3 Better avgColor 2019-04-17 17:13:49 +09:00
syuilo
0fd33c1172 Refactor 2019-04-17 14:32:59 +09:00
syuilo
a08a0270e7 Update delete-file.ts 2019-04-17 02:37:37 +09:00
syuilo
475e613931 Refactor 2019-04-17 02:19:49 +09:00
syuilo
8760a4195c Fix #4724 2019-04-17 02:11:22 +09:00
syuilo
0b4d7de915 チャートの数値カラムの型を拡張 2019-04-16 17:52:09 +09:00
syuilo
61a2c1b4ef Fix bug 2019-04-15 23:00:39 +09:00
Acid Chicken (硫酸鶏)
83ee6f8de3 Follow lint 2019-04-15 19:05:35 +09:00
syuilo
be9d8a679f Update read.ts 2019-04-15 12:11:32 +09:00
syuilo
50b3542074 inc/dec score 2019-04-14 20:28:57 +09:00
syuilo
a3f408fc42 Fix bug 2019-04-14 11:50:31 +09:00
syuilo
1b3848ee5d Better error handling 2019-04-14 04:17:24 +09:00
syuilo
af93cdd49f Redis必須に 2019-04-13 19:19:32 +09:00
syuilo
6240f172fe Fix bug 2019-04-13 19:08:41 +09:00
syuilo
89153efb4e Fix bug 2019-04-13 18:58:29 +09:00
syuilo
df231ff3bd Fix error 2019-04-13 18:23:32 +09:00
syuilo
fcbe004e7c Refactor 2019-04-13 18:17:27 +09:00
syuilo
8d94a6a8df strictNullChecks (#4666)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip
2019-04-13 01:43:22 +09:00
syuilo
dcf9421560 Better error handling 2019-04-12 13:07:56 +09:00
syuilo
610f1cec45 トランザクションを使用してアンケートレコードの挿入に失敗した場合に投稿レコードの挿入もなかったことにするように 2019-04-12 01:30:10 +09:00
syuilo
c5df8bbda0 Clean up 2019-04-12 01:01:25 +09:00
syuilo
e7b51e500b 非正規化カラムを削除
非正規化するほどの情報じゃない
2019-04-12 00:42:39 +09:00
syuilo
df280d8e19 Clean up 2019-04-10 20:07:36 +09:00
syuilo
16965eb4a1 テーブル分割 2019-04-10 15:04:27 +09:00
syuilo
b22f9412fa More puny 2019-04-10 00:59:41 +09:00
syuilo
a3549f1c9f ドメインは常にPunycodeで保存するように 2019-04-09 23:59:32 +09:00
syuilo
54667224c5 isRemote --> isLink 2019-04-09 23:07:08 +09:00
syuilo
f052760c69 Fix bug 2019-04-09 01:31:48 +09:00
syuilo
64c8a5847f Fix 2019-04-08 19:56:42 +09:00
syuilo
7557621488 Improve instance chart 2019-04-08 14:29:17 +09:00
syuilo
c625323d8d Refactor 2019-04-07 23:06:07 +09:00
syuilo
9449b19a6b Fix avgColor format 2019-04-07 22:57:30 +09:00
syuilo
2b8602bd1b 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
c0927a24be フォローインポートで自分をスキップするように (#4614)
* skip myself in import-following

* skip owner in publishToFollowers
2019-04-06 00:07:23 +09:00
MeiMei
e389529bee Fix #4546 (#4548)
* Refactor download

* emoji type
2019-03-21 04:50:44 +09:00
MeiMei
2efb187466 Fix NoteReaction (#4547) 2019-03-20 21:39:02 +09:00
syuilo
f47bc6bced Revert "Remove deepcopy dependency"
This reverts commit cbf5663179c60abb6d9f1a612027065432500643.
2019-03-19 18:47:14 +09:00
syuilo
6e04b563dd Remove deepcopy dependency 2019-03-19 17:59:44 +09:00
MeiMei
bd1f2ba732 Content-Disposition in ObjectStrage (#4524)
* Content-Disposition in ObjectStrage

* encode filename
2019-03-18 15:23:45 +09:00
MeiMei
08144dfce4 Custom reaction (#4517)
* Custom reaction

* increase limit of reactions/delete

* リアクションの場合は OS標準の絵文字を使用 を迂回する

* カスタムリアクションを無効にする設定

* fix

* disableCustomReaction --> enableEmojiReaction

* Avoid MFM rendering

* 🎨

* 🎨

* Auto accept

* custom emoji reaction

* Improve usability

* Extract emojiRegex

* Fix

* Clean up

* 🎨

* 🎨

* toDbReaction で reaction は必須に

あとフォールバックは like に

* Clean up

* Make required

* 3eb08748fe (r266241728)

* Refactor

* Allow null
2019-03-18 00:03:57 +09:00
MeiMei
f01e0b5cd4 Accept Article object (#4499) 2019-03-15 00:23:24 +09:00