syuilo
ecaf152b4a
enhance(backend): improve cache
2023-04-04 17:32:09 +09:00
syuilo
7f3afac0a2
refactor(backend): rename Cache -> MemoryCache
2023-04-04 15:56:47 +09:00
syuilo
30d6992684
perf(backend): 通知をRedisに保存するように
...
Resolve #10168
2023-04-04 14:06:57 +09:00
syuilo
b53d6c7f8c
perf(backend): store notes of an antenna to redis instead of postgresql
...
Resolve #10169
2023-04-03 12:11:16 +09:00
syuilo
31f3f5f0f0
enhance(backend): リモートサーバーのチャート生成を無効にするオプションを追加
2023-03-24 19:08:08 +09:00
syuilo
e438091113
refactor(backend): rename cache class
2023-03-24 16:43:42 +09:00
syuilo
54630edb0f
enhance: 使われてないアンテナは自動停止されるように
...
Resolve #9373
2023-03-20 20:12:38 +09:00
syuilo
8ae9d2eaa8
enhance: カスタム絵文字にライセンス情報を付与できるように
...
Resolve #10091
2023-03-16 15:08:48 +09:00
syuilo
89e2c302dd
refactor(backend): integrate CreateNotificationService to NotificationService
2023-03-16 14:24:11 +09:00
syuilo
a8bd3e8e53
Update AggregateRetentionProcessorService.ts
2023-03-15 17:45:59 +09:00
syuilo
58fc17e3b6
fix: tweak retention rate aggregation
2023-03-15 17:43:13 +09:00
CyberRex
c05c504c86
Deliverキューに宛先がSharedInboxかどうかのフラグを追加 ( #10298 関係 ) ( #10317 )
...
* enhance(backend): 配送先が410 Goneで応答してきた場合配送停止するように
* Update CHANGELOG.md
* Deliverキューのデータに宛先がSharedInboxかどうかのフラグを追加
* Fix lint
* Mapを使用するように
* Fix typo
2023-03-14 19:11:31 +09:00
CyberRex
b18df999cd
enhance(backend): 配送先が410 Goneで応答してきた場合配送停止するように ( #10298 )
...
* enhance(backend): 配送先が410 Goneで応答してきた場合配送停止するように
* Update CHANGELOG.md
2023-03-13 09:46:53 +09:00
Kisaragi
0ac1fc846b
refactor(backend): 必要ないas anyを消去 ( #10293 )
2023-03-11 08:51:37 +09:00
syuilo
dd6569a1bb
feat: Reaction acceptance ( #10256 )
...
* wip
* wip
* デフォルト設定
2023-03-08 08:56:47 +09:00
syuilo
1c5291f818
feat: 時限ロール ( #10145 )
...
* feat: 時限ロール
* クライアントから期限を確認できるように
* リファクタとか
* fix test
* fix test
* fix test
* clean up
2023-03-01 10:20:03 +09:00
Kagami Sascha Rosylight
63df2c851e
refactor: remove all unused imports ( #9951 )
...
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-02-16 23:09:41 +09:00
syuilo
1b21bad202
refactor
2023-02-13 15:50:22 +09:00
syuilo
f34f9f6ea5
refactor: fix types
2023-02-13 15:28:07 +09:00
syuilo
0d7256678e
fix(server): validate filename and emoji name to improve security
2023-02-05 14:25:37 +09:00
syuilo
c559a9843f
drop hashtag chart
2023-02-03 14:10:14 +09:00
syuilo
d37a734379
fix(server): fix aggregation of retention
2023-01-27 11:10:37 +09:00
syuilo
d4fb201d05
fix(server): node-fetchおよびgotを使う以前の実装に戻す
...
see #9710
2023-01-25 12:00:04 +09:00
syuilo
76c049522e
enhance: ユーザーリストおよびユーザーリスト内のユーザーの作成可能数を設定可能に
2023-01-14 17:38:16 +09:00
tamaina
303519a1bd
enhance: Judge instance block by endsWith ( #9263 )
...
* TypeScriptでendsWith
* fix
* SQL?
* バ〜カアホ
* Update packages/backend/src/core/UtilityService.ts
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* add comment
* add description
* Update packages/backend/src/core/UtilityService.ts
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* Update packages/backend/src/core/chart/charts/federation.ts
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* remove comment
* fix
* fix?
* add changelog
* ILIKE, ARRAY
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-01-13 18:21:07 +09:00
tamaina
978a9bbb3b
perf(backend): Use undici instead of node-fetch and got ( #9459 )
...
* Implement? HttpFetchService
* ✌️
* remove node-fetch
* fix
* refactor
* fix
* gateway timeout
* UndiciFetcherクラスを追加 (仮コミット, ビルドもstartもさせていない)
* fix
* add logger and fix url preview
* fix ip check
* enhance logger and error handling
* fix
* fix
* clean up
* Use custom fetcher for ApRequest / ApResolver
* bypassProxyはproxyBypassHostsに判断を委譲するように
* set maxRedirections (default 3, ApRequest/ApResolver: 0)
* fix comment
* handle error s3 upload
* add debug message
* no return await
* Revert "no return await"
This reverts commit b5b0dc58a342393d260492e3a6f58304372f53b2.
* reduce maxSockets
* apResolverのUndiciFetcherを廃止しapRequestのものを使う、 add ap logger
* Revert "apResolverのUndiciFetcherを廃止しapRequestのものを使う、 add ap logger"
This reverts commit 997243915c8e1f8472da64f607f88c36cb1d5cb4.
* add logger
* fix
* change logger name
* safe
* デフォルトでUser-Agentを設定
2023-01-12 21:03:02 +09:00
syuilo
db1ca28de3
clean up
2023-01-03 14:27:18 +09:00
syuilo
4cc71d2443
✌️
2023-01-03 09:32:36 +09:00
syuilo
4d0859ce7f
drop latestStatus of instance
2023-01-03 09:03:04 +09:00
syuilo
c8bd139713
drop lastCommunicatedAt of instance
2023-01-03 09:00:42 +09:00
syuilo
7093573f0c
drop latestRequestSentAt of instance
2023-01-03 08:48:00 +09:00
syuilo
969e9df889
feat: add per user pv chart
2023-01-01 17:45:49 +09:00
syuilo
e414737179
feat: make possible to export favorited notes
...
#9331
2023-01-01 16:53:10 +09:00
syuilo
3e81913b6a
feat: introduce retention-rate aggregation
2022-12-25 09:09:46 +09:00
syuilo
a9a245b461
enhance(server): delete outdated notes of antenna regularly to improve db performance
2022-12-22 08:32:01 +09:00
syuilo
ad4d8b07d3
enhance(server): delete outdated hard-mutes regularly to improve db performance
2022-12-22 08:29:18 +09:00
syuilo
1fd9ba8dcb
enhance(server): delete outdated notifications regularly to improve db performance
2022-12-22 08:17:13 +09:00
syuilo
bbb49457f9
refactor: introduce bindThis decorator to bind this automaticaly
2022-12-04 15:03:09 +09:00
syuilo
22ccb0fa71
refactor
2022-12-04 10:16:03 +09:00
heka
746fac0dfe
fix typo on CleanRemoteFilesProcessorService ( #9171 )
2022-11-14 06:53:50 +09:00
syuilo
fd5976f378
fix type
2022-09-24 17:07:56 +09:00
syuilo
174a8b1b3e
fixes
2022-09-23 06:21:31 +09:00
syuilo
01d4d55e78
fix import type
2022-09-21 05:33:11 +09:00
syuilo
a2eac9fff6
test
2022-09-19 03:11:50 +09:00
syuilo
b75184ec8e
なんかもうめっちゃ変えた
2022-09-18 03:27:08 +09:00
yzhe819
9107de63b4
chore: fix lint errors ( #8981 )
2022-07-10 19:47:29 +09:00
syuilo
eccc90c843
feat: Log user ips ( #8872 )
...
* wip
* store ip and headers
* Update admin-file.vue
* require admin for view ip/headers
* IP (recent) 消した
* admin必須
* opt in
* clean ips periodically
* respect logging setting in drive/files/create
2022-07-02 15:12:11 +09:00
Johann150
ebc2566130
fix: add missing import
...
fix #8756
2022-05-29 14:33:42 +02:00
Johann150
9c80403072
use http-signature module that supports hs2019 ( #8635 )
2022-05-26 09:12:17 +09:00
Johann150
e27c6abaea
refactor: temporary files ( #8713 )
...
* simplify temporary files for thumbnails
Because only a single file will be written to the directory, creating a
separate directory seems unnecessary. If only a temporary file is created,
the code from `createTemp` can be reused here as well.
* refactor: deduplicate code for temporary files/directories
To follow the DRY principle, the same code should not be duplicated
across different files. Instead an already existing function is used.
Because temporary directories are also create in multiple locations,
a function for this is also newly added to reduce duplication.
* fix: clean up identicon temp files
The temporary files for identicons are not reused and can be deleted
after they are fully read. This condition is met when the stream is closed
and so the file can be cleaned up using the events API of the stream.
* fix: ensure cleanup is called when download fails
* fix: ensure cleanup is called in error conditions
This covers import/export queue jobs and is mostly just wrapping all
code in a try...finally statement where the finally runs the cleanup.
* fix: use correct type instead of `any`
2022-05-25 16:50:22 +09:00