Commit Graph

842 Commits

Author SHA1 Message Date
syuilo
4512b6711a Implement email config 2018-11-29 16:23:45 +09:00
syuilo
01697424f9 Mark chart apis as stable 2018-11-29 06:06:07 +09:00
syuilo
3bddab4dd0 Cookieを使わないように 2018-11-28 16:19:02 +09:00
syuilo
c4453e50eb Update signin.ts 2018-11-28 05:27:34 +09:00
MeiMei
b286e5c9ef No caching /api/ (#3411) 2018-11-27 01:16:25 +09:00
MeiMei
56f3fcd76e Return 404 for undefined .well-known (#3404) 2018-11-26 04:49:24 +09:00
MeiMei
9a68d4082e Image for web publish (#3402)
* Image for Web

* Add comment

* Make main to original
2018-11-26 04:25:48 +09:00
syuilo
f4ae8abb44 Fix lint 2018-11-24 17:19:51 +09:00
syuilo
a86be43e07 Resolve #3158 2018-11-24 07:04:29 +09:00
syuilo
979d01ec0f Update url-preview.ts 2018-11-24 06:41:22 +09:00
MeiMei
374fb4eda9 Do not use _replyIds (#3392) 2018-11-23 23:12:28 +09:00
syuilo
85f0a90468 Resolve #3366 2018-11-23 16:39:51 +09:00
syuilo
536ea5d280 Resolve #3376 2018-11-23 08:13:17 +09:00
syuilo
38a9438ef5 Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2018-11-23 08:01:29 +09:00
syuilo
283f792c32 Improve user operations
Resolve #2197
Resolve #3367
2018-11-23 08:01:14 +09:00
nico
f9199d5b64 Fix #3343 (#3383)
Setting "X-Forwarded-Proto: https" in the SSL proxy is the correct way to do this
2018-11-23 02:09:04 +09:00
MeiMei
439a35d332 No cache /notes/:note (#3382) 2018-11-22 23:17:58 +09:00
Aya Morisawa
66f297bdfa Remove unneccesary cast (#3355) 2018-11-22 05:07:25 +09:00
Acid Chicken (硫酸鶏)
863197af59 Fix #3361 (#3362)
* Update create.ts

* Update api.ts
2018-11-22 05:06:51 +09:00
Hakaba Hitoyo
82ab386b83 Feature / user recommendation config in admin ui (#3357)
* add config for external user recommendation into admin ui

* debug

* correct admin ui

* switch external user recommendation to admin ui config

* debug

* debug

* debug

* Revert "debug"

This reverts commit f4a0460e5bde21cd1f39a735f496a2d74233ef3f.

* explicit parseInt radix

* add Japanese message

* change default engine to https

* remove unused settings

* debug

* nullable externalUserRecommendationTimeout
2018-11-21 23:44:59 +09:00
MeiMei
169013034f Fix: ap/show (#3350) 2018-11-20 21:18:14 +09:00
MeiMei
f58dd6bb8e Explicitly set max-age (#3330) 2018-11-20 05:29:51 +09:00
MeiMei
6c7cbb2528 Hide unused login method (#3285) 2018-11-17 02:13:01 +09:00
syuilo
284139d356 Update github-bot.ts 2018-11-16 23:10:48 +09:00
syuilo
af84f87c5e Resolve #3274 2018-11-16 23:09:33 +09:00
syuilo
5a1441357d Update github-bot.ts 2018-11-16 23:02:01 +09:00
syuilo
89bffa9d36 Clean up 2018-11-16 23:01:14 +09:00
syuilo
e80012ceb4 Update github-bot.ts
follow dvelop instead master
2018-11-16 23:00:34 +09:00
MeiMei
d94d32dad9 local only visibility (#3254)
* local only visibility

* fix UI
2018-11-16 05:47:29 +09:00
Acid Chicken (硫酸鶏)
f7b98aaeec WIP: Add Discord auth (#3239)
* Add Discord auth

* Apply review 175263424
2018-11-15 19:15:04 +09:00
syuilo
4892b5b273 [API] Add /instances 2018-11-15 06:21:13 +09:00
syuilo
b666128ddc Moderator system
Closes #2357
2018-11-15 04:15:42 +09:00
MeiMei
e23c93f7e8 Fix: default order of users/notes (#3234) 2018-11-14 20:18:47 +09:00
syuilo
9633a66b27 Update github-bot.ts 2018-11-14 05:33:48 +09:00
MeiMei
a87caff2d5 Fix: notes/create hangs when rejected (#3221) 2018-11-13 19:34:09 +09:00
MeiMei
666f3d68c6 sort user timeline by date (#3210) 2018-11-13 01:17:59 +09:00
syuilo
301fe469ee Improve streaming 2018-11-12 00:31:09 +09:00
syuilo
2d1238c199 [API] Fix #3203 2018-11-11 18:26:09 +09:00
syuilo
b2baaa87e9 Improve streaming API 2018-11-11 02:22:34 +09:00
syuilo
c8e8093346 Fix bug 2018-11-09 22:02:48 +09:00
Aya Morisawa
4c6daa3f46 Use sum function (#3174) 2018-11-09 11:02:23 +09:00
syuilo
380542db8e [API] Fix #3169 2018-11-09 03:52:03 +09:00
syuilo
670e13f57d Refactoring of i18n (#3165)
Refactoring of i18n
2018-11-09 03:44:35 +09:00
syuilo
41400362df Fix bug 2018-11-08 01:42:02 +09:00
syuilo
b17341eefc GitHub / Twitter連携の設定をDBに保存するように 2018-11-07 13:14:52 +09:00
syuilo
59b7512054 Fix 2018-11-07 12:30:56 +09:00
syuilo
c66306d1be インスタンスの対象言語の設定を実装 2018-11-07 12:28:53 +09:00
syuilo
40d4efc104 [API] Improve drive/files/upload_from_url 2018-11-07 12:12:43 +09:00
syuilo
c0ccb86dc0 Fix bug 2018-11-07 12:09:24 +09:00
syuilo
2642bdd9c8 メンテナ情報をDBに保存するように 2018-11-07 01:12:26 +09:00
syuilo
9fdf438018 ghostの設定をDBに保存するように 2018-11-07 00:44:56 +09:00
syuilo
7f57bbfbbd reCAPTCHAの設定をDBに保存するように 2018-11-07 00:08:21 +09:00
syuilo
429fcdb1f1 [API] 文字列での真理値表現に対応
multipart/formdata では文字列しか送れないっぽい?
2018-11-06 20:53:50 +09:00
syuilo
73f2bc4c52 [API] Fix bug 2018-11-06 20:47:56 +09:00
syuilo
0f65a6a077 [API] Implement notes/watching/ 2018-11-06 14:58:20 +09:00
syuilo
d611a53044 リモートのファイルをキャッシュするかどうかの設定をDBに保存するように 2018-11-06 07:52:13 +09:00
syuilo
84822b0e58 ドライブ容量の設定をDBに保存するようにしたりリファクタリングしたり 2018-11-06 07:14:43 +09:00
syuilo
0ace514fd3 Clean up 2018-11-06 06:25:35 +09:00
syuilo
e192c4c330 Resolve #3137 2018-11-06 06:24:31 +09:00
syuilo
260c84f520 Better error code 2018-11-06 01:57:31 +09:00
syuilo
cfa16aca53 [API] Fix bug 2018-11-06 01:51:42 +09:00
syuilo
829ffc60e4 [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
ca1f738d2d oops 2018-11-05 13:46:46 +09:00
syuilo
0d3d7a5867 Refactor 2018-11-05 13:38:50 +09:00
syuilo
ce57bb6675 ✌️ 2018-11-05 11:58:41 +09:00
Acid Chicken (硫酸鶏)
a838c58f69 Make /api/v1/instance and /api/v1/custom_emojis better (#3118)
* Separate commits

From commit dca110ebaa78f64600429f812c238a07d2f1dc1d.

* Re-separate commits

From commit 9719387bee40363f63a837e7ecffacf2a476c334.
2018-11-05 11:57:17 +09:00
syuilo
7d8d8a165b 投稿の最大文字数情報を設定ファイルではなくDBに保存するように 2018-11-05 11:09:05 +09:00
Acid Chicken (硫酸鶏)
22ac7faa74 Implement /api/v1/custom_emojis (#3116) 2018-11-05 10:45:57 +09:00
Acid Chicken (硫酸鶏)
1b8108a0ac Fix #3115 2018-11-05 10:34:53 +09:00
syuilo
f43a9b9fb0 [API] Better validation of admin/emoji/add 2018-11-05 10:33:49 +09:00
syuilo
0820a165a8 [API] Fix bug 2018-11-05 01:42:41 +09:00
syuilo
20fcefb5f4 [API] Fix #3099 2018-11-04 23:13:35 +09:00
syuilo
947b0f55a3 Resolve #3098 2018-11-04 23:00:43 +09:00
Acid Chicken (硫酸鶏)
8cc0afa8d4 Add GitHub auth (#3095) 2018-11-04 22:03:55 +09:00
syuilo
67d8980999 [API] Fix #3097 2018-11-04 21:11:54 +09:00
Acid Chicken (硫酸鶏)
a07fa755e2 Revert "Add GitHub auth"
This reverts commit c1460064769c9d824e60a39356671ccb3a4d1f44.
2018-11-04 19:22:04 +09:00
Acid Chicken (硫酸鶏)
2bb4bc8727 Add GitHub auth 2018-11-04 19:17:30 +09:00
syuilo
2545385986 [API] Improve admin/emoji/add 2018-11-04 18:37:12 +09:00
syuilo
4a780c56fd 絵文字を作成した/更新した時にupdateAtを更新するように 2018-11-04 10:42:16 +09:00
MeiMei
75f94b07c5 Fix: update_client_setting (#3086) 2018-11-04 03:33:37 +09:00
syuilo
2ba95786a1 [API] Implement some Emoji APIs 2018-11-04 03:18:32 +09:00
syuilo
15c9addc6e Improve API documentation 2018-11-03 22:49:36 +09:00
syuilo
5e2a9b51ff Clean up 2018-11-03 22:01:58 +09:00
syuilo
f23b54246c [API] Increase chart limit 2018-11-03 16:43:50 +09:00
syuilo
41bab2746b Improve admin dashboard 2018-11-03 11:38:00 +09:00
syuilo
fdb3395771 Improve stats API 2018-11-03 11:37:44 +09:00
syuilo
eb8d838b53 Update hashtags.ts 2018-11-02 23:46:57 +09:00
syuilo
cf7bce4404 Update src/server/api/endpoints/aggregation/hashtags.ts 2018-11-02 23:32:40 +09:00
syuilo
f2062b9588 Remove needless properties 2018-11-02 23:27:47 +09:00
syuilo
0b2f0d2d74 🍕 2018-11-02 23:23:01 +09:00
syuilo
d97dd83e18 [API] Implement admin/add-emoji 2018-11-02 15:04:02 +09:00
syuilo
da0fb0b784 Clean up 2018-11-02 14:53:55 +09:00
syuilo
27275d11f4 Clean up 2018-11-02 13:49:09 +09:00
syuilo
7bd46825e3 Refactor 2018-11-02 13:47:44 +09:00
syuilo
544107d2a6 Resolve #2623 2018-11-02 12:49:08 +09:00
syuilo
68c4dd923b Update src/server/api/endpoints/meta.ts 2018-11-02 12:16:03 +09:00
MeiMei
a22f657c0f Remote custom emojis (#3074)
* Remote custom emojis

* んほおおおおお
2018-11-02 08:59:40 +09:00
syuilo
e34405ec33 Fix bug 2018-11-02 03:41:09 +09:00
syuilo
3057116df4 Refactoring, Clean up and bug fixes 2018-11-02 03:32:24 +09:00
syuilo
5a6edc5b75 Custom emoji (#3061)
* wip

* wip

* wip
2018-11-01 11:51:49 +09:00
syuilo
1c8c707037 Refactor and use original image for banner 2018-11-01 09:30:51 +09:00
syuilo
57708b53d0 Clean up 2018-11-01 09:19:22 +09:00
syuilo
becbab3af4 Update src/server/api/endpoints/users/relation.ts 2018-11-01 00:11:52 +09:00
syuilo
5296c1e0a3 [API] Implement users/relation 2018-11-01 00:11:21 +09:00
syuilo
5b0fd8c97c Better rate limitting 2018-10-31 23:03:14 +09:00
syuilo
6488a17e60 Refactor 2018-10-31 22:35:02 +09:00
syuilo
278ffa26c0 Fix #3041 2018-10-31 17:56:21 +09:00
syuilo
21e5f637d6 [API] Include detailed user information of blocking API responses 2018-10-31 11:24:36 +09:00
syuilo
e172110685 良い感じに 2018-10-31 11:16:13 +09:00
mei23
9c1f1eef32 blockings list 2018-10-31 04:59:01 +09:00
Acid Chicken (硫酸鶏)
f8f90b09d3 Implement /api/v1/instance (#3045)
* Update mastodon.ts

* Update types.ts

* Update mastodon.ts
2018-10-31 02:17:54 +09:00
MeiMei
9d96058a7f 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
e3dde97e62 Format 2018-10-29 21:38:09 +09:00
syuilo
fcf637138d 物理削除系の処理を削除
これらの処理はパフォーマンス的に現実的でないし、すべてのモデルの関係を把握している必要があり保守が困難
論理削除でなんとかする
2018-10-29 21:06:23 +09:00
MeiMei
26e7e7d0dc User blocking (Following part) (#3035)
* block wip

* UndoBlock

* UnBlock

* wip

* follow

* UI

* fix
2018-10-29 20:32:42 +09:00
syuilo
5e71730377 Fix doc 2018-10-29 19:11:01 +09:00
syuilo
00fb96b306 Fix API definition 2018-10-29 19:04:58 +09:00
syuilo
77cc11d8a0 Refactor 2018-10-29 15:09:03 +09:00
syuilo
f03f03dcc0 Update src/server/api/endpoints/notes/reactions.ts 2018-10-29 15:07:50 +09:00
syuilo
c9e634aad3 Fix #3034 2018-10-29 10:52:36 +09:00
syuilo
98191b5318 Fix bug 2018-10-26 15:06:27 +09:00
syuilo
cd439c770e API: Better error response 2018-10-26 14:38:34 +09:00
syuilo
0f08a5c99a Fix bug 2018-10-26 08:36:50 +09:00
syuilo
8c8ff7d49a Implement featured note API 2018-10-25 07:04:15 +09:00
syuilo
7c18486a1f Fix: Remove unused import 2018-10-25 05:33:40 +09:00
syuilo
18a3c704ca Implement drive/folders/delete 2018-10-24 18:37:58 +09:00
syuilo
7868c08397 Improve some API definitions 2018-10-24 18:32:19 +09:00
syuilo
96a20f5d06 Implement federation chart API 2018-10-24 06:34:04 +09:00
MeiMei
d2a91ad640 Make max allowed text length configurable (#2992)
* Make max allowed text length configurable

* Fix canPost
2018-10-24 04:00:04 +09:00
syuilo
3c0e7119ca Implement #2983 2018-10-23 07:04:00 +09:00
syuilo
cd6db1d9f7 Use camelCase instead of snake_case 2018-10-23 07:01:43 +09:00
syuilo
9bb49a31e6 Improve some API definitions 2018-10-23 06:59:52 +09:00
syuilo
ccb86ea4f9 Refactoring 2018-10-23 05:36:35 +09:00
syuilo
1583e1a3d1 Implement #2961 2018-10-22 22:00:54 +09:00
syuilo
dc89ad5782 Implement some chart APIs 2018-10-22 17:37:55 +09:00
syuilo
229f796f4d Implement #2980 2018-10-22 17:36:36 +09:00
syuilo
d48df375bd Doc: Better parameter description 2018-10-22 17:06:53 +09:00
syuilo
355c6a204a Improve API definitions 2018-10-22 05:16:27 +09:00
MeiMei
2aa354d4be Fix og:image on user page (#2972) 2018-10-22 02:27:45 +09:00
syuilo
781ea39177 Refactor 2018-10-21 15:08:07 +09:00
syuilo
da42d987cf Clean up 2018-10-21 14:15:02 +09:00
syuilo
4545439d28 Resolve #2963 2018-10-21 09:20:11 +09:00
syuilo
7fdd4d1cdd Refactoring 2018-10-21 07:10:35 +09:00
syuilo
99ce7d3e40 ファイル作成APIにforceオプションを実装 2018-10-20 15:50:13 +09:00
Dr. Gutfuck LLC
2b1b5df397 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
4ab40d8c8b Fix bug and clean up 2018-10-20 11:19:27 +09:00
syuilo
adedffa4a8 Validate param 2018-10-20 09:31:52 +09:00
syuilo
4e903102e8 ✌️ 2018-10-19 09:20:11 +09:00
syuilo
776d579065 Refactoring 2018-10-19 09:19:55 +09:00
syuilo
27f107e1ee 未読の投稿をすべて既読にできるように 2018-10-19 06:36:59 +09:00
syuilo
29c8bb1aeb Disable secure cookie 2018-10-17 05:54:31 +09:00
syuilo
2a1b2012d7 Resolve #2923
Allow option to disable sending HSTS headers even if https:// is used in url
2018-10-17 04:15:41 +09:00
syuilo
3b54711a87 Update mongodb 2018-10-16 11:38:09 +09:00
syuilo
4fa61c054a Update signin.ts 2018-10-16 10:33:05 +09:00
MeiMei
18d27dea6c 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
d3dd5d7ae2 Add some tests and some fixes 2018-10-16 08:54:36 +09:00
syuilo
64087acfee Implement API tests 2018-10-16 06:37:21 +09:00
Hakaba Hitoyo
7aa6ef2c25 expose user recommendation config in /api/meta (#2902) 2018-10-14 16:54:09 +09:00
syuilo
daa656fe60 Fix #2901 2018-10-14 10:06:10 +09:00
syuilo
ae15d4332d Resolve #2853 2018-10-13 20:11:00 +09:00
syuilo
1d2c5269a9 Better id 2018-10-13 19:16:47 +09:00
syuilo
82a12c1dd8 connectedイベントはpongパラメータがtrueの時だけ発行するように 2018-10-13 19:14:05 +09:00
syuilo
f93cb02293 Resolve #2894 2018-10-13 13:13:15 +09:00
MeiMei
6c35586afc Fix user recommendation query (last activity) (#2892) 2018-10-12 13:48:26 +09:00
MeiMei
10bb343403 削除された投稿はタイムライン上で表示しないようにする (#2887)
* Excepts deleted notes on query

* Hide deleted notes

* Use v-show
2018-10-12 05:10:40 +09:00
syuilo
c1183207bb Fix 2018-10-11 23:07:20 +09:00
syuilo
74a2dab6ff 共有可能チャンネルに接続しようとしていて、かつそのチャンネルに既に接続していたら無意味なので無視するように 2018-10-11 23:01:57 +09:00
syuilo
9e903c2df2 Clean up 2018-10-11 18:10:41 +09:00
syuilo
08b18004a7 Redisがインストールされているときはイベントの共有にRedisのpub/subを使うように 2018-10-11 18:09:41 +09:00
syuilo
67f5d5d321 Redisをオプションにしたり 2018-10-11 15:50:27 +09:00
syuilo
9cdf8f1fe6 Fix bug 2018-10-11 05:26:51 +09:00
syuilo
7e37873045 Fix bug 2018-10-11 05:26:09 +09:00
syuilo
20e5d4261a ✌️ 2018-10-11 02:48:19 +09:00
syuilo
5d757f8cf4 ストリーミングAPIでチャンネルに接続したときにconnectedメッセージを返すように 2018-10-10 03:28:11 +09:00
syuilo
dc4feca635 Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2018-10-10 03:24:18 +09:00
syuilo
7e2318d9e7 Add alias 2018-10-10 03:24:09 +09:00
mei23
941937e5f0 lint fix 2018-10-10 02:08:26 +09:00
mei23
b47a63b8bf Fix users recommendation query 2018-10-10 02:04:16 +09:00
mei23
88978f9239 / に main stream も流す 2018-10-09 03:29:11 +09:00
syuilo
6e3d3c856a Fix bug
Closes #2855
2018-10-09 01:50:49 +09:00
syuilo
8a02ba305d Better api definition 2018-10-09 01:01:48 +09:00
syuilo
d14fd16945 Merge pull request #2828 from hakaba-hitoyo/feature/external-user-recommendation
External user recommendation
2018-10-08 18:31:00 +09:00
syuilo
513e3fc6bf Merge pull request #2851 from mei23/mei-1008-fix-apshow2
ap/showが返ってこないことがあるのを修正
2018-10-08 17:33:46 +09:00
mei23
16bdb2bb9b ap/showが返ってこないことがあるのを修正 2018-10-08 16:01:38 +09:00
syuilo
87f574f6cf oops 2018-10-08 09:02:11 +09:00
syuilo
9b3ee7cae6 互換性を追加 2018-10-08 08:58:12 +09:00
syuilo
7a03fe9b34 Improve usability 2018-10-08 02:10:46 +09:00
syuilo
1154172acd Fix bug 2018-10-08 01:56:36 +09:00
syuilo
d0918c06db Fix bug 2018-10-08 00:58:10 +09:00
MeiMei
edb531679f ActivityPubオブジェクト採番API (#2832)
* Show ActivityPub object API

* Add missing return
2018-10-07 20:20:55 +09:00
syuilo
7cb9a5df1d 後方互換性を追加 2018-10-07 17:19:52 +09:00
syuilo
ddcdfbd584 Improve readability a little 2018-10-07 17:06:28 +09:00
sei0o inoue
0d9bc1f1e5 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
023f895728 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
07edb01bf9 Fix お知らせが確認中...のままになる(Announcement Fetching...) (#2831) 2018-10-06 20:36:11 +09:00
Hakaba Hitoyo
21516af889 replace var by const 2018-10-06 17:38:57 +09:00
Hakaba Hitoyo
f40f6c208b better readable code 2018-10-06 17:23:32 +09:00
Hakaba Hitoyo
a460ce866d better readable code 2018-10-06 17:21:27 +09:00
Hakaba Hitoyo
42f75aa4c5 better config handling 2018-10-06 17:19:41 +09:00
Hakaba Hitoyo
8bc89507b0 debug 2018-10-06 16:34:52 +09:00