<feed xmlns='http://www.w3.org/2005/Atom'>
<title>misskey/packages/backend/src/server/file, branch master</title>
<subtitle>my misskey fork</subtitle>
<id>http://g.freya.cat/misskey/atom/packages/backend/src/server/file?h=master</id>
<link rel='self' href='http://g.freya.cat/misskey/atom/packages/backend/src/server/file?h=master'/>
<link rel='alternate' type='text/html' href='http://g.freya.cat/misskey/'/>
<updated>2026-03-05T17:55:43Z</updated>
<entry>
<title>split url into webUrl and localUrl (like mastodon)</title>
<updated>2026-03-05T17:55:43Z</updated>
<author>
<name>Freya Murphy</name>
<email>freya@freyacat.org</email>
</author>
<published>2026-03-02T21:05:12Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/misskey/commit/?id=587ab8500abb2d8b0a494dc05952c9919cc7f66f'/>
<id>urn:sha1:587ab8500abb2d8b0a494dc05952c9919cc7f66f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactor FileServerService: Extract file handling logic into dedicated handlers (#17090)</title>
<updated>2026-01-13T06:00:11Z</updated>
<author>
<name>おさむのひと</name>
<email>46447427+samunohito@users.noreply.github.com</email>
</author>
<published>2026-01-13T06:00:11Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/misskey/commit/?id=0b383efa5a8bb7f6f27545ea8f51f335d88e5b8d'/>
<id>urn:sha1:0b383efa5a8bb7f6f27545ea8f51f335d88e5b8d</id>
<content type='text'>
- Introduced FileServerDriveHandler to manage drive file requests.
- Created FileServerFileResolver for resolving file access keys and downloading files.
- Added FileServerProxyHandler to handle proxy requests and image processing.
- Moved utility functions to FileServerUtils for better organization.
- Removed redundant methods from FileServerService, improving readability and maintainability.</content>
</entry>
<entry>
<title>なんかもうめっちゃ変えた</title>
<updated>2022-09-17T18:27:08Z</updated>
<author>
<name>syuilo</name>
<email>Syuilotan@yahoo.co.jp</email>
</author>
<published>2022-09-17T18:27:08Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/misskey/commit/?id=b75184ec8e3436200bacdcd832e3324702553d20'/>
<id>urn:sha1:b75184ec8e3436200bacdcd832e3324702553d20</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor: temporary files (#8713)</title>
<updated>2022-05-25T07:50:22Z</updated>
<author>
<name>Johann150</name>
<email>johann.galle@protonmail.com</email>
</author>
<published>2022-05-25T07:50:22Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/misskey/commit/?id=e27c6abaeaf0e0e0be9fba7ffc6fd165474d8592'/>
<id>urn:sha1:e27c6abaeaf0e0e0be9fba7ffc6fd165474d8592</id>
<content type='text'>
* simplify temporary files for thumbnails

Because only a single file will be written to the directory, creating a
separate directory seems unnecessary. If only a temporary file is created,
the code from `createTemp` can be reused here as well.

* refactor: deduplicate code for temporary files/directories

To follow the DRY principle, the same code should not be duplicated
across different files. Instead an already existing function is used.

Because temporary directories are also create in multiple locations,
a function for this is also newly added to reduce duplication.

* fix: clean up identicon temp files

The temporary files for identicons are not reused and can be deleted
after they are fully read. This condition is met when the stream is closed
and so the file can be cleaned up using the events API of the stream.

* fix: ensure cleanup is called when download fails

* fix: ensure cleanup is called in error conditions

This covers import/export queue jobs and is mostly just wrapping all
code in a try...finally statement where the finally runs the cleanup.

* fix: use correct type instead of `any`</content>
</entry>
<entry>
<title>enhance: ドライブに画像ファイルをアップロードするときオリジナル画像を破棄してwebpublicのみ保持するオプション (#8216)</title>
<updated>2022-04-28T02:14:03Z</updated>
<author>
<name>tamaina</name>
<email>tamaina@hotmail.co.jp</email>
</author>
<published>2022-04-28T02:14:03Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/misskey/commit/?id=12a3c6872f0a31c923bf0cd7c183cb8776d58dda'/>
<id>urn:sha1:12a3c6872f0a31c923bf0cd7c183cb8776d58dda</id>
<content type='text'>
* wip

* Update packages/client/src/os.ts

Co-authored-by: tamaina &lt;tamaina@hotmail.co.jp&gt;

* メニューをComposition API化、switchアイテム追加
クライアントサイド画像圧縮の準備

* メニュー型定義を分離 (TypeScriptの型支援が効かないので)

* disabled

* make keepOriginal to follow setting value

* :v:

* fix

* fix

* :v:

* WEBP

* aaa

* :v:

* webp

* lazy load browser-image-resizer

* rename

* rename 2

* Fix

* clean up

* add comment

* clean up

* jpeg, pngにもどす

* fix

* fix name

* webpでなくする ただしサムネやプレビューはwebpのまま (テスト)

* 動画サムネイルはjpegに

* エラーハンドリング

* :v:

* v2.2.1-misskey-beta.2

* browser-image-resizer#v2.2.1-misskey.1

* :v:

* fix alert

* update browser-image-resizer to v2.2.1-misskey.2

* lockfile

Co-authored-by: mei23 &lt;m@m544.net&gt;
Co-authored-by: MeiMei &lt;30769358+mei23@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>fix(server): dummy image is not served correctly</title>
<updated>2022-03-12T06:13:11Z</updated>
<author>
<name>syuilo</name>
<email>Syuilotan@yahoo.co.jp</email>
</author>
<published>2022-03-12T06:13:11Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/misskey/commit/?id=d1d68c01243f8e0e748e729a91a3163de6bd0754'/>
<id>urn:sha1:d1d68c01243f8e0e748e729a91a3163de6bd0754</id>
<content type='text'>
Fix #8393
</content>
</entry>
<entry>
<title>refactor: Use ESM (#8358)</title>
<updated>2022-02-27T02:07:39Z</updated>
<author>
<name>syuilo</name>
<email>Syuilotan@yahoo.co.jp</email>
</author>
<published>2022-02-27T02:07:39Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/misskey/commit/?id=d071d18dd7a394298d454d4ef6c5ca885164dd47'/>
<id>urn:sha1:d071d18dd7a394298d454d4ef6c5ca885164dd47</id>
<content type='text'>
* wip

* wip

* fix

* clean up

* Update tsconfig.json

* Update activitypub.ts

* wip</content>
</entry>
<entry>
<title>Add `img-src` and `media-src` to `Content-Security-Policy` header for files and media proxy (#8188)</title>
<updated>2022-01-28T17:23:18Z</updated>
<author>
<name>shibao</name>
<email>shibao@bubbletea.dev</email>
</author>
<published>2022-01-28T17:23:18Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/misskey/commit/?id=380d14f4061425fe68b4f7fbdc57cdb37f2d7924'/>
<id>urn:sha1:380d14f4061425fe68b4f7fbdc57cdb37f2d7924</id>
<content type='text'>
* add img-src and media-src to csp in file and media proxy

* add csp changes to changelog

* sort and remove trailing semicolon</content>
</entry>
<entry>
<title>send-drive-file svg as png (#8107)</title>
<updated>2022-01-19T18:05:52Z</updated>
<author>
<name>tamaina</name>
<email>tamaina@hotmail.co.jp</email>
</author>
<published>2022-01-19T18:05:52Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/misskey/commit/?id=7627c43deee3ef952b072b35cd5d2dc32eae48f7'/>
<id>urn:sha1:7627c43deee3ef952b072b35cd5d2dc32eae48f7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "revert d53795184"</title>
<updated>2022-01-01T13:25:30Z</updated>
<author>
<name>syuilo</name>
<email>Syuilotan@yahoo.co.jp</email>
</author>
<published>2022-01-01T13:25:30Z</published>
<link rel='alternate' type='text/html' href='http://g.freya.cat/misskey/commit/?id=57d994db0cc827cecb369e09e1f44e611c6adae8'/>
<id>urn:sha1:57d994db0cc827cecb369e09e1f44e611c6adae8</id>
<content type='text'>
This reverts commit aedbab17cc400ae7ac17498463504f40646e8673.
</content>
</entry>
</feed>
