Commit graph

312 commits

Author SHA1 Message Date
Aya Morisawa
3fc70996e2 Change math syntax (#3280) 2018-11-17 00:31:49 +09:00
syuilo
0ff390ed80
[MFM] Improve various parsing
Resolve #2779
Resolve #3053
2018-11-16 21:57:19 +09:00
syuilo
e3b8495431
[MFM] Better URL parsing 2018-11-16 21:30:01 +09:00
Aya Morisawa
ad84901f39 Support math rendering on MFM (#3260) 2018-11-16 17:03:52 +09:00
syuilo
b8e1162e2d
Fix test 2018-11-07 21:30:28 +09:00
syuilo
501b07c383
[Test] Add MFM test 2018-11-07 19:58:05 +09:00
syuilo
e542dcac30
Fix test 2018-11-05 20:40:39 +09:00
syuilo
a0b13505a0
Insert missing spaces 2018-11-05 20:15:09 +09:00
syuilo
389f9bfea2
Add test 2018-11-05 20:14:49 +09:00
syuilo
630a534cee
Fix test 2018-11-05 20:10:28 +09:00
syuilo
5744c391e6
Revert "Fix test fails"
This reverts commit b9b05a7401.
2018-11-05 20:10:00 +09:00
Acid Chicken (硫酸鶏)
b9b05a7401
Fix test fails 2018-11-05 19:50:38 +09:00
syuilo
65961bc15b
Refactoring & 設定でTwemojiを使うかどうか切り替えられるように 2018-11-05 19:20:35 +09:00
syuilo
600aea4dbb
[MFM] Fix emoji syntax parsing 2018-11-03 22:35:24 +09:00
syuilo
ed2f94a3c1
oops 2018-11-03 15:28:11 +09:00
syuilo
daba7fe87c
[MFM] Fix title syntax parsing 2018-11-03 15:28:00 +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
4b145da046
Fix MFM parsing 2018-10-29 19:09:24 +09:00
syuilo
f51d1c5264
Fix test 2018-10-20 09:14:16 +09:00
syuilo
70d0937aab
Fix #2949 2018-10-20 09:03:04 +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
MeiMei
5dce81c0db 非ASCIIなドメインへのメンションの修正 (#2903)
* punycodeでされたmentionのラベルをunicodeとして表示する

* post-form mentionはpunycodeにする

* mentionの表示はURLもAPI向けもunicodeにする
2018-10-14 16:56:19 +09:00
syuilo
579b61a806
Update tests 2018-09-30 14:46:18 +09:00
syuilo
a5f817d896
Fix #2744 2018-09-21 08:33:24 +09:00
syuilo
5422482696
Resolve #1153 2018-09-20 06:27:41 +09:00
syuilo
f5a937c523
Better hashtag parsing 2018-09-17 22:51:10 +09:00
syuilo
374b276f5c
Fix #2720 2018-09-17 02:45:30 +09:00
syuilo
ee765d0812 Fix test 2018-08-06 00:31:09 +09:00
syuilo
d0926a3ba1 MFMの((()))構文が顔文字と競合する対策としてタグ形式の構文も追加 2018-08-05 23:56:08 +09:00
syuilo
005d25a07b Fix test 2018-08-05 13:50:49 +09:00
syuilo
cd28504dd8 Add new MFM syntax 2018-08-05 12:33:51 +09:00
syuilo
d456e5e45c Implement new MFM syntax 2018-08-03 23:27:37 +09:00
ImgBotApp
4c58dc61bc
[ImgBot] optimizes images
*Total -- 887.85kb -> 803.26kb (9.53%)

/src/client/app/desktop/assets/remove.png -- 3.04kb -> 0.41kb (86.39%)
/src/server/file/assets/bad-egg.png -- 4.67kb -> 1.64kb (64.96%)
/src/server/file/assets/cache-expired.png -- 14.67kb -> 5.91kb (59.75%)
/test/resources/Lenna.jpg -- 52.22kb -> 24.77kb (52.57%)
/assets/apple-touch-icon.png -- 4.71kb -> 2.46kb (47.82%)
/assets/icons/256.png -- 4.71kb -> 2.46kb (47.82%)
/assets/favicon/favicon.png -- 6.81kb -> 3.91kb (42.57%)
/assets/title.png -- 6.62kb -> 3.80kb (42.56%)
/src/server/file/assets/not-an-image.png -- 4.60kb -> 2.71kb (40.99%)
/src/server/file/assets/thumbnail-not-available.png -- 8.62kb -> 5.57kb (35.33%)
/src/client/assets/reactions/angry.png -- 5.74kb -> 4.50kb (21.6%)
/src/server/file/assets/tombstone.png -- 6.24kb -> 4.91kb (21.28%)
/src/client/assets/reactions/surprise.png -- 4.59kb -> 3.72kb (18.99%)
/assets/icons/128.png -- 3.07kb -> 2.49kb (18.74%)
/assets/icons/192.png -- 4.56kb -> 3.80kb (16.65%)
/src/client/assets/reactions/confused.png -- 7.08kb -> 5.92kb (16.5%)
/src/client/assets/reactions/love.png -- 3.26kb -> 2.74kb (16.07%)
/src/client/assets/reactions/laugh.png -- 7.74kb -> 6.77kb (12.47%)
/src/client/assets/reactions/hmm.png -- 6.47kb -> 5.74kb (11.38%)
/src/client/assets/reactions/congrats.png -- 10.39kb -> 9.77kb (6.04%)
/src/client/assets/pointer.png -- 246.93kb -> 232.06kb (6.02%)
/src/client/assets/error.jpg -- 55.53kb -> 52.84kb (4.84%)
/assets/icons/64.png -- 1.30kb -> 1.24kb (4.66%)
/src/server/file/assets/avatar.jpg -- 1.29kb -> 1.23kb (4.61%)
/src/client/assets/reactions/pudding.png -- 7.47kb -> 7.42kb (0.74%)
/src/client/assets/reactions/like.png -- 4.72kb -> 4.71kb (0.27%)
/src/client/app/desktop/assets/index.jpg -- 400.79kb -> 399.78kb (0.25%)
2018-07-14 14:20:36 +00:00
syuilo
58064ec633 MFM: Improve title syntax 2018-06-26 18:42:00 +09:00
syuilo
e4aa003157 MFM: Improve search syntax 2018-06-23 19:31:28 +09:00
syuilo
79d1bf30a4 リモートユーザーのHTMLで表現されたプロフィールをMFMに変換するように 2018-06-21 01:21:57 +09:00
syuilo
fbd51f0079 ✌️ 2018-05-18 09:21:19 +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
unarist
3c4235067f Fix username/mention regexes
* Allow underscore instead of hypen
* Fix domain part handling
* Add tests for remote mention
2018-04-09 01:52:41 +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
Akihiko Odaki
319e905bf9 Introduce followed log and following log 2018-04-02 22:00:40 +09:00
Akihiko Odaki
0a48ef59cd Fix built module references 2018-04-02 13:20:03 +09:00
syuilo
2a67c195d8 Fix test 2018-04-01 21:35:38 +09:00
syuilo
d636de090d Fix test 2018-04-01 12:41:19 +09:00
syuilo
b7870cb732 Fix 2018-04-01 11:05:56 +09:00
syuilo
73cffeadd0 Fix 2018-03-31 22:22:11 +09:00
syuilo
c0e63e00e5 Fix tests 2018-03-31 22:02:30 +09:00
Akihiko Odaki
90f8fe7e53 Introduce processor 2018-03-29 01:54:41 +09:00
Akihiko Odaki
68ce6d5748 Implement remote account resolution 2018-03-27 23:51:21 +09:00
Akihiko Odaki
001d5faac9 Add keypair to local account 2018-03-27 00:26:25 +09:00
Akihiko Odaki
19b9cb105d Introduce account document to user document
An account document is attached to a user document if an account of the
user is on the server. It may be missing if the user is on a remote server.
2018-03-26 14:07:16 +09:00
Aya Morisawa
78e9931524
Update text.js 2018-01-21 15:49:31 +09:00
syuilo
aff688d9bf ✌️ 2017-12-14 13:31:17 +09:00
syuilo
759a392fe9 Fix test 2017-11-08 23:54:02 +09:00
otofune
16bed0ca03 test - fix insertDriveFile (use GridFS filename) 2017-11-07 10:00:15 +09:00
otofune
67d32b73f4 test - remove unneed async wrappings, drop GridFS drive_file correctly 2017-11-07 09:47:59 +09:00
otofune
73bb81de8f update test for GridFS 2017-11-06 16:59:09 +09:00
こぴなたみぽ
60a7640eb1 RENAME: reply_to -> reply 2017-11-01 10:22:40 +09:00
こぴなたみぽ
016dda27bd Update mocha.opts 2017-09-04 02:41:32 +09:00
syuilo
1b9ed129a9 [Test] Clean up 2017-08-27 16:53:52 +09:00
syuilo
ad497d0e7e [Test] Fix bug 2017-06-07 03:03:56 +09:00
syuilo
feecb49a9f Fix indent 2017-06-07 02:51:20 +09:00
syuilo
b05bee58d2 #298 2017-03-20 04:24:19 +09:00
syuilo
45e8331e26 🍣
Closes #12, #227 and #58
2017-03-18 20:05:11 +09:00
syuilo
f0d044c400 [Test] Fix 2017-03-18 01:36:02 +09:00
syuilo
57961603a7 [Test] Fix 2017-03-18 01:29:21 +09:00
syuilo
bc3006f3c4 #277 2017-03-18 01:16:32 +09:00
syuilo
41bf7cef20 [Test] Fix test 2017-03-13 17:27:38 +09:00
syuilo
79c264171d []API Fix bugs 2017-03-06 03:50:27 +09:00
syuilo
95a481fcc4 [Test] fix 2017-03-05 12:12:19 +09:00
syuilo
17a23c3eb5 Use cafy 2017-03-05 12:00:39 +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
syuilo
93149de584 [Test] Add a test 2017-03-01 14:29:02 +09:00
otofune
e9284a797d [test] add emoji test 2017-03-01 03:19:50 +00:00
syuilo
e915b46c65 (maybe) Fix bug 2017-02-28 21:00:59 +09:00
Aya Morisawa
4081da6a00 Fix typo: complie -> compile 2017-02-28 03:11:55 +09:00
Aya Morisawa
0b8f8d87f6 Remove needless comment 2017-02-28 03:05:59 +09:00
Aya Morisawa
6f497a3bd5 Use TypeScript for tests 2017-02-28 02:48:37 +09:00
Aya Morisawa
db7e28c640 Merge branch 'mocha-ts' 2017-02-28 02:37:45 +09:00
Aya Morisawa
fedbe55e97 Use TypeScript for tests and fix semantic errors 2017-02-28 02:25:54 +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
syuilo
abfb36bcdb Fix bug 2017-02-22 19:39:34 +09:00
syuilo
f2c5dc468c Extract user's profile 2017-02-22 12:43:15 +09:00
syuilo
3dbffbfc4f [Test] Add some tests 2017-02-14 14:48:08 +09:00
syuilo
2b4c5ecff4 Implement the poll feature
Closes #164
2017-02-14 13:59:26 +09:00
syuilo
3e08c670fb [Test] Better /drive test 2017-02-14 08:06:28 +09:00
syuilo
a529b51c2d [API] Fix bug 2017-02-14 06:42:01 +09:00
syuilo⭐️
7e03d3ca9d [Test] Fix: Drop some db collections 2017-02-14 04:00:34 +09:00
syuilo
448fc31888 [Test] ✌️ 2017-02-13 01:49:25 +09:00
syuilo
30ad071575 [Test] Add some tests 2017-02-13 01:17:59 +09:00
syuilo
76887f371b [Test] Add some tests 2017-02-13 01:10:26 +09:00
syuilo
1096722e12 [Test] Fix test 2017-02-13 01:07:07 +09:00
syuilo
9fa0b06b78 [API] Fix bug 2017-02-12 22:39:23 +09:00
syuilo
03732b66c8 [Test] Add some auth tests 2017-02-12 20:44:55 +09:00
syuilo
174cd3e97c [Test] Add some drive tests 2017-02-12 20:23:30 +09:00
syuilo
cd5e49c9c2 [Test] Add some drive tests 2017-02-12 11:18:36 +09:00
syuilo
27c4d4b83b [Test] Fix some tests 2017-02-12 06:01:19 +09:00
syuilo
a6ce54ec18 [Test] Add some tests 2017-02-12 06:00:40 +09:00
syuilo
c1df48517f [Test] Fix test 2017-02-12 05:06:48 +09:00
syuilo
38d9f736aa [Test] Use JSON 2017-02-12 01:51:08 +09:00
syuilo
7d1983470d [Test] Add some drive tests 2017-02-12 01:40:29 +09:00
syuilo
56d5a988b6 Add Nice Comment 2017-02-12 01:03:57 +09:00
syuilo
7949982679 [Test] Add some text tests 2017-02-12 01:01:35 +09:00
syuilo⭐️
8c9ae6e8cf Fix test 2017-02-10 00:22:40 +09:00
syuilo
2110cbc942 [Test:API] Add clear birthday test 2017-01-26 11:56:34 +09:00
syuilo
d7bf7ff188 [Test] Add some tests 2017-01-21 07:48:56 +09:00
syuilo
48822506f2 [Test] Add some tests 2017-01-21 07:34:04 +09:00
syuilo
2596e82532 [Test] Add some tests 2017-01-20 17:51:44 +09:00
syuilo
88e5a18509 [Test] Fix test 2017-01-20 17:36:19 +09:00
syuilo
c55e5114ac [Test] ✌️ 2017-01-20 17:35:06 +09:00
syuilo
0c7406f8ba [Test] Add some tests 2017-01-20 17:34:09 +09:00
syuilo
6c36c2419f Error.stackTraceLimit = Infinity; 2017-01-20 10:29:48 +09:00
syuilo
6d3542465d test 2017-01-19 15:40:43 +09:00
syuilo
bdcc0f4839 2017-01-19 08:57:42 +09:00
syuilo
a431c5fe5f ✌️ 2017-01-19 08:45:39 +09:00
syuilo
978db8dd7d ✌️ 2017-01-19 08:45:18 +09:00
syuilo⭐️
9de3e59e20 Create mocha.opts 2017-01-18 20:08:40 +09:00
syuilo
f0e7a3f976 Fix test 2017-01-18 14:26:27 +09:00
syuilo
4059e3b504 test 2017-01-18 06:33:33 +09:00
syuilo
5b21a8c0fb [Test] Add some tests 2017-01-18 06:03:00 +09:00
syuilo
af08b2d8d1 [Test] Add some tests 2017-01-18 05:44:06 +09:00
syuilo
5c014193c7 test 2017-01-18 05:39:54 +09:00
syuilo
eb235a4a17 test 2017-01-18 05:26:37 +09:00
syuilo⭐️
2a6ac7e3ef Update api.js 2017-01-18 02:38:04 +09:00
syuilo⭐️
cef7fe72ed Update api.js 2017-01-18 02:28:47 +09:00
syuilo⭐️
c70f4568f4 Update api.js 2017-01-18 00:11:31 +09:00
syuilo
437283fd95 test 2017-01-17 16:26:21 +09:00
syuilo
c282fefe00 test 2017-01-17 16:07:48 +09:00
syuilo
85a15fdc62 test 2017-01-17 14:12:33 +09:00
syuilo
378728e534 test 2017-01-17 13:54:09 +09:00
syuilo
bd86a7ad48 test 2017-01-17 11:37:14 +09:00
syuilo
988de1dd18 test 2017-01-17 11:28:50 +09:00
syuilo
a3164054d9 [test] Better message 2017-01-17 11:21:21 +09:00
syuilo
3f8f0b8af8 [test] refactor 2017-01-17 11:20:19 +09:00
syuilo
b4e3d42e96 test 2017-01-17 11:11:27 +09:00
syuilo
a382f62071 [WIP] test 2017-01-17 10:39:28 +09:00
syuilo
c4e517ab15 [Test] Fix bug 2017-01-17 10:23:15 +09:00
syuilo
1fefe5eba4 [WIP] test 2017-01-17 10:06:54 +09:00
syuilo
5fcb247e77 [WIP] test 2017-01-17 09:51:44 +09:00
syuilo
888f31a9bb [WIP] test 2017-01-17 09:32:28 +09:00
syuilo
f76d55b1d2 [WIP] test 2017-01-17 08:26:59 +09:00
Aya Morisawa
ed24e607ac Update test 2016-12-31 02:38:40 +09:00
syuilo
5024b08869 Add test 2016-12-30 13:28:56 +09:00