Commit graph

2274 commits

Author SHA1 Message Date
fly_mc
7bff7962a6 Revert "Synchronize server startup"
This reverts commit 2c4fc485e4.
2024-12-16 09:24:12 +08:00
Ada
3dc92ee27b Fix Content-Length resetting for partial content length requests 2024-12-11 17:28:45 +08:00
Hazelnoot
2c4fc485e4 Synchronize server startup
This prevents an edge case where the server begins processing inbound API / AP requests before any of the chart / management daemons are ready, potentially leading to incorrect chart statistics.
2024-12-11 17:21:47 +08:00
fly_mc
cd6c87af0c Merge branch 'develop' into pari-dev 2024-12-11 17:20:25 +08:00
かっこかり
074b7b0bee
fix(frontend): 公開範囲がホームのノートの埋め込みウィジェットが読み込まれない問題を修正 (#15102)
* Resolve frontend/backend contradiction for home visibility embeds

This now uses the same check from `packages/frontend/src/scripts/get-note-menu.ts`

* Update Changelog

---------

Co-authored-by: CenTdemeern1 <timo.herngreen@gmail.com>
2024-12-10 10:36:03 +09:00
fly_mc
e466196ddf Revert "Reapply "pass resolver when creating notes via side-effect""
This reverts commit 75f5a8babf.
2024-12-06 20:16:22 +08:00
dakkar
616eb9d14b use a better random integer generator - fixes #810 2024-12-06 18:05:44 +08:00
Hazelnoot
7b4fe1a89b allow anonymous activities (resolves #819) 2024-12-06 18:04:37 +08:00
Hazelnoot
3be2143a9a improve AP error formtting 2024-12-06 18:03:28 +08:00
Hazelnoot
3b20a73d58 improve comment on getNullableApId 2024-12-06 18:01:15 +08:00
Hazelnoot
48c1ab4777 clarify logging when a Move (migration) is rejected 2024-12-06 17:59:20 +08:00
Hazelnoot
c67f23d2c2 clarify "unknown activity type" logging in ApInboxService.undo 2024-12-06 17:59:08 +08:00
Hazelnoot
803398e2c8 skip Delete(Note) activities when the note is already deleted 2024-12-06 17:58:50 +08:00
Hazelnoot
f17251aa3e clarify logging for Create/Update type checks 2024-12-06 17:58:22 +08:00
Hazelnoot
634255ea9c clarify logging when an inbox job is skipped or fails 2024-12-06 17:56:51 +08:00
Hazelnoot
18e77cc2e9 don't retry jobs when processing returns a non-retryable error 2024-12-06 17:56:29 +08:00
Hazelnoot
af9ab8fcce avoid potential crash if Question activity is corrupt 2024-12-06 17:54:50 +08:00
Hazelnoot
60701888fe improve AP job clearing and failure logging 2024-12-06 17:54:21 +08:00
fly_mc
75f5a8babf Reapply "pass resolver when creating notes via side-effect"
This reverts commit ee41972b22.
2024-12-06 17:47:50 +08:00
fly_mc
ee41972b22 Revert "pass resolver when creating notes via side-effect"
This reverts commit 9da0739277.
2024-11-27 13:07:05 +08:00
fly_mc
ce14b758b3 backend: removed AP obj different host check 2024-11-27 03:04:45 +08:00
fly_mc
8cb9e048ae backend: removed uri and url mismatch checking 2024-11-27 02:48:27 +08:00
Hazelnoot
ccb76ab63c preserve the raw URI in parseUri 2024-11-26 21:46:49 +08:00
Julia Johannesen
0595947fc0 fix: Try using CacheService to avoid excess db lookups
This isn't perfect, theoretically if some massive number of users
blocked the user making this request the set lookup could take a long
amount of time, but eh, it works, and that scenario is highly unlikely.
2024-11-26 21:46:26 +08:00
fly_mc
af52d3198b normalize AP IDs during verification 2024-11-26 21:35:53 +08:00
fly_mc
468be6ed51 Filter Add / Remove activities with non-Note payloads 2024-11-26 21:31:29 +08:00
fly_mc
69ac109cfe fix imports 2024-11-26 21:24:52 +08:00
Hazelnoot
9da0739277 pass resolver when creating notes via side-effect 2024-11-26 21:23:32 +08:00
Hazelnoot
d1965bf9a3 verify that preview URL is valid 2024-11-26 21:14:34 +08:00
fly_mc
b5cc31b65c Respect pinned note limit for remote users 2024-11-26 21:07:49 +08:00
fly_mc
a3873344bf feat: feat: Sign-Up Approval 2024-11-26 00:17:01 +08:00
fly_mc
4f3c458de8 Merge branch 'develop' into pari-dev 2024-11-24 23:18:27 +08:00
anatawa12
dd56623cde
fix: unable to upload to local object storage (#15040) 2024-11-24 20:44:59 +09:00
かっこかり
a0e91b5882
fix(backend): 起動前の疎通チェックが機能しなくなっていた問題を修正 (#15043)
* check harder for connectibility

`allSettled` does not throw if a promise is rejected, so
`check_connect` never actually failed

* Update Changelog

---------

Co-authored-by: dakkar <dakkar@thenautilus.net>
2024-11-24 20:43:47 +09:00
かっこかり
d176db517f
fix(backend/misskey-js): タイポ修正 (#15046) 2024-11-24 15:23:07 +09:00
fly_mc
35c4989527 Merge branch 'develop' into pari-dev 2024-11-23 22:18:10 +08:00
おさむのひと
a77ad7a16b
fix(backend): アドレス入力で直接ユーザのプロフィールページを表示した際、前提データが足りず描画に失敗する (#15033)
* fix(backend): アドレス入力で直接ユーザのプロフィールページを表示した際、前提データが足りず描画に失敗する

* fix CHANGELOG.md
2024-11-23 16:45:05 +09:00
fly_mc
0145477c96 Merge branch 'develop' into pari-dev 2024-11-23 13:56:16 +08:00
syuilo
04b221409c fix(backend): use atomic command to improve security 2024-11-23 04:44:33 +09:00
FLY_MC
e2e21bdc98
Merge pull request #4 from paricafe/pari-dev
Merge Release: 2024.11.0
2024-11-22 20:13:14 +08:00
fly_mc
ee4f2cecdd Merge branch 'develop' into pari-dev 2024-11-22 20:11:51 +08:00
かっこかり
f25fc5215b
fix(backend): Inboxのエラーをthrowせずreturnしている問題を修正 (#15022)
* fix exception handling for Like activities

(cherry picked from commit 8f42e8434eaebe3aba5d1980c57f49dd8ad0de91)

* fix exception handling for Announce activities

(cherry picked from commit cfc3ab4b045af0674122fa49176431860176358b)

* fix exception handling for Undo activities

* Update Changelog

---------

Co-authored-by: Hazelnoot <acomputerdog@gmail.com>
2024-11-22 12:14:41 +09:00
77705d34d1 fix handling of private renotes
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-22 00:18:02 +08:00
fly_mc
a0fe3feb48 backend: fix duplicated import 2024-11-21 22:47:28 +08:00
fly_mc
d194d4e247 Merge branch 'develop' into pari-dev 2024-11-21 21:57:03 +08:00
fly_mc
1372e005a5 Revert "do not use media proxy if emoji is local"
This reverts commit e2471b85dd.
2024-11-21 21:55:50 +08:00
かっこかり
c1f19fad1e
fix(backend): fix apResolver (#15010)
* fix(backend): fix apResolver

* fix

* add comments

* tweak comment
2024-11-21 14:36:24 +09:00
fly_mc
e8d04d1029 Merge branch 'develop' into pari-dev 2024-11-21 12:32:48 +08:00
e2471b85dd do not use media proxy if emoji is local
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-21 12:19:31 +08:00
かっこかり
3a6c2aa835
fix(backend): fix type error(s) in security fixes (#15009)
* Fix type error in security fixes

(cherry picked from commit fa3cf6c2996741e642955c5e2fca8ad785e83205)

* Fix error in test function calls

(cherry picked from commit 1758f29364eca3cbd13dbb5c84909c93712b3b3b)

* Fix style error

(cherry picked from commit 23c4aa25714af145098baa7edd74c1d217e51c1a)

* Fix another style error

(cherry picked from commit 36af07abe28bec670aaebf9f5af5694bb582c29a)

* Fix `.punyHost` misuse

(cherry picked from commit 6027b516e1c82324d55d6e54d0e17cbd816feb42)

* attempt to fix test: make yaml valid

---------

Co-authored-by: Julia Johannesen <julia@insertdomain.name>
2024-11-21 12:10:02 +09:00