Commit graph

240 commits

Author SHA1 Message Date
Acid Chicken (硫酸鶏) 899f42c070 Update reaction-lib.ts (#4580) 2019-03-26 22:24:46 +09:00
Acid Chicken (硫酸鶏) 8ce1d4d6a3 Fix #4576 (#4579)
* Update update.ts

* Update api.ts
2019-03-26 22:24:14 +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
Acid Chicken (硫酸鶏) 38656103c0
Add angle bracket covered url syntax to mfm (#4483)
* Add angle bracket covered url syntax to mfm

* Fix path

* Fix match

* Fix index
2019-03-14 21:23: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 2782e7d26f
[MFM] Improve hashtag parsing 2019-03-05 22:18:29 +09:00
Aya Morisawa e9955e01d6
Introduce option type (#4150)
* Introduce option type

* Improve test naming
2019-02-06 13:42:35 +09:00
syuilo 31929dad61
[MFM] Better hashtag parsing: Ignore slash 2019-02-06 00:05:26 +09:00
syuilo 33eb91c0f0
[Test] Disable some tests temporary 2019-01-31 17:15:14 +09:00
syuilo 6f1e47f0b3
[Test] Better tests 2019-01-31 15:19:59 +09:00
syuilo 57ab640221
Fix typo 2019-01-31 15:10:27 +09:00
syuilo e4c745bccd
[Test] Add MFM test 2019-01-31 14:31:25 +09:00
syuilo b515cc90e9
[MFM] Better syntax parsing
Allow nesting by same tag
2019-01-31 12:23:45 +09:00
Aya Morisawa b3fc4dc00f
Fix import 2019-01-30 17:15:12 +09:00
Aya Morisawa 28bfb45426
Avoid export default 2019-01-30 16:56:27 +09:00
Aya Morisawa c12ccb2a15
Rename analyze to parse in MFM tests 2019-01-30 15:30:05 +09:00
Aya Morisawa e3b1d00e4c
Extract parsePlain function 2019-01-30 15:27:54 +09:00
Aya Morisawa 98795aad9a
Merge plainParser into mfm 2019-01-30 15:12:48 +09:00
Aya Morisawa 3058e8f354
Rename html to toHtml 2019-01-30 14:57:13 +09:00
Aya Morisawa 4c9b66b0f0
Extract MFM types 2019-01-30 14:51:30 +09:00
MeiMei b0e00da2f7 Fix #4034 (#4037)
* Fix #4034

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

* リプライ/メンションされていれば非フォロワーでも参照可能に
2019-01-29 17:34:43 +09:00
MeiMei 1ca0976e85 Fix visibility test (#4031) 2019-01-29 15:16:11 +09:00
MeiMei e301630c9d Add visibility test (#4029) 2019-01-29 13:46:24 +09:00
syuilo 103fe8b91d
[MFM] Resolve #4009 2019-01-27 19:32:35 +09:00
Aya Morisawa 62d41023e1 Add jump syntax (#4007)
* Add jump syntax

* Fix typo: spin -> jump

* Fix typo
2019-01-27 19:12:45 +09:00
Aya Morisawa 1af1638e2b
Merge branch 'develop' into math-block 2019-01-27 16:41:30 +09:00
syuilo 8c62aafa97
Fix test 2019-01-27 16:36:01 +09:00
syuilo 4de62220e3
[MFM] Add flip syntax
Resolve #4002
2019-01-27 16:31:00 +09:00
syuilo e5d9381503
[MFM] Add spin syntax
Resolve #4003
2019-01-27 16:18:04 +09:00
syuilo 50b809784f
Improve readability and some cleanups 2019-01-27 13:55:11 +09:00
syuilo 71210595d2
[Test] Add a MFM test 2019-01-27 13:48:56 +09:00
syuilo 085325e65f
[MFM] Improve title syntax detection 2019-01-27 13:40:38 +09:00
Aya Morisawa 79d2374d8e
Add multiline math syntax
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
2019-01-25 23:08:06 +09:00
syuilo 4398651841
Refactor 2019-01-25 19:37:45 +09:00
syuilo 42cd7c8a75
[MFM] Improve italic syntax detection 2019-01-25 16:41:51 +09:00
syuilo 501379c82c
[Test] Add sone streaming tests 2019-01-25 16:14:09 +09:00
syuilo 92b45d1a9d
Refactoring 2019-01-25 15:56:49 +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 f7c8e31b36
Update mfm.ts 2019-01-22 18:30:58 +09:00
syuilo 26c327145f
[Test] Add streaming test
#3955
2019-01-22 18:30:49 +09:00
syuilo 882c60ef10
Update mfm.ts 2019-01-21 13:30:30 +09:00
syuilo 1df9c1005f
[MFM] __ 構文はアルファベットのみに 2019-01-20 18:06:04 +09:00
ibrokemypie 53481accf1 Add double underscore syntax for bold markdown (#3733)
* Add double underscore syntax for bold markdown
see https://github.com/syuilo/misskey/pull/3732
this allows bold text through either **text** or __text__

* Add tests for underscore bold mfm syntax
2019-01-20 18:00:55 +09:00
syuilo b1385de758
Update mfm.ts 2019-01-20 17:53:08 +09:00
syuilo f8ba73bebf
[MFM] Add <i> syntax 2019-01-20 17:52:11 +09:00