Commit Graph

2391 Commits

Author SHA1 Message Date
Akihiko Odaki 86b1345c17 Make HTTP request first in unfollow job 2018-04-04 22:05:12 +09:00
Akihiko Odaki 1b6bae72c2 Make HTTP request first in follow processor 2018-04-04 21:56:04 +09:00
Akihiko Odaki df38c2f485 Extract http request from post delivery job 2018-04-04 21:04:58 +09:00
syuilo b60121527d
Merge pull request #1393 from akihikodaki/duplicate
Allow to undo Create activity
2018-04-04 19:52:33 +09:00
Akihiko Odaki 783453897f Allow to undo Create activity 2018-04-04 19:51:41 +09:00
syuilo 2d4fe8c619 [wip] Implement like activity 2018-04-04 19:29:06 +09:00
Akihiko Odaki 210cb57aa5 Implement Delete activity 2018-04-04 00:22:00 +09:00
Akihiko Odaki 5bcb4b1dde Always deduplicate Activity Streams objects by id 2018-04-04 00:16:22 +09:00
Akihiko Odaki fdc81f395d Enforce URI uniquness 2018-04-04 00:09:00 +09:00
syuilo 18f317a4ac Refactor 2018-04-03 23:59:03 +09:00
syuilo 9694c1fc37 Refactor: Specify return type 2018-04-03 23:57:41 +09:00
syuilo a6f63e055a Refactor: Better variable name 2018-04-03 23:14:56 +09:00
syuilo f79e05195b Refactor 2018-04-03 23:01:48 +09:00
Akihiko Odaki aa0516d984 Wait for promise to resolve in Undo activity handler 2018-04-03 22:19:11 +09:00
Akihiko Odaki c22cb37759 Remove resolveRemoteUserObjects method of remote/activitypub/resolver
The value of the value returned by resolveRemoteUserObjects method of
remote/activitypub/resolver was inconsistent.
2018-04-03 20:41:54 +09:00
syuilo f5a948acac Improve readability 2018-04-03 20:13:04 +09:00
syuilo 9a6d524d5a Refactor 2018-04-03 20:09:26 +09:00
syuilo 172f11a2a0 Implement visibility param 2018-04-03 17:46:09 +09:00
syuilo ec629c4d8d Merge branch 'master' of https://github.com/syuilo/misskey 2018-04-03 17:24:36 +09:00
syuilo 76efc03963 Add createdAt property 2018-04-03 17:24:28 +09:00
syuilo a596a960bf
Merge pull request #1383 from akihikodaki/unfollow
Add a missing semicolon
2018-04-03 17:23:41 +09:00
Akihiko Odaki 30614a3779 Add a missing semicolon 2018-04-03 17:21:59 +09:00
syuilo c666a2b26e
Merge pull request #1382 from akihikodaki/unfollow
Implement remote account unfollow
2018-04-03 17:19:52 +09:00
Akihiko Odaki 4b507ed349 Implement remote account unfollow 2018-04-03 17:18:06 +09:00
syuilo 41d3992c52
Merge pull request #1381 from akihikodaki/unfollow
Implement unfollow by remote account
2018-04-03 16:37:42 +09:00
syuilo 9449ed14d2
Merge pull request #1380 from akihikodaki/misc
Fix ActivityStreams collection resolution
2018-04-03 16:37:07 +09:00
Akihiko Odaki 6b66ec1231 Implement unfollow by remote account 2018-04-03 16:35:07 +09:00
Akihiko Odaki a9abc669e0 Fix ActivityStreams collection resolution 2018-04-03 16:32:54 +09:00
syuilo 648cfa8b8a Clean up 2018-04-03 13:08:21 +09:00
syuilo 97a4ec4ff3
Merge pull request #1379 from akihikodaki/misc 2018-04-03 12:30:11 +09:00
Akihiko Odaki b5487826a6 Invoke a constructor with parentheses 2018-04-03 12:28:34 +09:00
syuilo b4833d551e
Merge pull request #1378 from akihikodaki/misc 2018-04-03 12:27:56 +09:00
Akihiko Odaki 6503beecc5 Explicityly wrap objects with Create activity 2018-04-03 12:25:13 +09:00
syuilo 858999b07f
Merge pull request #1377 from akihikodaki/misc 2018-04-03 12:11:51 +09:00
Akihiko Odaki cc3704c3e9 Accept remote follow 2018-04-03 12:07:29 +09:00
syuilo b851402db1
Merge pull request #1376 from akihikodaki/misc
Misc
2018-04-03 02:12:13 +09:00
Akihiko Odaki 32c008d008 Deliver posts to remote followers 2018-04-03 02:10:43 +09:00
Akihiko Odaki 63906af5ab Fix job processor interfaces 2018-04-03 02:10:24 +09:00
syuilo 1332adf12b Use index 2018-04-03 01:37:43 +09:00
syuilo 9bf19d4676 Revert "[wip] Implement like activity"
This reverts commit 7da1913964.
2018-04-03 01:37:11 +09:00
syuilo 00e7b317fc Revert "Fix typo"
This reverts commit f3f6dce60b.
2018-04-03 01:37:02 +09:00
syuilo f8ebbfac0f Revert "Fix"
This reverts commit 8afdb5aef9.
2018-04-03 01:36:55 +09:00
syuilo 8afdb5aef9 Fix 2018-04-03 01:22:23 +09:00
syuilo f3f6dce60b Fix typo 2018-04-03 01:02:04 +09:00
syuilo 7da1913964 [wip] Implement like activity 2018-04-03 00:59:38 +09:00
syuilo d88f096e6b Fix: Remove unused imports 2018-04-02 23:21:04 +09:00
syuilo 5ce6fa67d2 Make migration scripts
and use createdAt instead of _id
2018-04-02 23:19:07 +09:00
syuilo 5b80b6e901
Merge pull request #1374 from akihikodaki/log
Introduce followed log and following log
2018-04-02 22:06:24 +09:00
Akihiko Odaki 319e905bf9 Introduce followed log and following log 2018-04-02 22:00:40 +09:00
syuilo 4fc04acdc1
Merge pull request #1373 from akihikodaki/misc
Implement Follow activity
2018-04-02 19:53:04 +09:00
Akihiko Odaki 7942f76acb Implement Follow activity 2018-04-02 19:50:40 +09:00
syuilo da36d50cfe
Merge pull request #1372 from akihikodaki/misc
Improve WebFinger verification
2018-04-02 19:38:47 +09:00
Akihiko Odaki 8361289b4e Improve WebFinger verification 2018-04-02 19:37:00 +09:00
syuilo 5ceb808c6f ✌️ 2018-04-02 18:59:48 +09:00
syuilo b42c656776
Merge pull request #1371 from akihikodaki/misc
Resolve account by signature in inbox
2018-04-02 18:38:29 +09:00
Akihiko Odaki 69763ac32b Resolve account by signature in inbox 2018-04-02 18:36:47 +09:00
syuilo 81af33f8a1
Merge pull request #1368 from akihikodaki/misc
Distribute posts from remote
2018-04-02 17:41:51 +09:00
Akihiko Odaki ce7efc4dbb Distribute posts from remote 2018-04-02 17:11:14 +09:00
syuilo 2835259dc4 Present icons 2018-04-02 15:22:32 +09:00
syuilo 1ba3661791 Clean up 2018-04-02 15:19:12 +09:00
syuilo 0718ae45cb Add visibility property 2018-04-02 14:18:01 +09:00
Akihiko Odaki aa94035987 Introduce acct directory 2018-04-02 13:44:32 +09:00
Akihiko Odaki 4ef3d3a6d2 Introduce renderers directory 2018-04-02 13:41:25 +09:00
Akihiko Odaki ad38cd2605 Introduce publishers directory 2018-04-02 13:33:46 +09:00
Akihiko Odaki 3fb6834f7d Introduce config module 2018-04-02 13:15:53 +09:00
Akihiko Odaki 5b9f3701f5 Abolish common and misc directories 2018-04-02 12:58:53 +09:00
syuilo 21ebd9a367 Refactor 2018-04-02 11:14:45 +09:00
syuilo 6b6adeaa68 Refactor 2018-04-02 04:52:11 +09:00
syuilo 86e1ff6a6f Refactor 2018-04-02 04:48:38 +09:00
syuilo cd2542e0fd Refactor 2018-04-02 04:15:27 +09:00
syuilo e8bde94e5b Refactor 2018-04-02 04:01:34 +09:00
syuilo ad57e36d0d Fix: Add missing bracket 2018-04-02 01:26:17 +09:00
syuilo d166dbd01e
Merge pull request #1358 from akihikodaki/inbox
Make inbox signature verification compatible with Mastodon
2018-04-02 00:37:41 +09:00
Akihiko Odaki 111e5d569c Make inbox signature verification compatible with Mastodon 2018-04-02 00:36:36 +09:00
syuilo 2cf5a40649
Merge pull request #1357 from akihikodaki/publickey
Force TLS on WebFinger
2018-04-01 23:34:58 +09:00
Akihiko Odaki baf0c4a340 Force TLS on WebFinger 2018-04-01 23:33:48 +09:00
syuilo 13c2de67a4
Merge pull request #1356 from akihikodaki/publickey
Implement remote follow
2018-04-01 23:32:46 +09:00
Akihiko Odaki dc529711ce Implement remote follow 2018-04-01 23:30:57 +09:00
syuilo f78ff27e93 Add missing semicolon 2018-04-01 22:24:44 +09:00
syuilo 8be069083d Fix type annotation 2018-04-01 22:09:25 +09:00
syuilo cd2c23e390 Refactor 2018-04-01 21:56:11 +09:00
syuilo a20c1c8547 oops 2018-04-01 21:53:44 +09:00
syuilo 79f87b6943 Some fixes and refactors 2018-04-01 21:24:25 +09:00
syuilo 623f5b0072 Better variable name 2018-04-01 21:19:39 +09:00
syuilo e285f6feda Add missing semicolon 2018-04-01 21:17:46 +09:00
syuilo 8e6e70ef8a Remove unnecessary brackets 2018-04-01 21:16:37 +09:00
syuilo a7bf324f3c Add missing brackets 2018-04-01 21:15:00 +09:00
Akihiko Odaki cba73d6bc1 Implement account public key endpoint 2018-04-01 20:07:04 +09:00
Akihiko Odaki 1f1417a0f7 Implement outbox 2018-04-01 19:21:59 +09:00
syuilo 0cb6fbea8c Refactor: Better variable name 2018-04-01 18:28:10 +09:00
syuilo 9a90d8a7b4 Fix type annotation 2018-04-01 18:20:17 +09:00
syuilo 2e8e5f68dd
Merge pull request #1352 from akihikodaki/inbox
Respond with 202 for inbox request
2018-04-01 18:17:36 +09:00
syuilo fea2e549ba Resolve conflict 2018-04-01 18:17:04 +09:00
Akihiko Odaki c83bb3b8ab Respond with 202 for inbox request 2018-04-01 18:16:47 +09:00
syuilo 5323ab8e8e
Merge pull request #1351 from akihikodaki/webfinger
Implement post Activity Streams
2018-04-01 18:15:35 +09:00
Akihiko Odaki 12a251c7d6 Implement post Activity Streams 2018-04-01 18:12:51 +09:00
syuilo 63e8050094 Add missing property 2018-04-01 18:07:29 +09:00
syuilo d36f5376e3 Fix 2018-04-01 16:46:33 +09:00
syuilo 54776545b6 Use dot notation 2018-04-01 16:04:23 +09:00
syuilo 1fc185e569
Merge pull request #1350 from akihikodaki/webfinger
Implement inbox
2018-04-01 16:02:06 +09:00
Akihiko Odaki fabf233478 Implement inbox 2018-04-01 15:58:49 +09:00
syuilo b42a915172 [wip] dark mode 2018-04-01 15:58:32 +09:00
Akihiko Odaki 9a71a8b917 Implement WebFinger 2018-04-01 14:12:07 +09:00
syuilo e0a736a25d
Merge pull request #1347 from akihikodaki/user
Mark host parameter of /api/users/show nullable
2018-04-01 14:11:33 +09:00
Akihiko Odaki edfba6eed3 Mark host parameter of /api/users/show nullable 2018-04-01 14:10:22 +09:00
syuilo d23de60b8b Disable needless header 2018-04-01 12:43:59 +09:00
syuilo c0ad36193c ✌️ 2018-04-01 12:37:53 +09:00
syuilo 63c3c3dfdd Use sendStatus instead of send 2018-04-01 12:33:26 +09:00
syuilo 55f716fc62
Merge pull request #1346 from akihikodaki/user
Implement Activity Streams representation of user
2018-04-01 12:27:16 +09:00
Akihiko Odaki 975dd842d8 Implement Activity Streams representation of user 2018-04-01 12:24:29 +09:00
syuilo a09613cdd4 Fix bug 2018-03-31 21:46:58 +09:00
syuilo 3178bb20c7 Use Vue rendering function
and some refactors
2018-03-31 21:41:08 +09:00
Akihiko Odaki 68a9aac957 Implement remote status retrieval 2018-03-31 20:33:14 +09:00
Akihiko Odaki 7da60a0147 Store texts as HTML 2018-03-31 20:30:28 +09:00
Akihiko Odaki 8c41432907 Set empty array instead of null to mediaIds property of posts 2018-03-31 20:17:16 +09:00
syuilo 4e37ee541a デフォルトでドライブ容量は128MiBにした 2018-03-30 21:55:23 +09:00
syuilo 53beaddde2 oops 2018-03-30 21:37:01 +09:00
syuilo 616408f36e oops 2018-03-30 21:31:51 +09:00
syuilo 1af9efe54e 返信先プレビューなどではURLプレビューを表示しないように 2018-03-30 18:48:51 +09:00
syuilo 93ee7a4229
Merge pull request #1336 from akihikodaki/recommendation
Fix recommendation query
2018-03-30 14:11:11 +09:00
syuilo 953c81971a
Merge pull request #1340 from akihikodaki/github
Fix GitHub bot user query
2018-03-30 14:10:23 +09:00
Akihiko Odaki f1140ad300 Fix GitHub bot user query 2018-03-30 13:00:05 +09:00
Akihiko Odaki 277701310e Fix recommendation query 2018-03-30 12:58:21 +09:00
syuilo 75c4c844e6 cw 2018-03-30 11:24:07 +09:00
syuilo 5c3ca62426
Update user.ts 2018-03-30 00:13:20 +09:00
syuilo 74bbfd4144
Update user.ts 2018-03-30 00:05:12 +09:00
syuilo 4c0b48af5e
Use id instead of username
Because username is mutable. id is immutable!
2018-03-30 00:00:19 +09:00
syuilo 228d3141a7
Update show.ts 2018-03-29 21:45:43 +09:00
syuilo 78f7464891
Update show.ts 2018-03-29 21:44:39 +09:00
syuilo 6abb04ea12
Update show.ts 2018-03-29 21:36:27 +09:00
syuilo d68cc702a5 oops 2018-03-29 20:50:45 +09:00
syuilo af1a533d13 Fix bug 2018-03-29 20:37:24 +09:00
syuilo 7228e6d111 ✌️ 2018-03-29 20:34:39 +09:00
syuilo cf33e483f7 整理した 2018-03-29 20:32:18 +09:00
syuilo 31006fbc25 #1253 2018-03-29 15:23:15 +09:00
syuilo 1968d18e3f Use @type 2018-03-29 14:59:06 +09:00
syuilo b3bd6b60b4 oops 2018-03-29 14:53:48 +09:00
syuilo bfc193d8cd Resolve conflicts 2018-03-29 14:48:47 +09:00
Akihiko Odaki 90f8fe7e53 Introduce processor 2018-03-29 01:54:41 +09:00
Akihiko Odaki 68ce6d5748 Implement remote account resolution 2018-03-27 23:51:21 +09:00
syuilo bee892d446
Merge pull request #1316 from akihikodaki/host
Describe host field of user entity
2018-03-27 16:41:26 +09:00
Akihiko Odaki d57b628ee0 Describe host field of user entity 2018-03-27 16:40:10 +09:00
syuilo d6e1aa78cd
Merge pull request #1315 from akihikodaki/host
Revert a change for AuthSess query
2018-03-27 16:06:01 +09:00
Akihiko Odaki f12ea885f7 Revert a change for AuthSess query 2018-03-27 16:04:22 +09:00
syuilo 54eab4395a
Merge pull request #1314 from akihikodaki/host
Add host_lower to User
2018-03-27 16:00:24 +09:00
Akihiko Odaki 285bf04221 Add host_lower to User 2018-03-27 15:57:42 +09:00
syuilo f298fc6eb3 Bye bye subdomains 2018-03-27 14:13:12 +09:00
Akihiko Odaki 834dc49038 Replace /:user endpoints with /@:user 2018-03-27 12:55:33 +09:00
syuilo 336384a193 Bye bye secondary domain 2018-03-27 12:53:34 +09:00
syuilo 003ecd4c58 Destory api. subdomain
api.example.com --> example.com/api
2018-03-27 12:45:18 +09:00
syuilo 9a56c9ad0f
Merge pull request #1309 from akihikodaki/key
Add host field to User
2018-03-27 12:03:48 +09:00
Akihiko Odaki 396bb5821e Add host field to User 2018-03-27 12:02:43 +09:00
syuilo 27183b2142 Merge branch 'master' of https://github.com/syuilo/misskey 2018-03-27 11:47:17 +09:00
syuilo c051779d34 Refactor 2018-03-27 11:47:13 +09:00
syuilo 4189ffd5e4
Merge pull request #1304 from rinsuki/features/implement-media-video
Implement mk-media-video
2018-03-27 04:43:18 +09:00
Akihiko Odaki 001d5faac9 Add keypair to local account 2018-03-27 00:26:25 +09:00
rinsuki 6d69b0d271 mobile version of media-video 2018-03-26 22:04:34 +09:00
rinsuki b1f8fe7752 implement mk-media-video 2018-03-26 21:54:38 +09:00
syuilo 7b0f93464a Merge branch 'master' of https://github.com/syuilo/misskey 2018-03-26 17:54:13 +09:00
syuilo 4c0a341ccf Implement packForAp 2018-03-26 17:54:10 +09:00
rinsuki 1696c50c86 media-listのgridの処理をJSからCSSに移行 2018-03-26 17:26:21 +09:00
rinsuki 4d25db59a9 :mediaList -> :media-list 2018-03-26 17:03:20 +09:00
rinsuki 2dba24d0da mk-images -> mk-media-list, mk-images-image -> mk-media-image 2018-03-26 16:56:46 +09:00
rinsuki ff8b8df075 #1296 で壊してしまったのを直した 2018-03-26 16:22:00 +09:00
rinsuki 7676b86617 デスクトップ版にTwitterでログインするリンクを復活させた 2018-03-26 16:18:40 +09:00
syuilo 8bdb074b5d
Merge pull request #1295 from rinsuki/features/user-tab-position-sticky
モバイル版のユーザーページの表示切り変えnavを上についてくるように
2018-03-26 16:11:04 +09:00
rinsuki fd0e63c12e モバイル版のユーザーページの表示切り変えnavを上についてくるように 2018-03-26 15:56:31 +09:00
syuilo 8d7d200eff
Merge pull request #1287 from akihikodaki/account
Introduce account document to user document
2018-03-26 14:51:03 +09:00
rinsuki 8d6356c565 document.domainをチェックする際に、hostのかわりにhostnameを使うように 2018-03-26 14:27:42 +09:00
Akihiko Odaki 5db00e8179 Define hostname and secondary_hostname in config
This is missing part of commit 0109e0811c.
2018-03-26 14:12:14 +09:00
Akihiko Odaki 19b9cb105d Introduce account document to user document
An account document is attached to a user document if an account of the
user is on the server. It may be missing if the user is on a remote server.
2018-03-26 14:07:16 +09:00
rinsuki 4c9bcf2ab4 using WHATWG URL API 2018-03-26 13:57:28 +09:00
Akihiko Odaki 0109e0811c Specify Cookie domain with hostname 2018-03-26 13:21:41 +09:00
Akihiko Odaki a633f184ab Allow to use domain whose prefix is not misskey 2018-03-25 23:10:31 +09:00
Akihiko Odaki dc351ef396 Pass hostname instead of host to vhost module 2018-03-25 22:49:30 +09:00
syuilo 0823ea7f76 🎨 2018-03-19 23:27:34 +09:00
syuilo 29e84b4be2 Fix bug 2018-03-19 03:46:13 +09:00
syuilo 1e214278c9 Fix bug 2018-03-19 03:20:10 +09:00
syuilo e0ce00bacd Embed YouTube 2018-03-19 02:56:35 +09:00
syuilo f58470979b Add animation 2018-03-19 01:20:49 +09:00
syuilo 70960db60b 🎨 2018-03-18 16:52:28 +09:00
syuilo 1090339e7b 🎨 2018-03-18 16:47:33 +09:00
syuilo 59ea7344f9 2018-03-18 04:03:30 +09:00
syuilo 584ebdbdf1 🎨 2018-03-18 04:00:14 +09:00
syuilo 9a10dd4213 🎨 2018-03-18 03:55:43 +09:00
syuilo 90eb1753c8 🎨 2018-03-18 03:47:10 +09:00
syuilo 6e7e92f18b 🎨 2018-03-18 03:40:51 +09:00
syuilo eea53de963 🎨 2018-03-18 03:40:06 +09:00
syuilo 2d11b3967e oops 2018-03-17 23:16:01 +09:00
syuilo ab8eefda25 ✌️ 2018-03-17 23:01:17 +09:00
syuilo c10c534d02 🎨 2018-03-17 22:29:25 +09:00
syuilo 5ac7a6702c 🎨 2018-03-17 22:16:35 +09:00
syuilo 7bb19f5b9b #1252 2018-03-17 17:53:35 +09:00
syuilo f540393ee8 🎨 2018-03-17 17:47:46 +09:00
syuilo 128b56da28 ✌️ 2018-03-17 03:33:36 +09:00
syuilo f55cb79a70 Refactor 2018-03-17 00:22:22 +09:00
syuilo 747099821f Repost instead of reply 2018-03-17 00:04:33 +09:00
syuilo bcb6b63111 Fix bug 2018-03-16 23:56:20 +09:00
syuilo f42adcabe0 Refactor 2018-03-16 23:38:53 +09:00
syuilo 11cca4882a Add test map 2018-03-16 23:38:34 +09:00