Commit graph

37 commits

Author SHA1 Message Date
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 4398651841
Refactor 2019-01-25 19:37:45 +09:00
syuilo 76fcf122f9
[Test] Add notes/timeline test 2019-01-25 10:58:39 +09:00
syuilo 926ad23033
[Test] Add API test 2019-01-25 10:52:04 +09:00
syuilo 82f1fc6cda
Fix test 2019-01-23 13:50:36 +09:00
syuilo 4d24741d48
Fix test 2019-01-23 13:35:22 +09:00
syuilo 931f17c589
Refactor: Separate some test files 2019-01-23 12:15:27 +09:00
syuilo 26c327145f
[Test] Add streaming test
#3955
2019-01-22 18:30:49 +09:00
Acid Chicken (硫酸鶏) 018837db0b Support SVG (#3883)
* Update add-file.ts

* Update package.json

* Revert "Update add-file.ts"

This reverts commit ba0fe83b54.

* 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
syuilo 2cd6ccb85c
Fix test 2018-11-29 06:33:23 +09:00
Acid Chicken (硫酸鶏) 6951f7e74a Fix #3361 (#3362)
* Update create.ts

* Update api.ts
2018-11-22 05:06:51 +09:00
syuilo 120474ec6a
Fix bug 2018-10-30 21:55:16 +09:00
syuilo 4c160869b8
Update test/api.ts 2018-10-30 21:17:26 +09:00
syuilo 8f3bce6b11
Add some messaging API tests 2018-10-17 04:01:13 +09:00
syuilo 468bc67569
Improve test 2018-10-16 19:52:14 +09:00
syuilo 572cfafbe1
Add some API tests 2018-10-16 10:18:47 +09:00
syuilo 4d6335ce9a
Add some tests and fix 2018-10-16 09:45:36 +09:00
syuilo a6844ebc9d
Add some tests 2018-10-16 08:58:45 +09:00
syuilo 99da4f9839
Add some tests and some fixes 2018-10-16 08:54:36 +09:00
syuilo 88664486af
Refactor 2018-10-16 08:27:20 +09:00
syuilo 80daf7c749
Implement API tests 2018-10-16 06:37:21 +09:00
syuilo 612db86141
Delete api.ts 2018-05-18 07:14:43 +09:00
syuilo e7890eb6b9 Use Promise 2018-05-18 06:37:25 +09:00
syuilo c5feafb893 Fix test 2018-05-18 06:14:33 +09:00
syuilo 013851749f ✌️ 2018-04-26 16:02:04 +09:00
syuilo 65c8b80fab Fix test 2018-04-26 15:30:39 +09:00
syuilo f7c02819be Fix lint 2018-04-26 14:44:23 +09:00
syuilo a02ee3a08b Some bug fixes 2018-04-08 03:58:11 +09:00
syuilo 1a347ae9a0 Test: Remove needless test 2018-04-03 15:32:53 +09:00
syuilo c06f297c47 Use typescript in tests 2018-04-03 13:03:37 +09:00
syuilo b99dc759e6 [Test] Fix test 2017-03-04 19:21:04 +09:00
syuilo 4b9067914e [Test] Add a test 2017-03-01 20:33:26 +09:00
syuilo eefdf85f16 [Test] Fix tests 2017-03-01 14:54:09 +09:00
syuilo 76aaa340a3 [Test] Add some messaging tests 2017-03-01 14:41:49 +09:00
Aya Morisawa 6f497a3bd5 Use TypeScript for tests 2017-02-28 02:48:37 +09:00
Aya Morisawa 0bc1ead411 Revert "Use TypeScript for tests"
This reverts commit 409964adcb.
2017-02-28 01:58:32 +09:00
syuilo 409964adcb Use TypeScript for tests 2017-02-28 01:44:22 +09:00
Renamed from test/api.js (Browse further)