Commit Graph

2456 Commits

Author SHA1 Message Date
syuilo de620c822a Fix bug 2018-04-07 06:44:29 +09:00
syuilo 765a10c8da Increase limit to avoid warning 2018-04-07 06:25:58 +09:00
syuilo 866797a005 Fix bug 2018-04-07 06:23:38 +09:00
syuilo 66346495e5 Fix bug 2018-04-07 06:22:03 +09:00
syuilo ba1a81dab1 Bug fixes and some refactors 2018-04-07 06:13:40 +09:00
syuilo ef30390e76 Add todo 2018-04-07 00:07:30 +09:00
syuilo 81a6846f24
Merge pull request #1410 from akihikodaki/objec
Resolve local Object ID
2018-04-06 23:56:43 +09:00
syuilo 85d98f1e37 Add index 2018-04-06 23:32:38 +09:00
syuilo 3cf6eab119 Log 2018-04-06 22:40:06 +09:00
syuilo 2b02655a3f Fix bug 2018-04-06 22:15:31 +09:00
syuilo bc06c66407 Add todo 2018-04-06 22:00:37 +09:00
syuilo f640a8fd5b Resolve local Person ID 2018-04-06 20:52:38 +09:00
syuilo 358de80e65
Merge pull request #1408 from akihikodaki/person
Resolve local Person ID
2018-04-06 20:47:07 +09:00
syuilo a01251477e Revert "Remove silent flag"
This reverts commit 9c15c94f80.
2018-04-06 20:45:33 +09:00
syuilo 4e9ae8e8d5 Split code 2018-04-06 19:35:23 +09:00
syuilo 574e3b0bfd Fix type annotation 2018-04-06 19:26:17 +09:00
syuilo 0ecbafe5eb Add todos 2018-04-06 19:23:13 +09:00
syuilo 9c15c94f80 Remove silent flag 2018-04-06 19:18:38 +09:00
こぴなたみぽ eb0809ebb4 Remove needless log 2018-04-06 14:57:01 +09:00
syuilo 1e8fe4c6a8 Better English 2018-04-06 14:47:00 +09:00
syuilo 0856f4cd12 Use error instaed of warn 2018-04-06 14:39:28 +09:00
syuilo 862463a13c Fix bug 2018-04-06 14:35:17 +09:00
Akihiko Odaki 41acde0d8a Resolve local Object ID 2018-04-06 12:55:48 +09:00
Akihiko Odaki 6752594578 Resolve local Person ID 2018-04-06 12:54:34 +09:00
Akihiko Odaki 39b896a900 Add missing src/renderers/get-user-name.ts 2018-04-06 12:19:44 +09:00
syuilo a6fb4f2e33 wip 2018-04-06 04:04:50 +09:00
syuilo 0154e44e1d Fix bugs 2018-04-06 03:42:55 +09:00
syuilo b6aeacdeb9 RENAME: api --> services 2018-04-06 03:10:25 +09:00
Akihiko Odaki d99d628f50 Do not save 名無し as the name of a new user 2018-04-06 01:37:24 +09:00
Akihiko Odaki f0e8e6392b Allow name property of user to be null 2018-04-06 01:36:34 +09:00
syuilo 0de40f3a76 wip 2018-04-05 23:24:51 +09:00
syuilo 30bd467b71 wip 2018-04-05 23:19:47 +09:00
syuilo 5f8ab58446 wip 2018-04-05 22:49:41 +09:00
syuilo 46e8fd44c1
Merge pull request #1403 from akihikodaki/duplicate
Add a missing await expression
2018-04-05 21:17:47 +09:00
Akihiko Odaki 068c0b4cce Add a missing await expression 2018-04-05 21:16:19 +09:00
syuilo a6abcd1aa5 wip 2018-04-05 19:23:42 +09:00
syuilo 2a80fdeafe wip 2018-04-05 19:19:00 +09:00
syuilo fd87a63e57 wip 2018-04-05 18:50:52 +09:00
syuilo 7403f38fb4 wip 2018-04-05 18:43:06 +09:00
syuilo 06347cd71e wip 2018-04-05 18:08:51 +09:00
syuilo f5c55d46b7 wip 2018-04-05 17:52:46 +09:00
syuilo d3ed2761b9 wip 2018-04-05 15:54:12 +09:00
syuilo fc15249aa4 wip 2018-04-05 15:50:52 +09:00
syuilo c2c03a1c65 wip 2018-04-05 03:21:11 +09:00
syuilo 15b9bfb471
Merge pull request #1400 from akihikodaki/duplicate
Handle inReplyTo property
2018-04-05 01:59:10 +09:00
Akihiko Odaki ced6b9a76f Handle inReplyTo property 2018-04-05 01:57:18 +09:00
syuilo 18728cb394
Merge pull request #1399 from akihikodaki/duplicate
Implement Hashtag object
2018-04-05 01:32:03 +09:00
Akihiko Odaki f44a7389e2 Implement Hashtag object 2018-04-05 01:29:56 +09:00
syuilo 021595c4ae
Merge pull request #1398 from akihikodaki/duplicate
Implement Mention object
2018-04-05 01:25:53 +09:00
Akihiko Odaki 168b0730b4 Implement Mention object 2018-04-05 01:24:39 +09:00
syuilo b6b9875205 wip 2018-04-05 01:24:01 +09:00
syuilo eb304cb5fb wip 2018-04-05 01:22:41 +09:00
syuilo 9254966eb3
Merge pull request #1396 from akihikodaki/duplicate
Do not declare two variables in a statement
2018-04-05 01:09:18 +09:00
Akihiko Odaki a5715ecc1b Do not declare two variables in a statement 2018-04-05 01:07:55 +09:00
syuilo fba46b4c7f wip 2018-04-05 01:07:07 +09:00
syuilo 87d592c9c4
Merge pull request #1395 from akihikodaki/duplicate
Let unhandled rejection handler handle rejections in jobs
2018-04-05 01:05:50 +09:00
Akihiko Odaki e330ac1934 Let unhandled rejection handler handle rejections in jobs 2018-04-05 01:04:44 +09:00
syuilo fd73fad148 wip 2018-04-05 00:50:57 +09:00
syuilo 0009a371c8 wip 2018-04-05 00:40:34 +09:00
syuilo 0ac695edbd wip 2018-04-05 00:01:01 +09:00
syuilo 77f056b4fc wip 2018-04-04 23:59:38 +09:00
syuilo 5bd1451b61 wip 2018-04-04 23:22:48 +09:00
syuilo e8b42d7e16 wip 2018-04-04 23:12:35 +09:00
syuilo cf160285f8
Merge pull request #1394 from akihikodaki/duplicate
Retry HTTP requests
2018-04-04 22:48:27 +09:00
Akihiko Odaki d7c13b975f Retry HTTP requests 2018-04-04 22:45:55 +09:00
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