summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/DriveService.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* recalculate size&hash after web-optimising videosdakkar2025-07-021-2/+5
|
* throw S3 errors to prevent silent failuresHazelnoot2025-06-131-25/+19
|
* don't print massive HTTP errors in drive serviceHazelnoot2025-06-061-4/+1
|
* reduce log spam from DriveServiceHazelnoot2025-06-061-15/+16
|
* reduce, clarify, and normalize more error messagesHazelnoot2025-06-061-4/+5
|
* Add error handling for video optimization in DriveServicePrivateGER2025-05-291-1/+5
|
* Add web optimization for video files during processingPrivateGER2025-05-291-0/+4
|
* add `logging.verbose` option to enable debug logging in production. (same ↵Hazelnoot2025-05-081-1/+4
| | | | function as `MK_VERBOSE` environment variable)
* merge: Merge upstream 2025.4.1 (!955)Hazelnoot2025-05-071-4/+17
|\ | | | | | | | | | | | | | | View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/955 Closes #638, #1037, #734, and #766 Approved-by: dakkar <dakkar@thenautilus.net> Approved-by: Marie <github@yuugi.dev>
| * enforce maxFileSize for remote usersHazelnoot2025-05-021-1/+6
| |
| * Merge branch 'misskey-develop' into merge/2025-03-24Hazelnoot2025-04-291-0/+7
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # .github/workflows/api-misskey-js.yml # .github/workflows/changelog-check.yml # .github/workflows/check-misskey-js-autogen.yml # .github/workflows/get-api-diff.yml # .github/workflows/lint.yml # .github/workflows/locale.yml # .github/workflows/on-release-created.yml # .github/workflows/storybook.yml # .github/workflows/test-backend.yml # .github/workflows/test-federation.yml # .github/workflows/test-frontend.yml # .github/workflows/test-misskey-js.yml # .github/workflows/test-production.yml # .github/workflows/validate-api-json.yml # package.json # packages/backend/package.json # packages/backend/src/server/api/ApiCallService.ts # packages/backend/src/server/api/endpoints/drive/files/create.ts # packages/frontend-shared/js/url.ts # packages/frontend/package.json # packages/frontend/src/components/MkFileCaptionEditWindow.vue # packages/frontend/src/components/MkInfo.vue # packages/frontend/src/components/MkLink.vue # packages/frontend/src/components/MkNote.vue # packages/frontend/src/components/MkNotes.vue # packages/frontend/src/components/MkPageWindow.vue # packages/frontend/src/components/MkReactionsViewer.vue # packages/frontend/src/components/MkTimeline.vue # packages/frontend/src/components/MkUrlPreview.vue # packages/frontend/src/components/MkUserPopup.vue # packages/frontend/src/components/global/MkPageHeader.vue # packages/frontend/src/components/global/MkUrl.vue # packages/frontend/src/components/global/PageWithHeader.vue # packages/frontend/src/pages/about-misskey.vue # packages/frontend/src/pages/announcements.vue # packages/frontend/src/pages/antenna-timeline.vue # packages/frontend/src/pages/channel.vue # packages/frontend/src/pages/instance-info.vue # packages/frontend/src/pages/note.vue # packages/frontend/src/pages/page.vue # packages/frontend/src/pages/role.vue # packages/frontend/src/pages/tag.vue # packages/frontend/src/pages/timeline.vue # packages/frontend/src/pages/user-list-timeline.vue # packages/frontend/src/pages/user/followers.vue # packages/frontend/src/pages/user/following.vue # packages/frontend/src/pages/user/home.vue # packages/frontend/src/pages/user/index.vue # packages/frontend/src/ui/deck.vue # packages/misskey-js/generator/package.json # pnpm-lock.yaml # scripts/changelog-checker/package-lock.json # scripts/changelog-checker/package.json
| | * feat: ↵syuilo2025-04-271-0/+7
| | | | | | | | | | | | アップロード可能な最大ファイルサイズをロールごとに設定可能に
| * | merge upstreamHazelnoot2025-03-251-3/+4
| |\|
| | * fix(backend): ↵Esurio/1673beta2025-02-111-3/+4
| | | | | | | | | | | | オブジェクトストレージの設定でPrefixを設定していなかった場合、nullが文字列として展開・ドメインの1つ後ろに'/'が挿入されないように (#15432)
* | | upd: add logger, check hostname, add catchMarie2025-05-061-1/+5
| | |
* | | upd: create usingBunnyCDNMarie2025-03-281-2/+2
| | |
* | | upd flip checkMarie2025-03-281-6/+6
| | |
* | | upd: remove old checkMarie2025-03-281-2/+2
| | |
* | | upd: check if endpoint includes bunnycdn.comMarie2025-03-281-2/+2
| | |
* | | add: bunnycdn storage supportMarie2025-03-281-16/+25
|/ /
* | add IdentifiableError.isRetryable to ensure that Identifiable Errors can ↵Hazelnoot2025-02-031-1/+1
| | | | | | | | still terminate a batch process
* | only attach file extension for browser-safe file typesHazelnoot2024-12-191-4/+18
| |
* | add file extension to locally-stored mediaHazelnoot2024-12-191-9/+14
| |
* | merge: Optimizations to InternalStorageService (resolves #753) (!694)dakkar2024-10-201-16/+24
|\ \ | | | | | | | | | | | | | | | | | | | | | View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/694 Closes #753 Approved-by: dakkar <dakkar@thenautilus.net> Approved-by: Marie <github@yuugi.dev>
| * | ensure that "thumbnail stored" / "web stored" messages only appear after successHazelnoot2024-10-201-2/+8
| | |
| * | use async IO for InternalStorageServiceHazelnoot2024-10-201-15/+17
| | |
* | | fix: default sensitive not letting users unmark filesMarie2024-10-201-1/+1
|/ /
* | Merge remote-tracking branch 'misskey/master' into feature/2024.9.0dakkar2024-10-091-24/+18
|\|
| * refactor/perf(backend): provide metadata statically (#14601)syuilo2024-09-221-33/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * Update ReactionService.ts * Update ApiCallService.ts * Update timeline.ts * Update GlobalModule.ts * Update GlobalModule.ts * Update NoteEntityService.ts * wip * wip * wip * Update ApPersonService.ts * wip * Update GlobalModule.ts * Update mock-resolver.ts * Update RoleService.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * clean up * Update utils.ts * Update UtilityService.ts * Revert "Update utils.ts" This reverts commit a27d4be764b78c1b5a9eac685e261fee49331d89. * Revert "Update UtilityService.ts" This reverts commit e5fd9e004c482cf099252201c0c1aa888e001430. * vuwa- * Revert "vuwa-" This reverts commit 0c3bd12472b4b9938cdff2d6f131e6800bc3724c. * Update entry.ts * Update entry.ts * Update entry.ts * Update entry.ts * Update jest.setup.ts
* | Merge remote-tracking branch 'misskey/master' into feature/misskey-2024.07dakkar2024-08-021-3/+6
|\|
| * feat: media silence (#13842)anatawa122024-07-301-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: media silence * fix: lint * feat: deny creating custom emoji reaction and using custom emoji from media silenced hosts * chore: メディアサイレンスの説明にカスタム絵文字の話を追加 * Update locales/ja-JP.yml Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> * chore: update index.d.ts * docs(changelog): update changelog --------- Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
| * fix(backend): use insertOne insteadof insert/findOneOrFail combination (#13908)Acid Chicken2024-06-011-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix(backend): use insertOne insteadof insert/findOneOrFail combination * fix: typo * fix(backend): inherit mainAlias? * refactor(backend): use extend * fix(backend): invalid entityTarget * fix(backend): fake where * chore: debug * chore: debug * test: log * fix(backend): column names * fix(backend): remove dummy from * revert: log * fix(backend): position * fix(backend): automatic aliasing * chore(backend): alias * chore(backend): remove from * fix(backend): type * fix(backend): avoid pure name * test(backend): fix type * chore(backend): use cte * fix(backend): avoid useless alias * fix(backend): fix typo * fix(backend): __disambiguation__ * fix(backend): quote * chore(backend): t * chore(backend): accessible * chore(backend): concrete returning * fix(backend): quote * chore: log more * chore: log metadata * chore(backend): use raw * fix(backend): returning column name * fix(backend): transform * build(backend): wanna logging * build(backend): transform empty * build(backend): build alias * build(backend): restore name * chore: return entity * fix: test case * test(backend): 204 * chore(backend): log sql * chore(backend): assert user joined * fix(backend): typo * chore(backend): log long sql * chore(backend): log join * chore(backend): log join depth null * chore(backend): joinAttributes * chore(backend): override createJoinExpression * chore: join log * fix(backend): escape * test(backend): log log * chore(backend): join gonna success? * chore(backend): relations * chore(backend): undefined * chore(backend): target * chore(backend): remove log * chore(backend): log chart update * chore(backend): log columns * chore(backend): check hasMetadata * chore(backend): unshift id when not included * chore(backend): missing select * chore(backend): remove debug code
* | Merge remote-tracking branch 'misskey/release/2024.5.0' into futuredakkar2024-05-311-4/+10
|\|
| * chore(backend): rename local variable (#13904)Kisaragi2024-05-291-7/+7
| | | | | | much -> matched
| * もともとセンシティブではないと連合されていたファイ ↵anatawa122024-05-271-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | がセンシティブとして連合された場合にセンシティブとしてそのファイルを扱うように (#13879) * feat(backend): mark an file as sensitive if the file was newly federated as sensitive * docs(changelog): もともとセンシティブではないと連合されていたファイルがセンシティブとして連合された場合にセンシティブとしてそのファイルを扱うように * fix: change way to update federated image * Update packages/backend/src/core/DriveService.ts Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> * update isSensitive of existing record object --------- Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
* | minimal fixes, thanks testsdakkar2024-05-311-2/+2
| |
* | set the correct "marked an NSFW" when loading admin-userdakkar2024-05-301-1/+2
| |
* | merge: upstreamMarie2024-02-191-1/+1
|\|
| * (re) update SPDX-FileCopyrightTexttamaina2024-02-131-1/+1
| | | | | | | | Fix #13290
| * Revert "update SPDX-FileCopyrightText"tamaina2024-02-131-1/+1
| | | | | | | | This reverts commit 9b5aeb76d8c9372d67058c512597152b6bf222f2.
| * update SPDX-FileCopyrightTextsyuilo2024-02-121-1/+1
| |
* | merge: upstreamMarie2024-01-091-2/+2
|\|
| * fix(backend): ↵zyoshoka2024-01-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | `drive/files/update`におけるファイル名のバリデーションが機能していない問題を修正 (#12923) * fix(backend): `drive/files/update`におけるファイル名のバリデーションが機能していない問題を修正 * Update CHANGELOG.md * refactor: `!== undefined` -> `!= null` * add test
| * chore: use summaly, browser-image-resizer, and sharp-read-bmp on ↵tamaina2023-12-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | registry.npmjs.org instead of git (#12856) * chore: use @misskey-dev/summaly on registry.npmjs.org instead of git * fix backend dependency * fic backend dependency * @misskey-dev/sharp-read-bmp * fix * use @misskey-dev/browser-image-resizer
* | upd: remove more traces of sensitiveMediaDetectionShittyKopper2023-11-051-26/+1
| | | | | | | | | | kept the api endpoint props just to stay compatible with clients that expect them to be there. they are unused and won't get saved
* | merge: upstream performance changes & instance silencingMar0xy2023-10-161-2/+1
|\|
| * perf(backend): createdAtをidから取得するように & ↵syuilo2023-10-161-2/+1
| | | | | | | | 無駄なDateインスタンスの生成を避けるように
* | add: profile backgroundsMar0xy2023-10-061-0/+4
|/
* enhance: improve moderation logsyuilo2023-09-251-0/+8
|
* Update DriveService.tssyuilo2023-09-241-1/+1
|