Commit Graph

549 Commits

Author SHA1 Message Date
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
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
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
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
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
27f107e1ee 未読の投稿をすべて既読にできるように 2018-10-19 06:36:59 +09:00
syuilo
29c8bb1aeb Disable secure cookie 2018-10-17 05:54:31 +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