Commit graph

311 commits

Author SHA1 Message Date
MeiMei 482081c41b
Refactor request (#7814)
* status code

* Test ap-request.ts

4397fc5e70/test/ap-request.ts

* tune
2021-10-16 17:16:24 +09:00
MeiMei 03b04acb16
テスト用コンテナの調整 (#7838)
* Tune test container

* docs

* fix cp config

* doc

* a
2021-10-16 17:12:20 +09:00
MeiMei a73a787753
Fix prelude/url (#7855) 2021-10-01 02:25:57 +09:00
MeiMei ece3ac967d
Tune mfmToHtml (#7841)
* Tune mfmToHtml

* typo

* add
2021-09-26 01:57:38 +09:00
syuilo b9cb6d1c10 refactor: refactoring imports
将来ESMに移行しやすいように
Related: #7658

なんかmochaが起動しなくなってるけど理由不明
すぐ直したい
2021-08-19 18:33:41 +09:00
syuilo 4c431c5432 refactor 2021-08-19 11:26:26 +09:00
syuilo 7015df37e3
enhance(server): Improve user block (#7640)
* enhance(server): Improve user block

* Update CHANGELOG.md

* ユーザーリスト対応

* 相手から見れなくなるように

* Update 1629004542760-chart-reindex.ts

2365761ba5 (commitcomment-54919821)

* update test

* add test

* add todos

* Update 1629004542760-chart-reindex.ts
2021-08-17 21:48:59 +09:00
MeiMei 7ebdd4739a
Fix truncate (#7642) 2021-08-17 17:25:19 +09:00
MeiMei 1772af9583
AP Actorの修正 (#7573)
* AP Actorの修正

* Add ActivityPub test

* Fix person

* Test

* ap test

* Revert "Test"

This reverts commit 3c493eff4e89f94fd33f25189ba3bc96ef4366b3.

* Test comment

* fix

* fix

* Update inbox

* indent

* nl

* indent

* TODO

* Fix inbox

* Update test
2021-07-10 23:14:57 +09:00
MeiMei c071467b6a
テストがうごかないのを修正 (#7566)
* startServer

* typeorm 0.2.32

* Fix: chartのテストがテストの並び順によっては正しく初期化されない

* initTestDb
2021-06-12 22:40:17 +09:00
MeiMei 5d66bb8794
ランダムにテストがコケるのを修正 (#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 588b838deb
APIドキュメントが見れなくなっているのを修正など (#7500)
* Test api.json

* Fix typo

* Fix api-doc
2021-05-05 19:02:30 +09:00
marihachi 3a6331693a
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 1f4ae2f63a
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 bb6cd258f3 syuilo/misskey --> misskey-dev/misskey 2021-03-24 12:23:05 +09:00
syuilo a284e8c5eb fix test 2021-03-23 17:54:43 +09:00
syuilo 4f249159d3
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 7d02b36092
Fix assets test and favicon type (#7344)
* fix

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

* シンプルに

* faviconなど
2021-03-13 23:22:54 +09:00
syuilo 9cf811b048 test: Add apple-touch-icon.png test 2021-03-13 13:21:33 +09:00
syuilo aaa40e34c3 fix comment 2021-03-13 00:24:32 +09:00
syuilo 0359db23d9 add test 2021-03-13 00:18:46 +09:00
syuilo 320f5fedfb eslintrcとtsconfigを整理 2021-03-13 00:18:41 +09:00
MeiMei 936fcfb1c7
リソースが取得できるかどうかのテストなど (#7316)
* Tests for Fetch resource

* Remove unnecessary copy

* Update koa-views, pug
2021-03-12 23:10:15 +09:00
MeiMei 4ecd036d0a
Fix HTML to MFM (#7150)
* Fix type

* Fix HTML to MFM
2021-02-06 21:44:46 +09:00
syuilo 19f4812c03 Remove outdated test 2020-11-08 12:42:13 +09:00
MeiMei 27d0ac3d75
In HTML to MFM, use angle bracket if needed (#6817) 2020-11-08 00:38:50 +09:00
syuilo 31aa008566 Improve MFM
MFMの構文を調整 + 新しいアニメーション追加
Resolve #6816
2020-11-07 23:41:21 +09:00
MeiMei ee63403548
Fix test (#6733) 2020-10-18 16:03:51 +09:00
MeiMei c3b9c7b74b
Fix blurhash in test (#6573) 2020-07-21 01:15:18 +09:00
syuilo 3f71b14637 feat: Blurhash integration
Resolve #6559
2020-07-19 00:24:07 +09:00
MeiMei 3ac3a45aa5
nyaizeが適用されるとMFMのオプションが失われるのを修正 Fix #6370 (#6371) 2020-05-16 08:40:17 +09:00
tamaina 0eded8f5a9
Update mfm.ts
Fix typo
2020-04-26 14:58:36 +09:00
tamaina f62eb0fee9
Update mfm.ts
Fix missed file name change
2020-04-26 14:55:04 +09:00
Satsuki Yanagi f08d7df419
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 d3c0f3c251
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 8e1b90ab43 Improve log handling 2020-03-28 18:28:21 +09:00
syuilo aeaf535ea2 Update test 2020-03-07 11:25:39 +09:00
syuilo 917726fecc wip #6140 2020-03-07 11:23:31 +09:00
syuilo 8946f3ea18 Add test 2020-03-07 01:10:13 +09:00
syuilo 1947835c51 Resolve #6137 2020-03-07 01:04:36 +09:00
syuilo ee483ecfd3 Refactor 2020-03-07 00:29:09 +09:00
syuilo 65503bc68d Update commands 2020-03-07 00:12:23 +09:00
syuilo ec6aadb5ce Migrate deprecated mocha configuration 2020-03-07 00:00:12 +09:00
syuilo 5f642886d9 chore: Update commands 2020-03-06 23:58:27 +09:00
MeiMei 9703ba5340
ファイルと画像認識処理の改善 (#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 1811725b9d ローカルタイムラインのテストを修正 (#5699)
visibility=specifiedな投稿はローカルタイムラインに流れない
2020-01-09 17:29:03 +09:00
rinsuki 3ecb0ab161 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 5faf9dc2c9
Clean up 2019-10-31 15:53:35 +09:00
syuilo 59a32e9352 Fix chart bug 2019-10-31 15:51:33 +09:00
MeiMei 1a8632e802 Fix: Keycap Number Sign が表示できない (#5431)
* Fix: Keycap Number Sign が表示できない

* add U+20E3
2019-09-15 23:33:58 +09:00