Commit graph

26333 commits

Author SHA1 Message Date
syuilo
327d01e1ff New translations ja-jp.yml (Russian) 2024-12-19 16:12:31 +09:00
syuilo
07b805c061 New translations ja-jp.yml (Italian) 2024-12-19 16:12:29 +09:00
syuilo
9550bd8d23 New translations ja-jp.yml (Chinese Simplified) 2024-12-19 16:12:27 +09:00
syuilo
982e1e8124 New translations ja-jp.yml (Catalan) 2024-12-18 19:47:33 +09:00
syuilo
64951bef4d New translations ja-jp.yml (Catalan) 2024-12-18 02:36:33 +09:00
syuilo
5effc1360d New translations ja-jp.yml (Catalan) 2024-12-17 20:42:53 +09:00
syuilo
3e588ae327 New translations ja-jp.yml (Catalan) 2024-12-17 15:32:00 +09:00
syuilo
d4f1eb9e75 New translations ja-jp.yml (Catalan) 2024-12-17 05:31:29 +09:00
syuilo
ec27707079 New translations ja-jp.yml (Catalan) 2024-12-16 07:32:58 +09:00
syuilo
9d3fcf31da New translations ja-jp.yml (Catalan) 2024-12-16 00:28:53 +09:00
syuilo
e8dd3d8e53 New translations ja-jp.yml (Chinese Simplified) 2024-12-15 21:03:58 +09:00
syuilo
f442c64b99 New translations ja-jp.yml (Catalan) 2024-12-15 19:52:58 +09:00
syuilo
4120e4b1f3 New translations ja-jp.yml (Dutch) 2024-12-11 06:11:04 +09:00
syuilo
5fb7a4e860 New translations ja-jp.yml (Italian) 2024-12-07 23:42:02 +09:00
syuilo
8d1d6b7a05 New translations ja-jp.yml (Italian) 2024-12-07 22:09:11 +09:00
syuilo
709a1f5109 New translations ja-jp.yml (Russian) 2024-12-06 01:52:55 +09:00
syuilo
967ebd3c2f New translations ja-jp.yml (Portuguese) 2024-12-03 09:57:19 +09:00
syuilo
7e7e9b7b10 New translations ja-jp.yml (Chinese Simplified) 2024-12-02 18:11:44 +09:00
syuilo
d65d2905b7 New translations ja-jp.yml (Korean) 2024-12-02 15:42:39 +09:00
syuilo
995d966fbc New translations ja-jp.yml (Italian) 2024-12-02 00:53:18 +09:00
syuilo
f84f33dd22 New translations ja-jp.yml (Italian) 2024-12-01 23:52:00 +09:00
syuilo
1585333d4e New translations ja-jp.yml (Chinese Simplified) 2024-12-01 16:50:47 +09:00
syuilo
616fe3dc07 New translations ja-jp.yml (Korean) 2024-11-29 12:32:18 +09:00
syuilo
c14887c71c New translations ja-jp.yml (Chinese Simplified) 2024-11-27 14:06:24 +09:00
syuilo
eafa9887ca New translations ja-jp.yml (Chinese Simplified) 2024-11-27 12:41:13 +09:00
syuilo
e26420e5f5 New translations ja-jp.yml (Dutch) 2024-11-26 07:29:11 +09:00
syuilo
a539bd7626 New translations ja-jp.yml (Chinese Traditional) 2024-11-24 04:25:12 +09:00
syuilo
d4971be263 New translations ja-jp.yml (Portuguese) 2024-11-24 03:25:15 +09:00
syuilo
8763b480dd New translations ja-jp.yml (Chinese Traditional) 2024-11-24 03:25:13 +09:00
syuilo
20b4adcc1f New translations ja-jp.yml (Chinese Traditional) 2024-11-24 02:12:37 +09:00
syuilo
a55ce5f416 New translations ja-jp.yml (Chinese Simplified) 2024-11-23 16:21:48 +09:00
syuilo
855fa63215 New translations ja-jp.yml (English) 2024-11-22 20:50:21 +09:00
github-actions[bot]
872cefcfb8 [skip ci] Update CHANGELOG.md (prepend template) 2024-11-22 09:15:37 +00:00
github-actions[bot]
551040ed0f Release: 2024.11.0 2024-11-22 09:15:09 +00:00
syuilo
71bfa85986
New Crowdin updates (#15027)
* New translations ja-jp.yml (Chinese Simplified)

* New translations ja-jp.yml (Chinese Simplified)
2024-11-22 18:01:56 +09: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
anatawa12
1911972ae2
ci: reset prerelease number on release (#15024) 2024-11-22 12:11:45 +09:00
github-actions[bot]
752606fe88 Bump version to 2024.11.0-beta.4 2024-11-21 08:21:54 +00:00
かっこかり
7f0ae038d4
Update CHANGELOG.md 2024-11-21 17:16:06 +09:00
syuilo
9871035597
Update CHANGELOG.md 2024-11-21 15:41:01 +09:00
github-actions[bot]
a21a2c52d7 Bump version to 2024.11.0-alpha.3 2024-11-21 06:27:16 +00:00
かっこかり
c1f19fad1e
fix(backend): fix apResolver (#15010)
* fix(backend): fix apResolver

* fix

* add comments

* tweak comment
2024-11-21 14:36:24 +09: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
かっこかり
53e827b18c
fix(backend): fix security patches (#15008) 2024-11-21 10:30:30 +09:00
syuilo
0f59adc436 fix ap/show 2024-11-21 09:25:18 +09:00
syuilo
9fdabe3666 fix(backend): use atomic command to improve security
Co-Authored-By: Acid Chicken <root@acid-chicken.com>
2024-11-21 09:22:15 +09:00
rectcoordsystem
090e9392cd
Merge commit from fork
* fix(backend): check target IP before sending HTTP request

* fix(backend): allow accessing private IP when testing

* Apply suggestions from code review

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

* fix(backend): lint and typecheck

* fix(backend): add isLocalAddressAllowed option to getAgentByUrl and send (HttpRequestService)

* fix(backend): allow fetchSummaryFromProxy, trueMail to access local addresses

---------

Co-authored-by: anatawa12 <anatawa12@icloud.com>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-11-21 08:27:09 +09:00
Julia
b9cb949eb1
Merge commit from fork
* Fix poll update spoofing

* fix: Disallow negative poll counts

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-11-21 08:24:50 +09:00
Julia
5f675201f2
Merge commit from fork
* enhance: Add a few validation fixes from Sharkey

See the original MR on the GitLab instance:
https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/484

Co-Authored-By: Dakkar <dakkar@thenautilus.net>

* fix: primitive 2: acceptance of cross-origin alternate

Co-Authored-By: Laura Hausmann <laura@hausmann.dev>

* fix: primitive 3: validation of non-final url

* fix: primitive 4: missing same-origin identifier validation of collection-wrapped activities

* fix: primitives 5 & 8: reject activities with non
string identifiers

Co-Authored-By: Laura Hausmann <laura@hausmann.dev>

* fix: primitive 6: reject anonymous objects that were fetched by their id

* fix: primitives 9, 10 & 11: http signature validation
doesn't enforce required headers or specify auth header name

Co-Authored-By: Laura Hausmann <laura@hausmann.dev>

* fix: primitive 14: improper validation of outbox, followers, following & shared inbox collections

* fix: code style for primitive 14

* fix: primitive 15: improper same-origin validation for
note uri and url

Co-Authored-By: Laura Hausmann <laura@hausmann.dev>

* fix: primitive 16: improper same-origin validation for user uri and url

* fix: primitive 17: note same-origin identifier validation can be bypassed by wrapping the id in an array

* fix: code style for primitive 17

* fix: check attribution against actor in notes

While this isn't strictly required to fix the exploits at hand, this
mirrors the fix in `ApQuestionService` for GHSA-5h8r-gq97-xv69, as a
preemptive countermeasure.

* fix: primitive 18: `ap/get` bypasses access checks

One might argue that we could make this one actually preform access
checks against the returned activity object, but I feel like that's a
lot more work than just restricting it to administrators, since, to me
at least, it seems more like a debugging tool than anything else.

* fix: primitive 19 & 20: respect blocks and hide more

Ideally, the user property should also be hidden (as leaving it in leaks
information slightly), but given the schema of the note endpoint, I
don't think that would be possible without introducing some kind of
"ghost" user, who is attributed for posts by users who have you blocked.

* fix: primitives 21, 22, and 23: reuse resolver

This also increases the default `recursionLimit` for `Resolver`, as it
theoretically will go higher that it previously would and could possibly
fail on non-malicious collection activities.

* fix: primitives 25-33: proper local instance checks

* revert: fix: primitive 19 & 20

This reverts commit 465a9fe6591de90f78bd3d084e3c01e65dc3cf3c.

---------

Co-authored-by: Dakkar <dakkar@thenautilus.net>
Co-authored-by: Laura Hausmann <laura@hausmann.dev>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-11-21 08:20:09 +09:00
syuilo
1c284c8154
New Crowdin updates (#15000)
* New translations ja-jp.yml (Catalan)

* New translations ja-jp.yml (English)

* New translations ja-jp.yml (Korean)

* New translations ja-jp.yml (Chinese Simplified)

* New translations ja-jp.yml (Chinese Traditional)

* New translations ja-jp.yml (German)
2024-11-21 08:01:42 +09:00