Commit graph

2439 commits

Author SHA1 Message Date
syuilo
38dab6704b Remove silent flag 2018-04-06 19:18:38 +09:00
こぴなたみぽ
b3f92e7608 Remove needless log 2018-04-06 14:57:01 +09:00
syuilo
9de6408557 Better English 2018-04-06 14:47:00 +09:00
syuilo
d9ccb0c668 Use error instaed of warn 2018-04-06 14:39:28 +09:00
syuilo
a0ea46a1ae Fix bug 2018-04-06 14:35:17 +09:00
Akihiko Odaki
0c4c15fc7d Resolve local Object ID 2018-04-06 12:55:48 +09:00
Akihiko Odaki
26b5b5b520 Resolve local Person ID 2018-04-06 12:54:34 +09:00
Akihiko Odaki
3fae72400b Add missing src/renderers/get-user-name.ts 2018-04-06 12:19:44 +09:00
syuilo
2ee0e81140 wip 2018-04-06 04:04:50 +09:00
syuilo
8ef8383ac3 Fix bugs 2018-04-06 03:42:55 +09:00
syuilo
7961ef33b2 RENAME: api --> services 2018-04-06 03:10:25 +09:00
Akihiko Odaki
06400ea2f5 Do not save 名無し as the name of a new user 2018-04-06 01:37:24 +09:00
Akihiko Odaki
99b14f01b3 Allow name property of user to be null 2018-04-06 01:36:34 +09:00
syuilo
9f02eeac93 wip 2018-04-05 23:24:51 +09:00
syuilo
925815d67e wip 2018-04-05 23:19:47 +09:00
syuilo
207332d71f wip 2018-04-05 22:49:41 +09:00
syuilo
fa2d8a94ab Merge pull request #1403 from akihikodaki/duplicate
Add a missing await expression
2018-04-05 21:17:47 +09:00
Akihiko Odaki
b7d72b6bb4 Add a missing await expression 2018-04-05 21:16:19 +09:00
syuilo
504d845a01 wip 2018-04-05 19:23:42 +09:00
syuilo
2468b34d93 wip 2018-04-05 19:19:00 +09:00
syuilo
00dd472ebe wip 2018-04-05 18:50:52 +09:00
syuilo
e20e321a82 wip 2018-04-05 18:43:06 +09:00
syuilo
9c9b09c570 wip 2018-04-05 18:08:51 +09:00
syuilo
f8bfec2963 wip 2018-04-05 17:52:46 +09:00
syuilo
cf3216223d wip 2018-04-05 15:54:12 +09:00
syuilo
2dad0c8d6b wip 2018-04-05 15:50:52 +09:00
syuilo
074ea114ab wip 2018-04-05 03:21:11 +09:00
syuilo
7f8fdc07a7 Merge pull request #1400 from akihikodaki/duplicate
Handle inReplyTo property
2018-04-05 01:59:10 +09:00
Akihiko Odaki
1c7e35c001 Handle inReplyTo property 2018-04-05 01:57:18 +09:00
syuilo
ff4f74e989 Merge pull request #1399 from akihikodaki/duplicate
Implement Hashtag object
2018-04-05 01:32:03 +09:00
Akihiko Odaki
c5882f9966 Implement Hashtag object 2018-04-05 01:29:56 +09:00
syuilo
aecc8ddbdb Merge pull request #1398 from akihikodaki/duplicate
Implement Mention object
2018-04-05 01:25:53 +09:00
Akihiko Odaki
5218c75f80 Implement Mention object 2018-04-05 01:24:39 +09:00
syuilo
de79ac7ace wip 2018-04-05 01:24:01 +09:00
syuilo
cb8a504362 wip 2018-04-05 01:22:41 +09:00
syuilo
d826a081a4 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
4460515693 Do not declare two variables in a statement 2018-04-05 01:07:55 +09:00
syuilo
6bb258f6f0 wip 2018-04-05 01:07:07 +09:00
syuilo
af3407cdc7 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
f0a518ff65 Let unhandled rejection handler handle rejections in jobs 2018-04-05 01:04:44 +09:00
syuilo
e850c99418 wip 2018-04-05 00:50:57 +09:00
syuilo
2f08b56498 wip 2018-04-05 00:40:34 +09:00
syuilo
8ff4b00114 wip 2018-04-05 00:01:01 +09:00
syuilo
de40762ee8 wip 2018-04-04 23:59:38 +09:00
syuilo
07884a383e wip 2018-04-04 23:22:48 +09:00
syuilo
bddcd13f58 wip 2018-04-04 23:12:35 +09:00
syuilo
25d3bfde6d Merge pull request #1394 from akihikodaki/duplicate
Retry HTTP requests
2018-04-04 22:48:27 +09:00
Akihiko Odaki
6cafb15636 Retry HTTP requests 2018-04-04 22:45:55 +09:00
Akihiko Odaki
6b10477b00 Make HTTP request first in unfollow job 2018-04-04 22:05:12 +09:00
Akihiko Odaki
d73810cb72 Make HTTP request first in follow processor 2018-04-04 21:56:04 +09:00
Akihiko Odaki
2c7e09fc72 Extract http request from post delivery job 2018-04-04 21:04:58 +09:00
syuilo
b81e80a3fe Merge pull request #1393 from akihikodaki/duplicate
Allow to undo Create activity
2018-04-04 19:52:33 +09:00
Akihiko Odaki
cc45e0c3d4 Allow to undo Create activity 2018-04-04 19:51:41 +09:00
syuilo
a3f8a48ddf [wip] Implement like activity 2018-04-04 19:29:06 +09:00
Akihiko Odaki
6d07ce46dc Implement Delete activity 2018-04-04 00:22:00 +09:00
Akihiko Odaki
7ca7c5e6be Always deduplicate Activity Streams objects by id 2018-04-04 00:16:22 +09:00
Akihiko Odaki
6cdce579fa Enforce URI uniquness 2018-04-04 00:09:00 +09:00
syuilo
5c2978d1f6 Refactor 2018-04-03 23:59:03 +09:00
syuilo
13f75b6f7d Refactor: Specify return type 2018-04-03 23:57:41 +09:00
syuilo
5f0e25be66 Refactor: Better variable name 2018-04-03 23:14:56 +09:00
syuilo
889c9afbb5 Refactor 2018-04-03 23:01:48 +09:00
Akihiko Odaki
562ae599f6 Wait for promise to resolve in Undo activity handler 2018-04-03 22:19:11 +09:00
Akihiko Odaki
4c3c87fb99 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
c1ca137547 Improve readability 2018-04-03 20:13:04 +09:00
syuilo
e8e1b8fc58 Refactor 2018-04-03 20:09:26 +09:00
syuilo
78b6f355ad Implement visibility param 2018-04-03 17:46:09 +09:00
syuilo
f0bce8718f Merge branch 'master' of https://github.com/syuilo/misskey 2018-04-03 17:24:36 +09:00
syuilo
4a1c484b7e Add createdAt property 2018-04-03 17:24:28 +09:00
syuilo
d0b75e7403 Merge pull request #1383 from akihikodaki/unfollow
Add a missing semicolon
2018-04-03 17:23:41 +09:00
Akihiko Odaki
99ef1512c5 Add a missing semicolon 2018-04-03 17:21:59 +09:00
syuilo
fe6a47b9b6 Merge pull request #1382 from akihikodaki/unfollow
Implement remote account unfollow
2018-04-03 17:19:52 +09:00
Akihiko Odaki
749f0fd6cb Implement remote account unfollow 2018-04-03 17:18:06 +09:00
syuilo
c93f4961a2 Merge pull request #1381 from akihikodaki/unfollow
Implement unfollow by remote account
2018-04-03 16:37:42 +09:00
syuilo
bda65c120d Merge pull request #1380 from akihikodaki/misc
Fix ActivityStreams collection resolution
2018-04-03 16:37:07 +09:00
Akihiko Odaki
bd935c5696 Implement unfollow by remote account 2018-04-03 16:35:07 +09:00
Akihiko Odaki
54e128df4f Fix ActivityStreams collection resolution 2018-04-03 16:32:54 +09:00
syuilo
6e5e1611fa Clean up 2018-04-03 13:08:21 +09:00
syuilo
ae9a5e65f3 Merge pull request #1379 from akihikodaki/misc 2018-04-03 12:30:11 +09:00
Akihiko Odaki
634a1be950 Invoke a constructor with parentheses 2018-04-03 12:28:34 +09:00
syuilo
1ea50fe6bc Merge pull request #1378 from akihikodaki/misc 2018-04-03 12:27:56 +09:00
Akihiko Odaki
655846f5cf Explicityly wrap objects with Create activity 2018-04-03 12:25:13 +09:00
syuilo
ca2596c3ca Merge pull request #1377 from akihikodaki/misc 2018-04-03 12:11:51 +09:00
Akihiko Odaki
c8077538f2 Accept remote follow 2018-04-03 12:07:29 +09:00
syuilo
6238d0dfea Merge pull request #1376 from akihikodaki/misc
Misc
2018-04-03 02:12:13 +09:00
Akihiko Odaki
1d62b15889 Deliver posts to remote followers 2018-04-03 02:10:43 +09:00
Akihiko Odaki
1420358efd Fix job processor interfaces 2018-04-03 02:10:24 +09:00
syuilo
342cba4c54 Use index 2018-04-03 01:37:43 +09:00
syuilo
f4cb6ba0e0 Revert "[wip] Implement like activity"
This reverts commit 7da191396469642de14655c30eba86926882e98c.
2018-04-03 01:37:11 +09:00
syuilo
6eac6f8ddd Revert "Fix typo"
This reverts commit f3f6dce60b9ace954a26b0e045d8bf8f49571482.
2018-04-03 01:37:02 +09:00
syuilo
ece470fd23 Revert "Fix"
This reverts commit 8afdb5aef91bea931c1ab7ecfd9f5ba1e977652c.
2018-04-03 01:36:55 +09:00
syuilo
3f3e6d0ba0 Fix 2018-04-03 01:22:23 +09:00
syuilo
4762ab417d Fix typo 2018-04-03 01:02:04 +09:00
syuilo
507b9fdfd7 [wip] Implement like activity 2018-04-03 00:59:38 +09:00
syuilo
757eca395b Fix: Remove unused imports 2018-04-02 23:21:04 +09:00
syuilo
6a3cd68423 Make migration scripts
and use createdAt instead of _id
2018-04-02 23:19:07 +09:00
syuilo
1a156b94dd Merge pull request #1374 from akihikodaki/log
Introduce followed log and following log
2018-04-02 22:06:24 +09:00
Akihiko Odaki
f3e3c58fe1 Introduce followed log and following log 2018-04-02 22:00:40 +09:00
syuilo
1d393b9fb0 Merge pull request #1373 from akihikodaki/misc
Implement Follow activity
2018-04-02 19:53:04 +09:00
Akihiko Odaki
00253eb355 Implement Follow activity 2018-04-02 19:50:40 +09:00
syuilo
c69c7b1919 Merge pull request #1372 from akihikodaki/misc
Improve WebFinger verification
2018-04-02 19:38:47 +09:00
Akihiko Odaki
cf195b8e92 Improve WebFinger verification 2018-04-02 19:37:00 +09:00
syuilo
2536d58d72 ✌️ 2018-04-02 18:59:48 +09:00
syuilo
cbfc35101d Merge pull request #1371 from akihikodaki/misc
Resolve account by signature in inbox
2018-04-02 18:38:29 +09:00
Akihiko Odaki
00110e37f2 Resolve account by signature in inbox 2018-04-02 18:36:47 +09:00
syuilo
7d679fb115 Merge pull request #1368 from akihikodaki/misc
Distribute posts from remote
2018-04-02 17:41:51 +09:00
Akihiko Odaki
ebae97a1fe Distribute posts from remote 2018-04-02 17:11:14 +09:00
syuilo
756c1e974e Present icons 2018-04-02 15:22:32 +09:00
syuilo
4b0df0923e Clean up 2018-04-02 15:19:12 +09:00
syuilo
39662b0e01 Add visibility property 2018-04-02 14:18:01 +09:00
Akihiko Odaki
f47bcd1ebe Introduce acct directory 2018-04-02 13:44:32 +09:00
Akihiko Odaki
38d0f2b9af Introduce renderers directory 2018-04-02 13:41:25 +09:00
Akihiko Odaki
e8d54d0175 Introduce publishers directory 2018-04-02 13:33:46 +09:00
Akihiko Odaki
8b3407e16c Introduce config module 2018-04-02 13:15:53 +09:00
Akihiko Odaki
a9c0dd5e53 Abolish common and misc directories 2018-04-02 12:58:53 +09:00
syuilo
b1f563fe8b Refactor 2018-04-02 11:14:45 +09:00
syuilo
15a42e5b34 Refactor 2018-04-02 04:52:11 +09:00
syuilo
dd5a773d3b Refactor 2018-04-02 04:48:38 +09:00
syuilo
057c1e3c07 Refactor 2018-04-02 04:15:27 +09:00
syuilo
da22a11340 Refactor 2018-04-02 04:01:34 +09:00
syuilo
030ceb1a11 Fix: Add missing bracket 2018-04-02 01:26:17 +09:00
syuilo
c01e51419e Merge pull request #1358 from akihikodaki/inbox
Make inbox signature verification compatible with Mastodon
2018-04-02 00:37:41 +09:00
Akihiko Odaki
aaf8397128 Make inbox signature verification compatible with Mastodon 2018-04-02 00:36:36 +09:00
syuilo
a390f7d6e4 Merge pull request #1357 from akihikodaki/publickey
Force TLS on WebFinger
2018-04-01 23:34:58 +09:00
Akihiko Odaki
40756d0b0f Force TLS on WebFinger 2018-04-01 23:33:48 +09:00
syuilo
a0cf789450 Merge pull request #1356 from akihikodaki/publickey
Implement remote follow
2018-04-01 23:32:46 +09:00
Akihiko Odaki
dedd5bbdba Implement remote follow 2018-04-01 23:30:57 +09:00
syuilo
2037d1c602 Add missing semicolon 2018-04-01 22:24:44 +09:00
syuilo
a60482e90a Fix type annotation 2018-04-01 22:09:25 +09:00
syuilo
a3229a2308 Refactor 2018-04-01 21:56:11 +09:00
syuilo
5970159490 oops 2018-04-01 21:53:44 +09:00
syuilo
28c8b843ee Some fixes and refactors 2018-04-01 21:24:25 +09:00
syuilo
4841bc4642 Better variable name 2018-04-01 21:19:39 +09:00
syuilo
0aee0bde27 Add missing semicolon 2018-04-01 21:17:46 +09:00
syuilo
823438f05b Remove unnecessary brackets 2018-04-01 21:16:37 +09:00
syuilo
4ebb22f37d Add missing brackets 2018-04-01 21:15:00 +09:00
Akihiko Odaki
92b3501c6b Implement account public key endpoint 2018-04-01 20:07:04 +09:00
Akihiko Odaki
344c6b7b39 Implement outbox 2018-04-01 19:21:59 +09:00
syuilo
e494fdd6da Refactor: Better variable name 2018-04-01 18:28:10 +09:00
syuilo
40c9adfef5 Fix type annotation 2018-04-01 18:20:17 +09:00
syuilo
d960e52690 Merge pull request #1352 from akihikodaki/inbox
Respond with 202 for inbox request
2018-04-01 18:17:36 +09:00
syuilo
f9c290a9df Resolve conflict 2018-04-01 18:17:04 +09:00
Akihiko Odaki
f53497e2c0 Respond with 202 for inbox request 2018-04-01 18:16:47 +09:00
syuilo
961fe33bb9 Merge pull request #1351 from akihikodaki/webfinger
Implement post Activity Streams
2018-04-01 18:15:35 +09:00
Akihiko Odaki
f4c4ce8331 Implement post Activity Streams 2018-04-01 18:12:51 +09:00
syuilo
65478160ca Add missing property 2018-04-01 18:07:29 +09:00
syuilo
7fe9c9e73f Fix 2018-04-01 16:46:33 +09:00
syuilo
13949270d2 Use dot notation 2018-04-01 16:04:23 +09:00
syuilo
a733e78880 Merge pull request #1350 from akihikodaki/webfinger
Implement inbox
2018-04-01 16:02:06 +09:00
Akihiko Odaki
b8ff725aff Implement inbox 2018-04-01 15:58:49 +09:00
syuilo
2ba079342f [wip] dark mode 2018-04-01 15:58:32 +09:00
Akihiko Odaki
388a9c2b18 Implement WebFinger 2018-04-01 14:12:07 +09:00
syuilo
0c5fbe1b9c 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
1efde50792 Mark host parameter of /api/users/show nullable 2018-04-01 14:10:22 +09:00
syuilo
713480d923 Disable needless header 2018-04-01 12:43:59 +09:00
syuilo
807a88fb9d ✌️ 2018-04-01 12:37:53 +09:00
syuilo
4786a15034 Use sendStatus instead of send 2018-04-01 12:33:26 +09:00
syuilo
a4f47fd034 Merge pull request #1346 from akihikodaki/user
Implement Activity Streams representation of user
2018-04-01 12:27:16 +09:00
Akihiko Odaki
07a9eda9da Implement Activity Streams representation of user 2018-04-01 12:24:29 +09:00
syuilo
6a6eb96daa Fix bug 2018-03-31 21:46:58 +09:00
syuilo
08fefc0184 Use Vue rendering function
and some refactors
2018-03-31 21:41:08 +09:00
Akihiko Odaki
d84e0265e5 Implement remote status retrieval 2018-03-31 20:33:14 +09:00
Akihiko Odaki
7696fd9fd2 Store texts as HTML 2018-03-31 20:30:28 +09:00
Akihiko Odaki
a18e5a90a8 Set empty array instead of null to mediaIds property of posts 2018-03-31 20:17:16 +09:00
syuilo
813ac019c1 デフォルトでドライブ容量は128MiBにした 2018-03-30 21:55:23 +09:00
syuilo
58cd4aafd9 oops 2018-03-30 21:37:01 +09:00
syuilo
daa69b86c0 oops 2018-03-30 21:31:51 +09:00
syuilo
b8dc02a29c 返信先プレビューなどではURLプレビューを表示しないように 2018-03-30 18:48:51 +09:00
syuilo
7ff1d25e28 Merge pull request #1336 from akihikodaki/recommendation
Fix recommendation query
2018-03-30 14:11:11 +09:00
syuilo
b7f03e6851 Merge pull request #1340 from akihikodaki/github
Fix GitHub bot user query
2018-03-30 14:10:23 +09:00
Akihiko Odaki
b60d670dcd Fix GitHub bot user query 2018-03-30 13:00:05 +09:00
Akihiko Odaki
b7f6320166 Fix recommendation query 2018-03-30 12:58:21 +09:00
syuilo
a9e4107416 cw 2018-03-30 11:24:07 +09:00
syuilo
23ab0a5e50 Update user.ts 2018-03-30 00:13:20 +09:00
syuilo
d21887ef13 Update user.ts 2018-03-30 00:05:12 +09:00
syuilo
118c712a2d Use id instead of username
Because username is mutable. id is immutable!
2018-03-30 00:00:19 +09:00
syuilo
299b8c164b Update show.ts 2018-03-29 21:45:43 +09:00
syuilo
5f8d803d5e Update show.ts 2018-03-29 21:44:39 +09:00
syuilo
63830105b9 Update show.ts 2018-03-29 21:36:27 +09:00
syuilo
f9e46cbdf3 oops 2018-03-29 20:50:45 +09:00
syuilo
b5420a6690 Fix bug 2018-03-29 20:37:24 +09:00
syuilo
95a76dd211 ✌️ 2018-03-29 20:34:39 +09:00
syuilo
40c10a00d8 整理した 2018-03-29 20:32:18 +09:00
syuilo
308dedf5e4 #1253 2018-03-29 15:23:15 +09:00
syuilo
7d2e176aa1 Use @type 2018-03-29 14:59:06 +09:00
syuilo
64e4057850 oops 2018-03-29 14:53:48 +09:00
syuilo
47a5ec94f0 Resolve conflicts 2018-03-29 14:48:47 +09:00
Akihiko Odaki
660cdf05c4 Introduce processor 2018-03-29 01:54:41 +09:00
Akihiko Odaki
c20b22cf22 Implement remote account resolution 2018-03-27 23:51:21 +09:00
syuilo
49b36ee5ef Merge pull request #1316 from akihikodaki/host
Describe host field of user entity
2018-03-27 16:41:26 +09:00
Akihiko Odaki
d0e9d76ed2 Describe host field of user entity 2018-03-27 16:40:10 +09:00
syuilo
e0e3a05acc Merge pull request #1315 from akihikodaki/host
Revert a change for AuthSess query
2018-03-27 16:06:01 +09:00
Akihiko Odaki
055c522e6b Revert a change for AuthSess query 2018-03-27 16:04:22 +09:00
syuilo
f755ddef08 Merge pull request #1314 from akihikodaki/host
Add host_lower to User
2018-03-27 16:00:24 +09:00
Akihiko Odaki
8a2bf01167 Add host_lower to User 2018-03-27 15:57:42 +09:00
syuilo
753fce41ec Bye bye subdomains 2018-03-27 14:13:12 +09:00
Akihiko Odaki
b3d9fced33 Replace /:user endpoints with /@:user 2018-03-27 12:55:33 +09:00
syuilo
b76e29ecdd Bye bye secondary domain 2018-03-27 12:53:34 +09:00
syuilo
3fe42336b3 Destory api. subdomain
api.example.com --> example.com/api
2018-03-27 12:45:18 +09:00
syuilo
ce50b3a8a3 Merge pull request #1309 from akihikodaki/key
Add host field to User
2018-03-27 12:03:48 +09:00
Akihiko Odaki
27ca691543 Add host field to User 2018-03-27 12:02:43 +09:00