Commit graph

373 commits

Author SHA1 Message Date
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
syuilo
4fcc912614 Resolve #4501 2019-03-15 13:51:23 +09:00
MeiMei
f01e0b5cd4 Accept Article object (#4499) 2019-03-15 00:23:24 +09:00
syuilo
16dea09fb6 Faviconを可変にするなど 2019-03-14 16:30:51 +09:00
syuilo
b3dd501089 Add index 2019-03-08 20:36:42 +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
syuilo
4e23792d02 Add fallback for broken db 2019-03-06 23:23:50 +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
syuilo
e3069741e8 Add indexes 2019-03-04 19:26:05 +09:00
syuilo
3d277fe4a0 ログをデータベースに保存して管理画面で見れるように 2019-03-02 18:51:59 +09:00
syuilo
fce12f9258 Improve doc 2019-02-25 03:21:54 +09:00
syuilo
0e5c9df3f5 Use camelCase 2019-02-24 12:53:22 +09:00
Acid Chicken (硫酸鶏)
ab56f91c40 Fix bool-param-default 2019-02-23 17:21:59 +09:00
syuilo
86ecc2d0ff Resolve #2017 2019-02-21 01:30:21 +09:00
syuilo
8e164abb97 みつけるの人気のタグを第2ソートで連合含めたユーザー数にしたりユーザーのタグ以外は除外するように 2019-02-18 11:47:25 +09:00
syuilo
0701d0ceea ハッシュタグでユーザー検索できるように (#4298)
* ハッシュタグでユーザー検索できるように

* 🎨

* Increase limit

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

* Fix bug

* Fix bug

* Improve performance
2019-02-17 23:41:47 +09:00
Acid Chicken (硫酸鶏)
b80c3525a1 Use Record<string, number> instead of any (#4293) 2019-02-17 19:38:46 +09:00
syuilo
d1513e97e1 Exploreページを実装 2019-02-16 06:50:58 +09:00
syuilo
3ecc84c514 Improve instances manegement
Resolve #4187
2019-02-08 20:56:16 +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
dd0871dd59 Implement instance blocking (#4182)
* Implement instance blocking

* Add missing text

* Delete unnecessary file

* Covert Punycode to Unicode
2019-02-08 04:26:43 +09:00
syuilo
e5841a2c9a Improve instance stats 2019-02-07 16:05:29 +09:00
syuilo
4c819e29fd Improve instance stats 2019-02-07 15:00:44 +09:00
Acid Chicken (硫酸鶏)
d377fa254b Fix typo 2019-02-05 15:09:37 +09:00
syuilo
b76aed4c59 アニメーション画像を無効にする際、サーバーサイドではなくクライアントサイドでURLを変更するように 2019-02-05 03:51:54 +09:00
MeiMei
0a8cff4f3c アニメーションを自動再生しないオプション (#4131)
* Refactor

* settings

* Media Proxy

* Replace API response
2019-02-05 03:01:36 +09:00
syuilo
4a585e50cf [API] お気に入り状態は投稿情報に含めないように統一 2019-02-05 01:11:06 +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
42cb7f4a1d [Server] Remove unnecessarily property 2019-02-02 13:50:41 +09:00
Acid Chicken (硫酸鶏)
03d49155d0 Create type definition for 'deepcopy' (#4000) 2019-02-01 19:56:16 +09:00
MeiMei
163d2df637 send/receive user hashtags via AP (#4064) 2019-01-31 20:42:45 +09:00
MeiMei
1b8c8211f7 delete unnecessary key (#4045)
* delete unnecessary key

* Add note
2019-01-30 21:31:45 +09:00
syuilo
bd0f54219d Introduce silence (#4043)
* Introduce silence

* Fix icon
2019-01-30 17:25:56 +09:00
MeiMei
268306f796 リプライ/メンションされていれば非フォロワーへのフォロワー限定でも参照可能に (#4033)
* 非メンション/リプライ投稿がmentionsにあるかどうかはvisibilityと関係ないので削除

* リプライ/メンションされていれば非フォロワーでも参照可能に
2019-01-29 17:34:43 +09:00
syuilo
88d5df2f41 Add unique index
#3946
2019-01-21 21:45:11 +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
b47a8ef4a5 Drop stalk feature
Resolve #3935
Closes #2226
Closes #1946
2019-01-20 12:25:00 +09:00
syuilo
5c408400a3 スパム報告機能
Resolve #1970
2019-01-19 19:16:48 +09:00
syuilo
b77b85b4eb Resolve #3896 2019-01-16 14:54:14 +09:00
syuilo
a04dddc4d8 Rename 2019-01-04 03:52:50 +09:00
ibrokemypie
2589743e0a Make instance logo customisable (#3829) 2019-01-04 03:02:40 +09:00
Ch. (Chanhwi Choi)
53257867a9 adds ko-KR な to にゃ (#3820)
* adds ko-KR な to にゃ
- this only take considers pre-composed "Hangul Syllables",
not composable area "Hangul Jamo" which are not used commonly
- 56 is '냐' - '나'

* replace magic number as suggested
2019-01-03 08:38:26 +09:00
ibrokemypie
4d823e5c51 Add id to return of users/relation (#3795) 2018-12-30 01:44:26 +09:00
syuilo
cbf50fee15 Privateの公開範囲を廃止 2018-12-29 02:55:46 +09:00
MeiMei
9a1f83e948 Resolve #3786 (#3788) 2018-12-29 02:04:29 +09:00
MeiMei
644e420930 フォローしているユーザーからのフォローを自動承認するオプション (#3780) 2018-12-28 21:36:58 +09:00
Aya Morisawa
fb1bf720a5 Resolve #3248
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
2018-12-27 01:26:03 +09:00
syuilo
30eb573f5c Fix #3683 2018-12-20 04:11:10 +09:00
syuilo
025e1c5432 Resolve #3687 2018-12-20 04:08:13 +09:00
MeiMei
00914ade44 Update remote Emoji (#3680) 2018-12-19 21:19:43 +09:00
Acid Chicken (硫酸鶏)
f2c676cbdd Re: #3457 (#3614)
* Update parser.ts

* Update user.ts

* Update search.ts

* Update parser.ts

* Update parser.ts

* Update parser.ts

* Update parser.ts

* Update parser.ts

* Update parser.ts

* Update mfm.ts

* Update parser.ts

* Merge branch 'develop' into 3440-mk2

* Fix typo

* Update parser.ts

* Update mfm.ts

* Update mfm.ts
2018-12-17 19:11:38 +09:00
syuilo
a647e50b71 Implement admin drive page 2018-12-14 19:09:11 +09:00
Acid Chicken (硫酸鶏)
469c773eec Resolve #3581 (#3589)
* Update ja-JP.yml

* Create 404.vue

* Update script.ts

* Update script.ts

* Update script.ts

* Update script.ts

* Update script.ts

* Update script.ts

* Update 404.vue

* Update meta.ts

* Update instance.vue

* Update update-meta.ts
2018-12-11 20:19:13 +09:00
MeiMei
b9ec3795f7 Show user fields (#3590) 2018-12-11 20:18:12 +09:00
MeiMei
2bf3f7ab87 Emoji support in profile (#3514)
* Emoji in profile

* Add emojis to fields
2018-12-06 10:02:04 +09:00
syuilo
aae394e34e Resolve #327 2018-12-03 20:08:18 +09:00
Aya Morisawa
6d5771779e Use primitive type boolean (#3474) 2018-12-02 20:10:56 +09:00
Acid Chicken (硫酸鶏)
f4f19f28d8 Allow hyphens in the middle of remote usernames (#3440)
* Allow hyphens in the middle of remote usernames

refs: d797c29db462de4a3d69a5077a1ae4d03195b6f2

* Make options fallback better

* Make options flat
2018-12-01 07:19:17 +09:00
syuilo
4512b6711a Implement email config 2018-11-29 16:23:45 +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
syuilo
d8e9d03f81 Fix bug: リモートユーザーのアイコンとバナーの色が取得されていない問題を修正 2018-11-24 17:29:32 +09:00
MeiMei
374fb4eda9 Do not use _replyIds (#3392) 2018-11-23 23:12:28 +09:00
syuilo
536ea5d280 Resolve #3376 2018-11-23 08:13:17 +09:00
syuilo
283f792c32 Improve user operations
Resolve #2197
Resolve #3367
2018-11-23 08:01:14 +09:00
Hakaba Hitoyo
82ab386b83 Feature / user recommendation config in admin ui (#3357)
* add config for external user recommendation into admin ui

* debug

* correct admin ui

* switch external user recommendation to admin ui config

* debug

* debug

* debug

* Revert "debug"

This reverts commit f4a0460e5bde21cd1f39a735f496a2d74233ef3f.

* explicit parseInt radix

* add Japanese message

* change default engine to https

* remove unused settings

* debug

* nullable externalUserRecommendationTimeout
2018-11-21 23:44:59 +09:00
MeiMei
d94d32dad9 local only visibility (#3254)
* local only visibility

* fix UI
2018-11-16 05:47:29 +09:00
Acid Chicken (硫酸鶏)
f7b98aaeec WIP: Add Discord auth (#3239)
* Add Discord auth

* Apply review 175263424
2018-11-15 19:15:04 +09:00
syuilo
b666128ddc Moderator system
Closes #2357
2018-11-15 04:15:42 +09:00
syuilo
b17341eefc GitHub / Twitter連携の設定をDBに保存するように 2018-11-07 13:14:52 +09:00
syuilo
c66306d1be インスタンスの対象言語の設定を実装 2018-11-07 12:28:53 +09:00
syuilo
2642bdd9c8 メンテナ情報をDBに保存するように 2018-11-07 01:12:26 +09:00
syuilo
9fdf438018 ghostの設定をDBに保存するように 2018-11-07 00:44:56 +09:00
syuilo
7f57bbfbbd reCAPTCHAの設定をDBに保存するように 2018-11-07 00:08:21 +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
0d3d7a5867 Refactor 2018-11-05 13:38:50 +09:00
Acid Chicken (硫酸鶏)
a838c58f69 Make /api/v1/instance and /api/v1/custom_emojis better (#3118)
* Separate commits

From commit dca110ebaa78f64600429f812c238a07d2f1dc1d.

* Re-separate commits

From commit 9719387bee40363f63a837e7ecffacf2a476c334.
2018-11-05 11:57:17 +09:00
syuilo
7d8d8a165b 投稿の最大文字数情報を設定ファイルではなくDBに保存するように 2018-11-05 11:09:05 +09:00
syuilo
947b0f55a3 Resolve #3098 2018-11-04 23:00:43 +09:00
Acid Chicken (硫酸鶏)
8cc0afa8d4 Add GitHub auth (#3095) 2018-11-04 22:03:55 +09:00
Acid Chicken (硫酸鶏)
a07fa755e2 Revert "Add GitHub auth"
This reverts commit c1460064769c9d824e60a39356671ccb3a4d1f44.
2018-11-04 19:22:04 +09:00
Acid Chicken (硫酸鶏)
2bb4bc8727 Add GitHub auth 2018-11-04 19:17:30 +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
2ba95786a1 [API] Implement some Emoji APIs 2018-11-04 03:18:32 +09:00
syuilo
c23a9abeb1 Improve performance 2018-11-03 15:21:07 +09:00
syuilo
da0fb0b784 Clean up 2018-11-02 14:53:55 +09:00
syuilo
5fb2a358ad Better index 2018-11-02 12:49:18 +09:00
syuilo
412f338bad Better index 2018-11-02 12:08:28 +09:00
MeiMei
a22f657c0f Remote custom emojis (#3074)
* Remote custom emojis

* んほおおおおお
2018-11-02 08:59:40 +09:00
syuilo
3057116df4 Refactoring, Clean up and bug fixes 2018-11-02 03:32:24 +09:00
syuilo
5a6edc5b75 Custom emoji (#3061)
* wip

* wip

* wip
2018-11-01 11:51:49 +09:00
syuilo
57708b53d0 Clean up 2018-11-01 09:19:22 +09:00
syuilo
9cea770244 Improve performance 2018-11-01 09:08:00 +09:00
syuilo
6b40c80338 Clean up 2018-11-01 09:02:54 +09:00
syuilo
4c6973e182 Improve performance 2018-11-01 09:00:18 +09:00
syuilo
5296c1e0a3 [API] Implement users/relation 2018-11-01 00:11:21 +09:00
syuilo
ce22c907e8 [API] Include detailed user information for block/mute response 2018-10-31 23:34:35 +09:00
syuilo
96ba504669 Fix 2018-10-31 22:55:17 +09:00
syuilo
6488a17e60 Refactor 2018-10-31 22:35:02 +09:00