Skip to content

Commit cbeaa75

Browse files
committed
Merge tag '4.17.0' into develop
2 parents 6abb119 + d099587 commit cbeaa75

File tree

1,235 files changed

+64387
-27614
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,235 files changed

+64387
-27614
lines changed

.config/cypress-devcontainer.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -215,20 +215,9 @@ proxyBypassHosts:
215215
# Media Proxy
216216
#mediaProxy: https://example.com/proxy
217217

218-
# Proxy remote files (default: true)
219-
proxyRemoteFiles: true
220-
221-
# Sign to ActivityPub GET request (default: true)
222-
signToActivityPubGet: true
223-
224218
allowedPrivateNetworks: [
225219
'127.0.0.1/32'
226220
]
227221

228-
# Disable automatic redirect for ActivityPub object lookup. (default: false)
229-
# This is a strong defense against potential impersonation attacks if the viewer instance has inadequate validation.
230-
# However it will make it impossible for other instances to lookup third-party user and notes through your URL.
231-
#disallowExternalApRedirect: true
232-
233222
# Upload or download file size limits (bytes)
234223
#maxFileSize: 262144000

.config/docker_example.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -236,28 +236,13 @@ proxyBypassHosts:
236236
# Media Proxy
237237
#mediaProxy: https://example.com/proxy
238238

239-
# Proxy remote files endpoint
240-
# remoteProxy: https://example.com/files/
241-
# remoteProxy: /files/
242-
243-
# Proxy remote files (default: true)
244-
proxyRemoteFiles: true
245-
246-
# Sign to ActivityPub GET request (default: true)
247-
signToActivityPubGet: true
248-
249239
# For security reasons, uploading attachments from the intranet is prohibited,
250240
# but exceptions can be made from the following settings. Default value is "undefined".
251241
# Read changelog to learn more (Improvements of 12.90.0 (2021/09/04)).
252242
#allowedPrivateNetworks: [
253243
# '127.0.0.1/32'
254244
#]
255245

256-
# Disable automatic redirect for ActivityPub object lookup. (default: false)
257-
# This is a strong defense against potential impersonation attacks if the viewer instance has inadequate validation.
258-
# However it will make it impossible for other instances to lookup third-party user and notes through your URL.
259-
#disallowExternalApRedirect: true
260-
261246
# Upload or download file size limits (bytes)
262247
#maxFileSize: 262144000
263248

.config/example.yml

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,16 @@ port: 3000
105105
# socket: /path/to/cherrypick.sock
106106
# chmodSocket: '777'
107107

108+
# Proxy trust settings
109+
#
110+
# Changes how the server interpret the origin IP of the request.
111+
#
112+
# Any format supported by Fastify is accepted.
113+
# Default: trust all proxies (i.e. trustProxy: true)
114+
# See: https://fastify.dev/docs/latest/reference/server/#trustproxy
115+
#
116+
# trustProxy: 1
117+
108118
# ┌──────────────────────────┐
109119
#───┘ PostgreSQL configuration └────────────────────────────────
110120

@@ -344,35 +354,19 @@ proxyBypassHosts:
344354
# * Perform image compression (on a different server resource than the main process)
345355
#mediaProxy: https://example.com/proxy
346356

347-
# Proxy remote files endpoint
348-
# remoteProxy: https://example.com/files/
349-
# remoteProxy: /files/
350-
351-
# Proxy remote files (default: true)
352-
# Proxy remote files by this instance or mediaProxy to prevent remote files from running in remote domains.
353-
proxyRemoteFiles: true
354-
355357
# Movie Thumbnail Generation URL
356358
# There is no reference implementation.
357359
# For example, CherryPick will point to the following URL:
358360
# https://example.com/thumbnail.webp?thumbnail=1&url=https%3A%2F%2Fstorage.example.com%2Fpath%2Fto%2Fvideo.mp4
359361
#videoThumbnailGenerator: https://example.com
360362

361-
# Sign to ActivityPub GET request (default: true)
362-
signToActivityPubGet: true
363-
364363
# For security reasons, uploading attachments from the intranet is prohibited,
365364
# but exceptions can be made from the following settings. Default value is "undefined".
366365
# Read changelog to learn more (Improvements of 12.90.0 (2021/09/04)).
367366
#allowedPrivateNetworks: [
368367
# '127.0.0.1/32'
369368
#]
370369

371-
# Disable automatic redirect for ActivityPub object lookup. (default: false)
372-
# This is a strong defense against potential impersonation attacks if the viewer instance has inadequate validation.
373-
# However it will make it impossible for other instances to lookup third-party user and notes through your URL.
374-
#disallowExternalApRedirect: true
375-
376370
# Upload or download file size limits (bytes)
377371
#maxFileSize: 262144000
378372

.devcontainer/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"workspaceFolder": "/workspace",
66
"features": {
77
"ghcr.io/devcontainers/features/node:1": {
8-
"version": "22.15.0"
8+
"version": "24.10.0"
99
},
1010
"ghcr.io/devcontainers-extra/features/pnpm:2": {
1111
"version": "10.10.0"
@@ -22,6 +22,7 @@
2222
"Orta.vscode-jest",
2323
"dbaeumer.vscode-eslint",
2424
"mrmlnc.vscode-json5",
25+
"eamodio.gitlens",
2526
"ms-vscode.vscode-typescript-next",
2627
"oderwat.indent-rainbow"
2728
]

.devcontainer/devcontainer.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -226,12 +226,6 @@ proxyBypassHosts:
226226
# Media Proxy
227227
#mediaProxy: https://example.com/proxy
228228

229-
# Proxy remote files (default: true)
230-
proxyRemoteFiles: true
231-
232-
# Sign to ActivityPub GET request (default: true)
233-
signToActivityPubGet: true
234-
235229
allowedPrivateNetworks: [
236230
'127.0.0.1/32'
237231
]

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@ trim_trailing_whitespace = false
1313

1414
[*.{yml,yaml}]
1515
indent_style = space
16+
17+
[packages/backend/migration/*.js]
18+
indent_style = space
19+
indent_size = 4

.github/cherrypick/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ redis:
1515
host: 127.0.0.1
1616
port: 56312
1717
id: aidx
18+
19+
proxyRemoteFiles: true

.github/min.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20.10.0
1+
22.15.0

.github/workflows/api-cherrypick-js.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616

1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v4.2.2
19+
uses: actions/checkout@v4.3.0
2020

2121
- name: Setup pnpm
22-
uses: pnpm/action-setup@v4.1.0
22+
uses: pnpm/action-setup@v4.2.0
2323

2424
- name: Setup Node.js
2525
uses: actions/setup-node@v4.4.0

.github/workflows/changelog-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
steps:
1414
- name: Checkout head
15-
uses: actions/checkout@v4.2.2
15+
uses: actions/checkout@v4.3.0
1616
- name: Setup Node.js
1717
uses: actions/setup-node@v4.4.0
1818
with:

0 commit comments

Comments
 (0)