Commit Graph

201 Commits

Author SHA1 Message Date
Yasuhiro Matsumoto
b5541c9e38 fix stream types
close #25
2017-04-19 16:13:07 +09:00
Yasuhiro Matsumoto
e47dd5a618 export ID for stream. add -i to reply 2017-04-19 15:17:26 +09:00
Yasuhiro Matsumoto
998ab3d74a add test for upload 2017-04-19 15:00:26 +09:00
mattn
8dfdc289a2 Merge pull request #27 from 178inaba/api_error
Fix to parse API error
2017-04-19 14:52:50 +09:00
mattn
204604b64f Merge pull request #26 from datsuns/add_unit_test_status
add test cases for status.go
2017-04-19 14:49:27 +09:00
178inaba
d6bff26e62 Fix to use http status const 2017-04-19 14:43:37 +09:00
178inaba
aa0f9563ac Fix to parse API error 2017-04-19 14:32:53 +09:00
Yasuhiro Matsumoto
5a6f6f16f1 add follow command 2017-04-19 14:17:18 +09:00
datsuns
b573bd5eb7 add test cases for status.go
target methods:
  - GetStatusCard()
  - GetStatusContext()
  - GetTimelineHashtag()
  - DeleteStatus()
  - Search()
2017-04-19 14:08:38 +09:00
Yasuhiro Matsumoto
fe02b9e6af Merge branch 'next' 2017-04-18 17:18:39 +09:00
Yasuhiro Matsumoto
20174d5b4a Merge branch 'master' of github.com:mattn/go-mastodon 2017-04-18 17:18:17 +09:00
Yasuhiro Matsumoto
aa8d2b1225 remove debug message 2017-04-18 17:16:37 +09:00
Yasuhiro Matsumoto
60e6eba67c add "next" variable 2017-04-18 17:14:39 +09:00
Yasuhiro Matsumoto
2debac3055 read all elements 2017-04-18 17:11:49 +09:00
Yasuhiro Matsumoto
9ccb5101ec take pointer for "next" variable 2017-04-18 17:08:48 +09:00
mattn
26ca3942bf Merge pull request #24 from 178inaba/get_query
Accounts fix
2017-04-18 09:11:33 +09:00
178inaba
5d106e8942 Add accounts test 2017-04-18 02:46:10 +09:00
178inaba
6f244235d4 Fix to be able to specify multiple id for GetAccountRelationships 2017-04-18 02:45:40 +09:00
178inaba
a7e0c19d35 Fix get query to request url 2017-04-18 01:59:52 +09:00
mattn
552016b3be Merge pull request #23 from 178inaba/accounts_test
[WIP]Accounts test
2017-04-18 01:18:50 +09:00
178inaba
6020167f20 Add TestGetAccountRelationship 2017-04-18 00:28:59 +09:00
178inaba
e37705c104 Add TestAccountMute and TestAccountUnmute 2017-04-18 00:00:05 +09:00
178inaba
c56694e78e Add TestAccountBlock and TestAccountUnblock 2017-04-17 23:52:51 +09:00
Yasuhiro Matsumoto
eb0803d442 add stream -simplejson 2017-04-17 23:43:11 +09:00
178inaba
a752a1bd6b Add accounts test 2017-04-17 23:39:47 +09:00
Yasuhiro Matsumoto
0579b31633 check response 2017-04-17 23:36:21 +09:00
Yasuhiro Matsumoto
e7f2469bc0 add stream -json 2017-04-17 23:29:44 +09:00
mattn
b6d4c40dd6 Merge pull request #22 from 178inaba/cmd_input
Fix tty.Open() position
2017-04-17 23:28:38 +09:00
178inaba
39239ae270 Fix accounts test 2017-04-17 23:21:52 +09:00
178inaba
d6ee0499f5 Fix tty.Open() position 2017-04-17 22:39:57 +09:00
Yasuhiro Matsumoto
a0232ea6ef add missing file 2017-04-17 14:03:40 +09:00
Yasuhiro Matsumoto
4b979e4df2 update README.md 2017-04-17 13:56:35 +09:00
Yasuhiro Matsumoto
38590d8fd6 Merge branch 'master' of github.com:mattn/go-mastodon 2017-04-17 13:56:17 +09:00
Yasuhiro Matsumoto
b74e25cee2 add upload command 2017-04-17 13:56:06 +09:00
Yasuhiro Matsumoto
af67397430 add UploadMedia 2017-04-17 13:54:36 +09:00
mattn
f7c198d876 Merge pull request #21 from 178inaba/error_message
Fix test error message
2017-04-17 13:17:27 +09:00
178inaba
e1bc4c143d Fix test error message 2017-04-17 13:03:31 +09:00
Yasuhiro Matsumoto
959459eb42 update README.md 2017-04-17 13:00:53 +09:00
Yasuhiro Matsumoto
f256ad5d5f Merge branch 'pr/20' 2017-04-17 13:00:05 +09:00
178inaba
06bd83e74b Fix test error message 2017-04-17 12:55:40 +09:00
178inaba
b0b43a8d7d Add GetMutes 2017-04-17 12:49:55 +09:00
Yasuhiro Matsumoto
664f8f8fdf fix build 2017-04-17 12:39:41 +09:00
Yasuhiro Matsumoto
26bc85fb24 fix build 2017-04-17 12:36:27 +09:00
mattn
52ac299ec8 Merge branch 'master' into reports 2017-04-17 12:29:31 +09:00
mattn
f181df17a0 Merge pull request #18 from chansuke/fix-comment
Fix comment of notification API
2017-04-17 12:28:52 +09:00
mattn
0d32e0bd97 Merge branch 'master' into fix-comment 2017-04-17 12:28:43 +09:00
mattn
ea961f07a2 Merge pull request #19 from mattn/context
breaking compatibility changes. take context for first arguments.
2017-04-17 12:27:47 +09:00
Yasuhiro Matsumoto
6fe43e545a Use Request.WithContext 2017-04-17 12:25:20 +09:00
Yasuhiro Matsumoto
5e84b57bf3 breaking compatibility changes. take context for first arguments. 2017-04-17 11:10:29 +09:00
chansuke
f752ac9eba Fix comment of notification API 2017-04-17 04:59:43 +09:00