Commit Graph

156 Commits

Author SHA1 Message Date
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
syuilo fab0cc51b3
Fix 2019-04-08 19:56:42 +09:00
syuilo cad49892d3
Fix avgColor format 2019-04-07 22:57:30 +09:00
syuilo f0a29721c9
Use PostgreSQL instead of MongoDB (#4572)
* wip

* Update note.ts

* Update timeline.ts

* Update core.ts

* wip

* Update generate-visibility-query.ts

* wip

* wip

* wip

* wip

* wip

* Update global-timeline.ts

* wip

* wip

* wip

* Update vote.ts

* wip

* wip

* Update create.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update files.ts

* wip

* wip

* Update CONTRIBUTING.md

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update read-notification.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update cancel.ts

* wip

* wip

* wip

* Update show.ts

* wip

* wip

* Update gen-id.ts

* Update create.ts

* Update id.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Docker: Update files about Docker (#4599)

* Docker: Use cache if files used by `yarn install` was not updated

This patch reduces the number of times to installing node_modules.
For example, `yarn install` step will be skipped when only ".config/default.yml" is updated.

* Docker: Migrate MongoDB to Postgresql

Misskey uses Postgresql as a database instead of Mongodb since version 11.

* Docker: Uncomment about data persistence

This patch will save a lot of databases.

* wip

* wip

* wip

* Update activitypub.ts

* wip

* wip

* wip

* Update logs.ts

* wip

* Update drive-file.ts

* Update register.ts

* wip

* wip

* Update mentions.ts

* wip

* wip

* wip

* Update recommendation.ts

* wip

* Update index.ts

* wip

* Update recommendation.ts

* Doc: Update docker.ja.md and docker.en.md (#1) (#4608)

Update how to set up misskey.

* wip

* ✌️

* wip

* Update note.ts

* Update postgre.ts

* wip

* wip

* wip

* wip

* Update add-file.ts

* wip

* wip

* wip

* Clean up

* Update logs.ts

* wip

* 🍕

* wip

* Ad notes

* wip

* Update api-visibility.ts

* Update note.ts

* Update add-file.ts

* tests

* tests

* Update postgre.ts

* Update utils.ts

* wip

* wip

* Refactor

* wip

* Refactor

* wip

* wip

* Update show-users.ts

* Update update-instance.ts

* wip

* Update feed.ts

* Update outbox.ts

* Update outbox.ts

* Update user.ts

* wip

* Update list.ts

* Update update-hashtag.ts

* wip

* Update update-hashtag.ts

* Refactor

* Update update.ts

* wip

* wip

* ✌️

* clean up

* docs

* Update push.ts

* wip

* Update api.ts

* wip

* ✌️

* Update make-pagination-query.ts

* ✌️

* Delete hashtags.ts

* Update instances.ts

* Update instances.ts

* Update create.ts

* Update search.ts

* Update reversi-game.ts

* Update signup.ts

* Update user.ts

* id

* Update example.yml

* 🎨

* objectid

* fix

* reversi

* reversi

* Fix bug of chart engine

* Add test of chart engine

* Improve test

* Better testing

* Improve chart engine

* Refactor

* Add test of chart engine

* Refactor

* Add chart test

* Fix bug

* コミットし忘れ

* Refactoring

* ✌️

* Add tests

* Add test

* Extarct note tests

* Refactor

* 存在しないユーザーにメンションできなくなっていた問題を修正

* Fix bug

* Update update-meta.ts

* Fix bug

* Update mention.vue

* Fix bug

* Update meta.ts

* Update CONTRIBUTING.md

* Fix bug

* Fix bug

* Fix bug

* Clean up

* Clean up

* Update notification.ts

* Clean up

* Add mute tests

* Add test

* Refactor

* Add test

* Fix test

* Refactor

* Refactor

* Add tests

* Update utils.ts

* Update utils.ts

* Fix test

* Update package.json

* Update update.ts

* Update manifest.ts

* Fix bug

* Fix bug

* Add test

* 🎨

* Update endpoint permissions

* Updaye permisison

* Update person.ts

#4299

* データベースと同期しないように

* Fix bug

* Fix bug

* Update reversi-game.ts

* Use a feature of Node v11.7.0 to extract a public key (#4644)

* wip

* wip

* ✌️

* Refactoring

#1540

* test

* test

* test

* test

* test

* test

* test

* Fix bug

* Fix test

* 🍣

* wip

* #4471

* Add test for #4335

* Refactor

* Fix test

* Add tests

* 🕓

* Fix bug

* Add test

* Add test

* rename

* Fix bug
2019-04-07 21:50:36 +09:00
MeiMei 7bebea087c Fix #4546 (#4548)
* Refactor download

* emoji type
2019-03-21 04:50:44 +09:00
MeiMei c2eec272e6 Content-Disposition in ObjectStrage (#4524)
* Content-Disposition in ObjectStrage

* encode filename
2019-03-18 15:23:45 +09:00
Acid Chicken (硫酸鶏) 4068d220e5
Follow #3676 2019-03-14 22:17:26 +09:00
MeiMei c6cdfa2f5a Ignore 4xx references in AP (#4463)
* Ignore 4xx references

* remove unnecessary comment
2019-03-10 22:27:25 +09:00
syuilo d1aea7596c
Fix import 2019-03-07 23:14:01 +09:00
MeiMei 94f2c20d35 Fix #4413 (#4417) 2019-03-05 07:56:23 +09:00
MeiMei d4ff19f013 Fix SVG detection (#4401)
* Fix SVG detection

* remove unnecessary import
2019-03-03 08:48:02 +09:00
syuilo 60c30ece10
Better logs 2019-03-03 08:00:39 +09:00
syuilo d50624f0a0
Better logs 2019-03-03 07:47:58 +09:00
syuilo 977af0a24d
ログをデータベースに保存して管理画面で見れるように 2019-03-02 18:51:59 +09:00
syuilo 9b79a411e0
Use camelCase 2019-02-24 12:53:22 +09:00
syuilo 56275bcfcb
Introduce per-instance chart (#4183)
* Introduce per-instance chart

* Implement chart view in client

* Handle note deleting

* More chart srcs

* Add drive stats

* Improve drive stats

* Fix bug

* Add icon
2019-02-08 16:58:57 +09:00
syuilo aba85b977d
Refactoring: Move chart dir into services dir 2019-02-08 04:31:33 +09:00
syuilo 5448c22031
Revert 96bc17aa10 2019-02-07 21:02:33 +09:00
Aya Morisawa 96bc17aa10 Check config on load (#4170)
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
2019-02-06 22:44:55 +09:00
syuilo 8129d4dc23
Refactoring 2019-02-05 14:14:23 +09:00
MeiMei f014b7ae0e アニメーションを自動再生しないオプション (#4131)
* Refactor

* settings

* Media Proxy

* Replace API response
2019-02-05 03:01:36 +09:00
Acid Chicken (硫酸鶏) 68ee9a008e Resolve #4121 (#4122)
* Resolve #4121

* Update tslint.json
2019-02-04 18:27:45 +09:00
syuilo efe2a6be14
Better logging 2019-02-03 17:09:16 +09:00
syuilo 75558add17
Better logging 2019-02-03 16:45:13 +09:00
syuilo 238c6a428b
[Server] Use logger for logging 2019-02-03 04:18:27 +09:00
MeiMei 84931003ea Fix video thumbnails (#4095)
* Fix video thumbnails

* Fix import
2019-02-02 23:30:34 +09:00
MeiMei 3040700005 Generate video thumbnails (#4084)
* Generate video thumbnails

* import order
2019-02-02 13:22:09 +09:00
Aya Morisawa 250933fff3
Add missing semicolon 2019-01-28 17:49:20 +09:00
syuilo 875d793512
常にメディアを閲覧注意として投稿するオプションが機能してなかった問題を修正 2019-01-20 18:20:25 +09:00
Acid Chicken (硫酸鶏) 018837db0b Support SVG (#3883)
* Update add-file.ts

* Update package.json

* Revert "Update add-file.ts"

This reverts commit ba0fe83b54.

* Update add-file.ts

* Update package.json

* Update add-file.ts

* Update add-file.ts

* Create image.svg

* Update api.ts
2019-01-13 18:21:10 +09:00
MeiMei 9ee9cf8d81 Fix URL after deleting remote file (#3597)
* Fix URL after deleting remote file

* expired only

* delete space
2018-12-12 11:46:35 +09:00
MeiMei bcb04924ff Image for web publish (#3402)
* Image for Web

* Add comment

* Make main to original
2018-11-26 04:25:48 +09:00
MeiMei 644bc985e7 Fix some image processing (#3313)
* Improve thunmbnail generation

* Respect orientation in Firefox
2018-11-19 09:17:16 +09:00
syuilo a8d05cba5a
Fix #3149 2018-11-07 19:43:21 +09:00
syuilo 665fa7f2aa
[API] Improve drive/files/upload_from_url 2018-11-07 12:12:43 +09:00
MeiMei 5f59b980a7 Fix: download file (#3138)
* Fix: url download

* not explicitly close on end

* resolve on stream finish

* remove unnecessary code

* reject on file error
2018-11-06 07:53:03 +09:00
syuilo 2a5c19cd01
リモートのファイルをキャッシュするかどうかの設定をDBに保存するように 2018-11-06 07:52:13 +09:00
syuilo 8f714b5b12
ドライブ容量の設定をDBに保存するようにしたりリファクタリングしたり 2018-11-06 07:14:43 +09:00
syuilo 8ba87443ca
Use camelCase instead of snake_case 2018-10-23 07:01:43 +09:00
syuilo 7c7f32d9a6
Refactoring 2018-10-23 05:36:35 +09:00
MeiMei 2f8cc36d4b Complement file extension from MIME (#2979) 2018-10-23 04:37:37 +09:00
syuilo 99aa588ae7
Implement per user drive stats 2018-10-22 04:44:10 +09:00
MeiMei 72754ede4e Fix several file processings (#2968)
* Ignore image error in person

* Fix hang while processing empty file
2018-10-21 18:35:36 +09:00
syuilo 6b0d48423d
Refactor 2018-10-21 15:08:07 +09:00
syuilo 969b6dbcad
Resolve #2963 2018-10-21 09:20:11 +09:00
syuilo ba0e57396d
Refactoring 2018-10-21 07:10:35 +09:00
syuilo 704e217dbb
オブジェクトストレージのURLに拡張子を含めるように 2018-10-16 20:59:36 +09:00
syuilo cfbb6e8092
オブジェクトストレージのURLにファイル名を含めるのを廃止 2018-10-16 20:14:06 +09:00
syuilo 2b0a919fb5
Resolve #2894 2018-10-13 13:13:15 +09:00
syuilo d0570d7fe3
V10 (#2826)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update CHANGELOG.md

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update CHANGELOG.md

* Update CHANGELOG.md

* wip

* Update CHANGELOG.md

* wip

* wip

* wip

* wip
2018-10-07 11:06:17 +09:00
syuilo 3220d69a69
常にメディアを閲覧注意として投稿するオプションを実装 2018-09-14 20:11:01 +09:00
syuilo 5b09209ef9
Fix bug 2018-09-10 21:36:43 +09:00
syuilo 62db650e3c
Revert "Fix bug"
This reverts commit f3ab8199a5.
2018-09-10 21:17:49 +09:00
syuilo f3ab8199a5
Fix bug 2018-09-10 17:40:41 +09:00
MeiMei 769960f29e Encode fetch URI if needed (#2649) 2018-09-07 02:26:31 +09:00
MeiMei 5b039a1bee Add User-Agent header (#2602) 2018-09-04 17:44:21 +09:00
Aya Morisawa 291beb45fc
Use string interpolation 2018-09-01 23:12:51 +09:00
syuilo 4e8033d5a4 Fix bug 2018-08-25 10:28:09 +09:00
syuilo fc180f030f Fix bug 2018-08-24 08:35:01 +09:00
syuilo 335200c31e wip 2018-08-18 23:56:44 +09:00
syuilo 7f9a35d7ac Improve object storage key 2018-08-16 21:23:31 +09:00
syuilo ac15c2e71f Fix bug 2018-08-16 08:11:21 +09:00
syuilo 6183262037 wip 2018-08-16 07:17:04 +09:00
syuilo 1c7a194950 wip 2018-08-16 06:27:35 +09:00
syuilo ab7725ff69 良い感じにした 2018-08-10 14:33:34 +09:00
syuilo 83d9730d93 #2020 2018-07-30 07:20:27 +09:00
syuilo 7e8c5c0c3c Improve readability 2018-07-27 03:21:50 +09:00
syuilo 8dd5051201
Merge pull request #1990 from mei23/mei-osurl
オブジェクトストレージの参照URLを上書きできるようにする
2018-07-27 01:53:42 +09:00
syuilo f7b0fedc9d
Merge pull request #1989 from mei23/mei-oscc
オブジェクトストレージ格納時にCache-Controlを指定する
2018-07-27 01:52:19 +09:00
mei23 8ef38ebab1 Add config.drive.baseUrl 2018-07-26 17:29:05 +09:00
syuilo 0f7fbacb17 Fix bug 2018-07-26 17:10:43 +09:00
mei23 e8783b15b1 Set Cache-Control to object-storage 2018-07-26 16:06:43 +09:00
mei23 308f357c4f Set Content-Type to object-storage 2018-07-26 10:47:12 +09:00
syuilo b3b82e7595 Fix bug nado 2018-07-25 08:01:12 +09:00
syuilo c3b3b9b9a6 #1955 2018-07-25 00:29:18 +09:00
syuilo a048939cf1 wip 2018-07-24 06:21:21 +09:00
syuilo adc3c16ef3 wip 2018-07-24 05:04:43 +09:00
syuilo 5458b10774 wip 2018-07-24 01:58:11 +09:00
syuilo 297a7f541e #1947 2018-07-21 19:17:15 +09:00
syuilo ec2b1ec3f0 #1334 2018-07-20 02:40:37 +09:00
syuilo 0074f8da1b Improve log 2018-07-11 23:59:57 +09:00
syuilo aa4ef6745a Refactorng 2018-07-07 19:19:00 +09:00
syuilo e66d7babc5 yatta 2018-06-18 14:28:43 +09:00
rinsuki daa409cd82 [noImplicitAny: true] src/services/drive 2018-06-17 20:04:19 +09:00
syuilo bd827f946a ドライブのファイルの削除を実装 2018-06-15 09:53:30 +09:00
syuilo 22a1dc0566 Better log 2018-06-08 22:03:14 +09:00
syuilo 79821f00fb Fix bug 2018-05-27 23:19:57 +09:00
syuilo 317c9308cc
Update add-file.ts 2018-05-26 09:57:31 +09:00
syuilo 558b897700 リモートサーバーのファイルをデータベースに保存せず、クライアントで直接表示させられるように 2018-05-25 20:19:14 +09:00
syuilo bd434ed02d Refactor and some fixes 2018-05-25 18:41:49 +09:00
syuilo 1075e3a005 透過画像のレンダリングを改善 2018-05-18 15:31:28 +09:00
syuilo 1641d6bce2 Update add-file.ts 2018-05-14 12:47:33 +09:00
syuilo 219fdecc50 Fix bug 2018-05-13 16:52:47 +09:00
syuilo 414c600356 ファイルのURLを保存するように 2018-05-04 18:32:03 +09:00
syuilo e7dd74a443 ✌️ 2018-05-04 16:37:15 +09:00
syuilo f62603fd9d ドライブのファイルにユーザー情報を非正規化 2018-05-04 15:30:56 +09:00
syuilo 15e4cf1243 サムネイルを予め生成するように 2018-05-03 20:03:14 +09:00
syuilo 0f67a544bd #1414 2018-04-17 19:55:58 +09:00