Commit graph

143 commits

Author SHA1 Message Date
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
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
977af0a24d
ログをデータベースに保存して管理画面で見れるように 2019-03-02 18:51:59 +09:00
syuilo
f3ceb32a7c
Change queue db name 2019-03-02 14:32:32 +09:00
syuilo
3409a51cca
Resolve #2017 2019-02-21 01:30:21 +09:00
syuilo
310371658b
重いのでジョブキュー無効化 2019-02-10 11:44:08 +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
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
9d50a06d9c
Fix bug 2019-02-07 23:37:39 +09:00
syuilo
5448c22031
Revert 96bc17aa10 2019-02-07 21:02:33 +09:00
syuilo
7275bc6d3b
Improve instance stats 2019-02-07 16:05:29 +09:00
syuilo
336912e442
Improve instance stats 2019-02-07 15:00:44 +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
f4c4d53bbb
Fix bug 2019-02-06 21:21:49 +09:00
syuilo
0ed43e1bdf
Fix file name 2019-02-06 21:10:37 +09:00
syuilo
d25bd876cb
Better file names 2019-02-06 21:10:12 +09:00
syuilo
b9782397c2
Fix file ext 2019-02-06 21:07:36 +09:00
syuilo
ea0abc9f71
Clean up 2019-02-06 20:57:15 +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
9835945ee1
Improve queue option 2019-02-06 15:01:43 +09:00
syuilo
4f2d52697d Update queue setting 2019-02-06 14:53:02 +09:00
syuilo
e26bec6ab4
Improve queue configuration
Resolve #4157
Resolve #4158
2019-02-06 13:51:02 +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
syuilo
9b780dff04
Fix log 2019-02-05 14:04:40 +09:00
Aya Morisawa
6cd41f9860 Initialize queue only if queue is enabled (#4125) 2019-02-04 16:41:53 +09:00
syuilo
0ae1190c08
Add --disable-queue option 2019-02-04 13:37:50 +09:00
syuilo
d3b3426ebe
Enable job queue
Resolve #3216
2019-02-04 13:35:58 +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
Acid Chicken (硫酸鶏)
40e177fa96 Create type definition for 'http-signature' (#4049)
* Create type definition for 'http-signature'

* Follow lint
2019-02-01 19:59:12 +09:00
Aya Morisawa
81312f5a93 Remove a trailing whitespace (#3261) 2018-11-16 17:04:28 +09:00
MeiMei
bceb02d760 local only visibility (#3254)
* local only visibility

* fix UI
2018-11-16 05:47:29 +09:00
syuilo
359470a263
Fix bug 2018-11-05 19:40:09 +09:00
syuilo
aadd5b95b8
Improve admin dashboard 2018-11-03 11:38:00 +09:00
MeiMei
f243ce66e7 ActivityPubのHTTPリクエストの強化 (#2820)
* Fix error handling in AP deliver

* Set timeout to resolver

* Tune looks
2018-10-05 01:58:41 +09:00
mei23
3efffbcf22 Receive Update activity 2018-09-01 20:23:01 +09:00
mei23
18b4f74cdb Improve validation error message 2018-08-31 16:46:24 +09:00
mei23
48223c1c76 Validate host in activity 2018-08-30 20:53:41 +09:00
mei23
a09a244242 Fix resolvePerson key 2018-08-25 22:25:40 +09:00
syuilo
6372451d17 Fix bug 2018-08-10 14:15:12 +09:00
syuilo
4260ec713f Improve error handling 2018-08-06 21:48:23 +09:00
syuilo
08e1c87fa6 oops 2018-07-27 18:50:15 +09:00
syuilo
8a57f490ce バギーなのでジョブキュー無効化 2018-07-27 18:40:38 +09:00
syuilo
ac07f04ad8 Update job queue setting 2018-07-26 17:15:00 +09:00
syuilo
e1e1cd0574 Update job queue settings 2018-07-26 17:02:34 +09:00
syuilo
77b493c9b0 Use bee-queue instead of Kue 2018-07-26 08:11:47 +09:00
syuilo
f778696a76 ✌️ 2018-07-26 05:27:27 +09:00
syuilo
aa4ef6745a Refactorng 2018-07-07 19:19:00 +09:00
syuilo
e66d7babc5 yatta 2018-06-18 14:28:43 +09:00
syuilo
161bce1a42
Update deliver.ts 2018-05-16 17:30:00 +09:00
syuilo
7af9ad9869 Better error handling 2018-05-13 16:26:11 +09:00
syuilo
79640d6861 Fix bug 2018-05-07 18:20:15 +09:00
syuilo
7ee0cad010 Fix bug 2018-04-22 07:50:09 +09:00
syuilo
40849a5aa8 ✌️ 2018-04-22 07:34:33 +09:00
mei23
0bb59bd73b Fix Misskey同士でフォローできない 2018-04-22 00:41:07 +09:00
syuilo
dfb6e717e4
Update index.ts 2018-04-19 08:28:24 +09:00
syuilo
aaa167fd57 Refactor 2018-04-17 16:05:50 +09:00
syuilo
06535a37b5 キューのメモリ使用量を削減 2018-04-17 08:06:51 +09:00
syuilo
10e3411020 nanka iroiro 2018-04-15 17:53:25 +09:00
syuilo
eebd5f62b3 Fix bug 2018-04-15 12:51:05 +09:00
syuilo
d81c20f163 hostLowerは廃止してhostにlowerしたものを入れるように 2018-04-14 14:39:07 +09:00
syuilo
805bc4b254 Refactor 2018-04-10 02:12:17 +09:00
syuilo
2a5016865a Fix bug 2018-04-09 17:38:22 +09:00
syuilo
08beb45935 wip 2018-04-09 04:08:56 +09:00
syuilo
a02ee3a08b Some bug fixes 2018-04-08 03:58:11 +09:00
syuilo
a1b490afa7 Post --> Note
Closes #1411
2018-04-08 02:30:37 +09:00
syuilo
c77013ab3e oops 2018-04-07 15:45:03 +09:00
syuilo
ddced43ec7 Merge branch 'master' into refactor 2018-04-07 13:03:19 +09:00
syuilo
494597236c 投稿に関しては論理削除するように
処理をシンプルにするため
2018-04-07 07:19:30 +09:00
syuilo
866797a005 Fix bug 2018-04-07 06:23:38 +09:00
syuilo
66346495e5 Fix bug 2018-04-07 06:22:03 +09:00
syuilo
3cf6eab119 Log 2018-04-06 22:40:06 +09:00
こぴなたみぽ
eb0809ebb4 Remove needless log 2018-04-06 14:57:01 +09:00
syuilo
0856f4cd12 Use error instaed of warn 2018-04-06 14:39:28 +09:00
syuilo
862463a13c Fix bug 2018-04-06 14:35:17 +09:00
syuilo
0154e44e1d Fix bugs 2018-04-06 03:42:55 +09:00
syuilo
b6aeacdeb9 RENAME: api --> services 2018-04-06 03:10:25 +09:00
syuilo
0de40f3a76 wip 2018-04-05 23:24:51 +09:00
syuilo
7403f38fb4 wip 2018-04-05 18:43:06 +09:00
syuilo
c2c03a1c65 wip 2018-04-05 03:21:11 +09:00
Akihiko Odaki
168b0730b4 Implement Mention object 2018-04-05 01:24:39 +09:00
syuilo
b6b9875205 wip 2018-04-05 01:24:01 +09:00
syuilo
eb304cb5fb wip 2018-04-05 01:22:41 +09:00
Akihiko Odaki
a5715ecc1b Do not declare two variables in a statement 2018-04-05 01:07:55 +09:00
syuilo
fba46b4c7f wip 2018-04-05 01:07:07 +09:00
Akihiko Odaki
e330ac1934 Let unhandled rejection handler handle rejections in jobs 2018-04-05 01:04:44 +09:00
syuilo
0ac695edbd wip 2018-04-05 00:01:01 +09:00
syuilo
77f056b4fc wip 2018-04-04 23:59:38 +09:00
syuilo
5bd1451b61 wip 2018-04-04 23:22:48 +09:00
syuilo
e8b42d7e16 wip 2018-04-04 23:12:35 +09:00
Akihiko Odaki
d7c13b975f Retry HTTP requests 2018-04-04 22:45:55 +09:00