Commit Graph

558 Commits

Author SHA1 Message Date
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
Acid Chicken (硫酸鶏)
060b4454bb Follow #3676 2019-03-14 22:17:26 +09:00
MeiMei
ccc7d4a98d unFollowAll on suspend (#4490)
* unFollowAll on suspend

* use services

* silent
2019-03-14 15:16:07 +09:00
syuilo
750348bab4 Refactor 2019-03-11 19:57:50 +09:00
MeiMei
0ec2e92ea6 Ignore 4xx references in AP (#4463)
* Ignore 4xx references

* remove unnecessary comment
2019-03-10 22:27:25 +09:00
syuilo
e9e06118ac Fix import 2019-03-07 23:14:01 +09:00
MeiMei
a5581fda78 Implement Update Question (#4435)
* Update remote votes count

* save updatedAt

* deliver Update

* use renderNote

* use id

* fix typeof
2019-03-07 21:19:32 +09:00
Acid Chicken (硫酸鶏)
7ff7530f2e Enhance poll (#4409)
* Start working

* WIP: Enhance poll

* Fix bug

* Use `name` in voting note
refs: https://github.com/syuilo/misskey/issues/4407#issuecomment-469057296

* Fix style

* Refactor
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>

* WIP: Update poll editor

* Fix bug

* Fix bug
refs: https://github.com/syuilo/misskey/pull/4409#discussion_r

* Fix typo

* Better design

* Beautify poll editor

* Fix UI

* Fix bug
refs: https://github.com/syuilo/misskey/pull/4409#discussion_r262217524

* Add debug logging

* Fix bug

* Log deliver

* fix vote

* Update ap/show
refs: https://github.com/syuilo/misskey/pull/4409#issuecomment-469652386

* Update poll view

* Maybe done

* Add tests

* Fix path

* Fix test

* Fix test

* Fix test

* Fix expired check on AP

* Update note.ts

* Squashed commit of the following:

commit d9a4beabf851893b8992a0f4568265eb9d4f0b8e
Author: mei23 <m@m544.net>
Date:   Wed Mar 6 05:16:14 2019 +0900

    tune

commit 83ff421a6e978243f80ba9ec820189bc897e6e3b
Author: mei23 <m@m544.net>
Date:   Wed Mar 6 05:01:14 2019 +0900

    fallback

commit 0b566af973b115ade9e75ea4b8094ee2b329dabc
Author: mei23 <m@m544.net>
Date:   Wed Mar 6 04:40:12 2019 +0900

    Note

commit cc0296dd6127580ac584c40398db3f762a311f8b
Author: mei23 <m@m544.net>
Date:   Wed Mar 6 04:33:58 2019 +0900

    createで送る

* Squashed commit of the following:

commit ae696b1ed12568b27c27367ac5a77035c97c9a1f
Author: mei23 <m@m544.net>
Date:   Wed Mar 6 06:11:17 2019 +0900

    fix

commit b735e354e7a9e64534c4f17d04ecbc65fb735c21
Author: mei23 <m@m544.net>
Date:   Wed Mar 6 06:08:33 2019 +0900

    messge

commit d9a4beabf851893b8992a0f4568265eb9d4f0b8e
Author: mei23 <m@m544.net>
Date:   Wed Mar 6 05:16:14 2019 +0900

    tune

commit 83ff421a6e978243f80ba9ec820189bc897e6e3b
Author: mei23 <m@m544.net>
Date:   Wed Mar 6 05:01:14 2019 +0900

    fallback

commit 0b566af973b115ade9e75ea4b8094ee2b329dabc
Author: mei23 <m@m544.net>
Date:   Wed Mar 6 04:40:12 2019 +0900

    Note

commit cc0296dd6127580ac584c40398db3f762a311f8b
Author: mei23 <m@m544.net>
Date:   Wed Mar 6 04:33:58 2019 +0900

    createで送る

* Fix typo

* Update vote.ts

* Update vote.ts

* Update poll-editor.vue

* Update tslint.json

* Fix layout

* Add note

* Fix bug

* Rename text key

* 投票するときに投稿として扱わないように (#4425)

* wip

* 形式をMastodonと合わせた

* Bye something

* Use - instead of ~

* Redundancy

* Yes!

* Refactor

* Use moment instead of Date

* Fix indent

* Refactor

if (votes.length)
は必要なさそう

* Clean up

* Bye Date

* Clean

* Fix timer is not displayed

* Fix リモートから無期限pollにvoteできない

* Fix vote actor
2019-03-06 22:55:47 +09:00
MeiMei
36fb277cf2 Fix #4413 (#4417) 2019-03-05 07:56:23 +09:00
MeiMei
c6055b3fd3 Fix SVG detection (#4401)
* Fix SVG detection

* remove unnecessary import
2019-03-03 08:48:02 +09:00
syuilo
46e1bd421a Better logs 2019-03-03 08:00:39 +09:00
syuilo
a44030bff2 Better logs 2019-03-03 07:47:58 +09:00
syuilo
3d277fe4a0 ログをデータベースに保存して管理画面で見れるように 2019-03-02 18:51:59 +09:00
syuilo
d078bda2d0 Improve doc 2019-02-25 04:02:18 +09:00
syuilo
49003e865c Refactor 2019-02-24 17:28:51 +09:00
syuilo
0e5c9df3f5 Use camelCase 2019-02-24 12:53:22 +09:00
syuilo
73e84df9de Improve doc 2019-02-24 12:23:31 +09:00
syuilo
d28f9152d9 Improve doc 2019-02-24 10:08:09 +09:00
syuilo
799adcae99 Improve doc 2019-02-24 10:04:27 +09:00
syuilo
be64a937c7 Improve doc 2019-02-24 10:00:24 +09:00
syuilo
f42d9b847d Improve type definitions 2019-02-24 09:45:27 +09:00
syuilo
4bfaa495ce 投稿を削除したときにお気に入りからも削除するように 2019-02-22 14:54:52 +09:00
syuilo
6de16eb71e Improve error handling of API (#4345)
* wip

* wip

* wip

* Update attached_notes.ts

* wip

* Refactor

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update call.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* ✌️

* Fix
2019-02-22 11:46:58 +09:00
syuilo
86ecc2d0ff Resolve #2017 2019-02-21 01:30:21 +09:00
syuilo
153b48fa37 Fix #4326 2019-02-20 06:44:40 +09:00
syuilo
8e164abb97 みつけるの人気のタグを第2ソートで連合含めたユーザー数にしたりユーザーのタグ以外は除外するように 2019-02-18 11:47:25 +09:00
syuilo
12d125f44a Fix bug 2019-02-18 01:11:14 +09:00
syuilo
0701d0ceea ハッシュタグでユーザー検索できるように (#4298)
* ハッシュタグでユーザー検索できるように

* 🎨

* Increase limit

* リモートユーザーも表示

* Fix bug

* Fix bug

* Improve performance
2019-02-17 23:41:47 +09:00
syuilo
09f79629c5 既にフォローされている場合はフォローリクエストを生成しないように (#4266) 2019-02-15 05:56:28 +09:00
syuilo
8826455244 Remove unused import 2019-02-11 23:39:05 +09:00
syuilo
cfd19c23a1 Fix bug 2019-02-11 23:37:15 +09:00
syuilo
47709a8deb フォロー処理のリファクタリング (#4196)
* Fix #4185

* Fix bug
2019-02-09 12:04:03 +09:00
syuilo
c54f1928be Introduce per-instance chart (#4183)
* Introduce per-instance chart

* Implement chart view in client

* Handle note deleting

* More chart srcs

* Add drive stats

* Improve drive stats

* Fix bug

* Add icon
2019-02-08 16:58:57 +09:00
syuilo
308bcef08a Refactoring: Move chart dir into services dir 2019-02-08 04:31:33 +09:00
syuilo
c59ca22a81 Revert 96bc17aa1014983d5e6bf8b4c05d898156995a0d 2019-02-07 21:02:33 +09:00
syuilo
4c819e29fd Improve instance stats 2019-02-07 15:00:44 +09:00
Aya Morisawa
ff80a2c934 Check config on load (#4170)
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
2019-02-06 22:44:55 +09:00
syuilo
758d06249b Refactoring 2019-02-05 14:14:23 +09:00
MeiMei
0a8cff4f3c アニメーションを自動再生しないオプション (#4131)
* Refactor

* settings

* Media Proxy

* Replace API response
2019-02-05 03:01:36 +09:00
Acid Chicken (硫酸鶏)
1d9ef8cc99 Resolve #4121 (#4122)
* Resolve #4121

* Update tslint.json
2019-02-04 18:27:45 +09:00
syuilo
f38d7b91aa Use internal logger instead of debug/console for logging
Resolve #4104
Resolve #1966
Resolve #1937
2019-02-03 18:16:57 +09:00
syuilo
074c851a87 Better logging 2019-02-03 17:09:16 +09:00
syuilo
210cf78606 Better logging 2019-02-03 16:45:13 +09:00
syuilo
c304d813e2 [Server] Use logger for logging 2019-02-03 04:18:27 +09:00
MeiMei
fffaa60a6f Fix video thumbnails (#4095)
* Fix video thumbnails

* Fix import
2019-02-02 23:30:34 +09:00
MeiMei
765980c4d5 Generate video thumbnails (#4084)
* Generate video thumbnails

* import order
2019-02-02 13:22:09 +09:00
syuilo
82f4f309c1 [Server] Resolve #4062 2019-01-31 17:37:57 +09:00
MeiMei
ab7ee7a7ab Do not import as pack from AP renderer (#4048)
* Do not import as pack from AP renderer

* rename
2019-01-31 02:29:35 +09:00
syuilo
bd0f54219d Introduce silence (#4043)
* Introduce silence

* Fix icon
2019-01-30 17:25:56 +09:00
Aya Morisawa
d034a10d54 Avoid export default 2019-01-30 16:56:27 +09:00
Aya Morisawa
4327498d46 Add missing semicolon 2019-01-28 17:49:20 +09:00
syuilo
22f84f88a3 Resolve #2253 2019-01-26 17:47:56 +09:00
syuilo
d729453d7c [Server] Fix #3991 2019-01-26 17:11:02 +09:00
MeiMei
e090ccfae8 Supports Twemoji / CustomEmoji in poll (#3960)
* Supports Twemoji / CustomEmoji in poll

* extract emojis in polls
2019-01-23 04:49:16 +09:00
syuilo
769c342438 [Server] リプライをタイムラインに流す以前の仕様に差し戻し
Resolve #3941
2019-01-21 14:44:49 +09:00
syuilo
fa6fe83b28 Remove unused import 2019-01-21 13:45:58 +09:00
MeiMei
6e36c4a401 リモートで投票を見たりしたりできるように (#3940)
* fix type

* expose Question

* Note refs Question

* rename

* wip

* リモート投票の場合リプライ送信

* voteの実装をservicesに移動

* 投票受信

* debug

* つくる

* Revert "つくる"

This reverts commit 0c9245886680b7d3b93a0278642f4cf6a43b5cb2.

* APIの実装はもどし

* Send Update

* AP type

* Recv Update

* Revert "Recv Update"

This reverts commit ffda39c0936d8e023f64603edabeb8e0eb9fc370.

* Revert "AP type"

This reverts commit 63d8bbe29dd6f326773214346350607cc4381996.

* Revert "Send Update"

This reverts commit 171b046de549f1478e928dee3177eeefab341fcf.

* リモートで投票を見る

* 投票はDM

* Provides choices as text for AP

* 絵文字

* fix error

* revert

* APからには不要な処理を削除

* Revert "APからには不要な処理を削除"

This reverts commit 8b5d8af9b0cc4d4ad0cf21de59827ff21df99560.

* てぬき

* めんどい

* ちっ

* remove unused code
2019-01-21 13:27:19 +09:00
syuilo
087b011cbd [Server] Fix #3528 2019-01-21 12:19:20 +09:00
syuilo
8201e5af84 常にメディアを閲覧注意として投稿するオプションが機能してなかった問題を修正 2019-01-20 18:20:25 +09:00
syuilo
94720baddf 関係のない返信がタイムラインに流れる問題を修正
Resolve #1910
2019-01-20 13:14:31 +09:00
syuilo
b47a8ef4a5 Drop stalk feature
Resolve #3935
Closes #2226
Closes #1946
2019-01-20 12:25:00 +09:00
MeiMei
9440de8fcc AP Undo Like (#3933)
* AP Undo Like

* rename
2019-01-20 03:07:12 +09:00
syuilo
6981c18a02 Implement active users chart
Resolve #3904
2019-01-17 17:16:08 +09:00
Acid Chicken (硫酸鶏)
a883e70ad4 Support SVG (#3883)
* Update add-file.ts

* Update package.json

* Revert "Update add-file.ts"

This reverts commit ba0fe83b54a44493447208dfb3cc304a60df6fdd.

* Update add-file.ts

* Update package.json

* Update add-file.ts

* Update add-file.ts

* Create image.svg

* Update api.ts
2019-01-13 18:21:10 +09:00
MeiMei
06cf3c7bd0 Fix bug (for return) (#3878) 2019-01-11 17:53:53 +09:00
MeiMei
f150785b49 ダイレクトを非公開のように使えるようにする (#3869) 2019-01-11 08:06:05 +09:00
syuilo
cbf50fee15 Privateの公開範囲を廃止 2018-12-29 02:55:46 +09:00
MeiMei
644e420930 フォローしているユーザーからのフォローを自動承認するオプション (#3780) 2018-12-28 21:36:58 +09:00
MeiMei
b619c65778 ダイレクト投稿でユーザーが指定されていなかったらrejectする (#3724) 2018-12-23 04:17:42 +09:00
MeiMei
3868fc7459 ダイレクトでメンションでもユーザーを指定できるように (#3722) 2018-12-23 03:44:18 +09:00
Aya Morisawa
45c9667c5c Refactor MFM
Co-authored-by: syuilo syuilotan@yahoo.co.jp
2018-12-20 19:42:10 +09:00
MeiMei
477bff68b9 Fix tag length limit from AP (#3688) 2018-12-20 02:20:56 +09:00
syuilo
4d17f35730 Fix bug 2018-12-19 11:16:29 +09:00
MeiMei
62859788e7 Fix URL after deleting remote file (#3597)
* Fix URL after deleting remote file

* expired only

* delete space
2018-12-12 11:46:35 +09:00
Aya Morisawa
b954245a4d Use for-of instead of forEach (#3583)
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2018-12-11 20:36:55 +09:00
MeiMei
07218ce03c Fix follow duplicate (#3548)
* フォローとリクエスト両方存在しても解除する

* 既にフォローしてても承認できるように
2018-12-08 18:55:00 +09:00
syuilo
3dd5cf4f3b Add comment 2018-12-08 10:20:43 +09:00
MeiMei
de3a658c64 Apply tag length limit from AP (#3536) 2018-12-07 21:01:43 +09:00
MeiMei
2bf3f7ab87 Emoji support in profile (#3514)
* Emoji in profile

* Add emojis to fields
2018-12-06 10:02:04 +09:00
MeiMei
7cbcc3310f Remove unnecessary Renote check code (#3489) 2018-12-04 03:22:41 +09:00
MeiMei
2b824f7169 No MFM parsing when remote note (#3470)
* Use tag for hashtag detection of remote note

* No MFM parsing when remote note
2018-12-02 18:05:33 +09:00
syuilo
960df2bb7f Resolve #1826 2018-12-02 07:02:08 +09:00
Aya Morisawa
eabfd00012 Use for-of instead of map
return values are not being used
2018-11-30 23:30:28 +09:00
MeiMei
9a68d4082e Image for web publish (#3402)
* Image for Web

* Add comment

* Make main to original
2018-11-26 04:25:48 +09:00
MeiMei
374fb4eda9 Do not use _replyIds (#3392) 2018-11-23 23:12:28 +09:00
syuilo
283f792c32 Improve user operations
Resolve #2197
Resolve #3367
2018-11-23 08:01:14 +09:00
syuilo
60252911eb Improve MFM parser (#3337)
* wip

* wip

* Refactor

* Refactor

* wip

* wip

* wip

* wip

* Refactor

* Refactor

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Clean up

* Update misskey-flavored-markdown.ts

* wip

* wip

* wip

* wip

* Update parser.ts

* wip

* Add new test

* wip

* Add new test

* Add new test

* wip

* Refactor

* Update parse.ts

* Refactor

* Update parser.ts

* wip
2018-11-21 05:11:00 +09:00
MeiMei
599f034367 Fix some image processing (#3313)
* Improve thunmbnail generation

* Respect orientation in Firefox
2018-11-19 09:17:16 +09:00
MeiMei
d94d32dad9 local only visibility (#3254)
* local only visibility

* fix UI
2018-11-16 05:47:29 +09:00
MeiMei
a87caff2d5 Fix: notes/create hangs when rejected (#3221) 2018-11-13 19:34:09 +09:00
MeiMei
98707f51ec On remote notes, not use content for detecting mentions (#3170)
* On remote note, detect mentioned users from to/cc

* fix
2018-11-09 08:44:19 +09:00
syuilo
64dbcd6d9d Fix #3149 2018-11-07 19:43:21 +09:00
syuilo
40d4efc104 [API] Improve drive/files/upload_from_url 2018-11-07 12:12:43 +09:00
syuilo
0f65a6a077 [API] Implement notes/watching/ 2018-11-06 14:58:20 +09:00
MeiMei
8f6f76ffc1 Fix: download file (#3138)
* Fix: url download

* not explicitly close on end

* resolve on stream finish

* remove unnecessary code

* reject on file error
2018-11-06 07:53:03 +09:00
syuilo
d611a53044 リモートのファイルをキャッシュするかどうかの設定をDBに保存するように 2018-11-06 07:52:13 +09:00
syuilo
84822b0e58 ドライブ容量の設定をDBに保存するようにしたりリファクタリングしたり 2018-11-06 07:14:43 +09:00
syuilo
ceb2a316cd Refactoring & 設定でTwemojiを使うかどうか切り替えられるように 2018-11-05 19:20:35 +09:00
syuilo
f3ea9a8ef6 Do not send needless emojis in note
投稿作成時に含まれている絵文字を保存しておくように

SEE: https://github.com/syuilo/misskey/pull/3085#issuecomment-435608434
2018-11-04 03:32:20 +09:00
syuilo
43db18ee44 Fix bug 2018-10-30 21:55:16 +09:00
syuilo
2b252588c0 Fix #3040 2018-10-30 14:34:32 +09:00
syuilo
e3dde97e62 Format 2018-10-29 21:38:09 +09:00
MeiMei
26e7e7d0dc User blocking (Following part) (#3035)
* block wip

* UndoBlock

* UnBlock

* wip

* follow

* UI

* fix
2018-10-29 20:32:42 +09:00
syuilo
052154295b Clean up 2018-10-25 08:42:07 +09:00
syuilo
8c8ff7d49a Implement featured note API 2018-10-25 07:04:15 +09:00
syuilo
58838381a9 Implement #2993 2018-10-24 06:17:55 +09:00
syuilo
c41c2c83e2 ハッシュタグチャートでローカルとリモートを分離するように 2018-10-23 09:59:43 +09:00
syuilo
3c0e7119ca Implement #2983 2018-10-23 07:04:00 +09:00
syuilo
cd6db1d9f7 Use camelCase instead of snake_case 2018-10-23 07:01:43 +09:00
syuilo
ccb86ea4f9 Refactoring 2018-10-23 05:36:35 +09:00
MeiMei
e433b25bcb Complement file extension from MIME (#2979) 2018-10-23 04:37:37 +09:00
syuilo
229f796f4d Implement #2980 2018-10-22 17:36:36 +09:00
syuilo
6b1c57b0de Refactor 2018-10-22 17:13:06 +09:00
syuilo
4216d28432 Implement per user drive stats 2018-10-22 04:44:10 +09:00
syuilo
6f43c79cfb Fix bug 2018-10-22 04:36:57 +09:00
syuilo
525d0e71a5 Fix bug 2018-10-22 04:31:45 +09:00
syuilo
9d72a6321e Implemet per user notes stats 2018-10-22 04:30:27 +09:00
syuilo
176bf67b36 Fix bug 2018-10-22 03:41:50 +09:00
syuilo
7f9a6e9386 Fix bug 2018-10-22 03:34:56 +09:00
syuilo
b7ed48c809 Refactor 2018-10-22 03:30:45 +09:00
syuilo
e117be79e8 Update stats.ts 2018-10-21 18:43:45 +09:00
MeiMei
46af0e12b0 Fix several file processings (#2968)
* Ignore image error in person

* Fix hang while processing empty file
2018-10-21 18:35:36 +09:00
syuilo
0f689023dc Improve readability 2018-10-21 17:58:02 +09:00
syuilo
fa0d5e665f Implement following stats 2018-10-21 17:51:35 +09:00
syuilo
81bdd97ca9 Refactor 2018-10-21 17:28:27 +09:00
syuilo
ba77bf3ea4 Imprement hashtag stats 2018-10-21 16:54:07 +09:00
syuilo
781ea39177 Refactor 2018-10-21 15:08:07 +09:00
syuilo
d44e6e79c5 Refactor 2018-10-21 14:53:04 +09:00
syuilo
f5cf99641b Improve readability 2018-10-21 14:47:44 +09:00
syuilo
fa59f4526a Improve readability 2018-10-21 14:44:37 +09:00
syuilo
da42d987cf Clean up 2018-10-21 14:15:02 +09:00
syuilo
f54cbf16f6 Refactoring & Better stats aggregation 2018-10-21 14:08:05 +09:00
syuilo
13b02f2bbc Implement unique incremebt 2018-10-21 12:37:00 +09:00
syuilo
cb1ce1fcd5 Update stats.ts 2018-10-21 10:35:37 +09:00
syuilo
0db1a02fef ✌️ 2018-10-21 10:24:56 +09:00
syuilo
3ba08fb2f1 Reduce network traffic of API response 2018-10-21 10:05:15 +09:00
syuilo
4545439d28 Resolve #2963 2018-10-21 09:20:11 +09:00
syuilo
7fdd4d1cdd Refactoring 2018-10-21 07:10:35 +09:00
syuilo
6125983115 Fix bug 2018-10-19 06:29:25 +09:00
syuilo
4ab015a8d7 オブジェクトストレージのURLに拡張子を含めるように 2018-10-16 20:59:36 +09:00
syuilo
327c962015 オブジェクトストレージのURLにファイル名を含めるのを廃止 2018-10-16 20:14:06 +09:00
syuilo
3b54711a87 Update mongodb 2018-10-16 11:38:09 +09:00
syuilo
df72ea673d Add some tests and fix 2018-10-16 09:45:36 +09:00
MeiMei
1bc62d3fe4 Fix following from Preroma does not complete (#2905)
* In Follow Accept/Reject, send previous received id

* In Follow Accept/Reject, send Activity.actor
2018-10-15 16:51:22 +09:00
syuilo
50ee429aa3 Fix bug 2018-10-13 23:12:48 +09:00
syuilo
ae15d4332d Resolve #2853 2018-10-13 20:11:00 +09:00
syuilo
f93cb02293 Resolve #2894 2018-10-13 13:13:15 +09:00
syuilo
c26ce051ab 🎨 2018-10-09 01:26:04 +09:00
syuilo
7a03fe9b34 Improve usability 2018-10-08 02:10:46 +09:00
syuilo
6ebfadb473 投稿の削除イベントを受け取るように 2018-10-07 20:08:42 +09:00
syuilo
f6eed1b6ff Resolve #2843 2018-10-07 19:58:00 +09:00
syuilo
023f895728 V10 (#2826)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update CHANGELOG.md

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update CHANGELOG.md

* Update CHANGELOG.md

* wip

* Update CHANGELOG.md

* wip

* wip

* wip

* wip
2018-10-07 11:06:17 +09:00
MeiMei
99fec6da8e 6個ピン留めできてしまうの修正 (#2804) 2018-10-03 12:37:23 +09:00
MeiMei
43a5595d54 リモートのピン留め投稿取得対応 (#2798)
* Fetch featured

* Handle featured change

* Fix typo
2018-10-02 16:27:36 +09:00
syuilo
efa2b9d5d4 ピン留めを解除することができるようにしたり 2018-09-24 16:26:12 +09:00
syuilo
5c38382903 Resolve #2762 2018-09-24 16:02:01 +09:00
syuilo
b2215c8bdc Improve performance 2018-09-23 16:05:26 +09:00
syuilo
95bf26e525 Fix #2741 2018-09-21 08:37:26 +09:00
syuilo
d3014f6832 Implement #2736 2018-09-19 14:18:34 +09:00
syuilo
0439c9c69f Refactor: Better type annotations 2018-09-18 13:14:17 +09:00
MeiMei
4d37778077 Publish pinned notes (#2731) 2018-09-18 13:08:27 +09:00
syuilo
f4f9bae111 メッセージタイムラインを追加 2018-09-18 02:14:12 +09:00
syuilo
912ad5d849 ハッシュタグタイムラインを実装 2018-09-17 09:00:20 +09:00
syuilo
0a6f2933f7 自分宛ての投稿をタイムラインで見れるように 2018-09-16 22:48:57 +09:00
syuilo
dd65b65831 Resolve #2328 2018-09-15 05:40:58 +09:00
syuilo
a8985df58a 常にメディアを閲覧注意として投稿するオプションを実装 2018-09-14 20:11:01 +09:00
syuilo
03d8928cc1 Fix bug 2018-09-10 21:36:43 +09:00
syuilo
0950ba95cc Revert "Fix bug"
This reverts commit f3ab8199a53543f231cdf7c0678b331896b4a133.
2018-09-10 21:17:49 +09:00
syuilo
2237544b53 Fix bug 2018-09-10 17:40:41 +09:00
syuilo
78bf76d275 Fix #2677 2018-09-10 14:48:19 +09:00
syuilo
fc790be9a1 Fix bug 2018-09-10 05:45:29 +09:00
syuilo
6f40c1f25a Fix #2675 2018-09-10 03:15:46 +09:00
syuilo
1c6cc0f539 Fix #2321 2018-09-10 02:43:16 +09:00
syuilo
6a9d2c9815 Fix #2513 2018-09-10 02:07:13 +09:00
syuilo
834e360234 Refactor: Add comments 2018-09-10 01:54:08 +09:00
MeiMei
fe476d7e8b Fix AP Announce detection (#2672) 2018-09-09 02:59:14 +09:00
MeiMei
a7adb3bfc9 Encode fetch URI if needed (#2649) 2018-09-07 02:26:31 +09:00
Aya Morisawa
55bfa2044b Add unique function (#2644) 2018-09-07 00:10:03 +09:00
Aya Morisawa
9e28382dc9 Add erase function (#2641) 2018-09-07 00:02:55 +09:00
syuilo
cbb3644063 #2620 2018-09-05 19:32:46 +09:00
MeiMei
dd310b0529 Fix remote follow (#2606) 2018-09-04 18:33:16 +09:00
MeiMei
a2acfef8a3 Add User-Agent header (#2602) 2018-09-04 17:44:21 +09:00
mei23
a90d6044fe Use Tombstone for Delete 2018-09-02 08:02:43 +09:00
Aya Morisawa
36e10e2bbf Use string interpolation 2018-09-01 23:12:51 +09:00
mei23
036e94c368 Send Update activity 2018-09-01 20:23:01 +09:00
mei23
dbd13a2663 Send actor in Delete 2018-08-25 14:52:35 +09:00
mei23
63a2ef73f8 Send actor in Undo Follow 2018-08-25 14:46:47 +09:00
mei23
f80193c41a Send actor in CreateNote, Announce 2018-08-25 14:12:44 +09:00
syuilo
b8210d42f0 Fix bug 2018-08-25 10:28:09 +09:00
syuilo
8d3669193f #2460 2018-08-25 08:35:41 +09:00
mei23
69947d3eba ActivityPub Renote/Replyで 対象Noteを添付しないようにする 2018-08-24 14:53:40 +09:00
syuilo
9f8dc8d0a0 Fix bug 2018-08-24 08:35:01 +09:00
syuilo
dc413e984f 1時間単位での集計を追加 2018-08-23 15:40:24 +09:00
syuilo
3af8ab7694 Fix bug: Check following request existance 2018-08-23 14:56:39 +09:00
syuilo
6405eee659 Refactoring 2018-08-19 03:06:23 +09:00
syuilo
b6df125961 wip 2018-08-19 00:27:23 +09:00
syuilo
dac45c447b wip 2018-08-18 23:56:44 +09:00
syuilo
ad641970d4 wip 2018-08-18 23:48:54 +09:00
syuilo
1699ad9f40 wip 2018-08-18 23:23:55 +09:00
syuilo
c7dc7748d5 wip 2018-08-18 23:15:16 +09:00
syuilo
486ccffcfb wip 2018-08-18 20:26:01 +09:00
syuilo
5c202cc4c7 wip 2018-08-18 20:22:56 +09:00
mei23
cc11ca6d45 Fix indent 2018-08-17 06:46:32 +09:00
mei23
63a6e0a24d Fix Announce Activity 2018-08-17 06:40:50 +09:00
syuilo
258193008f Provide id in announce activity 2018-08-17 02:37:20 +09:00
syuilo
7c4f11566a typo 2018-08-17 00:07:23 +09:00
syuilo
d9355eaae7 Fix bug 2018-08-17 00:05:57 +09:00
syuilo
8531d6a8f1 Improve object storage key 2018-08-16 21:23:31 +09:00
syuilo
9ab87f62a8 Fix bug 2018-08-16 08:11:21 +09:00
syuilo
43bfabb04b wip 2018-08-16 07:17:04 +09:00
syuilo
96878677f5 wip 2018-08-16 06:27:35 +09:00
syuilo
9b53fe671a Provide isFirstNote flag 2018-08-14 08:16:21 +09:00
syuilo
ff13df2cd5 Fix bug 2018-08-11 21:34:12 +09:00
syuilo
29e8264907 良い感じにした 2018-08-10 14:33:34 +09:00
syuilo
5df1de8b1a 非公開の投稿に自分以外が返信したりRenoteしたりできないように 2018-08-06 04:38:31 +09:00
syuilo
b62b422fdd 削除された投稿に返信したりRenoteしたりできないように 2018-08-06 04:07:22 +09:00
syuilo
81570f0290 Trim text 2018-08-04 01:09:00 +09:00
syuilo
498872bda1 Fix bug 2018-08-02 09:37:13 +09:00
syuilo
56db5c0cf9 #2020 2018-07-30 07:20:27 +09:00
syuilo
b0672bbbfc Fix #2013 2018-07-28 07:56:33 +09:00
syuilo
dac0c41789 Clean up 2018-07-27 07:29:24 +09:00
syuilo
b558fbb2a7 Fix bug 2018-07-27 03:46:12 +09:00
syuilo
fc5a88877e Improve readability 2018-07-27 03:21:50 +09:00
syuilo
6738e9df54 Merge pull request #1990 from mei23/mei-osurl
オブジェクトストレージの参照URLを上書きできるようにする
2018-07-27 01:53:42 +09:00
syuilo
e1f4e46c0e Merge pull request #1989 from mei23/mei-oscc
オブジェクトストレージ格納時にCache-Controlを指定する
2018-07-27 01:52:19 +09:00
mei23
8a89498591 Add config.drive.baseUrl 2018-07-26 17:29:05 +09:00
syuilo
beadfad4c9 Fix bug 2018-07-26 17:10:43 +09:00
mei23
36d76beee4 Set Cache-Control to object-storage 2018-07-26 16:06:43 +09:00
mei23
42935360d6 Set Content-Type to object-storage 2018-07-26 10:47:12 +09:00