Commit Graph

156 Commits

Author SHA1 Message Date
syuilo
16965eb4a1 テーブル分割 2019-04-10 15:04:27 +09:00
syuilo
54667224c5 isRemote --> isLink 2019-04-09 23:07:08 +09:00
syuilo
f052760c69 Fix bug 2019-04-09 01:31:48 +09:00
syuilo
64c8a5847f Fix 2019-04-08 19:56:42 +09:00
syuilo
9449b19a6b Fix avgColor format 2019-04-07 22:57:30 +09:00
syuilo
2b8602bd1b 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
e389529bee Fix #4546 (#4548)
* Refactor download

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

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

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

* remove unnecessary import
2019-03-03 08:48:02 +09:00
syuilo
46e1bd421a Better logs 2019-03-03 08:00:39 +09:00
syuilo
a44030bff2 Better logs 2019-03-03 07:47:58 +09:00
syuilo
3d277fe4a0 ログをデータベースに保存して管理画面で見れるように 2019-03-02 18:51:59 +09:00
syuilo
0e5c9df3f5 Use camelCase 2019-02-24 12:53:22 +09:00
syuilo
c54f1928be 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
308bcef08a Refactoring: Move chart dir into services dir 2019-02-08 04:31:33 +09:00
syuilo
c59ca22a81 Revert 96bc17aa1014983d5e6bf8b4c05d898156995a0d 2019-02-07 21:02:33 +09:00
Aya Morisawa
ff80a2c934 Check config on load (#4170)
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
2019-02-06 22:44:55 +09:00
syuilo
758d06249b Refactoring 2019-02-05 14:14:23 +09:00
MeiMei
0a8cff4f3c アニメーションを自動再生しないオプション (#4131)
* Refactor

* settings

* Media Proxy

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

* Update tslint.json
2019-02-04 18:27:45 +09:00
syuilo
074c851a87 Better logging 2019-02-03 17:09:16 +09:00
syuilo
210cf78606 Better logging 2019-02-03 16:45:13 +09:00
syuilo
c304d813e2 [Server] Use logger for logging 2019-02-03 04:18:27 +09:00
MeiMei
fffaa60a6f Fix video thumbnails (#4095)
* Fix video thumbnails

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

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

* Update package.json

* Revert "Update add-file.ts"

This reverts commit ba0fe83b54a44493447208dfb3cc304a60df6fdd.

* 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
62859788e7 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
9a68d4082e Image for web publish (#3402)
* Image for Web

* Add comment

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

* Respect orientation in Firefox
2018-11-19 09:17:16 +09:00
syuilo
64dbcd6d9d Fix #3149 2018-11-07 19:43:21 +09:00
syuilo
40d4efc104 [API] Improve drive/files/upload_from_url 2018-11-07 12:12:43 +09:00
MeiMei
8f6f76ffc1 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
d611a53044 リモートのファイルをキャッシュするかどうかの設定をDBに保存するように 2018-11-06 07:52:13 +09:00
syuilo
84822b0e58 ドライブ容量の設定をDBに保存するようにしたりリファクタリングしたり 2018-11-06 07:14:43 +09:00
syuilo
cd6db1d9f7 Use camelCase instead of snake_case 2018-10-23 07:01:43 +09:00
syuilo
ccb86ea4f9 Refactoring 2018-10-23 05:36:35 +09:00
MeiMei
e433b25bcb Complement file extension from MIME (#2979) 2018-10-23 04:37:37 +09:00
syuilo
4216d28432 Implement per user drive stats 2018-10-22 04:44:10 +09:00
MeiMei
46af0e12b0 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
781ea39177 Refactor 2018-10-21 15:08:07 +09:00
syuilo
4545439d28 Resolve #2963 2018-10-21 09:20:11 +09:00
syuilo
7fdd4d1cdd Refactoring 2018-10-21 07:10:35 +09:00
syuilo
4ab015a8d7 オブジェクトストレージのURLに拡張子を含めるように 2018-10-16 20:59:36 +09:00
syuilo
327c962015 オブジェクトストレージのURLにファイル名を含めるのを廃止 2018-10-16 20:14:06 +09:00
syuilo
f93cb02293 Resolve #2894 2018-10-13 13:13:15 +09:00
syuilo
023f895728 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
a8985df58a 常にメディアを閲覧注意として投稿するオプションを実装 2018-09-14 20:11:01 +09:00
syuilo
03d8928cc1 Fix bug 2018-09-10 21:36:43 +09:00
syuilo
0950ba95cc Revert "Fix bug"
This reverts commit f3ab8199a53543f231cdf7c0678b331896b4a133.
2018-09-10 21:17:49 +09:00
syuilo
2237544b53 Fix bug 2018-09-10 17:40:41 +09:00
MeiMei
a7adb3bfc9 Encode fetch URI if needed (#2649) 2018-09-07 02:26:31 +09:00
MeiMei
a2acfef8a3 Add User-Agent header (#2602) 2018-09-04 17:44:21 +09:00
Aya Morisawa
36e10e2bbf Use string interpolation 2018-09-01 23:12:51 +09:00
syuilo
b8210d42f0 Fix bug 2018-08-25 10:28:09 +09:00
syuilo
9f8dc8d0a0 Fix bug 2018-08-24 08:35:01 +09:00
syuilo
dac45c447b wip 2018-08-18 23:56:44 +09:00
syuilo
8531d6a8f1 Improve object storage key 2018-08-16 21:23:31 +09:00
syuilo
9ab87f62a8 Fix bug 2018-08-16 08:11:21 +09:00
syuilo
43bfabb04b wip 2018-08-16 07:17:04 +09:00
syuilo
96878677f5 wip 2018-08-16 06:27:35 +09:00
syuilo
29e8264907 良い感じにした 2018-08-10 14:33:34 +09:00
syuilo
56db5c0cf9 #2020 2018-07-30 07:20:27 +09:00
syuilo
fc5a88877e Improve readability 2018-07-27 03:21:50 +09:00
syuilo
6738e9df54 Merge pull request #1990 from mei23/mei-osurl
オブジェクトストレージの参照URLを上書きできるようにする
2018-07-27 01:53:42 +09:00
syuilo
e1f4e46c0e Merge pull request #1989 from mei23/mei-oscc
オブジェクトストレージ格納時にCache-Controlを指定する
2018-07-27 01:52:19 +09:00
mei23
8a89498591 Add config.drive.baseUrl 2018-07-26 17:29:05 +09:00
syuilo
beadfad4c9 Fix bug 2018-07-26 17:10:43 +09:00
mei23
36d76beee4 Set Cache-Control to object-storage 2018-07-26 16:06:43 +09:00
mei23
42935360d6 Set Content-Type to object-storage 2018-07-26 10:47:12 +09:00
syuilo
24eccb2dea Fix bug nado 2018-07-25 08:01:12 +09:00
syuilo
7673a55a48 #1955 2018-07-25 00:29:18 +09:00
syuilo
d3ec2ba057 wip 2018-07-24 06:21:21 +09:00
syuilo
e730860f88 wip 2018-07-24 05:04:43 +09:00
syuilo
8f479e5dfd wip 2018-07-24 01:58:11 +09:00
syuilo
792d9233e2 #1947 2018-07-21 19:17:15 +09:00
syuilo
be05309ca4 #1334 2018-07-20 02:40:37 +09:00
syuilo
d23c10f87d Improve log 2018-07-11 23:59:57 +09:00
syuilo
bea7e21a80 Refactorng 2018-07-07 19:19:00 +09:00
syuilo
b094260f3c yatta 2018-06-18 14:28:43 +09:00
rinsuki
6614be75d9 [noImplicitAny: true] src/services/drive 2018-06-17 20:04:19 +09:00
syuilo
d4c71a6c99 ドライブのファイルの削除を実装 2018-06-15 09:53:30 +09:00
syuilo
471d01ef2c Better log 2018-06-08 22:03:14 +09:00
syuilo
bf36640954 Fix bug 2018-05-27 23:19:57 +09:00
syuilo
89f604afdc Update add-file.ts 2018-05-26 09:57:31 +09:00
syuilo
6f441e3bc1 リモートサーバーのファイルをデータベースに保存せず、クライアントで直接表示させられるように 2018-05-25 20:19:14 +09:00
syuilo
053df7f51e Refactor and some fixes 2018-05-25 18:41:49 +09:00
syuilo
3712cb4562 透過画像のレンダリングを改善 2018-05-18 15:31:28 +09:00
syuilo
7f17a44078 Update add-file.ts 2018-05-14 12:47:33 +09:00
syuilo
1d639faf15 Fix bug 2018-05-13 16:52:47 +09:00
syuilo
1260e3bc52 ファイルのURLを保存するように 2018-05-04 18:32:03 +09:00
syuilo
456fe73203 ✌️ 2018-05-04 16:37:15 +09:00
syuilo
b521bcd81c ドライブのファイルにユーザー情報を非正規化 2018-05-04 15:30:56 +09:00
syuilo
b70341cfc8 サムネイルを予め生成するように 2018-05-03 20:03:14 +09:00
syuilo
c8a4e7f3f4 #1414 2018-04-17 19:55:58 +09:00