Commit Graph

220 Commits

Author SHA1 Message Date
syuilo
07acae21f5 fix(client): Fix theme color 2020-07-12 18:22:13 +09:00
syuilo
6d85f03981 refactor 2020-07-12 18:19:02 +09:00
syuilo
ae496a25b5 chore(deps): Update dependencies 🚀 2020-06-27 23:25:06 +09:00
tamaina
08a2162aa7 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 (硫酸鶏)
8d233fa1cf Add support for hCaptcha 2020-04-28 14:29:33 +09:00
MeiMei
a74358ec03 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
a3e4a3ab5f Revert 2020-04-03 23:35:14 +09:00
tamaina
aa49517740 Pre-render ReDoc
redoc-cliはexpandResponsesは200のみとすると数値と認識されてしまい設定できないため202,204という指定にしています
2020-04-03 17:13:41 +09:00
syuilo
6996f1bb1f テーマインポート機能を実装するなど 2020-03-23 19:06:46 +09:00
syuilo
56fbc889aa 🎨 2020-02-17 06:37:39 +09:00
syuilo
e0ccb1f9b4 Prefetch aicons 2020-02-15 21:56:21 +09:00
syuilo
7e52a73da8 Improve wallpaper feature 2020-02-15 08:29:59 +09:00
syuilo
51eebc8a3d Font size setting 2020-02-15 03:44:40 +09:00
syuilo
8aa6f10cff Fix favicon provide 2020-02-14 23:55:31 +09:00
syuilo
c38521a013 🎨 2020-02-10 21:16:04 +09:00
syuilo
3cd91b460e 🎨 2020-02-10 20:47:02 +09:00
tamaina
d11963ac2b fix typo #5890 2020-02-09 20:53:00 +09:00
tamaina
ea59a84354 Fix cannot update (#5890) 2020-02-09 12:47:50 +09:00
syuilo
669222ff56 Docs 2020-02-07 19:43:37 +09:00
syuilo
87b379f736 wip docs 2020-02-07 19:15:08 +09:00
syuilo
c6d38fe88d Clean up 2020-02-06 23:27:47 +09:00
syuilo
9c46e0aece Update icon 2020-01-31 15:25:38 +09:00
syuilo
e24ca1e51f 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
3be435049f Hide suspended user profile (#5452) 2020-01-02 02:47:20 +09:00
syuilo
d1550cf9e6 Update dependencies 🚀 2019-11-24 17:09:32 +09:00
MeiMei
5577473af5 実行時にpackage.jsonを参照しないように (#5418)
* 実行時にpackage.jsonを参照しないように

* nodeinfo

* move meta.json

* add dummy

* lowercase
2019-11-01 22:34:26 +09:00
syuilo
1025759c9a Update dependencies 🚀 2019-09-27 05:50:34 +09:00
tamaina
56cd637639 PWA Fix (#5432)
* PWA Fix

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

* fix semicolon

* Update base.pug

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

* subページではalternateを表示しないように
2019-09-24 04:08:52 +09:00
MeiMei
50f5743dbd タイトルやアイコンがきちんと設定されないことがあるのを修正 (#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
40dc468a99 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
7d50abc41a Fix: リンクバリデーションリンクが一瞬表示されてしまう (#5216)
* Fix: リンクバリデーションリンクが一瞬表示されてしまう

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

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

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

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

* Fix code style
2019-06-21 15:41:02 +09:00
syuilo
5642935d91 Provide Redis version 2019-06-20 22:55:57 +09:00
syuilo
dffb7746b0 Add psql version to info page 2019-06-20 22:52:35 +09:00
syuilo
9fa2223fa7 Make url preview log warn 2019-06-13 22:35:37 +09:00
MeiMei
3c662e029c Fix meta tags (#4918) 2019-05-14 02:50:23 +09:00
syuilo
184c819777 Fix ogp 2019-04-29 18:15:12 +09:00
syuilo
94d23dfa19 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
41b4c81335 Cache meta 2019-04-24 08:11:19 +09:00
syuilo
0fd33c1172 Refactor 2019-04-17 14:32:59 +09:00
syuilo
4b9c14329c Fix application-name 2019-04-15 21:17:52 +09:00
tamaina
3f17bfbd26 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
8d94a6a8df strictNullChecks (#4666)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip
2019-04-13 01:43:22 +09:00
syuilo
c6c84b6dbf トランザクションを使うようにしたり 2019-04-12 01:52:25 +09:00
syuilo
16965eb4a1 テーブル分割 2019-04-10 15:04:27 +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
syuilo
49d38209a3 Metaに投稿やユーザーのIDを設定するように 2019-04-04 02:22:50 +09:00
MeiMei
e723eacd0a manifest.json にインスタンス名を反映させるように (#4619) 2019-04-01 01:05:49 +09:00
MeiMei
8e683611e2 Resolve #1727 (#4512) 2019-03-16 09:54:40 +09:00
syuilo
a458035a74 🎨 2019-03-15 02:17:10 +09:00
syuilo
16dea09fb6 Faviconを可変にするなど 2019-03-14 16:30:51 +09:00
syuilo
a6564279a0 🌎 A federated blogging platform 🚀 2019-03-11 20:03:02 +09:00
MeiMei
ed6b83ed48 Use proxy instead of weserv for url-preview images (#4466) 2019-03-11 01:03:09 +09:00
Acid Chicken (硫酸鶏)
ed532b51a6 Create robots.txt (#4439)
* Create robots.txt

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

* remove related code
2019-02-24 10:38:00 +09:00
syuilo
c3db1423fd Refator: separate files 2019-02-24 04:08:08 +09:00
syuilo
4e15337a64 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
03ec2be5c1 Restore web max-age to 5 minutes (#4246) 2019-02-14 13:41:28 +09:00
syuilo
b6f7aa7d65 Migrate cafy to 14.0 (#4240) 2019-02-13 16:33:07 +09:00
MeiMei
fbd1770e1c Fix #4152 (#4224)
* Fix #4152

* fix

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

* Update tslint.json
2019-02-04 18:27:45 +09:00
Acid Chicken (硫酸鶏)
c25982a863 Create type definition for '*/const.json' (#4118) 2019-02-04 01:47:12 +09:00
Acid Chicken (硫酸鶏)
97db296887 Create type definition for ./locales (#4117) 2019-02-04 01:46:59 +09:00
syuilo
63f7d791a8 Fallback en-US 2019-02-02 16:16:31 +09:00
Acid Chicken (硫酸鶏)
e68d38012f 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 (硫酸鶏)
6766468687 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
89947d9ba7 Fix types 2019-01-22 21:42:05 +09:00
Acid Chicken (硫酸鶏)
17b4fad249 Update reversi routing (#3937) 2019-01-20 19:10:19 +09:00
syuilo
16e93f277d Add footer 2019-01-17 09:42:21 +09:00
syuilo
7a85e9e246 🎨 2019-01-17 09:19:47 +09:00
syuilo
33812562cd インスタンス情報ページに各種タイムラインの有効/無効を表示 2019-01-16 14:57:01 +09:00
syuilo
bf3d69291e インスタンス情報ページにユーザー数と投稿数を追加 2019-01-16 03:36:25 +09:00
syuilo
edf0fedd34 Provide instance description in info page 2019-01-12 19:30:56 +09:00
syuilo
f5cf4571d4 Implement instance info page 2019-01-12 11:27:23 +09:00
MeiMei
327aae669c Tune AP URL negotiating with Accept (#3824) 2019-01-02 18:07:32 +09:00
Aya Morisawa
8549f0992c Remove trailing whitespaces 2018-12-26 19:58:04 +09:00
Acid Chicken (硫酸鶏)
333dee6591 Fix #3745 (#3746) 2018-12-26 18:32:16 +09:00
Acid Chicken (硫酸鶏)
620db8d83a Feed (#3698)
* wip

* Implement feed

* Update feed.ts

* Update index.ts

* Update feed.ts
2018-12-21 11:54:39 +09:00
Acid Chicken (硫酸鶏)
295f903a1a 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
300cbe6798 OGP向けにインスタンスのバナー画像を提供するように 2018-12-15 23:19:04 +09:00
Aya Morisawa
b954245a4d 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
31ffccf851 Remove unneccesary casts 2018-12-02 19:05:08 +09:00
syuilo
979d01ec0f Update url-preview.ts 2018-11-24 06:41:22 +09:00
syuilo
536ea5d280 Resolve #3376 2018-11-23 08:13:17 +09:00
MeiMei
439a35d332 No cache /notes/:note (#3382) 2018-11-22 23:17:58 +09:00
MeiMei
f58dd6bb8e Explicitly set max-age (#3330) 2018-11-20 05:29:51 +09:00
syuilo
c8e8093346 Fix bug 2018-11-09 22:02:48 +09:00
syuilo
670e13f57d Refactoring of i18n (#3165)
Refactoring of i18n
2018-11-09 03:44:35 +09:00