Hazel K
9ce44b24b8
fix(backend): memory leak in memory caches ( #14363 )
...
* encapsulate `MemoryKVCache<T>`
* remove infinity caches
* encapsulate other caches
* add missing awaits to internally synchronize caches
* implement pull-through caching
* tune cache lifetimes
* optimize cache GC by stopping early
* summarize changes in CHANGELOG.md
* Fix timeout comments
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
* add comments about awaiting the redis write
---------
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
2024-08-18 13:34:01 +09:00
Acid Chicken
2b8056a852
fix(backend): use insertOne insteadof insert/findOneOrFail combination ( #13908 )
...
* fix(backend): use insertOne insteadof insert/findOneOrFail combination
* fix: typo
* fix(backend): inherit mainAlias?
* refactor(backend): use extend
* fix(backend): invalid entityTarget
* fix(backend): fake where
* chore: debug
* chore: debug
* test: log
* fix(backend): column names
* fix(backend): remove dummy from
* revert: log
* fix(backend): position
* fix(backend): automatic aliasing
* chore(backend): alias
* chore(backend): remove from
* fix(backend): type
* fix(backend): avoid pure name
* test(backend): fix type
* chore(backend): use cte
* fix(backend): avoid useless alias
* fix(backend): fix typo
* fix(backend): __disambiguation__
* fix(backend): quote
* chore(backend): t
* chore(backend): accessible
* chore(backend): concrete returning
* fix(backend): quote
* chore: log more
* chore: log metadata
* chore(backend): use raw
* fix(backend): returning column name
* fix(backend): transform
* build(backend): wanna logging
* build(backend): transform empty
* build(backend): build alias
* build(backend): restore name
* chore: return entity
* fix: test case
* test(backend): 204
* chore(backend): log sql
* chore(backend): assert user joined
* fix(backend): typo
* chore(backend): log long sql
* chore(backend): log join
* chore(backend): log join depth null
* chore(backend): joinAttributes
* chore(backend): override createJoinExpression
* chore: join log
* fix(backend): escape
* test(backend): log log
* chore(backend): join gonna success?
* chore(backend): relations
* chore(backend): undefined
* chore(backend): target
* chore(backend): remove log
* chore(backend): log chart update
* chore(backend): log columns
* chore(backend): check hasMetadata
* chore(backend): unshift id when not included
* chore(backend): missing select
* chore(backend): remove debug code
2024-06-01 11:16:44 +09:00
Kisaragi
cf670e8a3d
refactor(backend): avoid as any
on CustomEmojiService.ts ( #13903 )
2024-05-29 07:12:50 +09:00
anatawa12
fe1172fbb6
fix: ハイフンを含むリモート絵文字が描画されない ( #13715 )
2024-04-27 20:41:55 +09:00
FineArchs
dd48366ed8
admin/emoji/updateの必須項目を減らす 等 ( #13449 )
...
* admin/emoji/update enhancement
* add CustomEmojiService.getEmojiByName
* update endpoint
* fix
* Update update.ts
* Update autogen files
* type assertion
* Update CHANGELOG.md
2024-02-25 18:06:26 +09:00
tamaina
c1514ce91d
(re) update SPDX-FileCopyrightText
...
Fix #13290
2024-02-13 15:59:27 +00:00
tamaina
311c2172d7
Revert "update SPDX-FileCopyrightText"
...
This reverts commit 9b5aeb76d8
.
2024-02-13 15:50:11 +00:00
syuilo
9b5aeb76d8
update SPDX-FileCopyrightText
2024-02-12 11:37:45 +09:00
かっこかり
0f7918c51b
refactor(backend): exist -> exists ( #13203 )
...
* refactor(backend): exist -> exists
* fix
2024-02-08 16:04:41 +09:00
woxtu
0bddd0ceae
Remove unnecessary nullish coalescing ( #12058 )
2023-10-18 09:54:18 +09:00
syuilo
1fa1d31696
perf(backend): createdAtをidから取得するように & 無駄なDateインスタンスの生成を避けるように
2023-10-16 10:45:22 +09:00
syuilo
873a93fea3
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
2023-10-06 21:11:48 +09:00
syuilo
e4345679dc
clean up
2023-10-06 21:11:45 +09:00
nenohi
11e657bdd7
絵文字重複チェック ( #11941 )
...
* 絵文字重複チェック
* アップデート時のチェック
* Update packages/backend/src/core/CustomEmojiService.ts
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* Update packages/backend/src/server/api/endpoints/admin/emoji/add.ts
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* Update packages/backend/src/server/api/endpoints/admin/emoji/update.ts
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-06 21:05:44 +09:00
syuilo
b9da1415a5
feat: 通知の受信設定を強化
2023-09-29 11:29:54 +09:00
syuilo
5318532a8d
enhance: improve moderation log
2023-09-25 10:29:12 +09:00
syuilo
8e5a90589d
improve moderation log
2023-09-24 10:57:24 +09:00
syuilo
053da10e94
refactor(backend): update directory structure for models
2023-09-20 11:33:36 +09:00
syuilo
6cf466e5d1
update deps ( #11820 )
...
* update deps
* fix
* wip
* wip
* wip
* Update docker-compose.yml.example
* Delete reviewer-lottery.yml
* Update RepositoryModule.ts
* wip
* wip
* clean up
* update deps
* wip
* wip
2023-09-15 14:28:29 +09:00
syuilo
792622aead
refactor: prefix Mi for all entities ( #11719 )
...
* wip
* wip
* wip
* wip
* Update RepositoryModule.ts
* wip
* wip
* wip
* Revert "wip"
This reverts commit c1c13b37d2
.
2023-08-16 17:51:28 +09:00
woxtu
8a6791da3f
refactor(backend): Remove unused injections ( #11462 )
...
* Remove unused injections
* Remove unused imports
2023-08-05 10:33:00 +09:00
Shun Sakai
c2370a1be6
chore: 著作権とライセンスについての情報を各ファイルに追加する ( #11348 )
...
* chore: Add the SPDX information to each file
Add copyright and licensing information as defined in version 3.0 of
the REUSE Specification.
* tweak format
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-27 14:31:52 +09:00
okayurisotto
d84796588c
cleanup: trim trailing whitespace ( #11136 )
...
* cleanup: trim trailing whitespace
* update(`.editorconfig`)
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-08 07:08:16 +09:00
syuilo
e8420ad90b
fix(backend): キャッシュが溜まり続けないように
...
Related #10984
2023-06-10 13:45:11 +09:00
syuilo
7ce569424a
feat: カスタム絵文字ごとにそれをリアクションとして使えるロールを設定できるように
2023-05-18 18:45:49 +09:00
nenohi
65ff2c2498
カスタム絵文字のライセンスを一括でできるように ( #10671 )
...
* setlicensebulk追加
* 5時に誤字った!w
* 並び順の変更(set,add,removeの順
* add changelog
2023-04-19 08:25:24 +09:00
syuilo
a67439981b
fix types
2023-04-14 13:50:05 +09:00
syuilo
2a7ba37996
[ci skip] improve readability
2023-04-13 09:09:29 +09:00
tamaina
4c0ef07f6f
fix
2023-04-12 12:34:34 +00:00
tamaina
3ff5a5ae29
fix type in CustomEmojiService 2
2023-04-12 12:32:27 +00:00
tamaina
6ea057f8f8
fix type in CustomEmojiService
2023-04-12 12:09:28 +00:00
syuilo
72031e49fc
Update CustomEmojiService.ts
2023-04-12 16:10:17 +09:00
syuilo
d06d1e8682
fix(backend): カスタム絵文字でリアクションできないことがある問題を修正
2023-04-12 16:07:58 +09:00
tamaina
81d2c5a4a7
enhance: カスタム絵文字関連の変更 ( #9794 )
...
* PackedNoteなどのemojisはプロキシしていないURLを返すように
* MFMでx3/x4もしくはscale.x/yが2.5以上に指定されていた場合にはオリジナル品質の絵文字を使用する
* update CHANGELOG.md
* fix changelog
* ??
* wip
* fix
* merge
* Update packages/frontend/src/scripts/media-proxy.ts
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* merge
* calc scale
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-04-12 10:58:56 +09:00
Chimorium
0702f9775a
カスタム絵文字のキャッシュ時に"{}"が入ってしまう問題を修正 ( #10573 )
2023-04-11 07:39:46 +09:00
syuilo
1057da1556
add note
2023-04-09 09:53:02 +09:00
tamaina
9feb6b0f5b
fix(server): リアクションできない問題をとりあえず修正 ( #10529 )
...
* fix(server): リアクションできない問題をとりあえず修正
Fix #10502
* Update packages/backend/src/core/CustomEmojiService.ts
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-04-09 09:52:19 +09:00
syuilo
73203a3d72
perf(backend): cache local custom emojis
2023-04-06 11:14:43 +09:00
syuilo
7f3afac0a2
refactor(backend): rename Cache -> MemoryCache
2023-04-04 15:56:47 +09:00
syuilo
e438091113
refactor(backend): rename cache class
2023-03-24 16:43:42 +09:00
syuilo
8ae9d2eaa8
enhance: カスタム絵文字にライセンス情報を付与できるように
...
Resolve #10091
2023-03-16 15:08:48 +09:00
YS
3cb669a852
fix: クエリキャッシュ無効化時の絵文字操作エラーを解消 ( #10320 )
...
* disabledCache: trueのときにqueryResultCacheへアクセスしないように
* append changelog
2023-03-14 09:37:14 +09:00
syuilo
60df819c60
refactor: fix types
2023-02-17 15:36:36 +09:00
syuilo
73f06e591a
revert: 650187deaf
2023-02-08 20:07:19 +09:00
syuilo
650187deaf
perf(client): do not render custom emojis in user names
...
#9778
2023-02-08 17:48:02 +09:00
tamaina
2dfed75402
perf(server): improvement of external mediaProxy ( #9787 )
...
* perf(server): improvement of external mediaProxy
* add a comment
* ✌️
* /filesでsharpの処理を行わずリダイレクトする
* fix
* thumbnail => static
* Fix #9788
* add avatar mode
* add url
* fix
* static.webp
* remove encodeURIComponent from media proxy path
* remove existance check
2023-02-04 13:38:51 +09:00
syuilo
7cb13cf839
proxyRemoteFilesがfalseならリモートカスタム絵文字は直リンにする
2023-01-26 18:44:43 +09:00
syuilo
452bd6db25
tweak custom emoji handling
...
Close #9721
2023-01-26 15:48:12 +09:00
syuilo
f5d6b84381
chore: check emoji host
2023-01-26 14:29:28 +09:00
tamaina
2f6c45e118
wip
2023-01-22 14:53:24 +00:00