Commit graph

203 commits

Author SHA1 Message Date
syuilo b9cb6d1c10 refactor: refactoring imports
将来ESMに移行しやすいように
Related: #7658

なんかmochaが起動しなくなってるけど理由不明
すぐ直したい
2021-08-19 18:33:41 +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
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 ce340aba7a
Refactor (#7394)
* 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
2021-03-24 11:05:37 +09:00
syuilo 62cc14c93b fix bug 2021-03-23 21:44:12 +09:00
syuilo c74fe3c6e2 refactor: Use path alias 2021-03-23 17:43:07 +09:00
syuilo 7e4a800352 noteのread処理 2021-03-23 15:06:56 +09:00
syuilo e881e1bfb3 perf(server): Reduce database query 2021-03-22 10:45:07 +09:00
syuilo 82de8b7c50 perf(server): Reduce database query 2021-03-21 22:15:45 +09:00
syuilo fb194b855b perf(server): Reduce database query 2021-03-21 22:09:32 +09:00
syuilo c4c20bee7c wip #6441 2021-03-21 21:27:09 +09:00
syuilo 91172654e4 refactor: resolve #7139 2021-02-13 15:33:38 +09:00
syuilo 0a64d121d9 Resolve #7149 2021-02-07 10:43:34 +09:00
syuilo 9d1fa3f202 autoWatch機能を削除 2020-11-08 16:49:23 +09:00
syuilo 42d1c67d56 fix(server): Fix #6669 2020-08-29 09:39:50 +09:00
syuilo 9855405b89
Channel (#6621)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wop

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* add notes

* wip

* wip

* wip

* wip

* sound

* wip

* add kick_gaba2

* wip
2020-08-18 22:44:21 +09:00
syuilo cf43dd6ec5
ワードミュート (#6594)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip
2020-07-27 13:34:20 +09:00
MeiMei 9c4a789a4e
Use insert for creating Note (#6440) 2020-06-04 08:59:03 +09:00
MeiMei 145389768d
pub-relay (#6341)
* pub-relay

* relay actorをApplicationにする

* Disable koa-compress

* Homeはリレーに送らない

* Disable debug

* UI

* cleanupなど
2020-05-10 18:42:31 +09:00
MeiMei 356225af14
Use url if available (#6214)
* Fix #6213

* other link

* fix
2020-04-02 21:59:14 +09:00
syuilo 614a1d74dd Resolve #6192 2020-03-28 18:07:41 +09:00
rinsuki c18f6fde80
lintをGitHub Actions でするように (#6101)
* package.json の lint スクリプトを修正

* lint アクションを追加

* yarn lint --fix

* 手動修正
2020-03-04 11:45:33 +09:00
syuilo 7121bdef6b Refactor 2020-02-26 07:56:32 +09:00
Oni-Men f6c376f20d
同じノートを何回リノートしても一回として数えるように (#6086)
* 同じノートを何回リノートしても一回として数えるように

* Update count-same-renotes.ts

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2020-02-26 07:54:35 +09:00
syuilo 40d4dc0474 Refactor 2020-02-16 21:11:27 +09:00
syuilo 02ac30c0d0 Resolve #5958 2020-02-16 21:10:52 +09:00
Acid Chicken (硫酸鶏) c30960d6bf
Fix hashtags contained in private notes are shown in trends (#5805)
* Update trend.ts

* Fix query

* Update create.ts

* Update create.ts

* Update trend.ts
2020-02-02 05:42:58 +09:00
syuilo f6154dc0af
v12 (#5712)
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>
Co-authored-by: Satsuki Yanagi <17376330+u1-liquid@users.noreply.github.com>
2020-01-30 04:37:25 +09:00
syuilo 1f86a6d329 Fix bug 2019-11-23 09:43:47 +09:00
MeiMei 44ab428803 無駄なAP deliverをしないように (#5589)
* DeliverManager, note/create

* recipe

* followers delivers

* comment

* rename

* fix

* cleanup
2019-11-09 18:51:54 +09:00
rinsuki 0c1d3e186b 新規投稿のMFMをHTMLに変換する際、リモートユーザーへのメンションのリンク先を(できれば)urlに (#5562)
* 新規投稿のMFMをHTMLに変換する際、リモートユーザーへのメンションのリンク先を(できれば)urlに

Fix #2467
Related #5560

* remove unnecessary import

* Update src/services/note/create.ts

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

* Apply suggestions from code review

Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2019-11-01 05:43:54 +09:00
syuilo 4dc4ac2f0c Decrease tag limit 2019-09-27 05:18:09 +09:00
Acid Chicken (硫酸鶏) bf9da8458c Limit the tag counts to 100 (#5263)
* Limit the tag counts to 256

* Update create.ts

* Update create.ts

* Update create.ts

* Limit the user tag
2019-09-27 05:16:59 +09:00
Acid Chicken (硫酸鶏) 0f2d392b4b Use stringz.length instead of String.length in hashtag length calculation (#5443)
* Use stringz.length instead of String.length

* length to 128, ignore combining
2019-09-22 01:21:45 +09:00
MeiMei 7ecfc007a9 updateHashtagを並列で行わないように (#5284) 2019-08-18 12:47:45 +09:00
和風ドレッシング 1c273a0a75 Elasticsearchのインデックス名をconfigで変更できるように (#5257) 2019-08-09 13:04:35 +09:00
MeiMei f1ab918ecd Fix question (#5197) 2019-07-20 03:20:06 +09:00
syuilo 0db54386cd
Resolve #3119 2019-04-25 07:46:39 +09:00
syuilo f5091d524b
Refactorgin 2019-04-25 04:17:03 +09:00
MeiMei ee5720df2c Fix #4704 (#4797)
*  Fix #4632

* Fix #4795
2019-04-25 04:07:39 +09:00
syuilo 0463c6bb0f
Refactor API (#4770)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update description.ts

* wip
2019-04-23 22:35:26 +09:00
syuilo 0ede390fef
Refactor 2019-04-17 14:32:59 +09:00
syuilo e3b3f8fac1
Better error handling 2019-04-14 04:17:24 +09:00
syuilo 987168b863
strictNullChecks (#4666)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip
2019-04-13 01:43:22 +09:00
syuilo 654daff7ce
Better error handling 2019-04-12 13:07:56 +09:00
syuilo 4198246351
トランザクションを使用してアンケートレコードの挿入に失敗した場合に投稿レコードの挿入もなかったことにするように 2019-04-12 01:30:10 +09:00
syuilo 11c30eccb3
非正規化カラムを削除
非正規化するほどの情報じゃない
2019-04-12 00:42:39 +09:00
syuilo c28f4ffb3f
Clean up 2019-04-10 20:07:36 +09:00
syuilo 626cfb61ac
テーブル分割 2019-04-10 15:04:27 +09:00