summaryrefslogtreecommitdiff
path: root/packages/backend/src/queue/processors/db (follow)
Commit message (Collapse)AuthorAgeFilesLines
* なんかもうめっちゃ変えたsyuilo2022-09-1814-1164/+0
|
* chore: fix lint errors (#8981)yzhe8192022-07-101-1/+1
|
* fix: add missing importJohann1502022-05-291-1/+1
| | | | fix #8756
* refactor: temporary files (#8713)Johann1502022-05-257-273/+251
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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`
* refactor: migrate to typeorm 3.0 (#8443)syuilo2022-03-2613-49/+54
| | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * Update following.ts * wip * wip * wip * Update resolve-user.ts * maxQueryExecutionTime * wip * wip
* feat: 時限ミュートsyuilo2022-03-041-1/+2
| | | | #7677
* refactor: Use ESM (#8358)syuilo2022-02-2714-122/+122
| | | | | | | | | | | | | | | * wip * wip * fix * clean up * Update tsconfig.json * Update activitypub.ts * wip
* refacator: fix typwsyuilo2022-02-194-5/+5
|
* refactorsyuilo2022-02-041-1/+3
|
* refactor: use date-fnssyuilo2022-02-046-12/+12
|
* ESMは使えないsyuilo2022-02-036-6/+6
|
* refactorsyuilo2022-02-031-3/+2
|
* update depssyuilo2022-02-036-6/+6
|
* refactor, enhance: ドライブ引数のオブジェクト化, ↵MeiMei2022-01-237-7/+7
| | | | | | | | | | | 追加時のcomment指定 (#8180) * refactor: ドライブの引数をオブジェクト化する Resolve #8177 * Resolve #8181 * fix * archivePath
* enhance: convert svg to png of custom emojissyuilo2022-01-212-3/+4
|
* feat(server): add more metadata for emoji exportsyuilo2022-01-211-1/+2
|
* refactor(server): use named exportsyuilo2022-01-207-7/+7
|
* feat: emojis importsyuilo2022-01-133-4/+94
|
* refactor(server): use insert instead of savesyuilo2022-01-031-2/+2
|
* fix(server): ↵syuilo2021-12-291-1/+2
| | | | エクスポートした絵文字の拡張子がfalseになることがあるのを修正
* Update export-custom-emojis.tssyuilo2021-12-121-2/+2
|
* refactorsyuilo2021-12-122-64/+37
|
* feat: カスタム絵文字エクスポートsyuilo2021-12-103-1/+135
|
* feat: improve follow exportsyuilo2021-12-101-15/+16
|
* fix lintsyuilo2021-12-0910-34/+34
|
* viaMobileフラグ廃止syuilo2021-11-121-1/+0
| | | | Close #7965
* refactorsyuilo2021-11-121-6/+6
|
* refactoringsyuilo2021-11-1212-0/+979
Resolve #7779