Commit Graph

136 Commits

Author SHA1 Message Date
syuilo
d3dd5d7ae2 Add some tests and some fixes 2018-10-16 08:54:36 +09:00
syuilo
8a51b89f0f Refactor 2018-10-16 08:27:20 +09:00
syuilo
64087acfee Implement API tests 2018-10-16 06:37:21 +09:00
MeiMei
3bdc97b242 非ASCIIなドメインへのメンションの修正 (#2903)
* punycodeでされたmentionのラベルをunicodeとして表示する

* post-form mentionはpunycodeにする

* mentionの表示はURLもAPI向けもunicodeにする
2018-10-14 16:56:19 +09:00
syuilo
0e14dc6e43 Update tests 2018-09-30 14:46:18 +09:00
syuilo
3824dccbe3 Fix #2744 2018-09-21 08:33:24 +09:00
syuilo
9220081e12 Resolve #1153 2018-09-20 06:27:41 +09:00
syuilo
20c4d59c85 Better hashtag parsing 2018-09-17 22:51:10 +09:00
syuilo
900739eb71 Fix #2720 2018-09-17 02:45:30 +09:00
syuilo
479b01d493 Fix test 2018-08-06 00:31:09 +09:00
syuilo
7a627fd83e MFMの((()))構文が顔文字と競合する対策としてタグ形式の構文も追加 2018-08-05 23:56:08 +09:00
syuilo
559e6d0722 Fix test 2018-08-05 13:50:49 +09:00
syuilo
02cf340497 Add new MFM syntax 2018-08-05 12:33:51 +09:00
syuilo
8e959f38dc Implement new MFM syntax 2018-08-03 23:27:37 +09:00
ImgBotApp
dfd564a731 [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
9887e2e08d MFM: Improve title syntax 2018-06-26 18:42:00 +09:00
syuilo
8134df00a6 MFM: Improve search syntax 2018-06-23 19:31:28 +09:00
syuilo
899b69c2a9 リモートユーザーのHTMLで表現されたプロフィールをMFMに変換するように 2018-06-21 01:21:57 +09:00
syuilo
382cd35ddb ✌️ 2018-05-18 09:21:19 +09:00
syuilo
2a9f2af0b4 Delete api.ts 2018-05-18 07:14:43 +09:00
syuilo
a52eb07fc8 Use Promise 2018-05-18 06:37:25 +09:00
syuilo
7fceaa4553 Fix test 2018-05-18 06:14:33 +09:00
syuilo
4e91e0e7b9 ✌️ 2018-04-26 16:02:04 +09:00
syuilo
0ac54c90b9 Fix test 2018-04-26 15:30:39 +09:00
syuilo
0eb69e2a97 Fix lint 2018-04-26 14:44:23 +09:00
unarist
9b58a541b1 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
9739dc4ac2 Some bug fixes 2018-04-08 03:58:11 +09:00
syuilo
c2a8b684d0 Test: Remove needless test 2018-04-03 15:32:53 +09:00
syuilo
1d8888554e Use typescript in tests 2018-04-03 13:03:37 +09:00
Akihiko Odaki
f3e3c58fe1 Introduce followed log and following log 2018-04-02 22:00:40 +09:00
Akihiko Odaki
8f593d27dc Fix built module references 2018-04-02 13:20:03 +09:00
syuilo
0328ef96d9 Fix test 2018-04-01 21:35:38 +09:00
syuilo
2617c07f9a Fix test 2018-04-01 12:41:19 +09:00
syuilo
04bca07b95 Fix 2018-04-01 11:05:56 +09:00
syuilo
565b6dfd68 Fix 2018-03-31 22:22:11 +09:00
syuilo
86c52c3adc Fix tests 2018-03-31 22:02:30 +09:00
Akihiko Odaki
660cdf05c4 Introduce processor 2018-03-29 01:54:41 +09:00
Akihiko Odaki
c20b22cf22 Implement remote account resolution 2018-03-27 23:51:21 +09:00
Akihiko Odaki
bfe6fc9ebb Add keypair to local account 2018-03-27 00:26:25 +09:00
Akihiko Odaki
0b12d87896 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
a4d658a891 Update text.js 2018-01-21 15:49:31 +09:00
syuilo
3a15b61604 ✌️ 2017-12-14 13:31:17 +09:00
syuilo
777f9b2ae2 Fix test 2017-11-08 23:54:02 +09:00
otofune
1e58cf1dc7 test - fix insertDriveFile (use GridFS filename) 2017-11-07 10:00:15 +09:00
otofune
d24990a490 test - remove unneed async wrappings, drop GridFS drive_file correctly 2017-11-07 09:47:59 +09:00
otofune
b008253f38 update test for GridFS 2017-11-06 16:59:09 +09:00
こぴなたみぽ
52477d45af RENAME: reply_to -> reply 2017-11-01 10:22:40 +09:00
こぴなたみぽ
a423fdaa12 Update mocha.opts 2017-09-04 02:41:32 +09:00
syuilo
2445b7ebf8 [Test] Clean up 2017-08-27 16:53:52 +09:00
syuilo
857e3cc961 [Test] Fix bug 2017-06-07 03:03:56 +09:00