Commit graph

153 commits

Author SHA1 Message Date
coord_e
aa55acedc9
Fix not to reject non-image file uploads (#6664)
* fix not to reject non-image file uploads

* handle an error from sharp
2020-08-22 04:25:25 +09:00
MeiMei
48e8ee440b
WebPのアニメーションが失われるのを修正 Fix #6625 (#6649) 2020-08-18 22:48:52 +09:00
MeiMei
ccda2181c1
GCSに大きいファイルがアップロードできないのを修正 Fix #6254 (#6648) 2020-08-14 00:54:33 +09:00
MeiMei
ee0a445590
Option objectStorageSetPublicRead (#6645) 2020-08-13 20:05:01 +09:00
syuilo
3f71b14637 feat: Blurhash integration
Resolve #6559
2020-07-19 00:24:07 +09:00
DW
f6cfa5cbb4
Fix CASCADE-related problems (#6374)
* Fix renotes remaining on remote when CASCADE is invoked

* Fix CASCADE-invoked deletion not being federated to relays

Co-authored-by: DW <chocological00@gitlab.com>
2020-05-17 00:49:46 +09:00
MeiMei
36b9a0d42f
プロキシの除外ホスト (#6244)
* プロキシの除外ホスト

* オブジェクトストレージとの通信にProxyを使うかを選択できるように

* fix lint

* コメント

Co-authored-by: rinsuki <428rinsuki+git@gmail.com>
2020-04-12 20:32:34 +09:00
MeiMei
00e1dbfdfb
Fix typo (#6238) 2020-04-11 19:49:25 +09:00
MeiMei
d3c0f3c251
Use node-fetch instead of request (#6228)
* requestをnode-fetchになど

* format

* fix error

* t

* Fix test
2020-04-09 23:42:23 +09:00
MeiMei
a2d3d22b6e
オブジェクトストレージでS3のvirtual-host形式のサポートなど (#6148)
* オブジェクトストレージでS3のvirtual-host形式のサポートなど

* 表記揺れ

* more simply

* S3ならばs3ForcePathStyleしない
2020-03-14 11:33:19 +09:00
MeiMei
439563c5d6
サムネイルをJPEGで生成するように (#5941) 2020-02-14 11:40:45 +09:00
DW
f40dcbfe13
Fix for CASCADE DELETE not being federated (#5812)
* Fix for CASCADE DELETE not being federated

* Use JOIN to get user

* fix typo
2020-02-13 23:08:33 +09:00
fuyu
6f115c6d81
")"が抜けていたので追加 (#5802) 2020-02-01 17:02:46 +09:00
syuilo
c44e8e6bf1 Emoji copy 2020-01-30 06:06:50 +09:00
MeiMei
9703ba5340
ファイルと画像認識処理の改善 (#5690)
* dimensions制限とリファクタ

* comment

* 不要な変更削除

* use fromFile など

* Add probe-image-size.d.ts

* えーCRLFで作るなよ…

* Update src/@types/probe-image-size.d.ts

Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* fix d.ts

* Update src/@types/probe-image-size.d.ts

Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* Update src/@types/probe-image-size.d.ts

Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* fix

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2020-01-12 16:40:58 +09:00
tamaina
e37840d870 ドライブ関連の修正 (#5673)
* ✌️

* Update add-file.ts

* fix
2020-01-04 07:20:41 +09:00
MeiMei
78ef0a9929 ドライブファイルURL生成などの修正 (#5671)
* Fix: リモートプロキシ時にサムネイルのContent-Typeがおかしい

* fix drive
2020-01-02 02:45:05 +09:00
MeiMei
b0bb5d8dfc
期限切れ/未保存リモートファイルのローカルプロキシ (#5655)
* Media Proxy を実装

* サンプルを追加

* https://github.com/syuilo/misskey/pull/5649#discussion_r359967471 の修正

* https://github.com/syuilo/misskey/pull/5649#discussion_r359967966 の修正

* https://github.com/syuilo/misskey/pull/5649#discussion_r359968219 の修正

* 期限切れ/未保存リモートファイルのローカルプロキシ

* 設定

* 説明

* comment out

* fix

Co-authored-by: 和風ドレッシング <37681609+CookieRamen@users.noreply.github.com>
2019-12-31 17:23:47 +09:00
syuilo
2f8992f98a Fix bug 2019-11-05 22:11:47 +09:00
Satsuki Yanagi
59493a0cd9 uuid() と lint (#5288)
* Import only v4 uuid, uuid() without version is deprecated

* Add Missing semicolon
2019-08-18 12:42:58 +09:00
MeiMei
6cdbb27169 Fix: ドライブアップロード直後に取得できるURLがoriginalじゃない (#5274) 2019-08-17 12:32:52 +09:00
MeiMei
db01fa0eef Enable s3ForcePathStyle (#5234) 2019-07-31 18:11:11 +09:00
MeiMei
14736620ec HTTPリクエストのKeep-AliveとPrxoy対応など (#5226)
* DriveのKeep-Alive, Proxy と APのProxy対応

* request系でKeep-Aliveするように

* fix lookup-dns-cache.d.ts

* remove debug output
2019-07-28 09:49:02 +09:00
rinsuki
7ac13a386c Improve GenerateVideoThumbnail (#5186)
* Improve GenerateVideoThumbnail

* use fluent-ffmpeg

* Update src/services/drive/generate-video-thumbnail.ts
2019-07-20 03:28:14 +09:00
syuilo
ec1f2a285b Resolve #5116 2019-07-08 16:03:17 +09:00
MeiMei
26f2ae093b APNGでもMIME typeはimage/pngにするように (#5100)
* APNGでもMIME typeはimage/pngにするように

* Revert "APNGでもMIME typeはimage/pngにするように"

This reverts commit e579eb2bf44f526cabfa9bd4adc6b4fa84727e3b.

* APNGはファイル送信時のみimage/pngにするように
2019-07-05 17:44:23 +09:00
syuilo
ead5a6a258 APNG support 2019-07-04 14:45:28 +09:00
syuilo
5e7a4e4752 Fix MIME 2019-07-03 23:43:09 +09:00
syuilo
03e999875a
リモートファイルの削除が重い問題を修正 2019-07-01 21:12:14 +09:00
syuilo
e9dc54c4d9
サムネイル生成でエラーになってもファイルのアップロードを失敗しないように
#5050
2019-06-13 22:59:15 +09:00
syuilo
72fb23f4d5
Improve drive management 2019-05-27 16:54:47 +09:00
syuilo
62cbb92154
Fix #4930 2019-05-16 12:59:09 +09:00
syuilo
3f5b96bf62
Resolve #4928 2019-05-16 01:07:32 +09:00
syuilo
3d8bbedf1b
GIFのサムネイルが生成されないのを修正
#4728
2019-05-15 21:27:20 +09:00
syuilo
55e6cae240
Fix #4834 2019-05-03 09:16:31 +09:00
syuilo
aff56469ed
Fix bug 2019-05-02 17:15:14 +09:00
syuilo
5aa5896b22
Cache meta 2019-04-24 08:11:19 +09:00
syuilo
5eec896615
Better avgColor 2019-04-17 17:13:49 +09:00
syuilo
0ede390fef
Refactor 2019-04-17 14:32:59 +09:00
syuilo
f38ab0b973
Update delete-file.ts 2019-04-17 02:37:37 +09:00
syuilo
bcb1a9c5d3
Refactor 2019-04-17 02:19:49 +09:00
syuilo
e265b538cc
Fix #4724 2019-04-17 02:11:22 +09:00
syuilo
168c22fc98
Fix bug 2019-04-15 23:00:39 +09:00
Acid Chicken (硫酸鶏)
f90b6dbed4
Follow lint 2019-04-15 19:05:35 +09:00
syuilo
694ec7ebe1
Fix bug 2019-04-14 11:50:31 +09:00
syuilo
e3b3f8fac1
Better error handling 2019-04-14 04:17:24 +09:00
syuilo
987168b863
strictNullChecks (#4666)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip
2019-04-13 01:43:22 +09:00
syuilo
626cfb61ac
テーブル分割 2019-04-10 15:04:27 +09:00
syuilo
ea06665c51
isRemote --> isLink 2019-04-09 23:07:08 +09:00
syuilo
ee7ef89dfb
Fix bug 2019-04-09 01:31:48 +09:00