summaryrefslogtreecommitdiff
path: root/src/misc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactoringsyuilo2021-11-1258-2032/+0
| | | | Resolve #7779
* enhance: Provide Twemoji SVGs from Misskey server (#2) (#7897)tamaina2021-10-241-1/+1
| | | | | | | | | | | | | * Selfhosting Twemoji * ちっ * うざっ * あ * add test Co-authored-by: mei23 <m@m544.net>
* enhance: shareページでより多くの情報を渡せるように (#7606)tamaina2021-10-201-6/+3
| | | | | | | | | | | | | | | | | * shareでより多くの情報を渡せるように * from chat ui post-form, remove instant and add share * fix await eating array, make document * add changelog * https://github.com/misskey-dev/misskey/pull/7606/files/3581bf9a060742dc59bf7fb8ea7316809cc60522#r692265037 * reply, renoteにも型定義 * :art: * 閉じなければ100ms後タイムラインに
* Refactor request (#7814)MeiMei2021-10-162-31/+57
| | | | | | | | | * status code * Test ap-request.ts https://github.com/mei23/crytest/blob/4397fc5e70536e4175fe56e974ca83b8047bef3a/test/ap-request.ts * tune
* fix: truncate image descriptions (#7699)Johann1502021-09-302-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * move truncate function to separate file to reuse it * truncate image descriptions * show image description limit in UI * correctly treat null Co-authored-by: nullobsi <me@nullob.si> * make truncate Unicode-aware The strings that truncate returns should now be valid Unicode. PostgreSQL also counts Unicode Code Points instead of bytes so this should be correct. * move truncate to internal, validate in API Truncating could also be done in src/services/drive/add-file.ts or src/services/drive/upload-from-url.ts but those would also affect local images. But local images should result in a hard error if the image comment is too long. * avoid overwriting Co-authored-by: nullobsi <me@nullob.si>
* refactor: PackedHoge型をPacked<'Hoge'>型に書き換える (#7792)tamaina2021-09-222-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * packedNotificationSchemaを更新 * read:gallery, write:gallery, read:gallery-likes, write:gallery-likesに翻訳を追加 * fix * add header, choice, invitation * test * fix * yatta * remove no longer needed "as PackedUser/PackedNote" * clean up * add simple-schema * fix lint * define items in full Schema * revert https://github.com/misskey-dev/misskey/pull/7772#discussion_r706627736 * user packとnote packの型不整合を修正 * add prelude/types.ts * emoji * signin * game * matching * fix * add emoji schema * add reversiGame * add reversiMatching * remove signin schema (use Signin entity) * add Packed type * note-reaction * user * user-group * user-list * note * app, messaging-message * notification * drive-file * drive-folder * following * muting * blocking * hashtag * page * app (with modifying schema) * import user? * channel * antenna * clip * gallery-post * emoji * Packed * reversi-matching * add changelog * add changelog * revert fix
* refactor: Expand schema (#7772)tamaina2021-09-122-12/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * packedNotificationSchemaを更新 * read:gallery, write:gallery, read:gallery-likes, write:gallery-likesに翻訳を追加 * fix * add header, choice, invitation * test * fix * yatta * remove no longer needed "as PackedUser/PackedNote" * clean up * add simple-schema * fix lint * define items in full Schema * revert https://github.com/misskey-dev/misskey/pull/7772#discussion_r706627736 * user packとnote packの型不整合を修正
* chore: APIドキュメントの修正 (#7771)tamaina2021-09-091-0/+1
| | | | | | | | | * packedNotificationSchemaを更新 * read:gallery, write:gallery, read:gallery-likes, write:gallery-likesに翻訳を追加 * fix * add header, choice, invitation
* ファイルサイズのハードリミット (#7760)MeiMei2021-09-041-0/+15
| | | | | * maxFileSize * CHANGELOG
* Tune download (#2)MeiMei2021-09-031-18/+49
| | | | | | | | | | | * s2-2 * allowedPrivateNetworks * style * Proxyの間にあると誤解しそうなのでconfigの記述順を変更 * Fix error handler
* fix: mochaが動かないため拡張子なしに戻したsyuilo2021-08-1922-57/+57
|
* refactor: refactoring importssyuilo2021-08-1924-60/+67
| | | | | | | | 将来ESMに移行しやすいように Related: #7658 なんかmochaが起動しなくなってるけど理由不明 すぐ直したい
* enhance(server): Improve user block (#7640)syuilo2021-08-171-0/+15
| | | | | | | | | | | | | | | | | | | | | * enhance(server): Improve user block * Update CHANGELOG.md * ユーザーリスト対応 * 相手から見れなくなるように * Update 1629004542760-chart-reindex.ts https://github.com/misskey-dev/misskey/commit/2365761ba5445f26c8b66b3b20ef4be44e70d549#commitcomment-54919821 * update test * add test * add todos * Update 1629004542760-chart-reindex.ts
* perf: Improve network request performance (#7636)MeiMei2021-08-161-6/+27
| | | | | | | * perf: Improve fetch * CHANGELOG * lifo
* Update check-hit-antenna.tssyuilo2021-07-161-1/+1
|
* Refactoringsyuilo2021-07-154-18/+14
|
* ランダムにテストがコケるのを修正 (#7553)MeiMei2021-06-051-0/+2
| | | | | | | | | | | | | | | | | | | * 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.
* Supports Emoji 13.1 (#7539)MeiMei2021-05-301-3/+2
| | | | | * Supports Emoji 13.1 * Fix regex
* fix local emoji detectionsyuilo2021-05-301-1/+1
| | | | https://github.com/misskey-dev/misskey/pull/7526#discussion_r641886612
* カスタム絵文字をproxyに通すように (#7526)rinsuki2021-05-271-1/+6
|
* Fix Agent type, httpでもDNSキャッシュ (#7520)MeiMei2021-05-191-3/+4
|
* Update api-permissions.tssyuilo2021-04-251-0/+4
|
* update mfm.js (#7435)marihachi2021-04-114-32/+11
| | | | | | | | | * use mfm.js 0.14.0 * use mfm.extract * use mfm.extract * use mfm.extract
* refactor mfm extract (#7434)marihachi2021-04-104-47/+28
| | | | | | | | | | | | | * refactor extractCustomEmojisFromMfm() * refactor extract-hashtags * refactor extract-mentions * refactor extract-hashtags * refactor extract-url-from-mfm * refactor extract-mentions
* Fix punycode deprecation warning (#7426)MeiMei2021-04-041-1/+1
|
* Use mfm-js for MFM parsing (#7415)syuilo2021-04-025-18/+79
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* tweak avatar generationsyuilo2021-04-021-1/+1
|
* Refactor (#7394)syuilo2021-03-242-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * wip * wip * Update define.ts * Update update.ts * Update user.ts * wip * wip * Update request.ts * URL * wip * wip * wip * wip * Update invite.ts * Update create.ts
* refactor: Use path aliassyuilo2021-03-235-5/+5
|
* noteのread処理syuilo2021-03-232-4/+46
|
* fix bugsyuilo2021-03-231-3/+3
| | | | https://github.com/syuilo/misskey/commit/48ea805999c6cb8e900aeaec6edaf68788bd51e0#commitcomment-48584326
* refactorsyuilo2021-03-221-1/+1
|
* perf(server): Cache user keypairsyuilo2021-03-221-0/+10
|
* tweak cache lifetimesyuilo2021-03-221-1/+1
|
* perf(server): Reduce database querysyuilo2021-03-221-0/+47
|
* refactor: extract functionssyuilo2021-03-221-12/+26
|
* のホストmei232021-03-221-1/+1
|
* populateEmojisのリファクタと絵文字情報のキャッシュ (#7378)MeiMei2021-03-222-3/+78
| | | | | | | | | | | * revert * Refactor populateEmojis, Cache emojis * ん * fix typo * コメント
* perf(server): Improver performancesyuilo2021-03-191-1/+1
|
* lintsyuilo2021-03-181-1/+3
|
* Improve chart performance (#7360)syuilo2021-03-181-0/+88
| | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * wip * wip * Update chart.ts * wip * Improve server performance * wip * wip
* formatsyuilo2021-03-181-1/+1
|
* fix bugsyuilo2021-03-181-0/+1
|
* Improve server performancesyuilo2021-03-181-0/+25
|
* refactor: resolve #7139syuilo2021-02-132-4/+2
|
* wip: email notificationsyuilo2021-02-131-0/+29
|
* Resolve #7149syuilo2021-02-071-0/+6
|
* Resurrect Service Worker (#7108)tamaina2021-02-061-29/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Resolve #7106 * fix lint * fix lint * save lang in idb * fix lint * fix * cache locale file * fix lint * :v: * wip * fix [wip] * fix [wip] Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* Improve captcha (#7138)MeiMei2021-02-061-0/+56
|
* using set instead of array for search (#7126)Ehsan Javadynia2021-01-301-4/+4
| | | | | | | * Resolve #6905 * Resolve #6905 * Resolve #6905