mizzkey/packages/backend/src/misc
tamaina c36e7d1a07
enhance(server): メディアプロキシでico,bmpを読めるように (#10186)
* enhance(server): downloadUrlでContent-Dispositionからファイル名を取得
Resolve #10036
Resolve #4750

* untitled

* オブジェクトストレージのContent-Dispositionのファイル名の拡張子をContent-Typeに添ったものにする

* ✌️

* tiff

* fix filename

* add test

* /files/でもContent-Disposition

* enhance(server): メディアプロキシでico,bmpを読めるように
Fix #10120

* comment

* fix test

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-03-04 19:23:11 +09:00
..
id fix: typo (#9300) 2022-12-10 08:55:07 +09:00
prelude enhance: Proxy custom emojis to reduce image size and accelerate the frontend (#9431) 2022-12-30 12:00:50 +09:00
acct.ts なんかもうめっちゃ変えた 2022-09-18 03:27:08 +09:00
api-permissions.ts refactoring 2021-11-12 02:02:25 +09:00
cache.ts perf(server): cache blocking 2023-02-04 12:40:40 +09:00
check-word-mute.ts fix type errors 2022-09-24 14:45:44 +09:00
clone.ts improve performance 2022-11-17 09:31:07 +09:00
content-disposition.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
correct-filename.ts enhance(server): downloadUrlでContent-Dispositionからファイル名を取得 (#10150) 2023-03-04 16:51:07 +09:00
create-temp.ts enhance: Proxy custom emojis to reduce image size and accelerate the frontend (#9431) 2022-12-30 12:00:50 +09:00
dev-null.ts Fix #9710 ? (#9712) 2023-01-24 15:54:14 +09:00
emoji-regex.ts refactor: fix types 2023-02-17 15:15:36 +09:00
extract-custom-emojis-from-mfm.ts refactor: fix type 2023-02-01 17:29:28 +09:00
extract-hashtags.ts refactor: fix type 2023-02-01 17:29:28 +09:00
extract-mentions.ts なんかもうめっちゃ変えた 2022-09-18 03:27:08 +09:00
fastify-reply-error.ts Fastify (#9106) 2022-12-03 19:42:05 +09:00
gen-identicon.ts refactor: fix types 2023-02-09 11:02:37 +09:00
gen-key-pair.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
generate-native-user-token.ts なんかもうめっちゃ変えた 2022-09-18 03:27:08 +09:00
get-ip-hash.ts fix(server): /api/signin always returns 429 when request header x-forwarded-for contains client port 2023-01-24 17:51:09 +09:00
get-note-summary.ts なんかもうめっちゃ変えた 2022-09-18 03:27:08 +09:00
get-reaction-emoji.ts refactoring 2021-11-12 02:02:25 +09:00
i18n.ts refactor: fix types 2023-02-09 11:46:08 +09:00
identifiable-error.ts なんかもうめっちゃ変えた 2022-09-18 03:27:08 +09:00
is-duplicate-key-value-error.ts refactor 2022-02-03 02:41:22 +09:00
is-instance-muted.ts lint 2022-09-20 05:32:18 +09:00
is-mime-image.ts enhance(server): メディアプロキシでico,bmpを読めるように (#10186) 2023-03-04 19:23:11 +09:00
is-native-token.ts なんかもうめっちゃ変えた 2022-09-18 03:27:08 +09:00
is-not-null.ts 通知部分は残す 2023-03-03 20:43:31 +09:00
is-quote.ts lint 2022-09-20 05:32:18 +09:00
is-user-related.ts refactor: remove duplicate code (#8895) 2022-06-27 21:48:10 +09:00
langmap.ts fix: better language settings 2022-02-26 15:13:44 +09:00
normalize-for-search.ts refactoring 2021-11-12 02:02:25 +09:00
nyaize.ts perf: use replaceAll instead of regex 2023-02-03 17:44:25 +09:00
reset-db.ts なんかもうめっちゃ変えた 2022-09-18 03:27:08 +09:00
safe-for-sql.ts refactoring 2021-11-12 02:02:25 +09:00
schema.ts test(server): add validation test of api:notes/create (#10090) 2023-02-26 11:28:05 +09:00
secure-rndstr.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
show-machine-info.ts lint 2022-09-20 05:32:18 +09:00
sql-like-escape.ts fix: Escape SQL LIKE (#9493) 2023-01-08 20:32:17 +09:00
status-error.ts なんかもうめっちゃ変えた 2022-09-18 03:27:08 +09:00
truncate.ts refactoring 2021-11-12 02:02:25 +09:00