Commit graph

592 commits

Author SHA1 Message Date
Acid Chicken (硫酸鶏)
50cd6a036e Implement /api/v1/instance (#3045)
* Update mastodon.ts

* Update types.ts

* Update mastodon.ts
2018-10-31 02:17:54 +09:00
MeiMei
441ab2b5f8 Fix: can't recognize rebirthed instance user (#3046)
* resync uri from WebFinger

* trigger resync on user page

* allways update on resync

* Revert "trigger resync on user page"

This reverts commit 8ff139fb49ee61ad55e4b42c562f8a2c3f8098ac.

* background resync
2018-10-31 02:16:13 +09:00
syuilo
0d86eef3d7
Format 2018-10-29 21:38:09 +09:00
syuilo
108dcb3e61
物理削除系の処理を削除
これらの処理はパフォーマンス的に現実的でないし、すべてのモデルの関係を把握している必要があり保守が困難
論理削除でなんとかする
2018-10-29 21:06:23 +09:00
MeiMei
d64dc45899 User blocking (Following part) (#3035)
* block wip

* UndoBlock

* UnBlock

* wip

* follow

* UI

* fix
2018-10-29 20:32:42 +09:00
syuilo
83d168ece3
Fix API definition 2018-10-29 19:04:58 +09:00
syuilo
ae44fe7818
Refactor 2018-10-29 15:09:03 +09:00
syuilo
f8981b3acb
Update src/server/api/endpoints/notes/reactions.ts 2018-10-29 15:07:50 +09:00
syuilo
e74c0df6c6
Fix #3034 2018-10-29 10:52:36 +09:00
syuilo
ad7258fe9c
Fix bug 2018-10-26 15:06:27 +09:00
syuilo
02b47f963c
API: Better error response 2018-10-26 14:38:34 +09:00
syuilo
5b1cd3bd3c
Fix bug 2018-10-26 08:36:50 +09:00
syuilo
380f5a972c
Implement featured note API 2018-10-25 07:04:15 +09:00
syuilo
fd652b70d6
Fix: Remove unused import 2018-10-25 05:33:40 +09:00
syuilo
9f981d875a
Implement drive/folders/delete 2018-10-24 18:37:58 +09:00
syuilo
6dcc3800e0
Improve some API definitions 2018-10-24 18:32:19 +09:00
syuilo
038bd100b2
Implement federation chart API 2018-10-24 06:34:04 +09:00
MeiMei
daa22d68fa Make max allowed text length configurable (#2992)
* Make max allowed text length configurable

* Fix canPost
2018-10-24 04:00:04 +09:00
syuilo
19af2d7a7b
Implement #2983 2018-10-23 07:04:00 +09:00
syuilo
8ba87443ca
Use camelCase instead of snake_case 2018-10-23 07:01:43 +09:00
syuilo
162ace2fd6
Improve some API definitions 2018-10-23 06:59:52 +09:00
syuilo
7c7f32d9a6
Refactoring 2018-10-23 05:36:35 +09:00
syuilo
1af4f94338
Implement #2961 2018-10-22 22:00:54 +09:00
syuilo
13bad106cc
Implement some chart APIs 2018-10-22 17:37:55 +09:00
syuilo
3bebf82501
Implement #2980 2018-10-22 17:36:36 +09:00
syuilo
e2a79abbe0
Doc: Better parameter description 2018-10-22 17:06:53 +09:00
syuilo
3aece449e4
Improve API definitions 2018-10-22 05:16:27 +09:00
syuilo
6b0d48423d
Refactor 2018-10-21 15:08:07 +09:00
syuilo
1bf8cbeb29
Clean up 2018-10-21 14:15:02 +09:00
syuilo
969b6dbcad
Resolve #2963 2018-10-21 09:20:11 +09:00
syuilo
ba0e57396d
Refactoring 2018-10-21 07:10:35 +09:00
syuilo
c4e8cabae9
ファイル作成APIにforceオプションを実装 2018-10-20 15:50:13 +09:00
Dr. Gutfuck LLC
1729d05e8c Localized mark all as read message (#2956)
* Localized read-all message

* Fixed some weirdness:   src/client/app/init.ts

* Unfucked server api stuff (sorry lol):   src/server/api/endpoints/i/read_all_unread_notes.ts

* Clean up
2018-10-20 15:46:01 +09:00
syuilo
71c9964e19
Fix bug and clean up 2018-10-20 11:19:27 +09:00
syuilo
13f381710c
Validate param 2018-10-20 09:31:52 +09:00
syuilo
8533663b26
✌️ 2018-10-19 09:20:11 +09:00
syuilo
fb5f6fdc10
未読の投稿をすべて既読にできるように 2018-10-19 06:36:59 +09:00
syuilo
d2e0faa533
Disable secure cookie 2018-10-17 05:54:31 +09:00
syuilo
9427a756c9
Update mongodb 2018-10-16 11:38:09 +09:00
syuilo
0162eaf826 Update signin.ts 2018-10-16 10:33:05 +09:00
MeiMei
072492c29b Implement /api/v1/instance/peers (#2913)
* Implement /api/v1/instance/peers

* Use punycode

* Remove Cache-Control

* Rename
2018-10-16 08:55:55 +09:00
syuilo
99da4f9839
Add some tests and some fixes 2018-10-16 08:54:36 +09:00
syuilo
80daf7c749
Implement API tests 2018-10-16 06:37:21 +09:00
Hakaba Hitoyo
be82d845a4 expose user recommendation config in /api/meta (#2902) 2018-10-14 16:54:09 +09:00
syuilo
3961fd08c9
Fix #2901 2018-10-14 10:06:10 +09:00
syuilo
65e5cfa68e
Resolve #2853 2018-10-13 20:11:00 +09:00
syuilo
3aef5e6748
Better id 2018-10-13 19:16:47 +09:00
syuilo
2b536a7443
connectedイベントはpongパラメータがtrueの時だけ発行するように 2018-10-13 19:14:05 +09:00
syuilo
2b0a919fb5
Resolve #2894 2018-10-13 13:13:15 +09:00
MeiMei
168c773ba0 Fix user recommendation query (last activity) (#2892) 2018-10-12 13:48:26 +09:00
MeiMei
1a689f6641 削除された投稿はタイムライン上で表示しないようにする (#2887)
* Excepts deleted notes on query

* Hide deleted notes

* Use v-show
2018-10-12 05:10:40 +09:00
syuilo
e94c73efe2
Fix 2018-10-11 23:07:20 +09:00
syuilo
e85f9f4aa5
共有可能チャンネルに接続しようとしていて、かつそのチャンネルに既に接続していたら無意味なので無視するように 2018-10-11 23:01:57 +09:00
syuilo
6559197c55
Clean up 2018-10-11 18:10:41 +09:00
syuilo
05f9ad11bb
Redisがインストールされているときはイベントの共有にRedisのpub/subを使うように 2018-10-11 18:09:41 +09:00
syuilo
1117ce4b54
Redisをオプションにしたり 2018-10-11 15:50:27 +09:00
syuilo
9e4b061ed0 Fix bug 2018-10-11 05:26:51 +09:00
syuilo
1067bef7d6 Fix bug 2018-10-11 05:26:09 +09:00
syuilo
4b08677839
✌️ 2018-10-11 02:48:19 +09:00
syuilo
fb1e05c2e9
ストリーミングAPIでチャンネルに接続したときにconnectedメッセージを返すように 2018-10-10 03:28:11 +09:00
syuilo
aba84612a7
Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2018-10-10 03:24:18 +09:00
syuilo
9bebbf4e03
Add alias 2018-10-10 03:24:09 +09:00
mei23
890dc05022 lint fix 2018-10-10 02:08:26 +09:00
mei23
375f86ec82 Fix users recommendation query 2018-10-10 02:04:16 +09:00
mei23
913385b10d / に main stream も流す 2018-10-09 03:29:11 +09:00
syuilo
c6110dd996
Fix bug
Closes #2855
2018-10-09 01:50:49 +09:00
syuilo
3eafe8b87d
Better api definition 2018-10-09 01:01:48 +09:00
syuilo
1329721440
Merge pull request #2828 from hakaba-hitoyo/feature/external-user-recommendation
External user recommendation
2018-10-08 18:31:00 +09:00
syuilo
6affb4fe97
Merge pull request #2851 from mei23/mei-1008-fix-apshow2
ap/showが返ってこないことがあるのを修正
2018-10-08 17:33:46 +09:00
mei23
15395686aa ap/showが返ってこないことがあるのを修正 2018-10-08 16:01:38 +09:00
syuilo
65e46b5cec
oops 2018-10-08 09:02:11 +09:00
syuilo
e00b5f11cb
互換性を追加 2018-10-08 08:58:12 +09:00
syuilo
39bdfb6e0d
Improve usability 2018-10-08 02:10:46 +09:00
syuilo
1003fd393e
Fix bug 2018-10-08 01:56:36 +09:00
syuilo
305915611e
Fix bug 2018-10-08 00:58:10 +09:00
MeiMei
b9f5fca333 ActivityPubオブジェクト採番API (#2832)
* Show ActivityPub object API

* Add missing return
2018-10-07 20:20:55 +09:00
syuilo
e05acb8d18
後方互換性を追加 2018-10-07 17:19:52 +09:00
syuilo
10af684804
Improve readability a little 2018-10-07 17:06:28 +09:00
sei0o inoue
3e897727ca Fix #2773 (#2841)
* Added an API endpoint to check the existence of the file

* fix #2773: Now we can prevent users from posting the same images

* bug fix
2018-10-07 16:51:46 +09:00
syuilo
d0570d7fe3
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
MeiMei
0b98a2364b Fix お知らせが確認中...のままになる(Announcement Fetching...) (#2831) 2018-10-06 20:36:11 +09:00
Hakaba Hitoyo
2b7782ba03 replace var by const 2018-10-06 17:38:57 +09:00
Hakaba Hitoyo
96d961ee80 better readable code 2018-10-06 17:23:32 +09:00
Hakaba Hitoyo
9f064d76d9 better readable code 2018-10-06 17:21:27 +09:00
Hakaba Hitoyo
2e39106c4b better config handling 2018-10-06 17:19:41 +09:00
Hakaba Hitoyo
04650464f3 debug 2018-10-06 16:34:52 +09:00
Hakaba Hitoyo
7019ddbfc7 external user recommendation 2018-10-06 16:03:18 +09:00
syuilo
baf9b65801
Improve error handling of packaging functions 2018-10-05 01:43:47 +09:00
syuilo
fce7dc0f4e
Improve error handling of pack function of notification 2018-10-04 13:53:48 +09:00
syuilo
e8afa2c940
Improve pack function of favorite 2018-10-04 13:33:59 +09:00
syuilo
baad11288a
ドキュメントが見つからなくてもエラーにせずnullを返すように 2018-10-04 00:39:11 +09:00
MeiMei
ed6450244d Feature flags feature (#2803) 2018-10-03 12:39:03 +09:00
MeiMei
c09a2a37fe リモートのピン留め投稿取得対応 (#2798)
* Fetch featured

* Handle featured change

* Fix typo
2018-10-02 16:27:36 +09:00
syuilo
afdacf14b7
Add excludeNsfw option 2018-09-25 21:09:38 +09:00
syuilo
59d67d3140
ピン留めを解除することができるようにしたり 2018-09-24 16:26:12 +09:00
syuilo
49e82adc6c
mentionsを読み込むときも既読にするように 2018-09-23 16:05:46 +09:00
syuilo
ecc235c545
Fix bug 2018-09-21 16:43:46 +09:00
syuilo
d058ecc4ea
Resolve #2698 2018-09-20 17:21:16 +09:00
syuilo
faf29b768f
Make admin can delete any note 2018-09-19 17:29:03 +09:00
syuilo
d9f0e158a3
Implement #2736 2018-09-19 14:18:34 +09:00
syuilo
429bf179dc
Refactor: Better type annotations 2018-09-18 13:14:17 +09:00
MeiMei
11496d887e Publish pinned notes (#2731) 2018-09-18 13:08:27 +09:00
syuilo
1f2ebce8ed
Resolve #1302 2018-09-18 06:29:47 +09:00
syuilo
ab83e08bc7
メッセージタイムラインを追加 2018-09-18 02:14:12 +09:00
syuilo
44f6fe6f1f
Refactor: Extract shouldMuteThisNote function 2018-09-17 23:07:15 +09:00
syuilo
67ec10e86d
Add untilId param 2018-09-17 11:43:53 +09:00
syuilo
7d599a68ea
pong 2018-09-17 09:07:46 +09:00
syuilo
109738ccb9
ハッシュタグタイムラインを実装 2018-09-17 09:00:20 +09:00
syuilo
32afe77a26
自分宛ての投稿をタイムラインで見れるように 2018-09-16 22:48:57 +09:00
syuilo
fc31e44fd2
Fix bug 2018-09-15 05:42:14 +09:00
syuilo
c985fed3e4
Resolve #2328 2018-09-15 05:40:58 +09:00
syuilo
3220d69a69
常にメディアを閲覧注意として投稿するオプションを実装 2018-09-14 20:11:01 +09:00
syuilo
b4a30e2a25
Refactor: remove needless await 2018-09-13 02:07:03 +09:00
syuilo
e1a946ab45
Fix bug 2018-09-13 01:50:21 +09:00
syuilo
046976dffc
Resolve #2691 2018-09-12 02:48:19 +09:00
syuilo
1fea2cdcbe
Fix bug 2018-09-11 20:57:25 +09:00
syuilo
23efaae85e
lint 2018-09-10 03:39:00 +09:00
syuilo
d9a1cd082c
#2623 2018-09-10 02:21:16 +09:00
syuilo
a32071541a
Clean up 2018-09-10 02:20:09 +09:00
syuilo
eb4f625bbd
Fix #2096 2018-09-10 02:09:33 +09:00
syuilo
e32884f07f
Fix #1740 2018-09-10 01:57:19 +09:00
syuilo
1344ffa67d
削除された投稿にリアクションできないように
Closes #1778
2018-09-10 01:55:14 +09:00
syuilo
fd06fd4dc1
Resolve #2560 2018-09-10 01:51:46 +09:00
syuilo
d9fe9cc5df
返すタグの数を制限 2018-09-07 20:23:46 +09:00
syuilo
e0deaec695
Implement new endpoint 2018-09-07 19:23:39 +09:00
syuilo
7343e6e2e8
統計で無視するハッシュタグを設定できるように 2018-09-07 19:20:50 +09:00
Aya Morisawa
00d79487cd Add erase function (#2641) 2018-09-07 00:02:55 +09:00
Aya Morisawa
8e359d54bd if elimination (#2635) 2018-09-06 06:06:22 +09:00
syuilo
ccf8e44acc
Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2018-09-06 04:28:42 +09:00
syuilo
e2c6227f47
Improve local timeline API 2018-09-06 04:28:22 +09:00
Aya Morisawa
395cfa6108 Resolve #2625 (#2627) 2018-09-06 02:16:08 +09:00
syuilo
b5ff2abdb9
互換性のためのコードを追加 & #2623 2018-09-05 23:55:51 +09:00
syuilo
37058e3480 Fix parameter name 2018-09-05 19:35:57 +09:00
syuilo
a1b82e9723 #2620 2018-09-05 19:32:46 +09:00
syuilo
199573ccee #2566 2018-09-04 13:03:16 +09:00
syuilo
dc1d7fa9d7 ローカルタイムラインストリームに認証不要で接続できるように 2018-09-04 12:58:35 +09:00
syuilo
66f3a155e6 なんかもうめっちゃやった 2018-09-03 23:23:50 +09:00
syuilo
13e822cba6 Trim text
Closes #2595
2018-09-02 22:40:27 +09:00
Aya Morisawa
3136c714bf Fix users/list/update API (#2590) 2018-09-02 19:03:00 +09:00
Aya Morisawa
c0ee134f19 Add users/lists/delete API (#2589) 2018-09-02 18:59:42 +09:00
Aya Morisawa
b00060c09c
Clean up 2018-09-02 17:44:49 +09:00
Marihachi
f6217d96d2 add an endpoint users/lists/update (#2585)
* add an endpoint users/lists/update

* add meta params

* fix packing
2018-09-02 11:25:32 +09:00
Aya Morisawa
5e0f5c31e7
Merge branch 'string-interpolation' into develop 2018-09-01 23:30:16 +09:00
Aya Morisawa
b28dd4be52
Use typeof 2018-09-01 23:29:22 +09:00
Aya Morisawa
291beb45fc
Use string interpolation 2018-09-01 23:12:51 +09:00
mei23
57a63d38aa Send Update activity 2018-09-01 20:23:01 +09:00
syuilo
4c6fb60dd2 #2541 2018-09-01 08:13:18 +09:00
syuilo
3038434712 Fix bug 2018-08-30 03:53:26 +09:00
syuilo
117ab633a1 Improve API 2018-08-30 03:49:52 +09:00
syuilo
2de8e8c358 Fix bug 2018-08-29 06:59:43 +09:00
Aya Morisawa
bfed1475bb
Use endsWith for readability 2018-08-26 13:55:39 +09:00
Aya Morisawa
08a59591ae
Use startsWith and endsWith for readability 2018-08-25 22:42:26 +09:00
syuilo
0875460974 ユーザーのアイコンにサムネイルを使うように
Closes #2365
2018-08-25 19:44:47 +09:00
syuilo
ef57f5907b Fix bug 2018-08-25 11:10:27 +09:00
syuilo
7b6e55047f #2460 2018-08-25 08:35:41 +09:00
syuilo
13624ea7c2 バグ修正など 2018-08-24 14:55:58 +09:00
syuilo
b21287262e チャート取得APIを誰でも利用できるようにするなど 2018-08-24 07:23:04 +09:00
syuilo
a11c991f83
Merge pull request #2436 from mei23/mei-0824-api404
/api/ 下の存在しないにURL対しては404を返すようにする
2018-08-24 05:40:30 +09:00
syuilo
4dee7d91b1 Better charts 2018-08-24 05:37:19 +09:00
mei23
839be6477d Return 404 for unknown API 2018-08-24 05:26:26 +09:00
syuilo
efae7a7bce
8.1.0 (#2426)
* Update url-preview.vue

* 一時間ごとのグラフも見れるように

* Merge pull request #2423 from syuilo/develop (#2425)

* 8.1.0
2018-08-23 16:38:12 +09:00
syuilo
71a5662195 一時間ごとのグラフも見れるように 2018-08-23 16:36:23 +09:00
syuilo
8fc1e07136 1時間単位での集計を追加 2018-08-23 15:40:24 +09:00
syuilo
e31a2f7e55 Fix bug: Check following request existance 2018-08-23 14:56:39 +09:00
syuilo
8ba178f795 コントロールパネルから招待制のオンオフを切り替えられるように 2018-08-23 03:19:57 +09:00
syuilo
fe1e60a28c Fix #2334 2018-08-22 09:33:59 +09:00
Tosuke
0b503661af fix login bug(#2384) 2018-08-22 09:26:06 +09:00
syuilo
07ddeae2f1 Clean up 2018-08-22 04:53:02 +09:00
syuilo
75e4c8d74d Better reponse 2018-08-21 23:56:15 +09:00
syuilo
fd947407af Revert "Fix bug?"
This reverts commit 2c9bacfcea.
2018-08-21 01:23:39 +09:00
syuilo
30444e5f1a #2359 など 2018-08-21 01:03:58 +09:00
syuilo
f0d818de24 Fix bug 2018-08-21 00:12:45 +09:00
syuilo
2c9bacfcea Fix bug? 2018-08-20 23:49:00 +09:00
syuilo
bb925e5de3 wip 2018-08-19 21:07:18 +09:00
syuilo
c9de5b65d4 wip 2018-08-19 19:15:29 +09:00
syuilo
bb7b335491 nameId廃止 & アプリ作成時にシークレットを返すように 2018-08-19 18:38:02 +09:00
syuilo
452514f7fe Fix bug 2018-08-19 05:26:34 +09:00
syuilo
f3936a79aa Fix #2335 2018-08-19 04:01:10 +09:00
syuilo
2fc6313380 Fix #2325 2018-08-19 03:36:51 +09:00
syuilo
c2b882a5d7 Improve cpu and memory chart in control panel 2018-08-19 03:32:01 +09:00
syuilo
f59c68022f Fix bug 2018-08-19 00:42:09 +09:00
syuilo
0481de6629 wip 2018-08-19 00:27:23 +09:00
Aya Morisawa
b52d995719 Fix typo 2018-08-18 13:12:29 +09:00
Aya Morisawa
11bb1608cf Resolve #2293 2018-08-18 13:09:15 +09:00
syuilo
31aaf559ac Fix bug 2018-08-18 05:46:57 +09:00
syuilo
160185b108 Fix bug 2018-08-18 05:43:09 +09:00
syuilo
45b55a8c98 Update rate limit setting 2018-08-18 04:21:49 +09:00
syuilo
c35e760fd3 Merge branch 'master' of https://github.com/syuilo/misskey 2018-08-18 03:52:46 +09:00
syuilo
bc34ac82cf Show some charts in control panel 2018-08-18 03:52:24 +09:00
syuilo
9f8d21b2bc
Fix #2298 2018-08-18 03:36:13 +09:00
Aya Morisawa
9f4c6a3aef Resolve #2271 2018-08-17 21:40:08 +09:00
syuilo
2c8f962889 #2214 #2155 2018-08-17 19:17:23 +09:00
syuilo
d5379e2b36 autoWatchをデフォルトでfalseに 2018-08-17 00:04:07 +09:00
syuilo
58f3c6aab7 Merge branch 'master' of https://github.com/syuilo/misskey 2018-08-16 23:59:25 +09:00
syuilo
22e79675ad #2263 2018-08-16 23:59:22 +09:00
syuilo
e5c350d740
Fix bug 2018-08-16 23:33:11 +09:00
Aya Morisawa
c53cb94250 Resolve #2215 2018-08-15 06:50:49 +09:00
syuilo
9021bb5694 wip 2018-08-14 01:05:58 +09:00
Tosuke
fda1ab3e05 Create apps without authentication(#2025) 2018-08-13 12:30:32 +09:00
syuilo
be68f42220 Implement messaging/messages/read 2018-08-11 21:01:39 +09:00