Commit Graph

2389 Commits

Author SHA1 Message Date
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
syuilo
8f2ca781bb Merge branch 'master' of https://github.com/syuilo/misskey 2018-03-27 11:47:17 +09:00
syuilo
ad515f1cba Refactor 2018-03-27 11:47:13 +09:00
syuilo
ff5ae26f1a Merge pull request #1304 from rinsuki/features/implement-media-video
Implement mk-media-video
2018-03-27 04:43:18 +09:00
Akihiko Odaki
bfe6fc9ebb Add keypair to local account 2018-03-27 00:26:25 +09:00
rinsuki
677a213208 mobile version of media-video 2018-03-26 22:04:34 +09:00
rinsuki
61e9bdba52 implement mk-media-video 2018-03-26 21:54:38 +09:00
syuilo
c18dafae7d Merge branch 'master' of https://github.com/syuilo/misskey 2018-03-26 17:54:13 +09:00
syuilo
dfdb5647a1 Implement packForAp 2018-03-26 17:54:10 +09:00
rinsuki
abbb03f1e8 media-listのgridの処理をJSからCSSに移行 2018-03-26 17:26:21 +09:00
rinsuki
0b91abc8dd :mediaList -> :media-list 2018-03-26 17:03:20 +09:00
rinsuki
ec9c693d8c mk-images -> mk-media-list, mk-images-image -> mk-media-image 2018-03-26 16:56:46 +09:00
rinsuki
6dd71c2770 #1296 で壊してしまったのを直した 2018-03-26 16:22:00 +09:00
rinsuki
c0ea6939e3 デスクトップ版にTwitterでログインするリンクを復活させた 2018-03-26 16:18:40 +09:00
syuilo
e049e51c40 Merge pull request #1295 from rinsuki/features/user-tab-position-sticky
モバイル版のユーザーページの表示切り変えnavを上についてくるように
2018-03-26 16:11:04 +09:00
rinsuki
9648cca8e9 モバイル版のユーザーページの表示切り変えnavを上についてくるように 2018-03-26 15:56:31 +09:00
syuilo
bc00ae4620 Merge pull request #1287 from akihikodaki/account
Introduce account document to user document
2018-03-26 14:51:03 +09:00
rinsuki
ab6fa2fb8b document.domainをチェックする際に、hostのかわりにhostnameを使うように 2018-03-26 14:27:42 +09:00
Akihiko Odaki
dff27ab5b7 Define hostname and secondary_hostname in config
This is missing part of commit 0109e0811c4142153ae3f915295e62630653909e.
2018-03-26 14:12:14 +09:00
Akihiko Odaki
0b12d87896 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
d2a85aebe9 using WHATWG URL API 2018-03-26 13:57:28 +09:00
Akihiko Odaki
b397fe1c2e Specify Cookie domain with hostname 2018-03-26 13:21:41 +09:00
Akihiko Odaki
d8e754acbe Allow to use domain whose prefix is not misskey 2018-03-25 23:10:31 +09:00
Akihiko Odaki
a0c778f5c9 Pass hostname instead of host to vhost module 2018-03-25 22:49:30 +09:00
syuilo
07b37bb367 🎨 2018-03-19 23:27:34 +09:00
syuilo
316fdd8d77 Fix bug 2018-03-19 03:46:13 +09:00
syuilo
2cf311a980 Fix bug 2018-03-19 03:20:10 +09:00
syuilo
f3e6e91a69 Embed YouTube 2018-03-19 02:56:35 +09:00
syuilo
4347b93491 Add animation 2018-03-19 01:20:49 +09:00
syuilo
0ca58ed6d8 🎨 2018-03-18 16:52:28 +09:00
syuilo
d2312959f1 🎨 2018-03-18 16:47:33 +09:00
syuilo
ba2fe82dbb 2018-03-18 04:03:30 +09:00
syuilo
4e812c9ef1 🎨 2018-03-18 04:00:14 +09:00
syuilo
09a20e891b 🎨 2018-03-18 03:55:43 +09:00
syuilo
f29aed5100 🎨 2018-03-18 03:47:10 +09:00
syuilo
8cbf717aab 🎨 2018-03-18 03:40:51 +09:00
syuilo
077e363fd3 🎨 2018-03-18 03:40:06 +09:00
syuilo
f9c024e272 oops 2018-03-17 23:16:01 +09:00
syuilo
5cab83d6a9 ✌️ 2018-03-17 23:01:17 +09:00
syuilo
540ee5e364 🎨 2018-03-17 22:29:25 +09:00
syuilo
f114ab02a8 🎨 2018-03-17 22:16:35 +09:00
syuilo
a99fedb71c #1252 2018-03-17 17:53:35 +09:00
syuilo
5a0df1d632 🎨 2018-03-17 17:47:46 +09:00
syuilo
a081f7dbca ✌️ 2018-03-17 03:33:36 +09:00
syuilo
9cdee52fcc Refactor 2018-03-17 00:22:22 +09:00
syuilo
629bda733d Repost instead of reply 2018-03-17 00:04:33 +09:00
syuilo
dbcc12a6fe Fix bug 2018-03-16 23:56:20 +09:00
syuilo
a3dcdf82c5 Refactor 2018-03-16 23:38:53 +09:00
syuilo
224b275e34 Add test map 2018-03-16 23:38:34 +09:00
syuilo
b06a0f98e3 ✌️ 2018-03-16 23:38:25 +09:00
syuilo
9eac90db6e ✌️ 2018-03-16 22:38:28 +09:00