Commit Graph

942 Commits

Author SHA1 Message Date
syuilo
b0fce9b791 Fix #4768 2019-04-23 02:50:59 +09:00
MeiMei
e36491c169 Fix: リモートユーザーの修復処理が自動的に実行されない など for v11 (#4764)
* Fix #4761

* Fix: updatePersonができない
2019-04-21 23:57:44 +09:00
syuilo
2f4edd905c Improve warp 2019-04-18 22:00:11 +09:00
syuilo
f16156a4cc Resolve #4732 2019-04-18 21:29:19 +09:00
syuilo
f753451e92 Fix API definition 2019-04-18 14:58:43 +09:00
syuilo
a31f7d7a3e 間違えた 2019-04-18 14:41:51 +09:00
syuilo
a4257c0c60 Fix #4703 2019-04-18 14:34:47 +09:00
syuilo
0fd33c1172 Refactor 2019-04-17 14:32:59 +09:00
syuilo
ac4fdc0e10 Fix #4721 Fix #4722 2019-04-17 14:30:31 +09:00
syuilo
ba783bfdd0 Update schemas.ts 2019-04-17 04:32:04 +09:00
MeiMei
135c99591e Metaのアクセスでトランザクションを張るように (#4720)
* admin/instanceでmetaをキャッシュしないように

* Metaのアクセスにトランザクションをかける
2019-04-17 00:45:33 +09:00
syuilo
fdeaaf845c Update authenticate.ts 2019-04-16 01:20:28 +09:00
syuilo
815ab4c310 Refactor 2019-04-16 01:05:21 +09:00
syuilo
fb3ef51d8e Clean up 2019-04-15 23:37:35 +09:00
syuilo
d61c4d1351 Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2019-04-15 23:29:44 +09:00
syuilo
2c9734f9ac Fix #4701 2019-04-15 23:29:26 +09:00
YuzuRyo61
8c142fcebc APIドキュメントの説明とか一部追記 (#4702)
* Define description in generate.ts

* Add description in create.ts
2019-04-15 23:26:20 +09:00
syuilo
4ca955bbd1 Fix bug 2019-04-15 21:59:14 +09:00
syuilo
aa0a5ef41b 管理者やモデレーターはレートリミット無効に 2019-04-15 20:52:08 +09:00
syuilo
e301d0c4f1 Fix error 2019-04-15 18:08:57 +09:00
syuilo
84f5308ada Fix bug 2019-04-15 16:37:54 +09:00
syuilo
7c236b8b87 Fix bug 2019-04-15 13:11:17 +09:00
syuilo
ba3b887a33 Fix error 2019-04-15 12:54:42 +09:00
syuilo
951d3a7090 Fix bug 2019-04-15 12:52:02 +09:00
syuilo
3c2c9fc44b Refactor 2019-04-15 12:20:48 +09:00
tamaina
1c684cbf93 Better permisson Fix #2341 (#4611)
* Better permisson Fix #2341

* add kinds.ts

* test

* fix

* v11

* fix
2019-04-15 12:10:40 +09:00
syuilo
c0ab0867ce Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2019-04-15 12:03:04 +09:00
syuilo
c2bc660b2a Fix bug 2019-04-15 12:03:00 +09:00
rinsuki
e1ca381549 簡易的なパーミッションの後方互換 (#4687) 2019-04-15 03:48:54 +09:00
syuilo
52af03f738 Fix bug 2019-04-14 16:06:04 +09:00
syuilo
0ac2ac261c Fix bug 2019-04-14 11:56:37 +09:00
syuilo
1b3848ee5d Better error handling 2019-04-14 04:17:24 +09:00
syuilo
99786612eb Clean up 2019-04-13 20:01:32 +09:00
syuilo
cbbf8230df refactor 2019-04-13 19:36:57 +09:00
syuilo
af93cdd49f Redis必須に 2019-04-13 19:19:32 +09:00
syuilo
c65481d5f4 Fix bug 2019-04-13 17:24:56 +09:00
syuilo
a61287194c Fix bug 2019-04-13 16:54:21 +09:00
syuilo
4c0b957ca7 Fix bug 2019-04-13 15:18:12 +09:00
syuilo
f4cda91e3b typo 2019-04-13 14:17:50 +09:00
syuilo
ff1bd37bd7 Fix bug 2019-04-13 14:11:15 +09:00
syuilo
190a7120c4 Suppress errors 2019-04-13 04:00:02 +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
0b55bab204 Clean up 2019-04-12 01:54:28 +09:00
syuilo
c6c84b6dbf トランザクションを使うようにしたり 2019-04-12 01:52:25 +09:00
syuilo
db1cf9a7a3 Fix error log 2019-04-12 00:33:26 +09:00
MeiMei
3f08f6cbc6 Fix: AP actor Service のサポートが不完全 (v11) (#4662) 2019-04-11 03:09:12 +09:00
syuilo
df280d8e19 Clean up 2019-04-10 20:07:36 +09:00
syuilo
9d67ece856 Fix bug 2019-04-10 18:13:33 +09:00
syuilo
048118aec2 Fix bug 2019-04-10 18:05:39 +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
7e59e2d6c9 Update update.ts 2019-04-09 23:40:55 +09:00
syuilo
316715ad81 revert rename 2019-04-08 23:05:41 +09:00
syuilo
1d16c44b1b update token generation 2019-04-08 20:29:52 +09:00
syuilo
0cb6f20904 Fix bug 2019-04-08 16:39:02 +09:00
syuilo
4e60ec814b Fix bug 2019-04-08 03:35:02 +09:00
syuilo
66cbb95386 Fix bug 2019-04-08 02:27:06 +09:00
syuilo
3747f9cc77 Fix bug 2019-04-07 23:31:58 +09:00
syuilo
c625323d8d Refactor 2019-04-07 23:06:07 +09:00
syuilo
82ff90a211 Fix bug 2019-04-07 23:05:57 +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
47cdf1825f Fix: ServiceWorkerの設定がUIで有効にならない (#4620) 2019-04-01 01:04:55 +09:00
Acid Chicken (硫酸鶏)
0a7d696a37 Fix #4576 (#4579)
* Update update.ts

* Update api.ts
2019-03-26 22:24:14 +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
ca07477b75 不明なリアクションのフォールバックに star を使うようにするオプション 2019-03-18 01:03:35 +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
275cadbdcf Fix users/search (#4505) 2019-03-15 22:22:59 +09:00
syuilo
4fcc912614 Resolve #4501 2019-03-15 13:51:23 +09:00
syuilo
55cf6b92ab ジョブを一覧できるように 2019-03-15 13:48:17 +09:00
MeiMei
878c6866a5 ファビコンが保存されないのを修正 (#4500)
* Fix ファビコン保存されない

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

* use services

* silent
2019-03-14 15:16:07 +09:00
MeiMei
1f1d4157db Fix #4486 (#4487) 2019-03-13 11:21:16 +09:00
MeiMei
8bef2f0d0f Resolve #4458 (#4476) 2019-03-12 09:50:20 +09:00
syuilo
997b99cafc Resolve #1736 2019-03-12 00:34:19 +09:00
syuilo
750348bab4 Refactor 2019-03-11 19:57:50 +09:00
syuilo
0599b03ee8 Resolve #4259 2019-03-11 19:43:58 +09:00
syuilo
3791fee78d リストのエクスポートをできるように
#4259
2019-03-11 09:59:07 +09:00
syuilo
6acc01bf81 Resolve #4462 2019-03-10 19:16:33 +09:00
syuilo
f61d13903a Fix bug 2019-03-08 21:30:12 +09:00
syuilo
ccb8b9c782 Resolve #4453 2019-03-08 20:07:29 +09:00
syuilo
f82fffeb58 ジョブの数を一覧できるように 2019-03-08 13:03:38 +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
13205d11ac Resolve #4437 2019-03-07 13:03:46 +09:00
syuilo
0058e041c3 Clean up 2019-03-06 23:19:15 +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
a2cde9731e Better log 2019-03-03 08:27:30 +09:00
syuilo
d3e5adfb3d Improve log api 2019-03-03 08:13:49 +09:00
syuilo
4574cc2923 Use dot 2019-03-03 07:48:25 +09:00
syuilo
3d277fe4a0 ログをデータベースに保存して管理画面で見れるように 2019-03-02 18:51:59 +09:00
syuilo
d6acb1eff1 Improve doc 2019-02-27 05:08:42 +09:00
syuilo
21e51b537f Fix schema 2019-02-27 05:02:46 +09:00
syuilo
350c4f191f Improve doc 2019-02-27 05:02:36 +09:00
syuilo
0ce087c244 Update notes/featured 2019-02-26 14:42:24 +09:00
syuilo
a8f776545d Improve doc 2019-02-26 14:21:28 +09:00
syuilo
47ef8f1ac8 アカウントが削除できない問題を修正 2019-02-26 11:42:21 +09:00
syuilo
113621087c Improve doc 2019-02-25 09:37:22 +09:00
syuilo
fc4664ab60 Resolve #4325 2019-02-25 04:20:42 +09:00
syuilo
a4db6555d0 Improve doc 2019-02-25 04:18:09 +09:00
syuilo
d078bda2d0 Improve doc 2019-02-25 04:02:18 +09:00
syuilo
fa763803f9 Improve doc 2019-02-25 03:43:19 +09:00
syuilo
5183c49eb6 Improve doc 2019-02-25 03:35:45 +09:00
syuilo
40f9a74933 Improve doc 2019-02-25 03:30:22 +09:00
syuilo
9d18725a26 Fix doc 2019-02-25 03:23:19 +09:00
syuilo
fce12f9258 Improve doc 2019-02-25 03:21:54 +09:00
syuilo
119b97384b Improve doc 2019-02-24 19:42:26 +09:00
syuilo
46f0d36345 Improve doc 2019-02-24 19:27:32 +09:00
syuilo
51c7a38925 Improve doc 2019-02-24 18:13:11 +09:00
syuilo
8e9ce3a763 ハイフンに統一 2019-02-24 17:57:49 +09:00
syuilo
b2837e0806 Refactor 2019-02-24 17:48:54 +09:00
syuilo
1e4dcf0bbb Refactor 2019-02-24 17:35:19 +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
7874c4ed20 Improve doc 2019-02-24 12:40:17 +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
e539ceb716 Update schemas.ts 2019-02-24 04:27:09 +09:00
syuilo
4b523c8dca Update description.ts 2019-02-24 04:11:54 +09:00
syuilo
c3db1423fd Refator: separate files 2019-02-24 04:08:08 +09:00
Acid Chicken (硫酸鶏)
9589886d3f 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
3a33b82ed3 Better error handling 2019-02-23 15:45:03 +09:00
syuilo
cc21302224 Remove space 2019-02-23 15:42:52 +09:00
syuilo
117b8b2816 Update doc 2019-02-23 15:35:26 +09:00
syuilo
9979f71441 Add operationId to more convinience 2019-02-23 14:59:37 +09:00
syuilo
f614a32c57 Add source code link 2019-02-23 14:57:05 +09:00
syuilo
bc5c7264c5 Fix type 2019-02-23 14:56:48 +09:00
syuilo
4e15337a64 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
8a809d771c Refactor 2019-02-22 14:53:03 +09:00
syuilo
9ac255699f Refactor 2019-02-22 14:46:49 +09:00
syuilo
fc6b5d2503 Fix error response format 2019-02-22 14:22:40 +09:00
syuilo
8e59da66d5 Fix bug 2019-02-22 14:09:24 +09:00
syuilo
5911858b03 Remove unused imports 2019-02-22 14:06:17 +09:00
syuilo
b00d0c9aae Refactor 2019-02-22 14:02:56 +09:00
syuilo
13e82d1e5e Fix type annotation 2019-02-22 13:39:06 +09:00
syuilo
9b02d973dd Refactoring 2019-02-22 13:38:12 +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
MeiMei
1ce031a625 /api/v1/instance/peers 復活 (#4339)
* /api/v1/instance/peers 復活

* use Instance
2019-02-21 23:20:25 +09:00
syuilo
8f6b8d2f78 アカウント削除時にサインイン履歴も削除するように 2019-02-21 01:49:00 +09:00
syuilo
472b9aee5f アカウント削除時にメッセージも削除するように 2019-02-21 01:47:10 +09:00
syuilo
86ecc2d0ff Resolve #2017 2019-02-21 01:30:21 +09:00
syuilo
b6c957af27 Fix error 2019-02-21 00:32:49 +09:00
syuilo
a0be4e3b77 「みつける」でミュートしているユーザーが含まれる問題を修正 2019-02-20 22:34:52 +09:00
syuilo
b6bcdb2d64 Fix indent 2019-02-20 22:33:22 +09:00