Commit graph

223 commits

Author SHA1 Message Date
syuilo 2ff3069d23
トランザクションを使うようにしたり 2019-04-12 01:52:25 +09:00
syuilo 626cfb61ac
テーブル分割 2019-04-10 15:04:27 +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
syuilo 551d1b7f86
Metaに投稿やユーザーのIDを設定するように 2019-04-04 02:22:50 +09:00
MeiMei 3f59ebf986 manifest.json にインスタンス名を反映させるように (#4619) 2019-04-01 01:05:49 +09:00
MeiMei 556e2eba95 Resolve #1727 (#4512) 2019-03-16 09:54:40 +09:00
syuilo f193da7f67
🎨 2019-03-15 02:17:10 +09:00
syuilo 6ceff60c1e
Faviconを可変にするなど 2019-03-14 16:30:51 +09:00
syuilo 8a30ff1c76
🌎 A federated blogging platform 🚀 2019-03-11 20:03:02 +09:00
MeiMei 4d425fc8a4 Use proxy instead of weserv for url-preview images (#4466) 2019-03-11 01:03:09 +09:00
Acid Chicken (硫酸鶏) 1f63f50343
Create robots.txt (#4439)
* Create robots.txt

* Update index.ts
2019-03-07 20:11:04 +09:00
syuilo 977af0a24d
ログをデータベースに保存して管理画面で見れるように 2019-03-02 18:51:59 +09:00
syuilo 4685de88a7
Better log 2019-03-01 14:40:29 +09:00
syuilo cde6514839
Add log 2019-02-28 12:00:57 +09:00
syuilo 9b79a411e0
Use camelCase 2019-02-24 12:53:22 +09:00
MeiMei a6c5e62923 assetsのjs要求時にsaltを付けないように (#4358)
* No assets salt

* remove related code
2019-02-24 10:38:00 +09:00
syuilo 3446969121
Refator: separate files 2019-02-24 04:08:08 +09:00
syuilo 52774bbe64
Introduce OpenAPI specs (#4351)
* wip

* wip

* wip

* Update index.ts

* Update gen-openapi-spec.ts

* Update api.ja-JP.md

* Fix

* Improve doc

* Update gen-openapi-spec.ts

* Update redoc.html

* Improve doc

* Update gen-openapi-spec.ts

* Improve doc

* Update CHANGELOG.md
2019-02-23 11:20:58 +09:00
MeiMei 46f1e8c599 Restore web max-age to 5 minutes (#4246) 2019-02-14 13:41:28 +09:00
syuilo 5aa58da918
Migrate cafy to 14.0 (#4240) 2019-02-13 16:33:07 +09:00
MeiMei 2c1a7f4392 Fix #4152 (#4224)
* Fix #4152

* fix

* remove unused code
2019-02-11 22:37:20 +09:00
MeiMei 62d17c9266 Optimize url-preview image (#4216) 2019-02-10 19:19:26 +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 41ba06a5e6
Fix bug 2019-02-06 22:27:23 +09:00
Acid Chicken (硫酸鶏) 68ee9a008e Resolve #4121 (#4122)
* Resolve #4121

* Update tslint.json
2019-02-04 18:27:45 +09:00
Acid Chicken (硫酸鶏) 99d8d0a484
Create type definition for '*/const.json' (#4118) 2019-02-04 01:47:12 +09:00
Acid Chicken (硫酸鶏) 5891135ac1
Create type definition for ./locales (#4117) 2019-02-04 01:46:59 +09:00
syuilo 2a50997a75
Fallback en-US 2019-02-02 16:16:31 +09:00
Acid Chicken (硫酸鶏) 3b30ad5404
Create type definition for 'nested-property' (#4004)
* Create type definition for 'nested-property'

* Follow lint
2019-02-01 21:08:49 +09:00
Acid Chicken (硫酸鶏) e909eac296
Create type definition for '*/package.json' (#4014)
* Create type definition for '*/package.json'

* Update tsconfig.json
2019-01-31 01:08:43 +09:00
syuilo 8bf9e87117
Fix types 2019-01-22 21:42:05 +09:00
Acid Chicken (硫酸鶏) 81dbf64eb7 Update reversi routing (#3937) 2019-01-20 19:10:19 +09:00
syuilo f1e769e74d
Add footer 2019-01-17 09:42:21 +09:00
syuilo 41784de9be
🎨 2019-01-17 09:19:47 +09:00
syuilo 256c216dfb
インスタンス情報ページに各種タイムラインの有効/無効を表示 2019-01-16 14:57:01 +09:00
syuilo 519c9c4499
インスタンス情報ページにユーザー数と投稿数を追加 2019-01-16 03:36:25 +09:00
syuilo 2debb0c2ca
Provide instance description in info page 2019-01-12 19:30:56 +09:00
syuilo 7ad9560f53
Implement instance info page 2019-01-12 11:27:23 +09:00
MeiMei 41e3a9a004 Tune AP URL negotiating with Accept (#3824) 2019-01-02 18:07:32 +09:00
Aya Morisawa dfc6ef4be6
Remove trailing whitespaces 2018-12-26 19:58:04 +09:00
Acid Chicken (硫酸鶏) 4662641feb Fix #3745 (#3746) 2018-12-26 18:32:16 +09:00
Acid Chicken (硫酸鶏) 1395cf89ce
Feed (#3698)
* wip

* Implement feed

* Update feed.ts

* Update index.ts

* Update feed.ts
2018-12-21 11:54:39 +09:00
Acid Chicken (硫酸鶏) a0839de38f Add 'twitter:creator' meta data in user pages (#3618)
* Update user.pug

* Update user.pug

* Update note.pug

* Update user.pug

* Update note.pug

* Update note.pug
2018-12-16 08:49:38 +09:00
syuilo be1125dcb9
OGP向けにインスタンスのバナー画像を提供するように 2018-12-15 23:19:04 +09:00
Aya Morisawa 125849673a
Use for-of instead of forEach (#3583)
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2018-12-11 20:36:55 +09:00
Aya Morisawa 0b6b6a4f2f
Remove unneccesary casts 2018-12-02 19:05:08 +09:00
syuilo df8128c0b1
Update url-preview.ts 2018-11-24 06:41:22 +09:00
syuilo 0d272b1fb0
Resolve #3376 2018-11-23 08:13:17 +09:00
MeiMei 653ec0cbb0 No cache /notes/:note (#3382) 2018-11-22 23:17:58 +09:00
MeiMei e332e3c248 Explicitly set max-age (#3330) 2018-11-20 05:29:51 +09:00
syuilo 460bb21c1e
Fix bug 2018-11-09 22:02:48 +09:00
syuilo 25a69ec1b6
Refactoring of i18n (#3165)
Refactoring of i18n
2018-11-09 03:44:35 +09:00
syuilo 9f5dc2c0df
[WIP] Use FontAwesome Component for Vue (#3127)
* wip

* Rename

* Clean up

* Clean up

* wip

* wip

* Enable tree shaking

* ✌️

* ✌️

* wip

* wip

* Clean up
2018-11-06 01:40:11 +09:00
syuilo c48cbd95f6
Fix bug 2018-11-02 03:41:09 +09:00
syuilo 931bdc6aac
Refactoring, Clean up and bug fixes 2018-11-02 03:32:24 +09:00
syuilo b480ef669c
Fix doc 2018-10-29 19:11:01 +09:00
MeiMei e95845777a Fix og:image on user page (#2972) 2018-10-22 02:27:45 +09:00
syuilo 2b0a919fb5
Resolve #2894 2018-10-13 13:13:15 +09:00
syuilo ea3bcbbc37
キャッシュの設定を調整 2018-09-19 14:22:46 +09:00
MeiMei 5a13c38a6d インスタンス名がブラウザタイトルに反映されないのを修正 (#2668)
* titleが反映されないのを修正

* deckでtitleが反映されるように修正
2018-09-08 21:44:28 +09:00
MeiMei d70e2a788e Add some meta alternate links (#2657) 2018-09-07 19:22:14 +09:00
Aya Morisawa 09843a409b Fix typo: Wroker -> Worker (#2597) 2018-09-03 18:58:26 +09:00
Aya Morisawa 291beb45fc
Use string interpolation 2018-09-01 23:12:51 +09:00
syuilo c56ff5d88d Add sunnaly proxy option 2018-08-26 01:56:21 +09:00
mei23 5b5de6a89c ベースHTMLは immutableキャッシュしないようにする 2018-08-24 05:41:03 +09:00
MeiMei a8f142096c Cache failed url-preview (apply to proxy/client) (#2154) 2018-08-11 18:04:59 +09:00
syuilo 6b567fdc05 ドキュメントにDisqus設置 2018-07-30 16:24:46 +09:00
Aya Morisawa 427b3dcd73 Fix semantic errors 2018-07-23 13:56:25 +09:00
Aya Morisawa 0109e8e57c Add white spaces 2018-07-18 19:24:31 +09:00
syuilo d2a5f4c5c1 ✌️ 2018-07-18 06:53:31 +09:00
syuilo f88ac3c04e Improve doc 2018-07-17 03:57:34 +09:00
syuilo e8da0bcd80 Improve doc 2018-07-17 01:11:36 +09:00
syuilo 168d13d6e6 Improve docs 2018-07-16 06:19:19 +09:00
syuilo 3a02a7dad8 良い感じに 2018-07-16 03:53:03 +09:00
syuilo 1744316656 良い感じに 2018-07-16 03:43:36 +09:00
syuilo ce6f750fa5 Improve docs 2018-07-15 22:00:05 +09:00
syuilo 468eb02ff3 Set title of a doc 2018-07-15 21:48:57 +09:00
syuilo dfca7f1340 Fix bug 2018-07-15 19:38:06 +09:00
syuilo 7bfa56d199 Fix bug 2018-07-15 19:35:20 +09:00
syuilo c579cbdf10 Fix bug 2018-07-15 19:29:15 +09:00
syuilo be52eb9b3f API doc 2018-07-15 19:05:19 +09:00
syuilo 5f5156561f ドキュメントをMarkdownで書くように 2018-07-15 18:28:08 +09:00
syuilo 57052013bb ✌️ 2018-07-08 03:21:16 +09:00
syuilo a46d230308 oops 2018-07-08 03:13:20 +09:00
syuilo d92044cf6a Refactor 2018-07-07 19:21:54 +09:00
syuilo aa4ef6745a Refactorng 2018-07-07 19:19:00 +09:00
syuilo 2cdcbcc80e ✌️ 2018-07-07 13:34:42 +09:00
syuilo e74c1f2ac6 w 2018-07-06 23:52:47 +09:00
syuilo 118db9b267 wip 2018-07-06 20:27:48 +09:00
syuilo 029b92935c wip 2018-07-06 12:17:38 +09:00
syuilo 9b41023c43 wip 2018-07-06 02:58:29 +09:00
syuilo 5a13964ced Fix bug 2018-06-18 16:34:26 +09:00
syuilo 0f0009e0db Clean up 2018-06-18 15:12:29 +09:00
syuilo 0ca5237139 Send servicewroker script 2018-06-17 16:47:37 +09:00
syuilo cc0b9c6933 oops 2018-05-22 18:19:02 +09:00
syuilo a01607fd97 ✌️ 2018-05-18 12:21:53 +09:00
syuilo 27582319fa Catch error 2018-05-18 12:08:05 +09:00
syuilo d4b696d03a Fix bug 2018-05-13 17:00:34 +09:00
mei23 f40e1ff0cc Fix cause error in case preview has data URI 2018-05-10 01:08:33 +09:00
mei23 d261fdbbc0 Fix can't preview some url 2018-05-09 20:14:34 +09:00
syuilo 650f79d0fd Fix bugs 2018-05-06 02:08:27 +09:00
syuilo c32c3c1370 Fix bug 2018-05-06 01:46:35 +09:00
syuilo 29ad7ab0cf Provide prev and next note link 2018-05-06 01:43:53 +09:00
syuilo 11716fa9d3 Provide og:type 2018-05-06 01:37:32 +09:00
syuilo 440cf139bb メタ情報をレンダリングするように 2018-05-06 01:34:48 +09:00
syuilo ed9e7520f1 Fix bug 2018-05-04 17:59:51 +09:00
syuilo 4cfb360d44 Fix #1529 2018-04-21 19:02:12 +09:00
syuilo 58f124e4fc ✌️ 2018-04-16 15:32:40 +09:00
syuilo fde2782a9e Cache url preview 2018-04-14 01:45:44 +09:00
syuilo f618dedfbc Fix 2018-04-13 12:08:56 +09:00
syuilo b099ad2a30 wip 2018-04-13 12:05:24 +09:00
syuilo 61f21594a9 wip 2018-04-13 07:34:27 +09:00
syuilo 3368fe8552 wip 2018-04-13 06:06:18 +09:00
syuilo 592527cd5f Fix bug 2018-04-09 18:54:03 +09:00
syuilo b98e67bca4 Fix bug 2018-04-07 06:58:39 +09:00
syuilo 648cfa8b8a Clean up 2018-04-03 13:08:21 +09:00
syuilo d68cc702a5 oops 2018-03-29 20:50:45 +09:00
syuilo 7228e6d111 ✌️ 2018-03-29 20:34:39 +09:00
syuilo cf33e483f7 整理した 2018-03-29 20:32:18 +09:00
syuilo 31006fbc25 #1253 2018-03-29 15:23:15 +09:00
syuilo bfc193d8cd Resolve conflicts 2018-03-29 14:48:47 +09:00
Akihiko Odaki 90f8fe7e53 Introduce processor 2018-03-29 01:54:41 +09:00