iOSで大きな画像を変換してアップロードできない問題を修正

Fix https://github.com/misskey-dev/misskey/issues/12026
This commit is contained in:
tamaina 2024-01-29 17:36:42 +00:00
parent e21cecefa1
commit e9f163e0c2
3 changed files with 26 additions and 44 deletions

View File

@ -51,6 +51,7 @@
- Fix: AiScriptの`readline`関数が不正な値を返すことがある問題のv2023.12.0時点での修正がPlay以外に適用されていないのを修正 - Fix: AiScriptの`readline`関数が不正な値を返すことがある問題のv2023.12.0時点での修正がPlay以外に適用されていないのを修正
- Fix: v2023.12.1で追加された`$[clickable ...]`および`onClickEv`が正しく機能していないのを修正 - Fix: v2023.12.1で追加された`$[clickable ...]`および`onClickEv`が正しく機能していないのを修正
- Enhance: ページ遷移時にPlayerを閉じるように - Enhance: ページ遷移時にPlayerを閉じるように
- Fix: iOSで大きな画像を変換してアップロードできない問題を修正
### Server ### Server
- Enhance: 連合先のレートリミットに引っかかった際にリトライするようになりました - Enhance: 連合先のレートリミットに引っかかった際にリトライするようになりました

View File

@ -20,7 +20,7 @@
"@discordapp/twemoji": "15.0.2", "@discordapp/twemoji": "15.0.2",
"@github/webauthn-json": "2.1.1", "@github/webauthn-json": "2.1.1",
"@mcaptcha/vanilla-glue": "0.1.0-alpha-3", "@mcaptcha/vanilla-glue": "0.1.0-alpha-3",
"@misskey-dev/browser-image-resizer": "2.2.1-misskey.10", "@misskey-dev/browser-image-resizer": "2024.1.0",
"@rollup/plugin-json": "6.1.0", "@rollup/plugin-json": "6.1.0",
"@rollup/plugin-replace": "5.0.5", "@rollup/plugin-replace": "5.0.5",
"@rollup/pluginutils": "5.1.0", "@rollup/pluginutils": "5.1.0",

View File

@ -677,8 +677,8 @@ importers:
specifier: 0.1.0-alpha-3 specifier: 0.1.0-alpha-3
version: 0.1.0-alpha-3 version: 0.1.0-alpha-3
'@misskey-dev/browser-image-resizer': '@misskey-dev/browser-image-resizer':
specifier: 2.2.1-misskey.10 specifier: 2024.1.0
version: 2.2.1-misskey.10 version: 2024.1.0
'@rollup/plugin-json': '@rollup/plugin-json':
specifier: 6.1.0 specifier: 6.1.0
version: 6.1.0(rollup@4.9.6) version: 6.1.0(rollup@4.9.6)
@ -831,7 +831,7 @@ importers:
version: 1.7.2(vue@3.4.15) version: 1.7.2(vue@3.4.15)
vite: vite:
specifier: 5.0.12 specifier: 5.0.12
version: 5.0.12(@types/node@20.11.5)(sass@1.70.0) version: 5.0.12(@types/node@20.11.5)(sass@1.70.0)(terser@5.27.0)
vue: vue:
specifier: 3.4.15 specifier: 3.4.15
version: 3.4.15(typescript@5.3.3) version: 3.4.15(typescript@5.3.3)
@ -1009,7 +1009,7 @@ importers:
version: 1.0.3 version: 1.0.3
vitest: vitest:
specifier: 0.34.6 specifier: 0.34.6
version: 0.34.6(happy-dom@10.0.3)(sass@1.70.0) version: 0.34.6(happy-dom@10.0.3)(sass@1.70.0)(terser@5.27.0)
vitest-fetch-mock: vitest-fetch-mock:
specifier: 0.2.2 specifier: 0.2.2
version: 0.2.2(vitest@0.34.6) version: 0.2.2(vitest@0.34.6)
@ -4711,7 +4711,7 @@ packages:
magic-string: 0.27.0 magic-string: 0.27.0
react-docgen-typescript: 2.2.2(typescript@5.3.3) react-docgen-typescript: 2.2.2(typescript@5.3.3)
typescript: 5.3.3 typescript: 5.3.3
vite: 5.0.12(@types/node@20.11.5)(sass@1.70.0) vite: 5.0.12(@types/node@20.11.5)(sass@1.70.0)(terser@5.27.0)
dev: true dev: true
/@jridgewell/gen-mapping@0.3.2: /@jridgewell/gen-mapping@0.3.2:
@ -4735,7 +4735,6 @@ packages:
dependencies: dependencies:
'@jridgewell/gen-mapping': 0.3.2 '@jridgewell/gen-mapping': 0.3.2
'@jridgewell/trace-mapping': 0.3.18 '@jridgewell/trace-mapping': 0.3.18
dev: false
/@jridgewell/sourcemap-codec@1.4.14: /@jridgewell/sourcemap-codec@1.4.14:
resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==} resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==}
@ -4853,8 +4852,8 @@ packages:
resolution: {integrity: sha512-9b8mPpKrfeGRuhFH5iO1iwCLeIIsV6+H1sRfxbkoGXIyQE2BTsPd9zqSqQJ+pv5sJ/hT5M1zvOFL02MnEezFug==} resolution: {integrity: sha512-9b8mPpKrfeGRuhFH5iO1iwCLeIIsV6+H1sRfxbkoGXIyQE2BTsPd9zqSqQJ+pv5sJ/hT5M1zvOFL02MnEezFug==}
dev: true dev: true
/@misskey-dev/browser-image-resizer@2.2.1-misskey.10: /@misskey-dev/browser-image-resizer@2024.1.0:
resolution: {integrity: sha512-Spjiwa8brffhz4FiYrZ8VoPRyPPRzcdaIzLVb8oMnD9YGU3uzcX/CcZ08okFhrUR/N6IlQM86r5dNH/yY5Uyjg==} resolution: {integrity: sha512-4EnO0zLW5NDtng3Gaz5MuT761uiuoOuplwX18wBqgj8w56LTU5BjLn/vbHwDIIe0j2gwqDYhMb7bDjmr1/Fomg==}
dev: false dev: false
/@misskey-dev/eslint-plugin@1.0.0(@typescript-eslint/eslint-plugin@6.11.0)(@typescript-eslint/parser@6.11.0)(eslint-plugin-import@2.29.1)(eslint@8.53.0): /@misskey-dev/eslint-plugin@1.0.0(@typescript-eslint/eslint-plugin@6.11.0)(@typescript-eslint/parser@6.11.0)(eslint-plugin-import@2.29.1)(eslint@8.53.0):
@ -6772,7 +6771,7 @@ packages:
magic-string: 0.30.5 magic-string: 0.30.5
rollup: 3.29.4 rollup: 3.29.4
typescript: 5.3.3 typescript: 5.3.3
vite: 5.0.12(@types/node@20.11.5)(sass@1.70.0) vite: 5.0.12(@types/node@20.11.5)(sass@1.70.0)(terser@5.27.0)
transitivePeerDependencies: transitivePeerDependencies:
- encoding - encoding
- supports-color - supports-color
@ -6977,7 +6976,7 @@ packages:
util: 0.12.5 util: 0.12.5
util-deprecate: 1.0.2 util-deprecate: 1.0.2
watchpack: 2.4.0 watchpack: 2.4.0
ws: 8.16.0 ws: 8.16.0(bufferutil@4.0.7)(utf-8-validate@6.0.3)
transitivePeerDependencies: transitivePeerDependencies:
- bufferutil - bufferutil
- encoding - encoding
@ -7146,7 +7145,7 @@ packages:
react: 18.2.0 react: 18.2.0
react-docgen: 7.0.1 react-docgen: 7.0.1
react-dom: 18.2.0(react@18.2.0) react-dom: 18.2.0(react@18.2.0)
vite: 5.0.12(@types/node@20.11.5)(sass@1.70.0) vite: 5.0.12(@types/node@20.11.5)(sass@1.70.0)(terser@5.27.0)
transitivePeerDependencies: transitivePeerDependencies:
- '@preact/preset-vite' - '@preact/preset-vite'
- encoding - encoding
@ -7272,7 +7271,7 @@ packages:
'@storybook/vue3': 7.6.10(vue@3.4.15) '@storybook/vue3': 7.6.10(vue@3.4.15)
'@vitejs/plugin-vue': 4.5.2(vite@5.0.12)(vue@3.4.15) '@vitejs/plugin-vue': 4.5.2(vite@5.0.12)(vue@3.4.15)
magic-string: 0.30.5 magic-string: 0.30.5
vite: 5.0.12(@types/node@20.11.5)(sass@1.70.0) vite: 5.0.12(@types/node@20.11.5)(sass@1.70.0)(terser@5.27.0)
vue-docgen-api: 4.64.1(vue@3.4.15) vue-docgen-api: 4.64.1(vue@3.4.15)
transitivePeerDependencies: transitivePeerDependencies:
- '@preact/preset-vite' - '@preact/preset-vite'
@ -7772,7 +7771,7 @@ packages:
dom-accessibility-api: 0.5.16 dom-accessibility-api: 0.5.16
lodash: 4.17.21 lodash: 4.17.21
redent: 3.0.0 redent: 3.0.0
vitest: 0.34.6(happy-dom@10.0.3)(sass@1.70.0) vitest: 0.34.6(happy-dom@10.0.3)(sass@1.70.0)(terser@5.27.0)
dev: true dev: true
/@testing-library/user-event@14.4.3(@testing-library/dom@9.2.0): /@testing-library/user-event@14.4.3(@testing-library/dom@9.2.0):
@ -8707,7 +8706,7 @@ packages:
'@babel/plugin-transform-react-jsx-source': 7.19.6(@babel/core@7.23.5) '@babel/plugin-transform-react-jsx-source': 7.19.6(@babel/core@7.23.5)
magic-string: 0.27.0 magic-string: 0.27.0
react-refresh: 0.14.0 react-refresh: 0.14.0
vite: 5.0.12(@types/node@20.11.5)(sass@1.70.0) vite: 5.0.12(@types/node@20.11.5)(sass@1.70.0)(terser@5.27.0)
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
dev: true dev: true
@ -8719,7 +8718,7 @@ packages:
vite: ^4.0.0 || ^5.0.0 vite: ^4.0.0 || ^5.0.0
vue: ^3.2.25 vue: ^3.2.25
dependencies: dependencies:
vite: 5.0.12(@types/node@20.11.5)(sass@1.70.0) vite: 5.0.12(@types/node@20.11.5)(sass@1.70.0)(terser@5.27.0)
vue: 3.4.15(typescript@5.3.3) vue: 3.4.15(typescript@5.3.3)
dev: true dev: true
@ -8730,7 +8729,7 @@ packages:
vite: ^5.0.0 vite: ^5.0.0
vue: ^3.2.25 vue: ^3.2.25
dependencies: dependencies:
vite: 5.0.12(@types/node@20.11.5)(sass@1.70.0) vite: 5.0.12(@types/node@20.11.5)(sass@1.70.0)(terser@5.27.0)
vue: 3.4.15(typescript@5.3.3) vue: 3.4.15(typescript@5.3.3)
dev: false dev: false
@ -8750,7 +8749,7 @@ packages:
std-env: 3.7.0 std-env: 3.7.0
test-exclude: 6.0.0 test-exclude: 6.0.0
v8-to-istanbul: 9.2.0 v8-to-istanbul: 9.2.0
vitest: 0.34.6(happy-dom@10.0.3)(sass@1.70.0) vitest: 0.34.6(happy-dom@10.0.3)(sass@1.70.0)(terser@5.27.0)
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
dev: true dev: true
@ -9889,7 +9888,6 @@ packages:
requiresBuild: true requiresBuild: true
dependencies: dependencies:
node-gyp-build: 4.6.0 node-gyp-build: 4.6.0
dev: false
/bullmq@5.1.4: /bullmq@5.1.4:
resolution: {integrity: sha512-j/AjaPc8BhyrH7b2MyZpi4cUtGH8TJTxonZUmXEefmKU8z5DcldzmlXPief0P4+qvN0A7qwWZH3n0F+GsWgQkg==} resolution: {integrity: sha512-j/AjaPc8BhyrH7b2MyZpi4cUtGH8TJTxonZUmXEefmKU8z5DcldzmlXPief0P4+qvN0A7qwWZH3n0F+GsWgQkg==}
@ -10434,7 +10432,6 @@ packages:
/commander@2.20.3: /commander@2.20.3:
resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}
dev: false
/commander@6.2.1: /commander@6.2.1:
resolution: {integrity: sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==} resolution: {integrity: sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==}
@ -15624,7 +15621,6 @@ packages:
resolution: {integrity: sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ==} resolution: {integrity: sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ==}
hasBin: true hasBin: true
requiresBuild: true requiresBuild: true
dev: false
/node-gyp@10.0.1: /node-gyp@10.0.1:
resolution: {integrity: sha512-gg3/bHehQfZivQVfqIyy8wTdSymF9yTyP4CJifK73imyNMU8AIGQE2pUa7dNWfmMeG9cDVF2eehiRMv0LC1iAg==} resolution: {integrity: sha512-gg3/bHehQfZivQVfqIyy8wTdSymF9yTyP4CJifK73imyNMU8AIGQE2pUa7dNWfmMeG9cDVF2eehiRMv0LC1iAg==}
@ -18932,7 +18928,6 @@ packages:
acorn: 8.11.3 acorn: 8.11.3
commander: 2.20.3 commander: 2.20.3
source-map-support: 0.5.21 source-map-support: 0.5.21
dev: false
/test-exclude@6.0.0: /test-exclude@6.0.0:
resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==}
@ -19654,7 +19649,6 @@ packages:
requiresBuild: true requiresBuild: true
dependencies: dependencies:
node-gyp-build: 4.6.0 node-gyp-build: 4.6.0
dev: false
/util-deprecate@1.0.2: /util-deprecate@1.0.2:
resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
@ -19746,7 +19740,7 @@ packages:
core-util-is: 1.0.2 core-util-is: 1.0.2
extsprintf: 1.3.0 extsprintf: 1.3.0
/vite-node@0.34.6(@types/node@20.11.5)(sass@1.70.0): /vite-node@0.34.6(@types/node@20.11.5)(sass@1.70.0)(terser@5.27.0):
resolution: {integrity: sha512-nlBMJ9x6n7/Amaz6F3zJ97EBwR2FkzhBRxF5e+jE6LA3yi6Wtc2lyTij1OnDMIr34v5g/tVQtsVAzhT0jc5ygA==} resolution: {integrity: sha512-nlBMJ9x6n7/Amaz6F3zJ97EBwR2FkzhBRxF5e+jE6LA3yi6Wtc2lyTij1OnDMIr34v5g/tVQtsVAzhT0jc5ygA==}
engines: {node: '>=v14.18.0'} engines: {node: '>=v14.18.0'}
hasBin: true hasBin: true
@ -19756,7 +19750,7 @@ packages:
mlly: 1.5.0 mlly: 1.5.0
pathe: 1.1.2 pathe: 1.1.2
picocolors: 1.0.0 picocolors: 1.0.0
vite: 5.0.12(@types/node@20.11.5)(sass@1.70.0) vite: 5.0.12(@types/node@20.11.5)(sass@1.70.0)(terser@5.27.0)
transitivePeerDependencies: transitivePeerDependencies:
- '@types/node' - '@types/node'
- less - less
@ -19772,7 +19766,7 @@ packages:
resolution: {integrity: sha512-p4D8CFVhZS412SyQX125qxyzOgIFouwOcvjZWk6bQbNPR1wtaEzFT6jZxAjf1dejlGqa6fqHcuCvQea6EWUkUA==} resolution: {integrity: sha512-p4D8CFVhZS412SyQX125qxyzOgIFouwOcvjZWk6bQbNPR1wtaEzFT6jZxAjf1dejlGqa6fqHcuCvQea6EWUkUA==}
dev: true dev: true
/vite@5.0.12(@types/node@20.11.5)(sass@1.70.0): /vite@5.0.12(@types/node@20.11.5)(sass@1.70.0)(terser@5.27.0):
resolution: {integrity: sha512-4hsnEkG3q0N4Tzf1+t6NdN9dg/L3BM+q8SWgbSPnJvrgH2kgdyzfVJwbR1ic69/4uMJJ/3dqDZZE5/WwqW8U1w==} resolution: {integrity: sha512-4hsnEkG3q0N4Tzf1+t6NdN9dg/L3BM+q8SWgbSPnJvrgH2kgdyzfVJwbR1ic69/4uMJJ/3dqDZZE5/WwqW8U1w==}
engines: {node: ^18.0.0 || >=20.0.0} engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true hasBin: true
@ -19805,6 +19799,7 @@ packages:
postcss: 8.4.33 postcss: 8.4.33
rollup: 4.9.6 rollup: 4.9.6
sass: 1.70.0 sass: 1.70.0
terser: 5.27.0
optionalDependencies: optionalDependencies:
fsevents: 2.3.3 fsevents: 2.3.3
@ -19815,12 +19810,12 @@ packages:
vitest: '>=0.16.0' vitest: '>=0.16.0'
dependencies: dependencies:
cross-fetch: 3.1.5 cross-fetch: 3.1.5
vitest: 0.34.6(happy-dom@10.0.3)(sass@1.70.0) vitest: 0.34.6(happy-dom@10.0.3)(sass@1.70.0)(terser@5.27.0)
transitivePeerDependencies: transitivePeerDependencies:
- encoding - encoding
dev: true dev: true
/vitest@0.34.6(happy-dom@10.0.3)(sass@1.70.0): /vitest@0.34.6(happy-dom@10.0.3)(sass@1.70.0)(terser@5.27.0):
resolution: {integrity: sha512-+5CALsOvbNKnS+ZHMXtuUC7nL8/7F1F2DnHGjSsszX8zCjWSSviphCb/NuS9Nzf4Q03KyyDRBAXhF/8lffME4Q==} resolution: {integrity: sha512-+5CALsOvbNKnS+ZHMXtuUC7nL8/7F1F2DnHGjSsszX8zCjWSSviphCb/NuS9Nzf4Q03KyyDRBAXhF/8lffME4Q==}
engines: {node: '>=v14.18.0'} engines: {node: '>=v14.18.0'}
hasBin: true hasBin: true
@ -19873,8 +19868,8 @@ packages:
strip-literal: 1.3.0 strip-literal: 1.3.0
tinybench: 2.6.0 tinybench: 2.6.0
tinypool: 0.7.0 tinypool: 0.7.0
vite: 5.0.12(@types/node@20.11.5)(sass@1.70.0) vite: 5.0.12(@types/node@20.11.5)(sass@1.70.0)(terser@5.27.0)
vite-node: 0.34.6(@types/node@20.11.5)(sass@1.70.0) vite-node: 0.34.6(@types/node@20.11.5)(sass@1.70.0)(terser@5.27.0)
why-is-node-running: 2.2.2 why-is-node-running: 2.2.2
transitivePeerDependencies: transitivePeerDependencies:
- less - less
@ -20275,19 +20270,6 @@ packages:
async-limiter: 1.0.1 async-limiter: 1.0.1
dev: true dev: true
/ws@8.16.0:
resolution: {integrity: sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==}
engines: {node: '>=10.0.0'}
peerDependencies:
bufferutil: ^4.0.1
utf-8-validate: '>=5.0.2'
peerDependenciesMeta:
bufferutil:
optional: true
utf-8-validate:
optional: true
dev: true
/ws@8.16.0(bufferutil@4.0.7)(utf-8-validate@6.0.3): /ws@8.16.0(bufferutil@4.0.7)(utf-8-validate@6.0.3):
resolution: {integrity: sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==} resolution: {integrity: sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==}
engines: {node: '>=10.0.0'} engines: {node: '>=10.0.0'}
@ -20302,7 +20284,6 @@ packages:
dependencies: dependencies:
bufferutil: 4.0.7 bufferutil: 4.0.7
utf-8-validate: 6.0.3 utf-8-validate: 6.0.3
dev: false
/xev@3.0.2: /xev@3.0.2:
resolution: {integrity: sha512-8kxuH95iMXzHZj+fwqfA4UrPcYOy6bGIgfWzo9Ji23JoEc30ge/Z++Ubkiuy8c0+M64nXmmxrmJ7C8wnuBhluw==} resolution: {integrity: sha512-8kxuH95iMXzHZj+fwqfA4UrPcYOy6bGIgfWzo9Ji23JoEc30ge/Z++Ubkiuy8c0+M64nXmmxrmJ7C8wnuBhluw==}