Commit Graph

660 Commits

Author SHA1 Message Date
MeiMei 34393ef89f Improve custom emoji parsing (#3539)
* Use MFM parser for extracting emoji in name

* Fix custom emoji regex

* Revert "Fix custom emoji regex"

This reverts commit 4c21caf59753e7653c02f81ddf0cde8c44f48008.
2018-12-08 06:39:15 +09:00
MeiMei 4522568749 Emoji support in profile (#3514)
* Emoji in profile

* Add emojis to fields
2018-12-06 10:02:04 +09:00
syuilo 45bee7cc2f
Resolve #327 2018-12-03 20:08:18 +09:00
Aya Morisawa 184eb00133
Remove self-assignment (#3476) 2018-12-02 20:26:15 +09:00
Aya Morisawa 92701e5cec Fix #3445 (#3471) 2018-12-02 19:24:57 +09:00
syuilo 10f466c895
Improve performance 2018-12-02 06:44:18 +09:00
MeiMei 20335e23f9 Resolve external recommended users (#3462)
* Resolve external recommended users

* Skip unresolvable users

* Fix indent

* Use original for unresolvable users
2018-12-02 03:42:45 +09:00
Acid Chicken (硫酸鶏) 53c559c001 Allow hyphens in the middle of remote usernames (#3440)
* Allow hyphens in the middle of remote usernames

refs: d797c29db462de4a3d69a5077a1ae4d03195b6f2

* Make options fallback better

* Make options flat
2018-12-01 07:19:17 +09:00
Aya Morisawa 9ef641b403
Remove consecutive blank line 2018-11-30 23:07:21 +09:00
MeiMei 6fa7819a44 Fix #3442 (#3443) 2018-11-30 18:13:55 +09:00
MeiMei 683a85ecc0 Fix SMTP (#3436) 2018-11-30 00:35:17 +09:00
syuilo 8ca27a4480
Fix #3432 2018-11-30 00:13:13 +09:00
syuilo 77d2d84e05
Fix #3434 2018-11-30 00:04:28 +09:00
MeiMei 3bde4285eb Fix SMTP (#3433)
* Fix: SMTP local relay

* Fix SMTP SSL description

* ✌️
2018-11-30 00:03:28 +09:00
syuilo 15efbfb244
Fix #3430 2018-11-29 22:05:11 +09:00
syuilo cf9f85eb2a
メールサーバーの設定がオフの場合はメール設定を表示しないように 2018-11-29 20:33:31 +09:00
syuilo 22e30b44b9
Make require password to update email 2018-11-29 20:19:02 +09:00
syuilo 1bc109b42c
Implement email config 2018-11-29 16:23:45 +09:00
syuilo 3dcf5374c2
Mark chart apis as stable 2018-11-29 06:06:07 +09:00
syuilo 4bbb7eded3
Cookieを使わないように 2018-11-28 16:19:02 +09:00
syuilo f257853906
Update signin.ts 2018-11-28 05:27:34 +09:00
MeiMei b6fd5d7282 No caching /api/ (#3411) 2018-11-27 01:16:25 +09:00
MeiMei bcb04924ff Image for web publish (#3402)
* Image for Web

* Add comment

* Make main to original
2018-11-26 04:25:48 +09:00
syuilo 9e5a2e5b17
Fix lint 2018-11-24 17:19:51 +09:00
syuilo de2b0224d6
Resolve #3158 2018-11-24 07:04:29 +09:00
MeiMei f2f7bdc5a9 Do not use _replyIds (#3392) 2018-11-23 23:12:28 +09:00
syuilo 915d352505
Resolve #3366 2018-11-23 16:39:51 +09:00
syuilo 0d272b1fb0
Resolve #3376 2018-11-23 08:13:17 +09:00
syuilo 7e803ff9a9
Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2018-11-23 08:01:29 +09:00
syuilo 246cead2b1
Improve user operations
Resolve #2197
Resolve #3367
2018-11-23 08:01:14 +09:00
nico 2a0b62d26d 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
Aya Morisawa 08f00d4990 Remove unneccesary cast (#3355) 2018-11-22 05:07:25 +09:00
Acid Chicken (硫酸鶏) 6951f7e74a Fix #3361 (#3362)
* Update create.ts

* Update api.ts
2018-11-22 05:06:51 +09:00
Hakaba Hitoyo ac14adfd3e 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 389315e000 Fix: ap/show (#3350) 2018-11-20 21:18:14 +09:00
MeiMei db657c2a62 Hide unused login method (#3285) 2018-11-17 02:13:01 +09:00
syuilo 8569970fbe
Update github-bot.ts 2018-11-16 23:10:48 +09:00
syuilo 713e9ad5f4
Resolve #3274 2018-11-16 23:09:33 +09:00
syuilo 59e229d962
Update github-bot.ts 2018-11-16 23:02:01 +09:00
syuilo 3c5f09cda2
Clean up 2018-11-16 23:01:14 +09:00
syuilo e42aa2530d
Update github-bot.ts
follow dvelop instead master
2018-11-16 23:00:34 +09:00
MeiMei bceb02d760 local only visibility (#3254)
* local only visibility

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

* Apply review 175263424
2018-11-15 19:15:04 +09:00
syuilo 1dba82aae5
[API] Add /instances 2018-11-15 06:21:13 +09:00
syuilo 56d571c0f0
Moderator system
Closes #2357
2018-11-15 04:15:42 +09:00
MeiMei 4ca0a22bfc Fix: default order of users/notes (#3234) 2018-11-14 20:18:47 +09:00
syuilo e509b1f488 Update github-bot.ts 2018-11-14 05:33:48 +09:00
MeiMei 9f0b8ba2f8 Fix: notes/create hangs when rejected (#3221) 2018-11-13 19:34:09 +09:00
MeiMei 81805b01cc sort user timeline by date (#3210) 2018-11-13 01:17:59 +09:00
syuilo c2038bec73
Improve streaming 2018-11-12 00:31:09 +09:00
syuilo 15a2881083
[API] Fix #3203 2018-11-11 18:26:09 +09:00
syuilo 6012e98ae6
Improve streaming API 2018-11-11 02:22:34 +09:00
syuilo f05a688ac2
[API] Fix #3169 2018-11-09 03:52:03 +09:00
syuilo e0ec56abb5
Fix bug 2018-11-08 01:42:02 +09:00
syuilo cb6f390fb6
GitHub / Twitter連携の設定をDBに保存するように 2018-11-07 13:14:52 +09:00
syuilo 5675ecead9
Fix 2018-11-07 12:30:56 +09:00
syuilo 001bb7bbcd
インスタンスの対象言語の設定を実装 2018-11-07 12:28:53 +09:00
syuilo 665fa7f2aa
[API] Improve drive/files/upload_from_url 2018-11-07 12:12:43 +09:00
syuilo 8f39655fef
Fix bug 2018-11-07 12:09:24 +09:00
syuilo 06b66f0209
メンテナ情報をDBに保存するように 2018-11-07 01:12:26 +09:00
syuilo 2de48110bb
ghostの設定をDBに保存するように 2018-11-07 00:44:56 +09:00
syuilo a6f8327aa2
reCAPTCHAの設定をDBに保存するように 2018-11-07 00:08:21 +09:00
syuilo ffdd0b7de7
[API] 文字列での真理値表現に対応
multipart/formdata では文字列しか送れないっぽい?
2018-11-06 20:53:50 +09:00
syuilo 438563b505
[API] Fix bug 2018-11-06 20:47:56 +09:00
syuilo 37999f4af7
[API] Implement notes/watching/ 2018-11-06 14:58:20 +09:00
syuilo 2a5c19cd01
リモートのファイルをキャッシュするかどうかの設定をDBに保存するように 2018-11-06 07:52:13 +09:00
syuilo 8f714b5b12
ドライブ容量の設定をDBに保存するようにしたりリファクタリングしたり 2018-11-06 07:14:43 +09:00
syuilo 06bb2a1c7c
Clean up 2018-11-06 06:25:35 +09:00
syuilo ac50bb9225
Resolve #3137 2018-11-06 06:24:31 +09:00
syuilo 64f89ba13e
Better error code 2018-11-06 01:57:31 +09:00
syuilo 1235bef038
[API] Fix bug 2018-11-06 01:51:42 +09:00
syuilo c62a225542
oops 2018-11-05 13:46:46 +09:00
syuilo d5d995a3e6
Refactor 2018-11-05 13:38:50 +09:00
syuilo a22ddb1fb9
✌️ 2018-11-05 11:58:41 +09:00
Acid Chicken (硫酸鶏) 0d23ce3d45 Make /api/v1/instance and /api/v1/custom_emojis better (#3118)
* Separate commits

From commit dca110ebaa.

* Re-separate commits

From commit 9719387bee.
2018-11-05 11:57:17 +09:00
syuilo d7a3b71028
投稿の最大文字数情報を設定ファイルではなくDBに保存するように 2018-11-05 11:09:05 +09:00
Acid Chicken (硫酸鶏) a1a3ee44b5 Implement /api/v1/custom_emojis (#3116) 2018-11-05 10:45:57 +09:00
Acid Chicken (硫酸鶏) 75791981ce
Fix #3115 2018-11-05 10:34:53 +09:00
syuilo e813fe16b9
[API] Better validation of admin/emoji/add 2018-11-05 10:33:49 +09:00
syuilo 454c1e3faf
[API] Fix bug 2018-11-05 01:42:41 +09:00
syuilo 4f3c8b940e
[API] Fix #3099 2018-11-04 23:13:35 +09:00
syuilo 1855ab60f1
Resolve #3098 2018-11-04 23:00:43 +09:00
Acid Chicken (硫酸鶏) 8646a9c49c Add GitHub auth (#3095) 2018-11-04 22:03:55 +09:00
syuilo d48c25d2c9
[API] Fix #3097 2018-11-04 21:11:54 +09:00
Acid Chicken (硫酸鶏) 147ad69864 Revert "Add GitHub auth"
This reverts commit c146006476.
2018-11-04 19:22:04 +09:00
Acid Chicken (硫酸鶏) c146006476 Add GitHub auth 2018-11-04 19:17:30 +09:00
syuilo 299b91edc4
[API] Improve admin/emoji/add 2018-11-04 18:37:12 +09:00
syuilo b7a15bf6ca
絵文字を作成した/更新した時にupdateAtを更新するように 2018-11-04 10:42:16 +09:00
MeiMei 65bfa3c0d6 Fix: update_client_setting (#3086) 2018-11-04 03:33:37 +09:00
syuilo 3487ddabea
[API] Implement some Emoji APIs 2018-11-04 03:18:32 +09:00
syuilo a515c1f53e
Improve API documentation 2018-11-03 22:49:36 +09:00
syuilo d1cf0c7998
Clean up 2018-11-03 22:01:58 +09:00
syuilo c26ed1421b
[API] Increase chart limit 2018-11-03 16:43:50 +09:00
syuilo aadd5b95b8
Improve admin dashboard 2018-11-03 11:38:00 +09:00
syuilo f9f2ca51ac
Improve stats API 2018-11-03 11:37:44 +09:00
syuilo 8ae94c034d
Update hashtags.ts 2018-11-02 23:46:57 +09:00
syuilo cd9696f25e
Update src/server/api/endpoints/aggregation/hashtags.ts 2018-11-02 23:32:40 +09:00
syuilo d62a6bab41
Remove needless properties 2018-11-02 23:27:47 +09:00
syuilo 20df002746
🍕 2018-11-02 23:23:01 +09:00
syuilo 819b535ab0
[API] Implement admin/add-emoji 2018-11-02 15:04:02 +09:00
syuilo 60e95ac2ac
Clean up 2018-11-02 14:53:55 +09:00
syuilo 9b94ddff0a
Clean up 2018-11-02 13:49:09 +09:00
syuilo 174f8022eb
Refactor 2018-11-02 13:47:44 +09:00
syuilo a7e6b766be
Resolve #2623 2018-11-02 12:49:08 +09:00
syuilo befc35a3ac
Update src/server/api/endpoints/meta.ts 2018-11-02 12:16:03 +09:00
MeiMei 80b5fda292 Remote custom emojis (#3074)
* Remote custom emojis

* んほおおおおお
2018-11-02 08:59:40 +09:00
syuilo 931bdc6aac
Refactoring, Clean up and bug fixes 2018-11-02 03:32:24 +09:00
syuilo c21caad1c5
Custom emoji (#3061)
* wip

* wip

* wip
2018-11-01 11:51:49 +09:00
syuilo 5d61c7c691
Refactor and use original image for banner 2018-11-01 09:30:51 +09:00
syuilo 1fca8d322c
Clean up 2018-11-01 09:19:22 +09:00
syuilo 3829fe128a
Update src/server/api/endpoints/users/relation.ts 2018-11-01 00:11:52 +09:00
syuilo 649177985d
[API] Implement users/relation 2018-11-01 00:11:21 +09:00
syuilo 261a3f5d91
Better rate limitting 2018-10-31 23:03:14 +09:00
syuilo 1a51b98700
Refactor 2018-10-31 22:35:02 +09:00
syuilo de569147a5
Fix #3041 2018-10-31 17:56:21 +09:00
syuilo e23b13ec7f
[API] Include detailed user information of blocking API responses 2018-10-31 11:24:36 +09:00
syuilo f7069dcd18
良い感じに 2018-10-31 11:16:13 +09:00
mei23 560bb65384 blockings list 2018-10-31 04:59:01 +09:00
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