1
0
Commit Graph

1572 Commits

Author SHA1 Message Date
Hazelnoot bb0bc68927 cover more retryable errors for quote resolution 2025-02-20 09:58:22 -05:00
Hazelnoot ca7d8b5bff fix logging for quote errors 2025-02-20 09:58:22 -05:00
Hazelnoot 0e2e77e346 fix type errors in WebhookTestService.ts 2025-02-20 09:58:04 -05:00
Hazelnoot 292d3b9229 add "reject quotes" toggle at user and instance level
+ improve, cleanup, and de-duplicate quote resolution
+ add warning message when quote cannot be loaded
+ add "process error" framework to display warnings when a note cannot be correctly loaded from another instance
2025-02-20 09:57:48 -05:00
dakkar 93ffd4611c merge: TSVector based search provider (!910)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/910

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-20 10:27:18 +00:00
dakkar 534c35cca2 merge: Add "force content warning" setting for user moderation (resolves #905) (!876)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/876

Closes #905

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-20 10:20:49 +00:00
PrivateGER 285bbcb81f fix linter... 2025-02-19 16:46:59 +01:00
PrivateGER 691a9a6be2 Rename tsvector to sqlTsvector 2025-02-19 16:34:48 +01:00
PrivateGER e6464906e6 change to sqlTsvector 2025-02-19 16:32:11 +01:00
PrivateGER b5208c2ad0 simplify tsvector implementation, remove cover density 2025-02-19 16:26:02 +01:00
PrivateGER 4fde14d1cc fix wrong column name 2025-02-19 15:12:16 +01:00
PrivateGER d82c8e8e97 Implement tsvector search support 2025-02-19 14:55:50 +01:00
dakkar 9e3667b2a3 fix names that annoy @dakkar 2025-02-18 20:57:55 +00:00
Hazelnoot c28b27b57f merge: Optionally log remote ActivityPub objects to database (!833)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/833

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-18 19:51:13 +00:00
Marie 3dfd018305 merge: Fix error message when a peertube object is rejected for bad ID / URL (!900)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/900

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-17 19:47:36 +00:00
Marie 25da35eab2 merge: relax validation of Announce / renote timestamps (resolves #799) (!905)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/905

Closes #799

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-17 19:46:11 +00:00
Hazelnoot f183df3044 fix error message when a peertube object is reject for bad ID / URL 2025-02-16 19:27:06 -05:00
Hazelnoot 9de5ecae51 delete fetch logs when a note or user is deleted 2025-02-16 19:25:42 -05:00
Hazelnoot 81944b3bdf implement AP fetch logs 2025-02-16 19:25:22 -05:00
Hazelnoot 86b26fb58e adjust types to avoid merge conflicts in NoteCreateService.ts and NoteEditService.ts 2025-02-16 19:20:42 -05:00
Hazelnoot 5c86929b58 fix type errors in NoteCreateService.ts 2025-02-16 19:20:42 -05:00
Hazelnoot c54b6bf55d append mandatory CW in Update(Note) activities 2025-02-16 19:20:41 -05:00
Hazelnoot 583f55bc5a fix type error in WebhookTestService.ts 2025-02-16 19:20:41 -05:00
Hazelnoot c5933f369e move mandatoryCW from admin-user to PackedUserLite (public field) 2025-02-16 19:20:41 -05:00
Hazelnoot 6c2034a373 append default CW when rendering AP Note objects 2025-02-16 19:20:41 -05:00
Hazelnoot 7814c6e54e remove mandatory CW logic from NoteCreateService and NoteEditService 2025-02-16 19:20:41 -05:00
Hazelnoot b256ac32d0 don't duplicate mandatory CWs 2025-02-16 19:20:41 -05:00
Hazelnoot 935a62f5e5 fix typescript errors in WebhookTestService.ts 2025-02-16 19:20:41 -05:00
Hazelnoot ea89348b62 add user-level "force content warning" moderation feature 2025-02-16 19:20:37 -05:00
Hazelnoot feeaf26641 fix lint errors in NoteCreateService & NoteEditService 2025-02-16 19:15:22 -05:00
Hazelnoot 3ab310e472 relax validation of Announce(Note) timestamps 2025-02-16 19:14:58 -05:00
Hazelnoot 6d459cdf80 Update ApImageService.ts 2025-02-16 19:14:24 -05:00
Hazelnoot 447534d094 support Peertube preview thumbnails 2025-02-16 19:14:24 -05:00
Hazelnoot 2d7918a9b7 merge: Merge upstream 2025.2.0 (!886)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/886

Approved-by: Marie <github@yuugi.dev>
Approved-by: Amber Null <puppygirlhornyposting@gmail.com>
2025-02-16 21:42:35 +00:00
dakkar e5c41444e6 merge: fill myReaction in more cases - may fix #944 (!907)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/907

Closes #944

Approved-by: Charlotte <timo.herngreen@gmail.com>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-02-16 13:39:27 +00:00
dakkar 949664147e fill myReaction in more cases - may fix !944
* first of all, fetch from the buffer all the notes we may
	need (including replied-to ones)
* then, distinguish between "we know there's no myReaction" and "we
  don't know if there's any myReaction"
* finally, look at both a note and the note it's replying to
2025-02-16 11:41:32 +00:00
鴇峰 朔華 f3a4434830 fix(backend): メールアドレスの形式が正しくなければ以降の処理を行わないように (#15320)
* Mod: バリデーションを追加

* 条件の修正

notつけわすれ

* Update CHANGELOG.md
2025-02-16 09:41:33 +00:00
Hazelnoot ec29e12c97 Merge branch 'develop' into merge/2024-02-03
# Conflicts:
#	packages/backend/src/core/SearchService.ts
2025-02-15 11:30:26 -05:00
Marie dc6f13728c merge: Fix timeout when searching notes by host without meilisearch (resolves #940) (!896)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/896

Closes #940

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-15 11:00:33 +00:00
かっこかり 88900492a4 fix(backend): pgroongaでの検索時にはじめのキーワード以外が検索に使用されない問題を修正 (#15496)
* fix pgroona note.text query

* Update Changelog

---------

Co-authored-by: Hazelnoot <acomputerdog@gmail.com>
2025-02-15 19:26:02 +09:00
Hazelnoot c67d985254 Merge branch 'develop' into merge/2024-02-03
# Conflicts:
#	packages/backend/src/core/SearchService.ts
#	packages/misskey-js/src/autogen/types.ts
2025-02-14 23:48:36 -05:00
syuilo ffd8cf07e6 update deps (#15311)
* wip

* bump misskey-dev/eslint-plugin

* lint fixes (backend)

* lint fixes (frontend)

* lint fixes (frontend-embed)

* rollback nsfwjs to 4.2.0

ref: infinitered/nsfwjs#904

* rollback openapi-typescript to v6

v7でOpenAPIのバリデーションが入るようになった関係でスコープ外での変更が避けられないため一時的に戻した

* lint fixes (misskey-js)

* temporarily disable errored lint rule (frontend-shared)

* fix lint

* temporarily ignore errored file for lint (frontend-shared)

* rollback simplewebauthn/server to 12.0.0

v13 contains breaking changes that require some decision making

* lint fixes (frontend-shared)

* build misskey-js with types

* fix(backend): migrate simplewebauthn/server to v12

* fix(misskey-js/autogen): ignore indent rules to generate consistent output

* attempt to fix test

changes due to capricorn86/happy-dom#1617 (XMLSerializer now produces valid XML)

* attempt to fix test

changes due to capricorn86/happy-dom#1617 (XMLSerializer now produces valid XML)

* fix test

* fix test

* fix test

* Apply suggestions from code review

Co-authored-by: anatawa12 <anatawa12@icloud.com>

* bump summaly to v5.2.0

* update tabler-icons to v3.30.0-based

---------

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
Co-authored-by: anatawa12 <anatawa12@icloud.com>
2025-02-15 10:24:22 +09:00
Hazelnoot 493000290b fix performance of SQL LIKE note search 2025-02-14 20:16:39 -05:00
Hazelnoot c8bb7b9816 fix error when searching without a specified host 2025-02-13 17:40:32 -05:00
Hazelnoot 667262dcfb Merge branch 'develop' into merge/2024-02-03
# Conflicts:
#	locales/index.d.ts
#	packages/backend/src/core/SearchService.ts
#	packages/frontend/src/pages/search.note.vue
#	packages/misskey-js/src/autogen/types.ts
#	sharkey-locales/en-US.yml
2025-02-13 17:04:50 -05:00
Hazelnoot a95bfb7241 search notes with denormalized userHost field 2025-02-13 16:56:32 -05:00
Hazelnoot ed981a6970 add new note search file types (module, flash) and optimize file type query 2025-02-13 09:28:46 -05:00
Hazelnoot fb058410f6 fix pgroona note.text query 2025-02-12 11:01:26 -05:00
Hazelnoot feb80ee992 Merge branch 'develop' into merge/2024-02-03 2025-02-11 10:52:52 -05:00
Esurio/1673beta ebd06becbf fix(backend): オブジェクトストレージの設定でPrefixを設定していなかった場合、nullが文字列として展開・ドメインの1つ後ろに'/'が挿入されないように (#15432) 2025-02-11 11:45:31 +00:00