Commit graph

1237 commits

Author SHA1 Message Date
Satsuki Yanagi
6a53ccf814 ハッシュタグのトレンドの計算を5分単位で丸める (#5107) 2019-07-05 08:43:56 +09:00
Satsuki Yanagi
114523e69e Fix WebAuthn login (#5103) 2019-07-05 07:48:12 +09:00
Satsuki Yanagi
d5caf22d8c Update Emojis immediately (#5106) 2019-07-05 07:45:00 +09:00
syuilo
d3edf03125 Fix errors 2019-07-05 02:00:54 +09:00
syuilo
16b81fff38 Resolve #3431 2019-07-04 21:07:02 +09:00
syuilo
ead5a6a258 APNG support 2019-07-04 14:45:28 +09:00
Mary
fd94b817ab Implement Webauthn 🎉 (#5088)
* Implement Webauthn 🎉

* Share hexifyAB

* Move hr inside template and add AttestationChallenges janitor daemon

* Apply suggestions from code review

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

* Add newline at the end of file

* Fix stray newline in promise chain

* Ignore var in try{}catch(){} block

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

* Add missing comma

* Add missing semicolon

* Support more attestation formats

* add support for more key types and linter pass

* Refactor

* Refactor

* credentialId --> id

* Fix

* Improve readability

* Add indexes

* fixes for credentialId->id

* Avoid changing store state

* Fix syntax error and code style

* Remove unused import

* Refactor of getkey API

* Create 1561706992953-webauthn.ts

* Update ja-JP.yml

* Add type annotations

* Fix code style

* Specify depedency version

* Fix code style

* Fix janitor daemon and login requesting 2FA regardless of status
2019-07-03 20:18:07 +09:00
syuilo
f17e229c1e
Resolve #5072 2019-07-03 03:58:45 +09:00
syuilo
10677b57d4
Update dependencies 🚀 2019-07-02 19:20:34 +09:00
syuilo
03e999875a
リモートファイルの削除が重い問題を修正 2019-07-01 21:12:14 +09:00
MeiMei
0141affe05 Fix: AP object / actor type (#5086)
* attributedToがArrayの場合などに対応

* attachment以外で来るDocument系のObjectに対応

* Renote, Reply 対応

* 表示をいい感じに

* fix type

* revert as const

* Fix Note / Question type

* attributedToのtypeで複合配列を想定する
2019-06-28 18:54:09 +09:00
syuilo
a8379e3bc9
Use as const
#5089
2019-06-28 16:38:48 +09:00
syuilo
952789cc1e
Use as const
#5089
2019-06-27 18:04:09 +09:00
syuilo
f74bc309b1
Fix bug 2019-06-25 01:24:01 +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
4f284e1bc0
Resolve #5063 2019-06-18 16:49:58 +09:00
syuilo
bb52ebdc3e
Provide version of postgresql 2019-06-18 15:56:03 +09:00
syuilo
1a984de8e8
Better error handling 2019-06-18 13:58:59 +09:00
syuilo
2615368b1e
Resolve #365 2019-06-15 00:07:41 +09:00
MeiMei
67dda01fcb image以外はproxyしないように (#5051) 2019-06-14 12:14:23 +09:00
syuilo
fde9fc2891
Make url preview log warn 2019-06-13 22:35:37 +09:00
Acid Chicken (硫酸鶏)
4436852de0 Deny 'private' in note visibility (#5031)
Fixes #5028
2019-06-06 19:45:25 +09:00
syuilo
aff80199e5
Fix bug 2019-05-29 12:22:47 +09:00
syuilo
5dbe1d448b
Improve job queue view 2019-05-27 17:44:51 +09:00
syuilo
72fb23f4d5
Improve drive management 2019-05-27 16:54:47 +09:00
Satsuki Yanagi
7e7f94d685 Enable query result cache for meta / stats / hashtags trend (#4978) 2019-05-25 08:35:16 +09:00
syuilo
dda7b0c80e
Refactor 2019-05-23 23:46:10 +09:00
syuilo
9c8d26affa
Resolve #4967 2019-05-23 14:11:42 +09:00
syuilo
9d75ec799b
Better deninition 2019-05-22 13:00:36 +09:00
syuilo
eed9266ecb
align format 2019-05-22 12:58:53 +09:00
Satsuki Yanagi
1092818203 Add group update / transfer API 2019-05-22 05:06:58 +09:00
syuilo
a78b048720
Improve API doc 2019-05-20 22:01:32 +09:00
syuilo
e7dd5e155d
Fix bugs
Use Not(IsNull())
2019-05-20 21:44:16 +09:00
syuilo
7e642cf700
Fix bug 2019-05-19 23:42:18 +09:00
syuilo
7732aabc1e
Fix bug 2019-05-19 23:29:28 +09:00
syuilo
c3fada264f
Fix #4938 2019-05-19 20:57:05 +09:00
syuilo
01fab09683
Fix #4945 2019-05-19 20:43:33 +09:00
syuilo
e103904a04
Resolve #4941 2019-05-19 20:41:23 +09:00
syuilo
9dbe12135d
Fix bug 2019-05-18 22:54:02 +09:00
syuilo
c7cc3dcdfd
ユーザーグループ
Resolve #3218
2019-05-18 20:36:33 +09:00
syuilo
380749051d
ページにいいねできるように 2019-05-17 19:56:47 +09:00
syuilo
d6ccb1725b
Update API docs 2019-05-17 00:19:23 +09:00
syuilo
3f5b96bf62
Resolve #4928 2019-05-16 01:07:32 +09:00
syuilo
3d8bbedf1b
GIFのサムネイルが生成されないのを修正
#4728
2019-05-15 21:27:20 +09:00
syuilo
23c9f6a6ca
Resolve #4833 2019-05-15 20:41:01 +09:00
syuilo
a6befdd541
Fix bug 2019-05-15 17:05:41 +09:00
syuilo
b779ff08e0
特定のインスタンスのファイルをすべて削除できるように 2019-05-14 21:08:35 +09:00
syuilo
f9f574532e
インスタンスブロックを設定できるように 2019-05-14 20:49:09 +09:00
tamaina
7c03d37caa Add ToSUrl, repositoryUrl, feedbackUrl (#4921)
* Add ToSUrl, repositoryUrl, feedbackUrl

* modify nodeinfo
2019-05-14 02:57:04 +09:00
MeiMei
342e48ed77 Fix meta tags (#4918) 2019-05-14 02:50:23 +09:00
MeiMei
410b9ad6bc Fix: ピン留め投稿の表示順がおかしい (#4906)
* Fix: syuilo#4904

* fix comment
2019-05-12 09:37:00 +09:00
syuilo
8e6da3a0d9
インスタンス運営者がピン留めユーザーを設定できるように
Related #4892
2019-05-10 17:30:28 +09:00
syuilo
748e9f15df
Add notes/unrenote API 2019-05-10 15:53:53 +09:00
syuilo
168de3c316
Resolve #4870 2019-05-09 23:27:34 +09:00
syuilo
70123805e1
Fix #4866 2019-05-07 18:23:12 +09:00
syuilo
1448b11d00
Clean up 2019-05-07 18:20:18 +09:00
Satsuki Yanagi
3dde561fe5 Resolve #4864 (#4865) 2019-05-06 17:28:55 +09:00
Satsuki Yanagi
5fb0a995dd 様々な修正 (#4859)
Typo, Redundant code, Syntax error の修正
2019-05-05 09:27:55 +09:00
Satsuki Yanagi
0e764a2b3e Fix external service authentication (#4846) 2019-05-03 18:38:19 +09:00
Satsuki Yanagi
419cb7fbad Remove unwanted ! character in user token regex (#4830) 2019-05-02 06:24:32 +09:00
syuilo
1903aaf351
Improve API doc
Fix #4825
2019-05-01 04:44:46 +09:00
MeiMei
e6cdf1b995 Fix: mention (あなた宛て) streaming にミュートが効かない (#4823) 2019-04-30 15:53:13 +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
747a0b1791
Update define.ts 2019-04-28 19:56:41 +09:00
syuilo
c05586b53a
Improve performance 2019-04-27 11:17:03 +09:00
syuilo
2b8187f7ab
Fix bug 2019-04-26 00:54:11 +09:00
rinsuki
291e7e7943 おすすめユーザーに自分自身を含まないように (#4803)
Fix #4790
2019-04-26 00:52:58 +09:00
syuilo
535d10f469
Improve API console 2019-04-25 14:40:42 +09:00
syuilo
6721d27e3f
Improve hashtag API 2019-04-25 13:25:10 +09:00
syuilo
da9dd7c423
Improve API definition 2019-04-25 12:56:52 +09:00
syuilo
0db54386cd
Resolve #3119 2019-04-25 07:46:39 +09:00
MeiMei
ee5720df2c Fix #4704 (#4797)
*  Fix #4632

* Fix #4795
2019-04-25 04:07:39 +09:00
syuilo
d73e52ac2a
Create find-by-hash.ts 2019-04-24 14:54:19 +09:00
syuilo
9fac8a611f
Fix response 2019-04-24 14:54:15 +09:00
syuilo
9c774a50f8
Update attached-notes.ts 2019-04-24 14:54:06 +09:00
syuilo
1440c5bc65
Fix bug 2019-04-24 14:39:59 +09:00
syuilo
5aa5896b22
Cache meta 2019-04-24 08:11:19 +09:00
syuilo
4e90fd3a06
メンテナ名を必須でなくす
Close #4753
2019-04-23 22:48:53 +09:00
syuilo
0463c6bb0f
Refactor API (#4770)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update description.ts

* wip
2019-04-23 22:35:26 +09:00
syuilo
f31f986d66
Fix #4768 2019-04-23 02:50:59 +09:00
MeiMei
a78475844a Fix: リモートユーザーの修復処理が自動的に実行されない など for v11 (#4764)
* Fix #4761

* Fix: updatePersonができない
2019-04-21 23:57:44 +09:00
syuilo
fda8cf77ed
Improve warp 2019-04-18 22:00:11 +09:00
syuilo
8b92feac71
Resolve #4732 2019-04-18 21:29:19 +09:00
syuilo
cce768aaac
Fix API definition 2019-04-18 14:58:43 +09:00
syuilo
80b83c0624
間違えた 2019-04-18 14:41:51 +09:00
syuilo
d78a5c0863
Fix #4703 2019-04-18 14:34:47 +09:00
syuilo
0ede390fef
Refactor 2019-04-17 14:32:59 +09:00
syuilo
85959a3b9b
Fix #4721 Fix #4722 2019-04-17 14:30:31 +09:00
syuilo
f9d697128a
Update schemas.ts 2019-04-17 04:32:04 +09:00
MeiMei
b186504718 Metaのアクセスでトランザクションを張るように (#4720)
* admin/instanceでmetaをキャッシュしないように

* Metaのアクセスにトランザクションをかける
2019-04-17 00:45:33 +09:00
syuilo
8fefb3a4c9
Update authenticate.ts 2019-04-16 01:20:28 +09:00
syuilo
bce8c5a315
Refactor 2019-04-16 01:05:21 +09:00
syuilo
df950d2fc5
Clean up 2019-04-15 23:37:35 +09:00
syuilo
df647a415c
Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2019-04-15 23:29:44 +09:00
syuilo
fc66231f8e
Fix #4701 2019-04-15 23:29:26 +09:00
YuzuRyo61
71df3e1566 APIドキュメントの説明とか一部追記 (#4702)
* Define description in generate.ts

* Add description in create.ts
2019-04-15 23:26:20 +09:00
syuilo
792ec23d7a
Use pureimage instead of canvas 2019-04-15 22:58:04 +09:00
syuilo
541f5bc0a6
Fix bug 2019-04-15 21:59:14 +09:00
syuilo
203cc5075e
Fix application-name 2019-04-15 21:17:52 +09:00
syuilo
4d2e98af7b
管理者やモデレーターはレートリミット無効に 2019-04-15 20:52:08 +09:00
syuilo
18bc4a49e8
ランダムにアバターを生成するように 2019-04-15 20:37:21 +09:00
syuilo
d2d991ff34
Fix error 2019-04-15 18:08:57 +09:00
syuilo
190a5e175b
Fix bug 2019-04-15 16:37:54 +09:00
syuilo
df92b41d25
Fix bug 2019-04-15 13:11:17 +09:00
syuilo
075af96338
Fix error 2019-04-15 12:54:42 +09:00
syuilo
64bbc55336
Fix bug 2019-04-15 12:52:02 +09:00
syuilo
772063aade
Refactor 2019-04-15 12:20:48 +09:00
tamaina
94f8a145ec Better permisson Fix #2341 (#4611)
* Better permisson Fix #2341

* add kinds.ts

* test

* fix

* v11

* fix
2019-04-15 12:10:40 +09:00
syuilo
fee0437493
Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2019-04-15 12:03:04 +09:00
syuilo
663b8864c1
Fix bug 2019-04-15 12:03:00 +09:00
rinsuki
ea3e311528 簡易的なパーミッションの後方互換 (#4687) 2019-04-15 03:48:54 +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
2d5158c680
Fix bug 2019-04-14 16:06:04 +09:00
syuilo
c267baafdc
Fix bug 2019-04-14 11:56:37 +09:00
syuilo
e3b3f8fac1
Better error handling 2019-04-14 04:17:24 +09:00
syuilo
2d590df900
Clean up 2019-04-13 20:01:32 +09:00
syuilo
bf472b0c5e
refactor 2019-04-13 19:36:57 +09:00
syuilo
e369031a28
Redis必須に 2019-04-13 19:19:32 +09:00
syuilo
69662e24c3
Fix bug 2019-04-13 17:24:56 +09:00
syuilo
ae16b45c11
Fix bug 2019-04-13 16:54:21 +09:00
syuilo
5fcf5bc635
Fix bug 2019-04-13 15:18:12 +09:00
syuilo
960268fd33
typo 2019-04-13 14:17:50 +09:00
syuilo
8c331da315
Fix bug 2019-04-13 14:11:15 +09:00
syuilo
a51fbd7316
Suppress errors 2019-04-13 04:00:02 +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
3c29027ca3
Clean up 2019-04-12 01:54:28 +09:00
syuilo
2ff3069d23
トランザクションを使うようにしたり 2019-04-12 01:52:25 +09:00
syuilo
ab8c6515b8
Fix error log 2019-04-12 00:33:26 +09:00
MeiMei
2a7e3b9c51 Fix: AP actor Service のサポートが不完全 (v11) (#4662) 2019-04-11 03:09:12 +09:00
syuilo
c28f4ffb3f
Clean up 2019-04-10 20:07:36 +09:00
syuilo
2e3dd2a30a
Fix bug 2019-04-10 18:13:33 +09:00
syuilo
4152e59638
Fix bug 2019-04-10 18:05:39 +09:00
syuilo
626cfb61ac
テーブル分割 2019-04-10 15:04:27 +09:00
syuilo
236d72685d
More puny 2019-04-10 00:59:41 +09:00
syuilo
33a9783ae5
ドメインは常にPunycodeで保存するように 2019-04-09 23:59:32 +09:00
syuilo
4d64fd665e
Update update.ts 2019-04-09 23:40:55 +09:00
syuilo
87d3a06dcd
revert rename 2019-04-08 23:05:41 +09:00
syuilo
735687be21
update token generation 2019-04-08 20:29:52 +09:00
syuilo
6c9d80d4e8
Fix bug 2019-04-08 16:39:02 +09:00
syuilo
142d59be85
Fix bug 2019-04-08 03:35:02 +09:00
syuilo
d9a5e06b5b
Fix bug 2019-04-08 02:27:06 +09:00
syuilo
6a30d32e7d
Fix bug 2019-04-07 23:31:58 +09:00
syuilo
d9780606b3
Refactor 2019-04-07 23:06:07 +09:00
syuilo
fffa32df48
Fix bug 2019-04-07 23:05:57 +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