Commit graph

29507 commits

Author SHA1 Message Date
Rsplwe
bb4457266d
feat(frontend): Do not display blocked instances on the welcome page (#15178) 2025-01-08 10:51:23 +00:00
かっこかり
55713fcd65
fix(backend): apOrHtml Constraintが正しく評価されない問題を修正 (#15213)
* fix(backend/ActivityPubServerService): apOrHtml Constraintが正しく評価されない問題を修正 (MisskeyIO#869)

* Update Changelog

* indent

---------

Co-authored-by: あわわわとーにゅ <17376330+u1-liquid@users.noreply.github.com>
2025-01-08 10:35:09 +00:00
かっこかり
c49a13de65
fix(frontend-embed): localeのバージョンチェックが抜けており起動に失敗することがある問題を修正 (#15212)
* fix(frontend-embed): localeのバージョンチェックが抜けており起動に失敗することがある問題を修正

* Update Changelog
2025-01-08 10:33:43 +00:00
鴇峰 朔華
8652ce7cc0
fix(frontend): 自分以外のノートを消したときに実績を解除しないように修正 (#15071) 2025-01-08 07:58:29 +00:00
taichan
f6808711af
update changelog (#15236) 2025-01-08 16:52:08 +09:00
taichan
d7835313c3
fix(backend): ロックダウンされた期間指定のノートがStreaming経由でLTLに出現するのを修正 (#15200)
* fix(backend): skipHideなときにもロックダウンされたノートのprivate化をするように

* fix linting

* Update packages/backend/src/core/entities/NoteEntityService.ts

* Fix: type error

* Remove unneeded await

* Fix: typo

* Remove skipTreatVisibillity
2025-01-08 05:33:08 +00:00
かっこかり
79b851fe56
Update CHANGELOG.md (書き方をそろえる) 2025-01-07 22:38:43 +09:00
Take-John
bbe80af1dd
Fix: aiscriptディレクトリ内の型エラー解消と単体テスト (#15191)
* AiScript APIの型エラーに対処

* AiScript UI APIのテスト作成

* onInputなどがPromiseを返すように

* AiScript共通APIのテスト作成

* CHANGELOG記載

* 定数のテストをconcurrentに

* vi.mockを使用

* misskeyApiをmisskeyApiUntypedのエイリアスとする

* 期待されるエラーメッセージを修正

* Mk:removeのテスト

* misskeyApiの型を変更
2025-01-07 12:28:48 +00:00
おさむのひと
f7da2bad6f
fix(frontend): frontend / frontend-embedにあるtsconfig.jsonのmoduleをES2022にする (#15215)
* fix(frontend): frontend / frontend-embedにあるtsconfig.jsonのmoduleをES2022にする

* fixed errors

* fixed errors

* fixed errors
2025-01-07 12:23:05 +00:00
Nanashi.
99ba7ebaa2
fix(frontend-shared): nodemonをdevDependenciesに追加 (#15225) 2025-01-07 12:21:05 +00:00
おさむのひと
8ad97e5ede
fix(backend): disableClustering設定時の初期化ロジックを調整 (#15224)
* fix(backend): disableClustering設定時の初期化ロジックを調整

* onlyServer かつ enableCluster な場合、メインプロセスでlistenするとワーカープロセス側のlistenと衝突するため、メインプロセスはforkのみに制限する(listenしない)

* ログの追加

* fix CHANGELOG.md

* fix comment
2025-01-07 12:19:59 +00:00
dakkar
b8e361e03c merge: fix: populate myreaction on replies for streams. (!839)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/839

Closes #340

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-01-04 09:37:01 +00:00
かっこかり
6c9eea2c0f
[ci skip] Update CHANGELOG.md (書き方を揃える) 2025-01-04 15:55:22 +09:00
かっこかり
4120c9ab10
fix(frontend): アカウント一覧画面で、ユーザー情報の取得に失敗したアカウントが表示されない問題を修正 (#15183)
* fix(frontend): アカウント一覧画面で、ユーザー情報の取得に失敗したアカウントが表示されない問題を修正

* Update Changelog

* 🎨
2025-01-04 06:44:31 +00:00
かっこかり
1fbc129d7b
fix(frontend): ファイルの添付可能数を超えたらノートボタンを押せないように (#15126)
* fix(frontend): ファイルの添付可能数を超えたらノートボタンを押せないように

* Update Changelog

* Update MkPostForm.vue
2025-01-04 06:24:25 +00:00
かっこかり
256560e8ba
enhance(frontend/aiscript): セーブ内容を削除できるMk:removeを追加 (#15158)
* enhance(frontend/aiscript): セーブ内容を削除できる`Mk:remove`を追加

* fix

* Update Changelog
2025-01-04 06:16:58 +00:00
かっこかり
faea401dcc
fix(frontend): ノート検索が使用できない場合でもチャンネルのノート検索欄がでていた問題を修正 (#15082)
* fix(frontend): ノート検索が使用できない場合でもチャンネルのノート検索欄がでていた問題を修正

* Update Changelog

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-01-04 06:14:37 +00:00
KanariKanaru
84bf90d1bd
Chore: Docker内のDebianのバージョンを上げる(bookworm) (#15073) 2025-01-04 06:08:52 +00:00
かっこかり
574034a2dd
fix(frontend): MiAuth認可画面で、認可処理に失敗した場合でもコールバックURLに遷移してしまう問題を修正 (#15154)
* feat(MiAuth): アクセストークンの発行に失敗した場合コールバックに遷移しないようにする (MisskeyIO#831)

Cherry-picked from TeamNijimiss/misskey@800359623e

Co-authored-by: nafu-at <satsuki@nafusoft.dev>

* Update Changelog

* Update Changelog

---------

Co-authored-by: あわわわとーにゅ <17376330+u1-liquid@users.noreply.github.com>
Co-authored-by: nafu-at <satsuki@nafusoft.dev>
2025-01-04 06:08:29 +00:00
4ster1sk
020882edcf
fix(backend): アプリ作成方式で作成したトークンの権限を表示するように (#15177) 2025-01-04 06:06:19 +00:00
かっこかり
f4e025170e
fix(frontend/AiScript): Ui:C:selectの値が切り替わらない問題を修正 (#15184)
* fix(frontend/AiScript): Ui:C:selectの値が切り替わらない問題を修正

* Update Changelog
2025-01-04 06:06:03 +00:00
Yuba
79b3d2a711
pg_bigmが利用できるよう、ノートの検索をILIKE演算子でなくLIKE演算子でLOWER()をかけたテキストに対して行うように (#15205)
* Use LIKE-LOWER instead of ILIKE, which pg_bigm doesn't support.

* changelog: Enhance: pg_bigmが利用できるよう、ノートの検索をILIKE演算子でなくLIKE演算子でLOWER()をかけたテキストに対して行うように
2025-01-04 06:03:00 +00:00
かっこかり
6649e58b56
enhance(frontend): ワードミュート・ハードワードミュートの説明を追加 (#15207) 2025-01-04 05:40:41 +00:00
かっこかり
62299588d8
2025 (#15203) 2025-01-04 14:37:14 +09:00
Marie
a723ece4b6 merge: fix url preview spacing for very narrow viewports (!852)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/852

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-01-02 20:12:25 +00:00
Marie
6c8d1462c1 merge: remove UI for "email notification type" - fixes #855 (!850)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/850

Closes #855

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-01-02 20:11:01 +00:00
Marie
5faa26b08f merge: use the whole hostname to check remote links - fixes #866 (!849)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/849

Closes #866

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-01-02 20:10:31 +00:00
Marie
4619a31f1d merge: remove duplicate role badges - fixes #868 (!848)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/848

Closes #868

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-01-02 20:10:26 +00:00
dakkar
3aeca799a5 fix url preview spacing for very narrow viewports
on wide viewports, the url preview only leaves space for a thumbnail
when such thumbnail exists.

on small phones, or in busy deck views, it always left that space

this was not very evident for simple previews (which are pretty much a
title line, a favicon, and the site name), but it became very obvious
with the note embedding in 2024.11

this patch makes the thumbnail space conditional on the existence of
the thumbnail, for narrow viewports as well (I pretty much copied the
bit of CSS from the non-narrow media query sections)
2025-01-02 17:40:36 +00:00
dakkar
8edd002ec7 remove UI for "email notification type" - fixes #855
no live code looks at these settings, let's not confuse users
pretending they can set

also, no live code sends any of these notifications via email!

maybe, after #718, we can revisit this
2025-01-02 10:18:04 +00:00
dakkar
ac0c6841aa use the whole hostname to check remote links - fixes #866
the warning dialog's "trust this domain" toggle saves the whole
hostname, so this code needs to use the whole hostname

otherwise trusting a `www.example.com` will never work, because we'd
be checking `example.com` against it, and fail

while I was there, I also made the `trustedLinkUrlPatterns` correctly
match sub-domains: previously, trusting `ple.com` would trust
`example.com`
2025-01-02 10:03:16 +00:00
dakkar
d980875e83 remove duplicate role badges - fixes #868
when I copied over the changes from `MkNote*` to `SkNote*`, I forgot
to remove the old badge-related code
2025-01-02 09:46:56 +00:00
dakkar
d6cadc98c3 merge: merge 2024.12.2 into develop (!847)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/847

Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-01-01 17:56:25 +00:00
dakkar
096f122024 Merge branch 'stable' into feature/merge-hotfix 2025-01-01 17:31:59 +00:00
dakkar
0a4e1614ea merge: 2024.11.2, for real (!846)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/846
2025-01-01 17:26:31 +00:00
dakkar
5ef24836ef bump version 2025-01-01 17:11:38 +00:00
dakkar
f4aa986abd fix scheduled replies becoming quote-boosts
thanks to @CenTdemeern1 for triggering this bug!
see https://kitsunes.club/notes/a2h1y2rq9n

also compare with https://s.thenautilus.net/notes/a2h1y2rqx9

my instance errored out with:

> WARN 1	[remote ap]	Failed to resolve quote
> https://mastodon.social/users/DrALJONES/statuses/110586222749407429
>  for note https://kitsunes.club/notes/a2h1y2rq9n: StatusError: 404 Not
> Found

What happened?

* Charlotte scheduled a reply
* the processor called `findOneBy` with an undefined `note.renote`,
  which probably caused a `select` without any `where`
* a random note was attached as a quote
* that note has been deleted on the original instance but not on
kitsuclub's database
* the rest of fedi didn't notice the quote
2025-01-01 17:10:56 +00:00
dakkar
565c987744 merge: Add file extension to locally-stored media (!832)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/832

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2024-12-31 10:44:22 +00:00
Julia
d5ec2082f3 merge: Bump develop version (!843)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/843
2024-12-31 03:49:31 +00:00
Julia Johannesen
d146038ab4
Bump develop version 2024-12-30 22:37:43 -05:00
Julia
4c0bbddd0f merge: Bump stable version (!842)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/842
2024-12-31 02:30:13 +00:00
Julia Johannesen
afad149c6f
Bump version 2024-12-30 21:12:03 -05:00
dakkar
befc4512d0 merge: rethrow everything but non-retryable HTTP errors (!837)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/837

Approved-by: Marie <github@yuugi.dev>
Approved-by: Charlotte <timo.herngreen@gmail.com>
2024-12-30 08:52:06 +00:00
Hazelnoot
4b6a338e0d merge: fix: Replace RE2 with RegExp for "mute word" regex validation (resolves #850) (!836)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/836

Closes #850

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2024-12-26 19:09:49 +00:00
Hazelnoot
9fc562be3d avoid use of any in logger.ts 2024-12-26 13:46:15 -05:00
piuvas
2c742d6e82
requested change. 2024-12-26 14:49:22 -03:00
piuvas
8f96b50b00
improvement 2024-12-26 12:27:00 -03:00
dakkar
45f7743323 fix types
I don't understand the difference between `any` and `unknown`, but the
type signatures before this branch had `Record<string, any> | null`,
and this code passes the typecheck… mah
2024-12-26 09:33:35 +00:00
piuvas
64abef8be9
turn task into a function 2024-12-25 16:41:40 -03:00
piuvas
e5312da6fe
improve readability and conciseness 2024-12-25 14:19:05 -03:00