Commit graph

2534 commits

Author SHA1 Message Date
syuilo
be5138207e Fix bug 2018-04-10 02:38:48 +09:00
syuilo
47b6f5de92 ✌️ 2018-04-10 02:36:28 +09:00
syuilo
43ae3c6e27 Refactor 2018-04-10 02:34:47 +09:00
syuilo
dcd851cb68 Refactor 2018-04-10 02:20:06 +09:00
syuilo
805bc4b254 Refactor 2018-04-10 02:12:17 +09:00
syuilo
ce9316491a Fix bug 2018-04-10 02:04:30 +09:00
syuilo
d0aed377b9 Fix bug 2018-04-09 20:03:38 +09:00
syuilo
9f4781c691 oops 2018-04-09 20:00:30 +09:00
syuilo
84ffcb9672 Clean up 2018-04-09 19:53:15 +09:00
syuilo
b4d806033c Fix bug 2018-04-09 19:52:17 +09:00
syuilo
d06b80deb8 Fix bug 2018-04-09 19:28:16 +09:00
syuilo
fe15a5abda Fox bug 2018-04-09 19:26:23 +09:00
syuilo
48d540e9f4 Fix bug 2018-04-09 19:23:52 +09:00
syuilo
2560d3d1c1 Fix bug 2018-04-09 19:18:15 +09:00
syuilo
47fc8f63be oops 2018-04-09 18:56:31 +09:00
syuilo
592527cd5f Fix bug 2018-04-09 18:54:03 +09:00
syuilo
98fe9c39eb Refactor 2018-04-09 18:52:29 +09:00
syuilo
2a5016865a Fix bug 2018-04-09 17:38:22 +09:00
syuilo
64547965b4 Fix bug 2018-04-09 17:33:52 +09:00
syuilo
b9a676a1c1 ユーザー名の少なくとも3文字以上という制限を撤廃 2018-04-09 17:09:57 +09:00
syuilo
d90ad34924 Fix bug 2018-04-09 05:44:35 +09:00
syuilo
5093f69b08 oops 2018-04-09 05:39:18 +09:00
syuilo
94e48ba122 ✌️ 2018-04-09 05:37:50 +09:00
syuilo
6b1dc866a8 ✌️ 2018-04-09 05:34:33 +09:00
syuilo
44e5ae110e ✌️ 2018-04-09 05:30:17 +09:00
syuilo
1186b788d6 ✌️ 2018-04-09 05:27:38 +09:00
syuilo
cf5b679117 ✌️ 2018-04-09 05:23:35 +09:00
syuilo
d8a87379ca Fix bug 2018-04-09 05:14:47 +09:00
syuilo
536277122d wip 2018-04-09 05:02:52 +09:00
syuilo
08beb45935 wip 2018-04-09 04:08:56 +09:00
unarist
3c4235067f Fix username/mention regexes
* Allow underscore instead of hypen
* Fix domain part handling
* Add tests for remote mention
2018-04-09 01:52:41 +09:00
syuilo
34281de04e
Merge pull request #1420 from unarist/fix/banner-selection
Fix banner selection from user page and drives
2018-04-09 00:38:49 +09:00
unarist
8a37227907 Fix banner selection from user page and drives
Previously, updateBanner takes a callback as a first argument of the function, but some calls passes a file object.

I've refactored it with Promise to avoid those misuses (although it should have type definitions :/)
2018-04-09 00:33:56 +09:00
syuilo
ad1a86113b Fix bug 2018-04-08 23:29:27 +09:00
syuilo
2ce9ea2eda
Merge pull request #1418 from unarist/fix/note-detail
Fix errors related to getUserName on NoteDetail component
2018-04-08 20:56:09 +09:00
unarist
0d036100ee Fix errors related to getUserName on NoteDetail component 2018-04-08 20:53:48 +09:00
unarist
c087edd33a Fix model method definitions on profile page components 2018-04-08 20:48:01 +09:00
syuilo
ba280ac380 Fix bug 2018-04-08 19:30:19 +09:00
syuilo
2076ab876a Fix bugs 2018-04-08 19:27:53 +09:00
syuilo
282f685065 Fix bug 2018-04-08 19:16:48 +09:00
syuilo
998b1c4a9c Clean up 2018-04-08 19:14:55 +09:00
syuilo
9b4778c05f Fix bug 2018-04-08 18:52:42 +09:00
syuilo
a1e6bb6fa3 Provide url property 2018-04-08 18:21:02 +09:00
syuilo
a16b96ccc0 Fix bug 2018-04-08 17:40:03 +09:00
syuilo
6eefdfcb17 Fix bug 2018-04-08 17:37:16 +09:00
syuilo
7093d4b87a oops 2018-04-08 17:23:32 +09:00
syuilo
cd198d8fbf ✌️ 2018-04-08 17:23:06 +09:00
syuilo
6089169a3c oops 2018-04-08 17:20:46 +09:00
syuilo
56da6f77c0 oops 2018-04-08 17:16:11 +09:00
syuilo
4753dfa4d9 oops 2018-04-08 17:15:07 +09:00
syuilo
5fb08b0ba1 Check whether is local user 2018-04-08 15:51:32 +09:00
syuilo
6d49edc0ab ✌️ 2018-04-08 15:25:17 +09:00
syuilo
e63f884bc6 Use id in uri instead of username 2018-04-08 15:15:22 +09:00
syuilo
04cdb04ee2 Fix bug 2018-04-08 07:11:29 +09:00
syuilo
6e34e77372 Implement announce
And bug fixes
2018-04-08 06:55:26 +09:00
syuilo
0004944708 Fix bug 2018-04-08 05:07:17 +09:00
syuilo
5ddb047794 Fix bugs 2018-04-08 05:02:50 +09:00
syuilo
7f448221ce Fix bugs 2018-04-08 04:44:59 +09:00
syuilo
cebea4e94c Some bug fixes and clean ups 2018-04-08 04:02:12 +09:00
syuilo
a02ee3a08b Some bug fixes 2018-04-08 03:58:11 +09:00
syuilo
a1b490afa7 Post --> Note
Closes #1411
2018-04-08 02:30:37 +09:00
syuilo
c5f23bce78 Implement like 2018-04-07 17:05:14 +09:00
syuilo
321f61f1cb Refactor 2018-04-07 16:36:40 +09:00
syuilo
93f631e358 Refactor 2018-04-07 16:14:35 +09:00
syuilo
7dc06b3d43 Refactor 2018-04-07 15:54:11 +09:00
syuilo
81d19195cf Add todo 2018-04-07 15:52:42 +09:00
syuilo
c77013ab3e oops 2018-04-07 15:45:03 +09:00
syuilo
2259747072 各種カウントを復活させたりなど 2018-04-07 15:39:40 +09:00
syuilo
62171dce22 oops 2018-04-07 13:05:10 +09:00
syuilo
ddced43ec7 Merge branch 'master' into refactor 2018-04-07 13:03:19 +09:00
syuilo
ac5076c678 Ignore post that not public 2018-04-07 12:05:15 +09:00
syuilo
e68dd11ecc Support unlisted visibility type 2018-04-07 12:02:25 +09:00
syuilo
779a37c4ae Visibility support 2018-04-07 07:27:18 +09:00
syuilo
494597236c 投稿に関しては論理削除するように
処理をシンプルにするため
2018-04-07 07:19:30 +09:00
syuilo
8273a7e748 Fix bug 2018-04-07 06:59:20 +09:00
syuilo
a34710fea9 Refactor 2018-04-07 06:58:53 +09:00
syuilo
b98e67bca4 Fix bug 2018-04-07 06:58:39 +09:00
syuilo
a0c6e7af1c Fix bug 2018-04-07 06:51:35 +09:00
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