Commit graph

301 commits

Author SHA1 Message Date
MeiMei
b2dfd27588 ランダムにテストがコケるのを修正 (#7553)
* Test shutdown

* Revert "Test shutdown"

This reverts commit 85182e7dd196cdd9ecb46cfb50adaabd04c5ba60.

* Skip beforeShutdown in test

* Wait shutdown in test

* Revert "Skip beforeShutdown in test"

This reverts commit 79c33ab53615e8fa4820d2abfc2494cba55c441c.

* Revert "Revert "Skip beforeShutdown in test""

This reverts commit 3423133a137c79b64f3ff6ef9dbe433a441a47b0.
2021-06-05 14:54:07 +09:00
MeiMei
818cd2b71d APIドキュメントが見れなくなっているのを修正など (#7500)
* Test api.json

* Fix typo

* Fix api-doc
2021-05-05 19:02:30 +09:00
marihachi
993bd861ca refactor mfm extract (#7434)
* refactor extractCustomEmojisFromMfm()

* refactor extract-hashtags

* refactor extract-mentions

* refactor extract-hashtags

* refactor extract-url-from-mfm

* refactor extract-mentions
2021-04-10 17:50:18 +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
syuilo
14f3240dcc syuilo/misskey --> misskey-dev/misskey 2021-03-24 12:23:05 +09:00
syuilo
d98fb12996 fix test 2021-03-23 17:54:43 +09:00
syuilo
f3e0cedef6 Improve chart performance (#7360)
* wip

* wip

* wip

* wip

* wip

* Update chart.ts

* wip

* Improve server performance

* wip

* wip
2021-03-18 11:17:05 +09:00
MeiMei
2c987d5c39 Fix assets test and favicon type (#7344)
* fix

* koa-faviconはimage/x-iconがデフォルトらしい

* シンプルに

* faviconなど
2021-03-13 23:22:54 +09:00
syuilo
2c1d6a3bee test: Add apple-touch-icon.png test 2021-03-13 13:21:33 +09:00
syuilo
8b46a2bc31 fix comment 2021-03-13 00:24:32 +09:00
syuilo
4fae5eb90d add test 2021-03-13 00:18:46 +09:00
syuilo
b1507edcc3 eslintrcとtsconfigを整理 2021-03-13 00:18:41 +09:00
MeiMei
abcae7bed9 リソースが取得できるかどうかのテストなど (#7316)
* Tests for Fetch resource

* Remove unnecessary copy

* Update koa-views, pug
2021-03-12 23:10:15 +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
563ede4f26 Fix test (#6733) 2020-10-18 16:03:51 +09:00
MeiMei
e8de91cd7b Fix blurhash in test (#6573) 2020-07-21 01:15:18 +09:00
syuilo
0c9a52940f feat: Blurhash integration
Resolve #6559
2020-07-19 00:24:07 +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
Satsuki Yanagi
aeba691636 Update dependencies 🚀 (#6297)
* chore: Update dependencies 🚀

Make everything is up-to-date

* chore: Update dependencies 🚀

Good Bye, core-js@2 !

* packaging

* Fix test

* fix build

* fix test

* use default reporter

* fix mocha is keep running after test

* Revert back is-promise 

https://github.com/then/is-promise/issues/12

* Refresh
2020-04-26 10:35:47 +09:00
MeiMei
a74358ec03 Use node-fetch instead of request (#6228)
* requestをnode-fetchになど

* format

* fix error

* t

* Fix test
2020-04-09 23:42:23 +09:00
syuilo
18f7d51d0b Improve log handling 2020-03-28 18:28:21 +09:00
syuilo
f401ebe7c1 Update test 2020-03-07 11:25:39 +09:00
syuilo
755a9e2ea7 wip #6140 2020-03-07 11:23:31 +09:00
syuilo
a681e5044d Add test 2020-03-07 01:10:13 +09:00
syuilo
3593015993 Resolve #6137 2020-03-07 01:04:36 +09:00
syuilo
ee457a6600 Refactor 2020-03-07 00:29:09 +09:00
syuilo
90c1beca12 Update commands 2020-03-07 00:12:23 +09:00
syuilo
42e6bf4501 Migrate deprecated mocha configuration 2020-03-07 00:00:12 +09:00
syuilo
8c9f8dc890 chore: Update commands 2020-03-06 23:58:27 +09:00
MeiMei
fc1d683d3d ファイルと画像認識処理の改善 (#5690)
* dimensions制限とリファクタ

* comment

* 不要な変更削除

* use fromFile など

* Add probe-image-size.d.ts

* えーCRLFで作るなよ…

* Update src/@types/probe-image-size.d.ts

Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* fix d.ts

* Update src/@types/probe-image-size.d.ts

Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* Update src/@types/probe-image-size.d.ts

Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* fix

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2020-01-12 16:40:58 +09:00
rinsuki
5c62f84ba2 ローカルタイムラインのテストを修正 (#5699)
visibility=specifiedな投稿はローカルタイムラインに流れない
2020-01-09 17:29:03 +09:00
rinsuki
2e4030b6c5 Add GitHub Actions (#5522)
* add .github/workflows/nodejs.yml

* fix

* GitHub Actions: Node.js 8.xはサポートしない

* add .github/workflows/docker.yml

* Dockerビルドをキャッシュするように

* Run test in github actions

* 同リポジトリ内からのプルリクだと無駄に二回走るのを抑制

* 6925c00のdocker.ymlへの適応忘れ

* fix .circleci/misskey/test.yml

* test実行時にDBとかredisとか動かすように

* fix

* fix tests (#5544)

* fix test

* fix compile errors

* PATH引き継ぎでchild_process.spawn時のENOENTを修正

*  サーバー起動処理を共通化

* fix coding style

* fd=4をipcに使うように

* fix port

* fix

* fix ws port

* #4033 にテストケースを追従

* fix?

* fix??

* fix

* fix

* fix

* maybe fix

* fix

* node 10.xサポートしてなかった

* 11.10じゃないとだめだった

* fix

* remove chart test

* fix

* chart test復活

* fix

* 一回一回コネクションを閉じる

* Revert "一回一回コネクションを閉じる"

This reverts commit 56e35cf4f83070744c8dd852f1a7075011d88828.

* 一回一回sync→dropしてるのをやめてみる

* fix

* fix

* …

* キャッシュを切ってみる

* add ts to require target

* omg fix

* Revert "キャッシュを切ってみる"

This reverts commit 88161c59d2ea769ddf87143ba4fd4660a06afdf2.

* done呼び忘れ

* 実際の文字数リミットと違ってたので対応

* テストケースがバグってたので修正

* Revert "一回一回sync→dropしてるのをやめてみる"

This reverts commit a9e543ba2eef790ac7a14ae8799b898765748e35.

* fix

* fix

* fix

* fix?

* fix

* chartのconnectionを分離する

* fix

* fix

* fix tsconfig?

* Revert "fix tsconfig?"

This reverts commit ba9269eaf65507ff97ec1dd2e27260fb2cf0510b.

* fix

* TS_NODE_FILES を scripts の方で指定

* Windowsェ

* Circle CIの実行条件をmasterへのpushのみに

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2020-01-09 14:35:04 +09:00
syuilo
263eb42e93 Clean up 2019-10-31 15:53:35 +09:00
syuilo
1c8ebf983b Fix chart bug 2019-10-31 15:51:33 +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
c05e7a6321 Chart resyncing (#5372)
* wip

* Add test

* Fix test

* Insert moderation log

* Add todo
2019-09-02 04:41:26 +09:00
syuilo
f57338eb3a Use npx 2019-09-01 04:31:59 +09:00
tamaina
7b4179b2b6 Improve paste uploading Resolve #3023 (#4542)
* resolve #3023

* fix

* fix

* better description

* widget

* fix text

* Update post-form.vue

* Fix enter-file-name dialog title text

* Fix type

* On messaging room

* Replace moment.js to original one

* Fix formatDateTimeString
2019-07-08 13:46:31 +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