anatawa12
cfdad45092
fix: ソーシャルタイムラインにローカルタイムラインに表示される自分へのリプライが表示されない問題を修正 ( #13978 )
...
Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
2024-07-18 02:06:31 +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
Chocolate Pie
c96bc36fed
Merge pull request from GHSA-7pxq-6xx9-xpgm
...
* fix: fix improper authorization when accessing with third-party application
* refactor: refactor type definitions
* fix: get rid of unnecessary access limitation
* enhance: サードパーティアプリケーションがWebsocket APIを使えるように
* fix: add missing parentheses
* Revert "fix(backend): add missing kind definition for admin endpoints to improve security"
This reverts commit 5150053275
.
* frontend: 翻訳の抜けを訂正, read:adminとwrite:adminはアクセス発行トークンのデフォルトでは非表示にする
* enhance(test): misskey-ghsa-7pxq-6xx9-xpgmに関するテストを追加
* enhance(test): Websocket APIに対するテストも追加
* enhance(refactor): `@/misc/api-permissions.ts`を`misskey-js/permissions`に統合
* fix(frontend): アクセストークン発行UIで全ての権限を有効にした際、管理者用APIへのアクセスも許可してしまう問題を修正
* enhance(backend): Websocketの接続に最低限必要な権限を変更
* fix(backend): `/api/admin/meta`をサードパーティアプリケーションからはアクセスできないように
* fix(backend): エンドポイントにアクセスするために必要な権限を変更
* fix(frontend/locale): Add missing type declaration
* chore: update `misskey-js/src/autogen`
---------
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-12-27 15:08:59 +09:00
anatawa12
18109fcef7
Filter User / Instance Mutes in FanoutTimelineEndpointService ( #12565 )
...
* fix: unnecessary logging in FanoutTimelineEndpointService
* chore: TimelineOptions
* chore: add FanoutTimelineName type
* chore: forbid specifying both withReplies and withFiles since it's not implemented correctly
* chore: filter mutes, replies, renotes, files in FanoutTimelineEndpointService
* revert unintended changes
* use isReply in NoteCreateService
* fix: excludePureRenotes is not implemented
* fix: replies to me is excluded from local timeline
* chore(frontend): forbid enabling both withReplies and withFiles
* docs(changelog): インスタンスミュートが効かない問題の修正について言及
2023-12-04 14:38:21 +09:00
おさむのひと
92029ac325
fix : #12544 ( #12545 )
...
* meを渡し忘れている
* fix CHANGELOG.md
* Revert "fix CHANGELOG.md"
This reverts commit aaee4e9b8a
.
2023-12-02 20:11:31 +09:00
anatawa12
a631b976c9
Refine fanout timeline ( #12507 )
...
* chore(endpoints/hybrid-timeline): don't pack inside getFromDb
* chore(endpoints/hybrid-timeline): Redisから取得する部分のうちSTLに依存しなそうなところを別のServiceに切り出し
* chore(endpoints/local-timeline): FanoutTimelineEndpointServiceで再実装
* chore(endpoints/channels/timeline): FanoutTimelineEndpointServiceで再実装
* chore(endpoints/timeline): FanoutTimelineEndpointServiceで再実装
* chore(endpoints/user-list-timeline): FanoutTimelineEndpointServiceで再実装
* chore(endpoints/users/notes): FanoutTimelineEndpointServiceで再実装
* chore: add useDbFallback to FanoutTimelineEndpointService.timeline and always true for channel / user note list
* style: fix lint error
* chore: split logic to multiple functions
* chore: implement redis fallback
* chore: 成功率を上げる
* fix: db fallback not working
* feat: allowPartial
* chore(frontend): set allowPartial
* chore(backend): remove fallbackIfEmpty
HTL will never be purged so it's no longer required
* fix: missing allowPartial in channel timeline
* fix: type of timelineConfig in hybrid-timeline
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-02 18:25:07 +09:00
zyoshoka
7a494b2aa7
fix(backend): rename FunoutTimelineService to FanoutTimelineService ( #12453 )
2023-11-26 10:02:22 +09:00
syuilo
9d78a1a8b3
enhance(backend): make ftt db fallback configurable
2023-11-16 10:20:57 +09:00
syuilo
aefc941df3
typo
2023-10-29 16:28:32 +09:00
syuilo
0fc36d11d7
fix(backend): STLにGTLの投稿が混ざる問題を修正
...
Fix #12169
2023-10-29 16:13:30 +09:00
ikasoba
dc0582739f
Fix: STLでフォローしていないチャンネルが表示される問題を修正 ( #12143 )
...
* タイムラインをpostgresから取得する際にフォローしていないチャンネルが取得されるのを修正
* CHANGELOGに追記
2023-10-25 21:19:43 +09:00
yukineko
0c730968a3
fix: RedisへのTLキャッシュが有効の場合にHTL/LTL/STL/リストが空になることがある問題を修正 ( #12088 ) ( #12124 )
...
* fix: RedisTimelineが有効の場合にHTLがリセットされた状態になる問題を修正
* add: CHANGELOG.md
* fix: LTL, STLでもTLが空になることがある問題を修正
* update: CHANGELOG.md
* fix: DBへのフォールバック時にwithRenotesが考慮されていないのを修正
* feat: リストにもDBフォールバックを実装
* fix: リストのDBフォールバック時の挙動を修正
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-24 14:34:32 +09:00
syuilo
e6c54de814
enhance(backend): RedisへのTLのキャッシュをオフにできるように
2023-10-23 15:17:25 +09:00
anatawa12
991fa054a6
chore: STLのdb fallbackでwithRepliesがtrueのときにすべてのリプライを除外しないように ( #12075 )
...
MiFollowingを見るのは実装コストが高いため現状実装していない
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-19 19:34:52 +09:00
syuilo
431d8c7802
fix(backend): Redisがからのときにhybrid-timelineにwithReplies = trueでアクセスするとSQLのシンタックスエラーになる
...
Fix #12064
2023-10-19 16:22:19 +09:00
syuilo
ae1e276085
fix of 6cc02fee99
2023-10-18 17:17:56 +09:00
syuilo
6b5ee43800
enhance(backend): improve fanout tl for stl
2023-10-18 15:51:50 +09:00
syuilo
2a88d8ee2d
refactor(backend): rename service
2023-10-18 12:07:18 +09:00
syuilo
1fa1d31696
perf(backend): createdAtをidから取得するように & 無駄なDateインスタンスの生成を避けるように
2023-10-16 10:45:22 +09:00
syuilo
7a8d5e5840
enhance: ローカルタイムライン、ソーシャルタイムラインで返信を含むかどうか設定可能に
...
Resolve #12001
2023-10-11 10:15:44 +09:00
syuilo
edf847d966
fix of 0bb0c32908
2023-10-09 21:23:07 +09:00
syuilo
0bb0c32908
enhance(backend): RedisへのTLの構築をListで行うように
...
#11404
2023-10-09 20:31:39 +09:00
syuilo
9240db35f3
perf(backend): improve hybrid-timeline performance
2023-10-08 15:22:43 +09:00
syuilo
fb3338029b
refactor
2023-10-07 17:48:10 +09:00
syuilo
2333bdb98a
fix(backend): sinceIdやsinceDateを利用してTLを取得することができない
...
Fix #11961
2023-10-05 10:23:58 +09:00
syuilo
be81c1a6d6
refactor
2023-10-04 11:15:37 +09:00
syuilo
6277a5545c
feat: improve tl performance ( #11946 )
...
* wip
* wip
* wip
* wip
* wip
* wip
* Update NoteCreateService.ts
* wip
* wip
* wip
* wip
* Update NoteCreateService.ts
* wip
* Update NoteCreateService.ts
* wip
* Update user-notes.ts
* wip
* wip
* wip
* Update NoteCreateService.ts
* wip
* Update timeline.ts
* Update timeline.ts
* Update timeline.ts
* Update timeline.ts
* Update timeline.ts
* wip
* Update timelines.ts
* Update timelines.ts
* Update timelines.ts
* wip
* wip
* wip
* Update timelines.ts
* Update misskey-js.api.md
* Update timelines.ts
* Update timelines.ts
* wip
* wip
* wip
* Update timelines.ts
* wip
* Update timelines.ts
* wip
* test
* Update activitypub.ts
* refactor: UserListJoining -> UserListMembership
* Update NoteCreateService.ts
* wip
2023-10-03 20:26:11 +09:00
syuilo
772d2432b6
enhance: タイムラインからRenoteを除外するオプションを追加
2023-09-28 15:32:47 +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
woxtu
dd1783f984
chore(backend): Resolve import/no-default-export
rule violations ( #11732 )
...
* Disable `import/no-default-export` properly
* Disable `import/no-default-export`
2023-08-17 21:20:58 +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
syuilo
081a14d6f3
perf(backend): use limit() instead of take()
2023-07-08 16:53:07 +09:00
syuilo
d10d5a8d53
enhance: タイムラインにフォロイーの行った他人へのリプライを含めるかどうかの設定をアカウントに保存するのをやめるように
...
Resolve #10646
2023-05-16 12:16:37 +09:00
syuilo
521eb95dbc
perf(backend): cache avatar and banner url to db
2023-04-06 19:48:24 +09:00
syuilo
4d73080da1
perf(backend): improve performance of timeline apis
2023-03-19 16:52:38 +09:00
syuilo
4c2f7c64cc
feat: Per-user renote mute ( #10249 )
...
* feat: per-user renote muting
From FoundKey/c414f24a2c https://akkoma.dev/FoundKeyGang/FoundKey
* Update ja-JP.yml
* Delete renote-muting.ts
* rename
* fix ids
* lint
* fix
* Update CHANGELOG.md
* リノートをミュートしたユーザー一覧を見れるように
* 🎨
* add test
* fix test
---------
Co-authored-by: Hélène <pleroma-dev@helene.moe>
2023-03-08 08:56:09 +09:00
syuilo
81f11d8f86
refactor: rename role.options -> role.policies
2023-01-15 20:52:53 +09:00
syuilo
2470afaa2e
Role ( #9437 )
...
* wip
* Update CHANGELOG.md
* wip
* wip
* wip
* Update create.ts
* wip
* wip
* Update CHANGELOG.md
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Update CHANGELOG.md
* wip
* wip
* Update delete.ts
* Update delete.ts
* wip
* wip
* wip
* Update account-info.vue
* wip
* wip
* Update settings.vue
* Update user-info.vue
* wip
* Update show-file.ts
* Update show-user.ts
* wip
* wip
* Update delete.ts
* wip
* wip
* Update overview.moderators.vue
* Create 1673500412259-Role.js
* wip
* wip
* Update roles.vue
* 色
* Update roles.vue
* integrate silence
* wip
* wip
2023-01-12 21:02:26 +09:00
syuilo
6f51e7300e
✌️
2023-01-01 09:35:14 +09:00
syuilo
01d4d55e78
fix import type
2022-09-21 05:33:11 +09:00
syuilo
b75184ec8e
なんかもうめっちゃ変えた
2022-09-18 03:27:08 +09:00
Johann150
5728350267
fix: always respect instance mutes ( #8854 )
...
* fix: muted user query also checks instances
This way it can be ensured that the instance mute is used everywhere it
is required without checking the whole codebase again. Muted users and
muted instances should be used together anyways.
* fix lint
2022-06-25 14:23:59 +09:00
syuilo
963f538728
lint fixes
2022-06-14 18:01:23 +09:00
Johann150
c8935b32f8
fix: validation (better #8456 ) ( #8461 )
...
* Revert "revert 484e023c0"
This reverts commit c03b70c949
.
* also allow pure renote
* fix checks for pure renote
2022-04-03 13:57:26 +09:00
syuilo
c03b70c949
revert 484e023c0
2022-04-02 16:47:53 +09:00
Johann150
484e023c0c
enhance(doc): required input fields ( #8456 )
...
* remove empty file
If the endpoint is to be implemented later, the file can be added back,
but for now it is confusing to have an empty file.
* enhance(doc): document defaults
Default for `isPublic` is based on the database schema default value.
Defaults for `local` and `withFiles` are based on the behaviour of the endpoint.
* enhance(doc): explain nullable emoji category
* fix: make nullable if default is null
* enhance(doc): explain mute attribute expiresAt
* fix: define required fields
- `notes/create`: the default for `text` has been removed because ajv can not handle
`default` inside of `anyOf`, see
https://ajv.js.org/guide/modifying-data.html#assigning-defaults
and the default value cannot be `null` if text is `nullable: false` in the `anyOf`
first alternative.
- `notes/create`: The `mediaIds` property has been marked as deprecated because it
has the same behaviour as using `fileIds`, but the implementation tries to handlè
`fileIds` first.
- The result schema for `admin/emoji/list` has been altered because the `host`
property will always be `null` as it is filtered this way in the database query.
See packages/backend/src/server/api/endpoints/admin/emoji/list.ts line 67.
* enhance(doc): explain nullable hostname
* update changelog
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-04-02 15:04:36 +09:00
syuilo
ac8c66f5ab
perf(server): refactor and performance improvements
2022-03-25 16:27:41 +09:00