mirror of yeentown's fork of sharkey
Find a file
Johann150 e27c6abaea
refactor: temporary files (#8713)
* 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`
2022-05-25 16:50:22 +09:00
.config remove HTTPS handling (#8380) 2022-03-08 23:23:18 +09:00
.github feat(dev): highlight editing of wrong locales 2022-05-24 11:14:00 +02:00
.vscode Update extensions.json 2022-05-14 18:50:16 +09:00
assets Improve README (#8645) 2022-05-18 01:12:00 +09:00
chart chore(dev): use .yaml for prevent okteto error 2022-05-15 22:32:50 +09:00
cypress test: e2eテストがCIで失敗していた問題をいくつか修正 (#8642) 2022-05-14 15:16:45 +09:00
docs ドキュメントをmisskey-hubに移管 2021-10-21 23:24:23 +09:00
locales Refactor pleaseLogin to show a sign-in dialog (#8630) 2022-05-19 20:28:08 +09:00
misskey-assets@0179793ec8 藍モード (#7687) 2021-09-04 17:54:24 +09:00
packages refactor: temporary files (#8713) 2022-05-25 16:50:22 +09:00
scripts feat: Improve Push Notification (#7667) 2022-04-30 21:52:07 +09:00
.dockerignore chore: .configをdockerイメージに入れないように (#7625) 2021-09-13 20:07:39 +09:00
.editorconfig Use tabs in json 2017-05-24 20:27:39 +09:00
.gitattributes MisskeyRoom (#5267) 2019-08-18 14:41:33 +09:00
.gitignore refactoring 2021-11-12 02:02:25 +09:00
.gitmodules 藍モード (#7687) 2021-09-04 17:54:24 +09:00
.node-version update node to 18 2022-04-23 12:37:44 +09:00
.npmrc Good bye package-lock 2018-11-04 11:08:46 +09:00
.vsls.json Add .vsls.json 2018-08-13 00:24:45 +09:00
.yarnrc Create .yarnrc 2021-04-17 17:35:44 +09:00
CHANGELOG.md Supports Unicode Emoji 14.0 (#8699) 2022-05-25 16:35:30 +09:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2017-06-17 10:01:05 +09:00
CONTRIBUTING.md chore(dev): tweak text 2022-05-22 14:49:53 +09:00
COPYING Supports Emoji 13.1 (#7539) 2021-05-30 20:52:39 +09:00
crowdin.yml ドキュメントをmisskey-hubに移行 2021-11-05 16:18:52 +09:00
cypress.json fix e2e test 2021-10-28 17:12:57 +09:00
docker-compose.yml feat(dev): okteto integration 2022-05-15 16:39:23 +09:00
Dockerfile Power up (#8684) 2022-05-15 22:22:06 +09:00
gulpfile.js refactor: use Vite to build instead of webpack (#8575) 2022-05-01 22:51:07 +09:00
LICENSE Use AGPLv3 2018-03-28 22:56:28 +09:00
okteto.yml Power up (#8684) 2022-05-15 22:22:06 +09:00
package.json test: Nodeのカスタムローダーを直してテストが動くように (#8625) 2022-05-14 16:10:20 +09:00
Procfile Create Procfile 2019-04-05 18:17:30 +09:00
README.md Update README.md (#8729) 2022-05-24 08:10:00 +02:00
ROADMAP.md Update ROADMAP.md 2022-03-28 13:38:05 +09:00
SECURITY.md Create SECURITY.md 2021-05-24 05:50:45 +09:00
yarn.lock chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 (#8708) 2022-05-21 16:45:42 +09:00

Misskey logo

🌎 Misskey is an open source, decentralized social media platform that's free forever! 🚀


find an instance create an instance become a contributor join the community become a patron

Features

  • ActivityPub support
    Not on Misskey? No problem! Not only can Misskey instances talk to each other, but you can make friends with people on other networks like Mastodon and Pixelfed!
  • Reactions
    You can add emoji reactions to any post! No longer are you bound by a like button, show everyone exactly how you feel with the tap of a button.
  • Drive
    With Misskey's built in drive, you get cloud storage right in your social media, where you can upload any files, make folders, and find media from posts you've made!
  • Rich Web UI
    Misskey has a rich and easy to use Web UI! It is highly customizable, from changing the layout and adding widgets to making custom themes. Furthermore, plugins can be created using AiScript, an original programming language.
  • And much more...

Sponsors

RSS3