Commit graph

90 commits

Author SHA1 Message Date
Aya Morisawa
06d7e119ef Improve MFM bracket matching
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
2018-12-22 00:44:38 +09:00
Aya Morisawa
88bf7a0426 Fix comment 2018-12-21 11:28:30 +09:00
Aya Morisawa
45c9667c5c Refactor MFM
Co-authored-by: syuilo syuilotan@yahoo.co.jp
2018-12-20 19:42:10 +09:00
Acid Chicken (硫酸鶏)
1b04b89199 Resolve #3676 (#3677) 2018-12-19 21:20:25 +09:00
syuilo
4d17f35730 Fix bug 2018-12-19 11:16:29 +09:00
Acid Chicken (硫酸鶏)
f2c676cbdd 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
Acid Chicken (硫酸鶏)
3fd16b3896 Update html.ts (#3603) 2018-12-13 01:33:18 +09:00
MeiMei
4b729421fe Fix htmlToMfm (#3600) 2018-12-12 11:47:07 +09:00
Aya Morisawa
b954245a4d 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
MeiMei
b9ec3795f7 Show user fields (#3590) 2018-12-11 20:18:12 +09:00
tamaina
7bd67daf07 #2501 (#3567)
* refactor mfm/html

* fix

* fix

* https://github.com/syuilo/misskey/pull/3567#discussion_r240023301
2018-12-09 13:15:32 +09:00
Aya Morisawa
dece0c2bfb Eliminate if-statement (#3555) 2018-12-09 03:40:40 +09:00
syuilo
3597297b18 Update parser.ts 2018-12-07 18:26:54 +09:00
syuilo
1001e6e5f4 Resolve #3529 2018-12-07 17:54:35 +09:00
MeiMei
2bf3f7ab87 Emoji support in profile (#3514)
* Emoji in profile

* Add emojis to fields
2018-12-06 10:02:04 +09:00
Aya Morisawa
06eeb36ae5 Add small syntax (#3506) 2018-12-05 20:11:54 +09:00
syuilo
82e478f2e3 [MFM] Add italic syntax
Resolve #3486
2018-12-05 17:39:26 +09:00
syuilo
46c6611f36 [MFM] Implement strike syntax
Resolve #3485
2018-12-04 01:28:21 +09:00
Aya Morisawa
6e4fa18b7f Use takeWhile instead of some (#3475) 2018-12-02 20:28:22 +09:00
syuilo
c8b69f2ee5 [MFM] Better hashtag detection 2018-12-02 06:53:57 +09:00
syuilo
44e44c69fd [MFM] Better MFM parsing 2018-12-01 10:40:09 +09:00
syuilo
f783ef38b5 [MFM] Improve hashtag detection 2018-11-29 20:12:37 +09:00
syuilo
bdd12c0bfc [MFM] Improve hashtag detection 2018-11-27 02:08:51 +09:00
syuilo
15012960e8 Improve MFM 2018-11-25 13:36:52 +09:00
syuilo
df88d82cae [MFM] Add center syntax
Resolve #1775
2018-11-25 13:36:40 +09:00
syuilo
60fe0da1b4 Improve MFM 2018-11-25 13:23:18 +09:00
syuilo
6d52a4b4dd Refactoring 2018-11-25 13:19:33 +09:00
syuilo
cba9250492 [MFM] Better hashtag parsing 2018-11-25 04:44:42 +09:00
syuilo
d75a6faeba [MFM] Fix hashtag detection 2018-11-24 17:18:11 +09:00
syuilo
d4d54d91ca Refactor 2018-11-24 17:10:12 +09:00
syuilo
0ce969d4a6 [MFM] Improve hashtag detection
Resolve #3387
2018-11-23 16:02:17 +09:00
syuilo
4705cd1008 [MFM] Improve URL parsing
Fix #3368
2018-11-22 05:02:38 +09:00
syuilo
12aa24d354 [MFM] Better inline code parse 2018-11-21 12:55:15 +09:00
syuilo
2018edcdec Improve MFM 2018-11-21 08:32:40 +09:00
syuilo
91622ff1db [MFM] Fix hashtag parsing 2018-11-21 08:30:29 +09:00
syuilo
60252911eb Improve MFM parser (#3337)
* wip

* wip

* Refactor

* Refactor

* wip

* wip

* wip

* wip

* Refactor

* Refactor

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Clean up

* Update misskey-flavored-markdown.ts

* wip

* wip

* wip

* wip

* Update parser.ts

* wip

* Add new test

* wip

* Add new test

* Add new test

* wip

* Refactor

* Update parse.ts

* Refactor

* Update parser.ts

* wip
2018-11-21 05:11:00 +09:00
Aya Morisawa
6e8a20eabe Change math syntax (#3280) 2018-11-17 00:31:49 +09:00
syuilo
5d8c97dbc7 [MFM] Improve various parsing
Resolve #2779
Resolve #3053
2018-11-16 21:57:19 +09:00
syuilo
5e877644ca [MFM] Better URL parsing 2018-11-16 21:30:01 +09:00
Aya Morisawa
97d4c04276 Support math rendering on MFM (#3260) 2018-11-16 17:03:52 +09:00
Aya Morisawa
4e07b74a4a Add group function (#3175) 2018-11-09 13:03:46 +09:00
syuilo
2650eca7a1 [MFM] Fix title parsing 2018-11-07 21:17:27 +09:00
MeiMei
620a21f916 Twemojiで合字に対応 (#3140)
* Twemojiで合字に対応

* split emoji regex
2018-11-06 14:09:40 +09:00
syuilo
3ba15bc3cb Better emoji regexp 2018-11-05 20:49:17 +09:00
syuilo
ceb2a316cd Refactoring & 設定でTwemojiを使うかどうか切り替えられるように 2018-11-05 19:20:35 +09:00
Acid Chicken (硫酸鶏)
d9f4886a97 Make code better
refs: https://github.com/syuilo/misskey/pull/3117#pullrequestreview-171423739
refs: https://github.com/syuilo/misskey/pull/3117#pullrequestreview-171424596
refs: https://github.com/syuilo/misskey/pull/3117#pullrequestreview-171425303
2018-11-05 16:19:14 +09:00
Acid Chicken (硫酸鶏)
d8dbd41a1e Add support for unicode emojis
refs: https://github.com/syuilo/misskey/pull/3117#issuecomment-435745613
2018-11-05 15:15:37 +09:00
MeiMei
b8ae57f743 Fix: emoji regex (#3093) 2018-11-04 17:36:37 +09:00
syuilo
0087b3d351 Refactoring 2018-11-03 22:40:12 +09:00
syuilo
82e78f5b5a Add missing semicolons 2018-11-03 22:38:12 +09:00