dakkar
3050dcbef7
set the correct "marked an NSFW" when loading admin-user
2024-05-30 14:22:00 +00:00
Marie
10bfc61670
merge: upstream
2024-02-19 10:47:42 +01:00
tamaina
c1514ce91d
(re) update SPDX-FileCopyrightText
...
Fix #13290
2024-02-13 15:59:27 +00:00
tamaina
311c2172d7
Revert "update SPDX-FileCopyrightText"
...
This reverts commit 9b5aeb76d8
.
2024-02-13 15:50:11 +00:00
syuilo
9b5aeb76d8
update SPDX-FileCopyrightText
2024-02-12 11:37:45 +09:00
Marie
7552cea69a
merge: upstream
2024-01-09 02:57:57 +01:00
zyoshoka
618e2ba1d2
fix(backend): drive/files/update
におけるファイル名のバリデーションが機能していない問題を修正 ( #12923 )
...
* fix(backend): `drive/files/update`におけるファイル名のバリデーションが機能していない問題を修正
* Update CHANGELOG.md
* refactor: `!== undefined` -> `!= null`
* add test
2024-01-08 17:40:37 +09:00
tamaina
2a33981811
chore: use summaly, browser-image-resizer, and sharp-read-bmp on 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
2023-12-31 09:45:35 +09:00
ShittyKopper
36c136cfd2
upd: remove more traces of sensitiveMediaDetection
...
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
2023-11-05 16:28:55 +03:00
Mar0xy
68886b9ab5
merge: upstream performance changes & instance silencing
2023-10-16 23:38:21 +02:00
syuilo
1fa1d31696
perf(backend): createdAtをidから取得するように & 無駄なDateインスタンスの生成を避けるように
2023-10-16 10:45:22 +09:00
Mar0xy
4e64397635
add: profile backgrounds
2023-10-06 02:32:09 +02:00
syuilo
5318532a8d
enhance: improve moderation log
2023-09-25 10:29:12 +09:00
syuilo
fe570fe16b
Update DriveService.ts
2023-09-24 16:45:36 +09:00
syuilo
cf573add27
fix
2023-09-24 16:24:13 +09:00
syuilo
841e6ff901
improve moderation log
2023-09-24 15:40:38 +09:00
syuilo
9e4d3ebe5f
enhance(backend): refine moderation log ( #10939 )
...
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Update DriveService.ts
2023-09-23 18:28:16 +09:00
syuilo
053da10e94
refactor(backend): update directory structure for models
2023-09-20 11:33:36 +09:00
syuilo
6cf466e5d1
update deps ( #11820 )
...
* update deps
* fix
* wip
* wip
* wip
* Update docker-compose.yml.example
* Delete reviewer-lottery.yml
* Update RepositoryModule.ts
* wip
* wip
* clean up
* update deps
* wip
* wip
2023-09-15 14:28:29 +09:00
syuilo
792622aead
refactor: prefix Mi for all entities ( #11719 )
...
* wip
* wip
* wip
* wip
* Update RepositoryModule.ts
* wip
* wip
* wip
* Revert "wip"
This reverts commit c1c13b37d2aaf3c65bc148212da302b0eb7868bf.
2023-08-16 17:51:28 +09:00
woxtu
79966d33b5
Fix typos ( #11450 )
2023-08-05 13:56:33 +09:00
syuilo
2b4c8c9e0f
update deps ( #11409 )
...
* update deps
* Update .eslintrc.js
* Update .eslintrc.js
* lint
* lint
* Update update.ts
* update deps
* Update .eslintrc.js
2023-07-31 19:14:20 +09:00
Shun Sakai
c2370a1be6
chore: 著作権とライセンスについての情報を各ファイルに追加する ( #11348 )
...
* chore: Add the SPDX information to each file
Add copyright and licensing information as defined in version 3.0 of
the REUSE Specification.
* tweak format
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-27 14:31:52 +09:00
woxtu
b392f44b81
refactor(backend): Improve UUID generation ( #11286 )
...
* Replace with `crypto.randomUUID()`
* Remove uuid
2023-07-15 18:39:38 +09:00
nenohi
2d84e04240
ロールにNSFWを強制的につけるオプションを追加 ( #10731 )
...
* ロールにNSFWを強制的につけるオプションを追加
* すでにあるファイルにNSFWが付与できない
* NSFWを付与しようとするとエラーに
* add test
* Update packages/backend/src/core/RoleService.ts
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* spacingで怒られたので
* ロール作成時のプロパティ削除
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-05-05 14:18:06 +09:00
tamaina
168fe0e376
fix(server): Force the extention of exported file ( #10630 )
...
* fix(server): Force the extention of exported file
* update changelog.md
2023-04-14 14:35:38 +09:00
tamaina
93dcd1c98e
fix DriveService.ts
2023-04-13 11:27:05 +00:00
CGsama
2423fb8d38
fix: proper expire remote user drivefile over limits at adding time ( #9426 )
...
* delete remote user drivefile over limits at adding
* refactor
* delete → expire
* speed up by batch find
---------
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-13 18:48:38 +09:00
syuilo
31f3f5f0f0
enhance(backend): リモートサーバーのチャート生成を無効にするオプションを追加
2023-03-24 19:08:08 +09:00
syuilo
6a29b182ee
perf(backend): ドライブのチャートはローカルユーザーのみ生成するように
2023-03-24 18:37:08 +09:00
YS
658901a47f
bump aws-sdk to v3 for s3 ( #10363 )
...
* indent
* aws-sdk v3移行
2023-03-23 13:48:14 +09:00
tamaina
dff0bee748
fix: Do not use avif ( #10301 )
...
* fix: Do not use avif
* fix
* fix
2023-03-12 17:31:52 +09:00
tamaina
88e3d3e8cb
enhance(server): 画像圧縮周り(主にサムネイルの仕様)の変更 ( #10287 )
...
* DriveService, is-mime-image
* static, previewをavifに, アニメーション画像でもthumbnailを生成
* fallback
* animated: true
* fix
* avatarはwebp
* revert ?? file.url
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-03-11 14:11:40 +09:00
Kagami Sascha Rosylight
4094ab58aa
fix(backend/DriveService): gracely skip when getting NoSuchKey error from S3 ( #10292 )
...
* fix(backend/DriveService): gracely skip when getting NoSuchKey error from S3
* Update CHANGELOG.md
* import type
2023-03-11 13:35:51 +09:00
Kagami Sascha Rosylight
3f53cbd8f6
fix(backend/DriveService): convert WebP/AVIF to WebP ( #10239 )
...
* fix(backend/DriveService): convert transparent WebP/AVIF to PNG
* webpにする
その希望が複数ありましたので
* Update packages/backend/src/core/DriveService.ts
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* update test
* webpはwebpublicにできる
---------
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-03-10 09:37:22 +09:00
tamaina
2d551a8598
enhance(server): downloadUrlでContent-Dispositionからファイル名を取得 ( #10150 )
...
* enhance(server): downloadUrlでContent-Dispositionからファイル名を取得
Resolve #10036
Resolve #4750
* untitled
* オブジェクトストレージのContent-Dispositionのファイル名の拡張子をContent-Typeに添ったものにする
* ✌️
* tiff
* fix filename
* add test
* /files/でもContent-Disposition
* comment
* fix test
2023-03-04 16:51:07 +09:00
syuilo
1b21bad202
refactor
2023-02-13 15:50:22 +09:00
tamaina
ee03ab8d2c
enhance(server): videoThumbnailGenerator config ( #9845 )
...
* enhance(server): videoThumbnailGenerator config
* ✌️
* fix
* 相対url
* サムネイルのproxyRemoteFilesは直接プロキシを指定する
* メディアプロキシ
2023-02-12 09:13:47 +09:00
syuilo
81f11d8f86
refactor: rename role.options -> role.policies
2023-01-15 20:52:53 +09:00
syuilo
6458239a7c
remoteDriveCapacityMbをロールに統合
2023-01-13 11:14:07 +09:00
tamaina
978a9bbb3b
perf(backend): Use undici instead of node-fetch and got ( #9459 )
...
* Implement? HttpFetchService
* ✌️
* remove node-fetch
* fix
* refactor
* fix
* gateway timeout
* UndiciFetcherクラスを追加 (仮コミット, ビルドもstartもさせていない)
* fix
* add logger and fix url preview
* fix ip check
* enhance logger and error handling
* fix
* fix
* clean up
* Use custom fetcher for ApRequest / ApResolver
* bypassProxyはproxyBypassHostsに判断を委譲するように
* set maxRedirections (default 3, ApRequest/ApResolver: 0)
* fix comment
* handle error s3 upload
* add debug message
* no return await
* Revert "no return await"
This reverts commit b5b0dc58a342393d260492e3a6f58304372f53b2.
* reduce maxSockets
* apResolverのUndiciFetcherを廃止しapRequestのものを使う、 add ap logger
* Revert "apResolverのUndiciFetcherを廃止しapRequestのものを使う、 add ap logger"
This reverts commit 997243915c8e1f8472da64f607f88c36cb1d5cb4.
* add logger
* fix
* change logger name
* safe
* デフォルトでUser-Agentを設定
2023-01-12 21:03:02 +09:00
syuilo
2470afaa2e
Role ( #9437 )
...
* wip
* Update CHANGELOG.md
* wip
* wip
* wip
* Update create.ts
* wip
* wip
* Update CHANGELOG.md
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Update CHANGELOG.md
* wip
* wip
* Update delete.ts
* Update delete.ts
* wip
* wip
* wip
* Update account-info.vue
* wip
* wip
* Update settings.vue
* Update user-info.vue
* wip
* Update show-file.ts
* Update show-user.ts
* wip
* wip
* Update delete.ts
* wip
* wip
* Update overview.moderators.vue
* Create 1673500412259-Role.js
* wip
* wip
* Update roles.vue
* 色
* Update roles.vue
* integrate silence
* wip
* wip
2023-01-12 21:02:26 +09:00
tamaina
e81c2962a0
enhance: AVIF support ( #9281 )
...
* chore: Make image/avif browsersafe
* server side
* change FileInfoService
* ✌️
* avifはMastodonでは絶望的 see https://github.com/misskey-dev/misskey/issues/9283
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-12-08 14:49:49 +09:00
syuilo
9ce13d487b
chore: fix import position
2022-12-04 17:05:32 +09:00
syuilo
bbb49457f9
refactor: introduce bindThis decorator to bind this automaticaly
2022-12-04 15:03:09 +09:00
syuilo
22ccb0fa71
refactor
2022-12-04 10:16:03 +09:00
syuilo
c8f6bc0dab
fixes
2022-09-24 07:12:11 +09:00
syuilo
01d4d55e78
fix import type
2022-09-21 05:33:11 +09:00
syuilo
567c550120
lint
2022-09-20 05:32:18 +09:00
syuilo
a2eac9fff6
test
2022-09-19 03:11:50 +09:00