Commit graph

115 commits

Author SHA1 Message Date
syuilo
06ed943395 refactor 2021-08-19 11:26:26 +09:00
syuilo
9df5374022 Use mfm-js for MFM parsing (#7415)
* wip

* Update mfm.ts

* wip

* update mfmjs

* refactor

* nanka

* Update mfm.ts

* Update to-html.ts

* Update to-html.ts

* wip

* fix test

* fix test
2021-04-02 10:36:11 +09:00
MeiMei
a1bbf7d9ca Fix HTML to MFM (#7150)
* Fix type

* Fix HTML to MFM
2021-02-06 21:44:46 +09:00
syuilo
b7fd3889c4 Remove outdated test 2020-11-08 12:42:13 +09:00
MeiMei
c520c2ba68 In HTML to MFM, use angle bracket if needed (#6817) 2020-11-08 00:38:50 +09:00
syuilo
1ccb52e8e7 Improve MFM
MFMの構文を調整 + 新しいアニメーション追加
Resolve #6816
2020-11-07 23:41:21 +09:00
MeiMei
2856a8a841 nyaizeが適用されるとMFMのオプションが失われるのを修正 Fix #6370 (#6371) 2020-05-16 08:40:17 +09:00
tamaina
8156c80e6c Update mfm.ts
Fix typo
2020-04-26 14:58:36 +09:00
tamaina
41c5d0e728 Update mfm.ts
Fix missed file name change
2020-04-26 14:55:04 +09:00
syuilo
90c1beca12 Update commands 2020-03-07 00:12:23 +09:00
syuilo
8c9f8dc890 chore: Update commands 2020-03-06 23:58:27 +09:00
MeiMei
a942ed1e92 Fix: Keycap Number Sign が表示できない (#5431)
* Fix: Keycap Number Sign が表示できない

* add U+20E3
2019-09-15 23:33:58 +09:00
syuilo
f57338eb3a Use npx 2019-09-01 04:31:59 +09:00
syuilo
eb564f4987 Fix test 2019-07-02 20:08:30 +09:00
syuilo
f4445c11ec Fix MFM parsing: Ignore parent [] of URL 2019-07-02 20:05:52 +09:00
syuilo
bb4bfd8d1f Fix MFM URL parsing 2019-06-17 20:15:19 +09:00
syuilo
4c9b953d65 Fix MFM strike parsing 2019-06-16 21:42:57 +09:00
syuilo
96875b17d2 Fix test 2019-06-16 21:30:26 +09:00
syuilo
78a8835381 Simplify test 2019-06-16 21:29:31 +09:00
syuilo
0e7c5d147e Add some MFM tests 2019-06-16 21:26:43 +09:00
syuilo
bfa78631b3 [MFM] Better hashtag parsing 2019-04-18 00:40:56 +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
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
Acid Chicken (硫酸鶏)
50a45ce1a1 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
syuilo
1536232f8b [MFM] Improve hashtag parsing 2019-03-05 22:18:29 +09:00
syuilo
a8d5397f5e [MFM] Better hashtag parsing: Ignore slash 2019-02-06 00:05:26 +09:00
syuilo
f19a50e296 [Test] Disable some tests temporary 2019-01-31 17:15:14 +09:00
syuilo
76c80bd84d [Test] Better tests 2019-01-31 15:19:59 +09:00
syuilo
29d9dae8c3 Fix typo 2019-01-31 15:10:27 +09:00
syuilo
6b99e1695c [Test] Add MFM test 2019-01-31 14:31:25 +09:00
syuilo
44b84e39ac [MFM] Better syntax parsing
Allow nesting by same tag
2019-01-31 12:23:45 +09:00
Aya Morisawa
c2aa219dfc Fix import 2019-01-30 17:15:12 +09:00
Aya Morisawa
d034a10d54 Avoid export default 2019-01-30 16:56:27 +09:00
Aya Morisawa
01ce19aa7d Rename analyze to parse in MFM tests 2019-01-30 15:30:05 +09:00
Aya Morisawa
6ef6f06a21 Extract parsePlain function 2019-01-30 15:27:54 +09:00
Aya Morisawa
ec0b271add Merge plainParser into mfm 2019-01-30 15:12:48 +09:00
Aya Morisawa
047d4c47fe Rename html to toHtml 2019-01-30 14:57:13 +09:00
Aya Morisawa
1e48af9693 Extract MFM types 2019-01-30 14:51:30 +09:00
MeiMei
366d3b73ba Fix #4034 (#4037)
* Fix #4034

* improve
2019-01-29 20:33:28 +09:00
syuilo
582aae6494 [MFM] Resolve #4009 2019-01-27 19:32:35 +09:00
Aya Morisawa
e254ddb1c8 Add jump syntax (#4007)
* Add jump syntax

* Fix typo: spin -> jump

* Fix typo
2019-01-27 19:12:45 +09:00
Aya Morisawa
764c89c228 Merge branch 'develop' into math-block 2019-01-27 16:41:30 +09:00
syuilo
c5fef1cc32 Fix test 2019-01-27 16:36:01 +09:00
syuilo
ee81bd2955 [MFM] Add flip syntax
Resolve #4002
2019-01-27 16:31:00 +09:00
syuilo
5f10be3f9a [MFM] Add spin syntax
Resolve #4003
2019-01-27 16:18:04 +09:00
syuilo
eae0ff45c6 Improve readability and some cleanups 2019-01-27 13:55:11 +09:00
syuilo
b5f0911146 [Test] Add a MFM test 2019-01-27 13:48:56 +09:00
syuilo
4f810bab1a [MFM] Improve title syntax detection 2019-01-27 13:40:38 +09:00
Aya Morisawa
e53c969727 Add multiline math syntax
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
2019-01-25 23:08:06 +09:00
syuilo
e22c816982 [MFM] Improve italic syntax detection 2019-01-25 16:41:51 +09:00