Mar0xy
42bf8e5e76
merge: upstream
2023-11-22 23:40:27 +01:00
おさむのひと
e1cc95d308
ユーザのノートのみ表示時にDBへフォールバックするとリノートを含んでしまうのを修正 ( #12321 )
...
* ユーザのノートのみ表示時にDBへフォールバックするとリノートを含んでしまうのを修正
* fix CHANGELOG.md
---------
Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-11-13 09:27:37 +09:00
Mar0xy
e50ac8ccc7
fix: withreplies not being applied to DB fallback
2023-11-05 13:25:35 +01:00
Mar0xy
4da9d94a16
fix: replies showing if not set to show replies
2023-11-03 00:12:54 +01:00
dakkar
044d3d76e7
actually fix #118
...
`note.fileIds` is an array, it's always going to be truthy; we need to
check the length, like a similar `if` does just a few lines above
2023-10-31 16:16:39 +00:00
dakkar
111863b396
try to fix #118
...
when fetching notes from Redis, we need to re-check the criteria from
the API request, because `userTimelineWithFiles`,
`userTimelineWithReplies`, `userTimelineWithChannel` all get merged
together, so `noteIds` may well contain notes without attachments…
2023-10-31 15:18:37 +00:00
syuilo
2a88d8ee2d
refactor(backend): rename service
2023-10-18 12:07:18 +09:00
taichan
f6e1ee1d40
users/notesでDBから参照した際にチャンネル投稿のみ取得される問題を修正 ( #12056 )
...
* fix(backend): ユーザーのノート取得でDBにfallbackした際にチャンネルノートのみになる
* Update CHANGELOG
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-18 09:55:15 +09:00
syuilo
1fa1d31696
perf(backend): createdAtをidから取得するように & 無駄なDateインスタンスの生成を避けるように
2023-10-16 10:45:22 +09:00
syuilo
cf3624a54f
fix(backend): users/notesでセンシティブチャンネルの投稿が含まれる場合がある問題を修正
2023-10-11 12:26:07 +09:00
syuilo
854ac95511
fix(backend): センシティブ設定されたチャンネルの投稿をusers/notesで返さないように
2023-10-10 20:06:02 +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
7473b2854f
fix(backend): users/notesでsinceId指定時にデータベースにフォールバックするように修正
2023-10-09 18:14:38 +09:00
syuilo
7066d61730
fix
2023-10-09 17:41:54 +09:00
syuilo
0680ea3a78
fix(backend): users/notes で途中までしかページネーションできなくなることがある問題を修正
2023-10-09 16:54:27 +09:00
_
ca07459f5e
fix(backend): ダイレクト投稿がタイムライン上に正常に表示されない問題を修正 ( #11993 )
...
* DMをredisにpushするように
* add test
* add CHANGELOG
* Update NoteCreateService.ts
* lint
* ✌️
* 前のバージョンから発生した問題ではないため不要
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-09 12:36:25 +09:00
syuilo
457b4cf608
fix(backend): users/notes で 自身の visibility: followers なノートが含まれない問題を修正
2023-10-09 08:54:57 +09:00
syuilo
cd8fda50c8
fix(backend): fix of 8c684d5391
2023-10-08 08:25:37 +09:00
syuilo
04c8a7077f
fix of 8c684d5391
2023-10-07 20:27:35 +09:00
syuilo
8c684d5391
enhance(backend): User TLをRedisにキャッシュされる以前まで遡れるように
...
#11958
2023-10-07 18:00:56 +09:00
syuilo
69de8cad7c
refactor
2023-10-07 17:57:15 +09:00
syuilo
2333bdb98a
fix(backend): sinceIdやsinceDateを利用してTLを取得することができない
...
Fix #11961
2023-10-05 10:23:58 +09:00
syuilo
5b00fa6f82
enhance(backend): users/notesでチャンネル投稿を含めるオプション
...
Resolve #11965
2023-10-05 09:48:45 +09:00
syuilo
ca515d5a7e
tweak timelines
2023-10-04 16:43:24 +09:00
syuilo
610b68c8ff
tweak
2023-10-04 11:32:33 +09:00
syuilo
a40734d417
fix(backend): [2023.10.1.beta-1] [ノート]タブでは見える投稿が[全て]タブに出てこない
...
Fix #11960
2023-10-04 11:24:46 +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
eb740e2c72
enhance: タイムラインからRenoteを除外するオプションを追加
2023-09-28 11:41:41 +09:00
syuilo
ce1218a2b2
enhance: ユーザーページのノート一覧でRenoteを除外できるように
2023-09-28 11:02:01 +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
98e40e666c
fix
2023-09-11 14:28:50 +09:00
syuilo
74faa01db8
fix
2023-09-11 13:29:24 +09:00
Ebise Lutica
8749716700
enhance: センシティブチャンネルはユーザーのノート一覧から除外 ( #11797 )
...
* enhance: センシティブチャンネルはユーザーのノート一覧から除外
* READMEに明記
* Update notes.ts
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-09-10 15:14:31 +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
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
521eb95dbc
perf(backend): cache avatar and banner url to db
2023-04-06 19:48:24 +09:00
syuilo
614b11951b
refactor
2022-09-24 07:15:16 +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
78df3dc484
enhance: improve documentation for /users/ endpoints ( #8790 )
...
* docs: category & description for reset password
* docs: category & description for testing
* docs: descriptions for groups endpoints
* docs: descriptions for drive file endpoints
* docs: descriptions for sw endpoints
* docs: descriptions for user list endpoints
* docs: descriptions & result type for gallery posts
* docs: descriptions & result type for user endpoints
* docs: add return type for stats
2022-06-10 14:25:20 +09:00
tamaina
e314be5b59
Fix avatar/banner proxy ( #8346 )
...
* Fix avatar/banner proxy
Co-authored-by: mei23 <m@m544.net>
* use getAvatarUrl
* fix
* join avatar and banner to improve performance
* join
* Update hybrid-timeline.ts
* fix
Co-authored-by: mei23 <m@m544.net>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-02-27 13:59:10 +09:00
syuilo
d071d18dd7
refactor: Use ESM ( #8358 )
...
* wip
* wip
* fix
* clean up
* Update tsconfig.json
* Update activitypub.ts
* wip
2022-02-27 11:07:39 +09:00
tamaina
fcfb5ef0a3
Fix ajv ( #8333 )
...
* wip
* ✌️
* use ajv/dist/core
* revert try
* clean up
2022-02-20 13:15:40 +09:00
syuilo
510de87607
refactor: use ajv instead of cafy ( #8324 )
...
* wip
* wip
* Update abuse-user-reports.ts
* Update files.ts
* Update list-remote.ts
* Update list.ts
* Update show-users.ts
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Update update.ts
* Update search.ts
* Update reactions.ts
* Update search.ts
* wip
* wip
* wip
* wip
* Update update.ts
* Update relation.ts
* Update available.ts
* wip
* wip
* wip
* Update packages/backend/src/server/api/define.ts
Co-authored-by: Johann150 <johann.galle@protonmail.com>
* Update define.ts
* Update define.ts
* typo
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Update update.ts
* wip
* Update signup.ts
* Update call.ts
* minimum for limit
* type
* remove needless annotation
* wip
* Update signup.ts
* wip
* wip
* fix
* Update create.ts
Co-authored-by: Johann150 <johann.galle@protonmail.com>
2022-02-19 14:05:32 +09:00
tamaina
efb0ffc4ec
refactor: APIエンドポイントファイルの定義を良い感じにする ( #8154 )
...
* Fix API Schema Error
* Delete SimpleSchema/SimpleObj
and Move schemas to dedicated files
* Userのスキーマを分割してみる
* define packMany type
* add ,
* Ensure enum schema and Make "as const" put once
* test?
* Revert "test?"
This reverts commit 97dc9bfa70851bfb7d1cf38e883f8df20fb78b79.
* Revert "Fix API Schema Error"
This reverts commit 21b6176d974ed8e3eb73723ad21a105c5d297323.
* ✌️
* clean up
* test?
* wip
* wip
* better schema def
* ✌️
* fix
* add minLength property
* wip
* wip
* wip
* anyOf/oneOf/allOfに対応? ~ relation.ts
* refactor!
* Define MinimumSchema
* wip
* wip
* anyOf/oneOf/allOfが動作するようにUnionSchemaTypeを修正
* anyOf/oneOf/allOfが動作するようにUnionSchemaTypeを修正
* Update packages/backend/src/misc/schema.ts
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* fix
* array oneOfをより正確な型に
* array oneOfをより正確な型に
* wip
* ✌️
* なんかもういろいろ
* remove
* very good schema
* api schema
* wip
* refactor: awaitAllの型定義を変えてみる
* fix
* specify types in awaitAll
* specify types in awaitAll
* ✌️
* wip
* ...
* ✌️
* AllowDateはやめておく
* 不必要なoptional: false, nullable: falseを廃止
* Packedが展開されないように
* 続packed
* wip
* define note type
* wip
* UserDetailedをMeDetailedかUserDetailedNotMeかを区別できるように
* wip
* wip
* wip specify user type of other schemas
* ok
* convertSchemaToOpenApiSchemaを改修
* convertSchemaToOpenApiSchemaを改修
* Fix
* fix
* ✌️
* wip
* 分割代入ではなくallOfで定義するように
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-01-18 22:27:10 +09:00
syuilo
4a64280a7c
lint
2022-01-03 02:12:50 +09:00