Commit graph

988 commits

Author SHA1 Message Date
syuilo
735687be21
update token generation 2019-04-08 20:29:52 +09:00
syuilo
6c9d80d4e8
Fix bug 2019-04-08 16:39:02 +09:00
syuilo
142d59be85
Fix bug 2019-04-08 03:35:02 +09:00
syuilo
d9a5e06b5b
Fix bug 2019-04-08 02:27:06 +09:00
syuilo
6a30d32e7d
Fix bug 2019-04-07 23:31:58 +09:00
syuilo
d9780606b3
Refactor 2019-04-07 23:06:07 +09:00
syuilo
fffa32df48
Fix bug 2019-04-07 23:05:57 +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
e51e1d2b09 Fix: ServiceWorkerの設定がUIで有効にならない (#4620) 2019-04-01 01:04:55 +09:00
Acid Chicken (硫酸鶏)
8ce1d4d6a3 Fix #4576 (#4579)
* Update update.ts

* Update api.ts
2019-03-26 22:24:14 +09:00
MeiMei
7bebea087c Fix #4546 (#4548)
* Refactor download

* emoji type
2019-03-21 04:50:44 +09:00
MeiMei
1c79e30436 Fix NoteReaction (#4547) 2019-03-20 21:39:02 +09:00
syuilo
08c176e549
不明なリアクションのフォールバックに star を使うようにするオプション 2019-03-18 01:03:35 +09:00
MeiMei
2684541693 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
ee29ab95be Fix users/search (#4505) 2019-03-15 22:22:59 +09:00
syuilo
dfabdef60f
Resolve #4501 2019-03-15 13:51:23 +09:00
syuilo
6bb90f56fa
ジョブを一覧できるように 2019-03-15 13:48:17 +09:00
MeiMei
63b3c65691 ファビコンが保存されないのを修正 (#4500)
* Fix ファビコン保存されない

* Fix meta
2019-03-15 12:40:10 +09:00
MeiMei
56eb896a03 Accept Article object (#4499) 2019-03-15 00:23:24 +09:00
Acid Chicken (硫酸鶏)
3f59d261f2
Follow #3676 2019-03-14 22:18:10 +09:00
syuilo
6ceff60c1e
Faviconを可変にするなど 2019-03-14 16:30:51 +09:00
MeiMei
1179920790 unFollowAll on suspend (#4490)
* unFollowAll on suspend

* use services

* silent
2019-03-14 15:16:07 +09:00
MeiMei
69a0d9034f Fix #4486 (#4487) 2019-03-13 11:21:16 +09:00
MeiMei
5eb02b4901 Resolve #4458 (#4476) 2019-03-12 09:50:20 +09:00
syuilo
c932f7a25b
Resolve #1736 2019-03-12 00:34:19 +09:00
syuilo
e47c354916
Refactor 2019-03-11 19:57:50 +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
80a2172715
Resolve #4462 2019-03-10 19:16:33 +09:00
syuilo
d365b9f634
Fix bug 2019-03-08 21:30:12 +09:00
syuilo
0ed2592e41
Resolve #4453 2019-03-08 20:07:29 +09:00
syuilo
78a8293520
ジョブの数を一覧できるように 2019-03-08 13:03:38 +09:00
MeiMei
7325d66c52 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
f02125dd47
Resolve #4437 2019-03-07 13:03:46 +09:00
syuilo
a24a20a83d
Clean up 2019-03-06 23:19:15 +09:00
Acid Chicken (硫酸鶏)
725600da8f 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
771f011506
Better log 2019-03-03 08:27:30 +09:00
syuilo
3c77ae7b62
Improve log api 2019-03-03 08:13:49 +09:00
syuilo
76a0d0fee9
Use dot 2019-03-03 07:48:25 +09:00
syuilo
977af0a24d
ログをデータベースに保存して管理画面で見れるように 2019-03-02 18:51:59 +09:00
syuilo
6f71ba376d
Improve doc 2019-02-27 05:08:42 +09:00
syuilo
9f439aabba
Fix schema 2019-02-27 05:02:46 +09:00
syuilo
33ad60b1f3
Improve doc 2019-02-27 05:02:36 +09:00
syuilo
b56fed8ed5
Update notes/featured 2019-02-26 14:42:24 +09:00
syuilo
077bdbfdef
Improve doc 2019-02-26 14:21:28 +09:00
syuilo
8a9dc26419
アカウントが削除できない問題を修正 2019-02-26 11:42:21 +09:00
syuilo
c4ddfef2ed
Improve doc 2019-02-25 09:37:22 +09:00
syuilo
28086111e1
Resolve #4325 2019-02-25 04:20:42 +09:00
syuilo
60c9a6528f
Improve doc 2019-02-25 04:18:09 +09:00
syuilo
47d4dcfdf5
Improve doc 2019-02-25 04:02:18 +09:00
syuilo
eb8d1211ba
Improve doc 2019-02-25 03:43:19 +09:00
syuilo
495aad6a2d
Improve doc 2019-02-25 03:35:45 +09:00
syuilo
77676d18c8
Improve doc 2019-02-25 03:30:22 +09:00
syuilo
68d90caab7
Fix doc 2019-02-25 03:23:19 +09:00
syuilo
31802c9749
Improve doc 2019-02-25 03:21:54 +09:00
syuilo
b67f3438e9
Improve doc 2019-02-24 19:42:26 +09:00
syuilo
02e4929a97
Improve doc 2019-02-24 19:27:32 +09:00
syuilo
fcc6a65e08
Improve doc 2019-02-24 18:13:11 +09:00
syuilo
f4ae939124
ハイフンに統一 2019-02-24 17:57:49 +09:00
syuilo
664acb2d0e
Refactor 2019-02-24 17:48:54 +09:00
syuilo
e6e7cecdb6
Refactor 2019-02-24 17:35:19 +09:00
syuilo
563d604812
Refactor 2019-02-24 17:28:51 +09:00
syuilo
9b79a411e0
Use camelCase 2019-02-24 12:53:22 +09:00
syuilo
b8e0ec9edc
Improve doc 2019-02-24 12:40:17 +09:00
syuilo
5db7b2e193
Improve doc 2019-02-24 12:23:31 +09:00
syuilo
ac0390fec3
Improve doc 2019-02-24 10:08:09 +09:00
syuilo
97b99867f2
Improve doc 2019-02-24 10:04:27 +09:00
syuilo
a55d5516a6
Improve doc 2019-02-24 10:00:24 +09:00
syuilo
b679163d01
Improve type definitions 2019-02-24 09:45:27 +09:00
syuilo
76edcdbe45 Update schemas.ts 2019-02-24 04:27:09 +09:00
syuilo
d8d51519c4
Update description.ts 2019-02-24 04:11:54 +09:00
syuilo
3446969121
Refator: separate files 2019-02-24 04:08:08 +09:00
Acid Chicken (硫酸鶏)
e13fe97ebb Update update.ts (#4357)
* Update update.ts

* Update update.ts

* Update update.ts

* Update update.ts
2019-02-24 03:32:30 +09:00
syuilo
7dd4180fba
Better error handling 2019-02-23 15:45:03 +09:00
syuilo
558213490a
Remove space 2019-02-23 15:42:52 +09:00
syuilo
78a69e3da8
Update doc 2019-02-23 15:35:26 +09:00
syuilo
140c78e5a7
Add operationId to more convinience 2019-02-23 14:59:37 +09:00
syuilo
a8e18e0e22
Add source code link 2019-02-23 14:57:05 +09:00
syuilo
2a8bb23625
Fix type 2019-02-23 14:56:48 +09:00
syuilo
52774bbe64
Introduce OpenAPI specs (#4351)
* wip

* wip

* wip

* Update index.ts

* Update gen-openapi-spec.ts

* Update api.ja-JP.md

* Fix

* Improve doc

* Update gen-openapi-spec.ts

* Update redoc.html

* Improve doc

* Update gen-openapi-spec.ts

* Improve doc

* Update CHANGELOG.md
2019-02-23 11:20:58 +09:00
syuilo
13e43a4f74
Refactor 2019-02-22 14:53:03 +09:00
syuilo
b7d62d09ec
Refactor 2019-02-22 14:46:49 +09:00
syuilo
a44ac3306e
Fix error response format 2019-02-22 14:22:40 +09:00
syuilo
cc8a7dd588
Fix bug 2019-02-22 14:09:24 +09:00
syuilo
813c52f51e
Remove unused imports 2019-02-22 14:06:17 +09:00
syuilo
be3298639d
Refactor 2019-02-22 14:02:56 +09:00
syuilo
bd792d7661
Fix type annotation 2019-02-22 13:39:06 +09:00
syuilo
4920983f23
Refactoring 2019-02-22 13:38:12 +09:00
syuilo
2756f553c6
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
MeiMei
bae874eb45 /api/v1/instance/peers 復活 (#4339)
* /api/v1/instance/peers 復活

* use Instance
2019-02-21 23:20:25 +09:00
syuilo
372138dfea
アカウント削除時にサインイン履歴も削除するように 2019-02-21 01:49:00 +09:00
syuilo
922a657c7e
アカウント削除時にメッセージも削除するように 2019-02-21 01:47:10 +09:00
syuilo
3409a51cca
Resolve #2017 2019-02-21 01:30:21 +09:00
syuilo
6656a59402
Fix error 2019-02-21 00:32:49 +09:00
syuilo
91ef328b6b
「みつける」でミュートしているユーザーが含まれる問題を修正 2019-02-20 22:34:52 +09:00
syuilo
5a9d9dc41d
Fix indent 2019-02-20 22:33:22 +09:00
syuilo
a48e503caa
Fix indent 2019-02-20 22:33:13 +09:00
syuilo
fe00cb9ad5
ハイライトでミュートしているユーザーの投稿が含まれる問題を修正 2019-02-20 22:31:21 +09:00
syuilo
b31d1ce61d
フォローリクエスト数がおかしい場合の応急処置APIを追加 2019-02-18 20:52:41 +09:00
syuilo
0e046faf4a
みつけるの人気のタグを第2ソートで連合含めたユーザー数にしたりユーザーのタグ以外は除外するように 2019-02-18 11:47:25 +09:00
syuilo
efd0368e56
Resolve #4305 2019-02-18 04:52:40 +09:00
syuilo
e8db63e788
Fix bug 2019-02-18 01:11:14 +09:00
syuilo
18dd172c97
Chore: Fix type definition 2019-02-18 00:20:14 +09:00
syuilo
1d5a54ff6f
ハッシュタグでユーザー検索できるように (#4298)
* ハッシュタグでユーザー検索できるように

* 🎨

* Increase limit

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

* Fix bug

* Fix bug

* Improve performance
2019-02-17 23:41:47 +09:00
Acid Chicken (硫酸鶏)
357528d139 Use object instead of if chain (#4212) 2019-02-17 21:40:53 +09:00
syuilo
88dc4c83cb
Improve UI 2019-02-16 10:58:44 +09:00
syuilo
c2b1bbeec5
Exploreページを実装 2019-02-16 06:50:58 +09:00
MeiMei
04553de230 Fix #4276 (#4278) 2019-02-15 23:43:49 +09:00
MeiMei
e4f799bf1d Hide localOnly from welcome TL (#4257) 2019-02-15 08:38:59 +09:00
syuilo
414cac49c3
Improve featured api 2019-02-15 06:31:22 +09:00
MeiMei
caea0f0376 Change minimum allowed maxNoteTextLength to 0 (#4256) 2019-02-14 16:30:20 +09:00
syuilo
ad12d00d7e
ハッシュタグの集計期間を短くした
Resolve #4238 ?
2019-02-14 01:13:19 +09:00
syuilo
5aa58da918
Migrate cafy to 14.0 (#4240) 2019-02-13 16:33:07 +09:00
MeiMei
f3ce8564ea よく話すユーザーからサスペンドされたユーザーを隠すなど (#4228)
* Resolve #4226

* fix

* Fix: anonymousでアクセスするとサスペンドユーザーが隠れない

* fix
2019-02-12 17:19:15 +09:00
syuilo
93c3f34813
管理画面でサイレンスされているユーザーを一覧できるように 2019-02-10 19:43:46 +09:00
syuilo
5e0eda9526
Improve instances manegement
Resolve #4187
2019-02-08 20:56:16 +09:00
syuilo
56275bcfcb
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
aba85b977d
Refactoring: Move chart dir into services dir 2019-02-08 04:31:33 +09:00
syuilo
e6612f610c
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
dd7bf9b2a3
Remove unused import 2019-02-07 23:32:39 +09:00
syuilo
c463284c2f
Fix bug 2019-02-07 23:27:42 +09:00
syuilo
e43c9c0e21
特定インスタンスからのフォローを全解除できるように 2019-02-07 21:59:18 +09:00
syuilo
5448c22031
Revert 96bc17aa10 2019-02-07 21:02:33 +09:00
syuilo
c3140f57b9
連合しているインスタンスを一覧できるように 2019-02-07 18:11:20 +09:00
Aya Morisawa
96bc17aa10 Check config on load (#4170)
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
2019-02-06 22:44:55 +09:00
syuilo
27d16c6a12
Resolve #4151 2019-02-06 20:56:48 +09:00
syuilo
20ee57931f
Resolve #4165 2019-02-06 15:24:59 +09:00
syuilo
5db5bbd1cd
自分の投稿情報をエクスポートできるように (#4144)
* wip

* 正しいJSONを生成するように

* データを整形
2019-02-05 19:50:14 +09:00
syuilo
8129d4dc23
Refactoring 2019-02-05 14:14:23 +09:00
Acid Chicken (硫酸鶏)
8961dab137
Fix comment 2019-02-05 11:49:03 +09:00
Acid Chicken (硫酸鶏)
bcc549fd8e
Fix style 2019-02-05 11:48:08 +09:00
syuilo
861302f0fd
アニメーション画像を無効にする際、サーバーサイドではなくクライアントサイドでURLを変更するように 2019-02-05 03:51:54 +09:00
MeiMei
f014b7ae0e アニメーションを自動再生しないオプション (#4131)
* Refactor

* settings

* Media Proxy

* Replace API response
2019-02-05 03:01:36 +09:00
syuilo
1d814ba0e1
個別に投稿のウォッチ/ウォッチ解除をできるように
Resolve #161
2019-02-05 01:24:44 +09:00
syuilo
c107333f56
[API] お気に入り状態は投稿情報に含めないように統一 2019-02-05 01:11:06 +09:00
Acid Chicken (硫酸鶏)
68ee9a008e Resolve #4121 (#4122)
* Resolve #4121

* Update tslint.json
2019-02-04 18:27:45 +09:00
Acid Chicken (硫酸鶏)
fe13c17fcb Create type definition for 'langmap' (#4059)
* Create type definition for 'langmap'

* Follow lint
2019-02-03 23:41:05 +09:00
Acid Chicken (硫酸鶏)
ce576dea8f
Create type definition for 'recaptcha-promise' (#4068) 2019-02-03 22:21:55 +09:00
Acid Chicken (硫酸鶏)
ceda3dd72a
Create new type definition for 'escape-regexp' (#4058) 2019-02-03 22:21:47 +09:00
syuilo
0868c3517f
Use internal logger instead of debug/console for logging
Resolve #4104
Resolve #1966
Resolve #1937
2019-02-03 18:16:57 +09:00
syuilo
75558add17
Better logging 2019-02-03 16:45:13 +09:00
syuilo
110eeb89f1
Clean up 2019-02-03 04:18:09 +09:00
Acid Chicken (硫酸鶏)
da1a238be3 Create new type definition for 'ms' (#4057)
* Create new type definition for 'ms'

* Follow lint
2019-02-02 00:16:27 +09:00
Acid Chicken (硫酸鶏)
2dc4696b0a Module '@koa/cors' as import syntax (#4060) 2019-02-01 19:46:18 +09:00
syuilo
5fe9f2baee
Improve performance 2019-02-01 10:00:36 +09:00
MeiMei
c7ebf6f990 Hide suspended users (#4075) 2019-02-01 09:57:51 +09:00
syuilo
9bf9519b8f
Fix path 2019-02-01 00:17:15 +09:00
Acid Chicken (硫酸鶏)
ba4dcc40da Create type definition for '*/meta.json' (#4073) 2019-02-01 00:00:54 +09:00
Acid Chicken (硫酸鶏)
6d004fde7c Module 'uuid' as import syntax (#4070) 2019-01-31 23:45:12 +09:00
Acid Chicken (硫酸鶏)
f35547f3b8 API modules as import syntax (#4069) 2019-01-31 23:32:58 +09:00
MeiMei
c34a278533 おすすめのアンケートでミュートユーザーのものは表示しない (#4067) 2019-01-31 23:14:45 +09:00
MeiMei
a6e7bbc306 send/receive user hashtags via AP (#4064) 2019-01-31 20:42:45 +09:00
Acid Chicken (硫酸鶏)
960d4e2e7b
Close #3380 (#4061)
* Delete index.ts

* Delete emoji.ts

* Update index.ts
2019-01-31 17:30:56 +09:00
MeiMei
b8a7468c4a 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
Acid Chicken (硫酸鶏)
e220ef3e75
Re-fix path
refs: 4bb4903ee5, 7e3a8d56e6
2019-01-31 01:38:52 +09:00
Acid Chicken (硫酸鶏)
4bb4903ee5
Fix path
refs: 7e3a8d56e6
2019-01-31 01:26:11 +09:00
Acid Chicken (硫酸鶏)
7e3a8d56e6
Update index.ts 2019-01-31 01:09:36 +09:00
Acid Chicken (硫酸鶏)
e909eac296
Create type definition for '*/package.json' (#4014)
* Create type definition for '*/package.json'

* Update tsconfig.json
2019-01-31 01:08:43 +09:00
syuilo
00b134ce1e
Introduce silence (#4043)
* Introduce silence

* Fix icon
2019-01-30 17:25:56 +09:00
Aya Morisawa
28bfb45426
Avoid export default 2019-01-30 16:56:27 +09:00
Aya Morisawa
e3b1d00e4c
Extract parsePlain function 2019-01-30 15:27:54 +09:00
Acid Chicken (硫酸鶏)
5bbf4187e6 Module 'crypto' as import syntax (#4011) 2019-01-30 11:51:29 +09:00
MeiMei
2ed9e26a4f リプライ/メンションされていれば非フォロワーへのフォロワー限定でも参照可能に (#4033)
* 非メンション/リプライ投稿がmentionsにあるかどうかはvisibilityと関係ないので削除

* リプライ/メンションされていれば非フォロワーでも参照可能に
2019-01-29 17:34:43 +09:00
syuilo
d906d90010
[Server] Introduce admin stream channel 2019-01-27 14:55:02 +09:00
MeiMei
0854f2e180 管理画面からリモートユーザー情報を更新できるように (#3992) 2019-01-26 17:53:35 +09:00
MeiMei
5eca0a31f7 Filter hidden replies / mentions (#3981)
* Fix: 非公開投稿が返信一覧に出てくる

* Fix: 非公開投稿がメンション一覧に出てくる

* 非公開投稿は通知/メンション通知しない

* repliesにフォロワー限定がかからなかったのを修正

* Fix: ホームにフォロワー限定投稿が表示されない

* 認証必須エンドポイントで user == null にはならない

* mentionsにフォロワー限定がかからなかったのを修正
2019-01-25 00:06:20 +09:00
syuilo
ad66c8478a
Refactoring 2019-01-23 19:33:29 +09:00
syuilo
2f0b75a882
Refactoring 2019-01-23 19:25:36 +09:00
syuilo
8bf9e87117
Fix types 2019-01-22 21:42:05 +09:00
syuilo
d5e80caac8
[Server] Fix #3958 2019-01-22 21:21:47 +09:00
syuilo
4339f9af29
[Server] Fix #3947 2019-01-21 21:51:58 +09:00
syuilo
c93fe423ea
[API] Fix bug 2019-01-21 21:01:04 +09:00
syuilo
129d74b463
[Server] ストリームで流れてくる投稿とAPIでタイムラインを取得したときとの不一致を修正 2019-01-21 15:31:19 +09:00
MeiMei
4a57482216 リモートで投票を見たりしたりできるように (#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
977a4373c5
[Server] Fix #2745 2019-01-21 00:32:54 +09:00
syuilo
e559417cab
ソーシャルタイムラインにフォロワー限定投稿が含まれていない問題を修正 2019-01-20 23:55:32 +09:00
syuilo
3c194142a8
[Server] Fix #3928 2019-01-20 19:22:13 +09:00
syuilo
ff4cb3555b
Remove unused import 2019-01-20 17:49:52 +09:00
Acid Chicken (硫酸鶏)
11689e6d18
Better version format 2019-01-20 13:40:41 +09:00
syuilo
b39d12f01a
関係のない返信がタイムラインに流れる問題を修正
Resolve #1910
2019-01-20 13:14:31 +09:00
syuilo
6909add1ec
Drop stalk feature
Resolve #3935
Closes #2226
Closes #1946
2019-01-20 12:25:00 +09:00
MeiMei
22830965e3 AP Undo Like (#3933)
* AP Undo Like

* rename
2019-01-20 03:07:12 +09:00
syuilo
048b9c295e
スパム報告機能
Resolve #1970
2019-01-19 19:16:48 +09:00
syuilo
ac5d798cde
Fix typo 2019-01-19 09:52:27 +09:00
syuilo
d2a7c56149
Improve drive file operation
Resolve #3789
Resolve #3790
2019-01-19 09:50:38 +09:00
syuilo
8d42e94e57
Implement active users chart
Resolve #3904
2019-01-17 17:16:08 +09:00
syuilo
13cee2b4f5
Resolve #3896 2019-01-16 14:54:14 +09:00
syuilo
c2f6b09969
disableLocalTimeline機能を強化
* ストリームだけではなくAPIも無効に
* モデレーターは無効の場合でも見れるように
* グローバルタイムラインも無効に(連合数が少ないインスタンスではグローバルタイムラインは実質的にローカルタイムラインと同一なので)
2019-01-16 02:30:55 +09:00
MeiMei
20ee2118ee モデレーターを凍結できないようにする (#3877) 2019-01-11 08:12:10 +09:00
MeiMei
dd77a6194e Hide NSFW in Photos (#3875) 2019-01-11 08:10:39 +09:00
MeiMei
203fba0216 管理画面でユーザーを状態でフィルタできるように (#3873) 2019-01-11 08:09:44 +09:00
MeiMei
04e1e48f17 Hide invisible notes from timeline (#3852) 2019-01-08 21:02:00 +09:00
syuilo
02a27a8b12
ドライブの管理画面でファイルのオリジナルURLを表示するように 2019-01-08 17:45:16 +09:00
syuilo
35e7dca2bb
Resolve #3847 (#3849)
* Update notifications.ts

* Update notifications.ts

* Update notifications.ts

* Update notifications.ts

* Add missing semicolon

* Improve readability

* Fix typo
2019-01-08 13:32:28 +09:00
Aya Morisawa
84ea1fbd4d
Fix typo: not -> note
1344ffa67d (commitcomment-31817792)
2019-01-05 10:29:46 +09:00
syuilo
b4b6e9548d
Rename 2019-01-04 03:52:50 +09:00
ibrokemypie
ebf9cd18c8 Make instance logo customisable (#3829) 2019-01-04 03:02:40 +09:00
syuilo
ac423f1ef4
[API] notes/mentions にミュートを適用するように 2018-12-30 01:40:24 +09:00
Aya Morisawa
7947036af9
Make one import per line 2018-12-29 22:26:15 +09:00
syuilo
a3493c4f07
Privateの公開範囲を廃止 2018-12-29 02:55:46 +09:00
syuilo
545ced7826
Make autoAcceptFollowed default 2018-12-29 02:46:57 +09:00
MeiMei
8823a6c1a1 フォローしているユーザーからのフォローを自動承認するオプション (#3780) 2018-12-28 21:36:58 +09:00
syuilo
cce3e52642
通知の管理を強化
Resolve #3772
2018-12-28 05:06:25 +09:00
ibrokemypie
3d0b704af8 Add URI parameter to /api/meta (#3748)
* Add URI parameter to /api/meta
closes #3747

* Update fetch-meta.ts

* Update meta.ts
2018-12-27 04:50:35 +09:00
Aya Morisawa
21f8dbf2de
Resolve #3248
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
2018-12-27 01:26:03 +09:00
MeiMei
5174e16f7b Feature to show only my posts in the user page (#3753)
* Fix #3681

* Feature to show only my posts in the user page
2018-12-26 23:11:50 +09:00
Aya Morisawa
9b746f3eb5
Make reactions removable
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>

Resolve #367, resolve #2260, close #3503
2018-12-26 23:05:47 +09:00
Acid Chicken (硫酸鶏)
fa03c172f2 Fix typo 2018-12-25 20:02:37 +09:00
syuilo
b6a028a8ed
[API] Fix #3737 2018-12-24 05:31:20 +09:00
MeiMei
c9c2853150 ダイレクトでメンションでもユーザーを指定できるように (#3722) 2018-12-23 03:44:18 +09:00
MeiMei
e2fc7decad 本文からメンション等を展開しないオプション (#3721) 2018-12-23 03:25:33 +09:00
MeiMei
f7964da899 Fix: ap/show does not return on error (#3704) 2018-12-21 00:09:02 +09:00
MeiMei
c8607ff7b6 Tune polls/recommendation (#3703) 2018-12-20 22:56:12 +09:00
Aya Morisawa
e9f8897fe2
Refactor MFM
Co-authored-by: syuilo syuilotan@yahoo.co.jp
2018-12-20 19:42:10 +09:00
syuilo
454632d785
Resolve #3687 2018-12-20 04:08:13 +09:00
syuilo
b545be5799
Fix wrong comment 2018-12-20 02:47:24 +09:00
Aya Morisawa
556677be7a
Refactor 2018-12-19 10:23:57 +09:00
syuilo
e88ce1746d
リスト関連の操作を強化
Resolve #2069
Resolve #2051
Resolve #2807
Resolve #3647
2018-12-19 07:22:01 +09:00
syuilo
b8aad35009
Fix error 2018-12-19 06:47:47 +09:00
syuilo
7f77517fc8
[Client] Resolve #3658 2018-12-19 00:57:28 +09:00
Acid Chicken (硫酸鶏)
3bcb344ecb 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
1670737075
[API] Resolve #3637 2018-12-17 01:43:34 +09:00
syuilo
ebceffba1e
Resolve #2165 2018-12-15 00:09:04 +09:00
syuilo
796237b3c6
Implement admin drive page 2018-12-14 19:09:11 +09:00
syuilo
69f246ce7f
Fix bug 2018-12-11 21:17:57 +09:00
Aya Morisawa
125849673a
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
Acid Chicken (硫酸鶏)
08142ead67 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
syuilo
284df27435
Use camelCase 2018-12-09 23:10:02 +09:00
MeiMei
34393ef89f Improve custom emoji parsing (#3539)
* Use MFM parser for extracting emoji in name

* Fix custom emoji regex

* Revert "Fix custom emoji regex"

This reverts commit 4c21caf59753e7653c02f81ddf0cde8c44f48008.
2018-12-08 06:39:15 +09:00
MeiMei
4522568749 Emoji support in profile (#3514)
* Emoji in profile

* Add emojis to fields
2018-12-06 10:02:04 +09:00
syuilo
45bee7cc2f
Resolve #327 2018-12-03 20:08:18 +09:00
Aya Morisawa
184eb00133
Remove self-assignment (#3476) 2018-12-02 20:26:15 +09:00
Aya Morisawa
92701e5cec Fix #3445 (#3471) 2018-12-02 19:24:57 +09:00
syuilo
10f466c895
Improve performance 2018-12-02 06:44:18 +09:00
MeiMei
20335e23f9 Resolve external recommended users (#3462)
* Resolve external recommended users

* Skip unresolvable users

* Fix indent

* Use original for unresolvable users
2018-12-02 03:42:45 +09:00
Acid Chicken (硫酸鶏)
53c559c001 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
Aya Morisawa
9ef641b403
Remove consecutive blank line 2018-11-30 23:07:21 +09:00
MeiMei
6fa7819a44 Fix #3442 (#3443) 2018-11-30 18:13:55 +09:00
MeiMei
683a85ecc0 Fix SMTP (#3436) 2018-11-30 00:35:17 +09:00
syuilo
8ca27a4480
Fix #3432 2018-11-30 00:13:13 +09:00
syuilo
77d2d84e05
Fix #3434 2018-11-30 00:04:28 +09:00
MeiMei
3bde4285eb Fix SMTP (#3433)
* Fix: SMTP local relay

* Fix SMTP SSL description

* ✌️
2018-11-30 00:03:28 +09:00
syuilo
15efbfb244
Fix #3430 2018-11-29 22:05:11 +09:00
syuilo
cf9f85eb2a
メールサーバーの設定がオフの場合はメール設定を表示しないように 2018-11-29 20:33:31 +09:00
syuilo
22e30b44b9
Make require password to update email 2018-11-29 20:19:02 +09:00
syuilo
1bc109b42c
Implement email config 2018-11-29 16:23:45 +09:00
syuilo
3dcf5374c2
Mark chart apis as stable 2018-11-29 06:06:07 +09:00
syuilo
4bbb7eded3
Cookieを使わないように 2018-11-28 16:19:02 +09:00
syuilo
f257853906
Update signin.ts 2018-11-28 05:27:34 +09:00
MeiMei
b6fd5d7282 No caching /api/ (#3411) 2018-11-27 01:16:25 +09:00