Commit Graph

2525 Commits

Author SHA1 Message Date
syuilo
a2014d8021 Fix bug 2018-04-09 19:52:17 +09:00
syuilo
f9c5cb2639 Fix bug 2018-04-09 19:28:16 +09:00
syuilo
f44fad551f Fox bug 2018-04-09 19:26:23 +09:00
syuilo
e901582838 Fix bug 2018-04-09 19:23:52 +09:00
syuilo
1fc56be0d2 Fix bug 2018-04-09 19:18:15 +09:00
syuilo
130dd2739d oops 2018-04-09 18:56:31 +09:00
syuilo
bd9dfdd0c1 Fix bug 2018-04-09 18:54:03 +09:00
syuilo
37a99f0f02 Refactor 2018-04-09 18:52:29 +09:00
syuilo
4fd3283366 Fix bug 2018-04-09 17:38:22 +09:00
syuilo
73f946fd4a Fix bug 2018-04-09 17:33:52 +09:00
syuilo
34f77cb8a0 ユーザー名の少なくとも3文字以上という制限を撤廃 2018-04-09 17:09:57 +09:00
syuilo
c44b26f296 Fix bug 2018-04-09 05:44:35 +09:00
syuilo
40f482cc6b oops 2018-04-09 05:39:18 +09:00
syuilo
4de3c26e56 ✌️ 2018-04-09 05:37:50 +09:00
syuilo
0831159853 ✌️ 2018-04-09 05:34:33 +09:00
syuilo
8e6a772701 ✌️ 2018-04-09 05:30:17 +09:00
syuilo
0b4b9a2ef4 ✌️ 2018-04-09 05:27:38 +09:00
syuilo
ce81f4953b ✌️ 2018-04-09 05:23:35 +09:00
syuilo
d45e2661aa Fix bug 2018-04-09 05:14:47 +09:00
syuilo
d760f41da9 wip 2018-04-09 05:02:52 +09:00
syuilo
8089200d69 wip 2018-04-09 04:08:56 +09:00
unarist
9b58a541b1 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
48023998a4 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
8835d23b69 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
15ea610f95 Fix bug 2018-04-08 23:29:27 +09:00
syuilo
cffc8d124c 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
858e689389 Fix errors related to getUserName on NoteDetail component 2018-04-08 20:53:48 +09:00
unarist
6af2cd7a29 Fix model method definitions on profile page components 2018-04-08 20:48:01 +09:00
syuilo
0c2f47989e Fix bug 2018-04-08 19:30:19 +09:00
syuilo
4f29253b95 Fix bugs 2018-04-08 19:27:53 +09:00
syuilo
1884d79c55 Fix bug 2018-04-08 19:16:48 +09:00
syuilo
01349dd36d Clean up 2018-04-08 19:14:55 +09:00
syuilo
47607c7da6 Fix bug 2018-04-08 18:52:42 +09:00
syuilo
70214c45ce Provide url property 2018-04-08 18:21:02 +09:00
syuilo
d451c3b451 Fix bug 2018-04-08 17:40:03 +09:00
syuilo
094c5d2680 Fix bug 2018-04-08 17:37:16 +09:00
syuilo
e540a622cb oops 2018-04-08 17:23:32 +09:00
syuilo
358e8f162f ✌️ 2018-04-08 17:23:06 +09:00
syuilo
8fa89e0443 oops 2018-04-08 17:20:46 +09:00
syuilo
d2c02b307e oops 2018-04-08 17:16:11 +09:00
syuilo
fd91ad7df7 oops 2018-04-08 17:15:07 +09:00
syuilo
237eae2154 Check whether is local user 2018-04-08 15:51:32 +09:00
syuilo
1078dd6d65 ✌️ 2018-04-08 15:25:17 +09:00
syuilo
3c6eef8643 Use id in uri instead of username 2018-04-08 15:15:22 +09:00
syuilo
37afa07c8d Fix bug 2018-04-08 07:11:29 +09:00
syuilo
d482ca7f9f Implement announce
And bug fixes
2018-04-08 06:55:26 +09:00
syuilo
5e5c46545c Fix bug 2018-04-08 05:07:17 +09:00
syuilo
b288304ac3 Fix bugs 2018-04-08 05:02:50 +09:00
syuilo
96c7153188 Fix bugs 2018-04-08 04:44:59 +09:00
syuilo
f482c9329f Some bug fixes and clean ups 2018-04-08 04:02:12 +09:00
syuilo
9739dc4ac2 Some bug fixes 2018-04-08 03:58:11 +09:00
syuilo
2ebbb70356 Post --> Note
Closes #1411
2018-04-08 02:30:37 +09:00
syuilo
f79dc2cbc0 Implement like 2018-04-07 17:05:14 +09:00
syuilo
a85c9b8e6f Refactor 2018-04-07 16:36:40 +09:00
syuilo
7fd7751c08 Refactor 2018-04-07 16:14:35 +09:00
syuilo
6113f7260c Refactor 2018-04-07 15:54:11 +09:00
syuilo
8e8a9175ad Add todo 2018-04-07 15:52:42 +09:00
syuilo
eaffa118b4 oops 2018-04-07 15:45:03 +09:00
syuilo
5a7e706cab 各種カウントを復活させたりなど 2018-04-07 15:39:40 +09:00
syuilo
ac660e3170 oops 2018-04-07 13:05:10 +09:00
syuilo
68311019bf Merge branch 'master' into refactor 2018-04-07 13:03:19 +09:00
syuilo
20ae8012cf Ignore post that not public 2018-04-07 12:05:15 +09:00
syuilo
ad4378bda8 Support unlisted visibility type 2018-04-07 12:02:25 +09:00
syuilo
32516b1d8e Visibility support 2018-04-07 07:27:18 +09:00
syuilo
c2cced0a45 投稿に関しては論理削除するように
処理をシンプルにするため
2018-04-07 07:19:30 +09:00
syuilo
2311f3017e Fix bug 2018-04-07 06:59:20 +09:00
syuilo
3f85ae0fbf Refactor 2018-04-07 06:58:53 +09:00
syuilo
ee85f38eba Fix bug 2018-04-07 06:58:39 +09:00
syuilo
e1649f21a9 Fix bug 2018-04-07 06:51:35 +09:00
syuilo
3e96070371 Fix bug 2018-04-07 06:44:29 +09:00
syuilo
dc328301bd Increase limit to avoid warning 2018-04-07 06:25:58 +09:00
syuilo
d5f013193b Fix bug 2018-04-07 06:23:38 +09:00
syuilo
7b885d8368 Fix bug 2018-04-07 06:22:03 +09:00
syuilo
efb172bce8 Bug fixes and some refactors 2018-04-07 06:13:40 +09:00
syuilo
2057fdde4a Add todo 2018-04-07 00:07:30 +09:00
syuilo
85f1857d13 Merge pull request #1410 from akihikodaki/objec
Resolve local Object ID
2018-04-06 23:56:43 +09:00
syuilo
716f3a4505 Add index 2018-04-06 23:32:38 +09:00
syuilo
bcad552496 Log 2018-04-06 22:40:06 +09:00
syuilo
88e11c7b0c Fix bug 2018-04-06 22:15:31 +09:00
syuilo
24cfde31ab Add todo 2018-04-06 22:00:37 +09:00
syuilo
d2abfa5f2e Resolve local Person ID 2018-04-06 20:52:38 +09:00
syuilo
b1934adca6 Merge pull request #1408 from akihikodaki/person
Resolve local Person ID
2018-04-06 20:47:07 +09:00
syuilo
20956d46c0 Revert "Remove silent flag"
This reverts commit 9c15c94f801de7019f014446aa3b8ea42980a1da.
2018-04-06 20:45:33 +09:00
syuilo
5974e64f06 Split code 2018-04-06 19:35:23 +09:00
syuilo
0c1337905a Fix type annotation 2018-04-06 19:26:17 +09:00
syuilo
aeae5aa9ff Add todos 2018-04-06 19:23:13 +09:00
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