Commit graph

223 commits

Author SHA1 Message Date
MeiMei 00a17ed5d4
/streamingに非WebSocketリクエストが来るとおかしくなるのを修正 Fix #6718 (#6719) 2020-10-09 14:20:34 +09:00
MeiMei c2d7929391
Expose proxyAccountName (#6670) 2020-08-29 08:56:32 +09:00
syuilo 9855405b89
Channel (#6621)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wop

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* add notes

* wip

* wip

* wip

* wip

* sound

* wip

* add kick_gaba2

* wip
2020-08-18 22:44:21 +09:00
syuilo 35a8c37922 fix(client): Fix theme color 2020-07-12 18:22:13 +09:00
syuilo 6ff84a1061 refactor 2020-07-12 18:19:02 +09:00
syuilo 3599f16d22 chore(deps): Update dependencies 🚀 2020-06-27 23:25:06 +09:00
tamaina 3963ed8ff7
feat(client): 翻訳をIndexedDBに保存・プッシュ通知を翻訳 (#6396)
* wip

* tabun ok

* better msg

* oops

* fix lint

* Update gulpfile.ts

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

* Update src/client/scripts/set-i18n-contexts.ts

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

* refactor

Co-authored-by: acid-chicken <root@acid-chicken.com>

* 

* wip

* fix lint

* たぶんおk

* fix flush

* Translate Notification

* remove console.log

* fix

* add notifications

* remove san

* wip

* ok

* ✌️

* Update src/prelude/array.ts

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

* wip

* i18n refactor

* Update init.ts

* ✌️

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
2020-05-23 13:19:31 +09:00
Acid Chicken (硫酸鶏) 7860839220
Add support for hCaptcha 2020-04-28 14:29:33 +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
syuilo eec1af1f52 Revert 2020-04-03 23:35:14 +09:00
tamaina 795fb0eb60 Pre-render ReDoc
redoc-cliはexpandResponsesは200のみとすると数値と認識されてしまい設定できないため202,204という指定にしています
2020-04-03 17:13:41 +09:00
syuilo dac962580b テーマインポート機能を実装するなど 2020-03-23 19:06:46 +09:00
syuilo 15839a7399 🎨 2020-02-17 06:37:39 +09:00
syuilo 3f28f7451f Prefetch aicons 2020-02-15 21:56:21 +09:00
syuilo 37c80e8ef5 Improve wallpaper feature 2020-02-15 08:29:59 +09:00
syuilo d21d38509c Font size setting 2020-02-15 03:44:40 +09:00
syuilo f1d07dfbed Fix favicon provide 2020-02-14 23:55:31 +09:00
syuilo 940578d062 🎨 2020-02-10 21:16:04 +09:00
syuilo 1d62d2924e 🎨 2020-02-10 20:47:02 +09:00
tamaina 982520bcef fix typo #5890 2020-02-09 20:53:00 +09:00
tamaina cc72f91465 Fix cannot update (#5890) 2020-02-09 12:47:50 +09:00
syuilo fc76f7874e Docs 2020-02-07 19:43:37 +09:00
syuilo ff059d1268 wip docs 2020-02-07 19:15:08 +09:00
syuilo 01e7a01daf Clean up 2020-02-06 23:27:47 +09:00
syuilo 17a04e2676 Update icon 2020-01-31 15:25:38 +09:00
syuilo f6154dc0af
v12 (#5712)
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>
Co-authored-by: Satsuki Yanagi <17376330+u1-liquid@users.noreply.github.com>
2020-01-30 04:37:25 +09:00
MeiMei 541f5f1314 Hide suspended user profile (#5452) 2020-01-02 02:47:20 +09:00
syuilo f7a328d66e Update dependencies 🚀 2019-11-24 17:09:32 +09:00
MeiMei 92af4401e2 実行時にpackage.jsonを参照しないように (#5418)
* 実行時にpackage.jsonを参照しないように

* nodeinfo

* move meta.json

* add dummy

* lowercase
2019-11-01 22:34:26 +09:00
syuilo 42a14508f6 Update dependencies 🚀 2019-09-27 05:50:34 +09:00
tamaina b040ac6373 PWA Fix (#5432)
* PWA Fix

* SWが/api/へのリクエストに関与しないように

* fix semicolon

* Update base.pug

* Update base.pug
2019-09-27 05:12:56 +09:00
MeiMei c19670d611 Resolve #5447 (#5448)
* Resolve syuilo#5447

* subページではalternateを表示しないように
2019-09-24 04:08:52 +09:00
MeiMei ed8b073e54 タイトルやアイコンがきちんと設定されないことがあるのを修正 (#5265)
* Fix: og:site_nameがbase系ページに正しく反映さんれない

* instanceNameはAPIのmetaじゃなくてog:site_nameを参照するように

* Fix: タイトルが変更されるページから通常ページに遷移してもタイトルが戻らない

* Fix: タイトルが戻らない mobile / notifications

* Fix: faviconの変更が効かないページがある
2019-08-16 14:16:19 +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
MeiMei 6516bd2ade Fix: リンクバリデーションリンクが一瞬表示されてしまう (#5216)
* Fix: リンクバリデーションリンクが一瞬表示されてしまう

* use link
2019-07-26 00:17:34 +09:00
MeiMei ef44eda69e Mastodonのリンクの所有者認証に対応 (#5161)
* Profile metadata を設定できるように

* API desc
2019-07-18 00:11:39 +09:00
MeiMei 24e389bcf3 Tune font (#5125) 2019-07-09 17:01:08 +09:00
syuilo 10677b57d4
Update dependencies 🚀 2019-07-02 19:20:34 +09:00
MeiMei 16b03fc157 Improve url-preview (#5077)
* url-previewリクエスト時にハッシュは除く

* ハッシュだけ違うプレビューカードは表示しない

*  url-previewをユーザーロケールで出し分けるように

* Fix code style
2019-06-21 15:41:02 +09:00
syuilo bd83939993
Provide Redis version 2019-06-20 22:55:57 +09:00
syuilo 2c1932faa7
Add psql version to info page 2019-06-20 22:52:35 +09:00
syuilo fde9fc2891
Make url preview log warn 2019-06-13 22:35:37 +09:00
MeiMei 342e48ed77 Fix meta tags (#4918) 2019-05-14 02:50:23 +09:00
syuilo a60d83b101
Fix ogp 2019-04-29 18:15:12 +09:00
syuilo 05b8111c19
Pages (#4811)
* wip

* wip

* wip

* Update page-editor.vue

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update page-editor.variable.core.vue

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update aiscript.ts

* wip

* Update package.json

* wip

* wip

* wip

* wip

* wip

* Update page.vue

* wip

* wip

* wip

* wip

* more info

* wip fn

* wip

* wip

* wip
2019-04-29 09:11:57 +09:00
syuilo 5aa5896b22
Cache meta 2019-04-24 08:11:19 +09:00
syuilo 0ede390fef
Refactor 2019-04-17 14:32:59 +09:00
syuilo 203cc5075e
Fix application-name 2019-04-15 21:17:52 +09:00
tamaina 487a3079cd Improve post form attaches; Fix #4673, Resolve #2327, Resolve #2145 [v11] (#4674)
* improve post form attaches

* Fix

* chain

* 右クリックでも反応するように
2019-04-14 17:12:04 +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 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