Commit Graph

436 Commits (4cbbf813dc0e65993c9450b107701464a5bd5488)

Author SHA1 Message Date
Yasuhiro Matsumoto 6c3b27aa4e fix test for search command 2017-04-21 00:50:39 +09:00
mattn cc593fd21e Merge pull request #36 from y0za/fix-test-json-again
Fix test json property name again
2017-04-21 00:21:52 +09:00
mattn 02640dc4ad Merge pull request #35 from 178inaba/instance_test
Add TestGetInstance
2017-04-21 00:21:23 +09:00
mattn f90053da77 Merge pull request #34 from 178inaba/lint
Fix for golint ./... and ineffassign .
2017-04-21 00:20:51 +09:00
mattn fc6bfd56fa Merge pull request #33 from 178inaba/helper_test
Add helper test
2017-04-21 00:19:34 +09:00
y0za 1c95b07428 Fix test json property name again 2017-04-20 22:41:49 +09:00
178inaba 4be3a42d3c Add TestGetInstance 2017-04-20 22:09:11 +09:00
178inaba d1b5f4b1fb Fix for ineffassign . 2017-04-20 21:29:10 +09:00
178inaba 68843f4dd0 Fix for golint ./... 2017-04-20 21:20:40 +09:00
178inaba 51df99a829 Fix test want 2017-04-20 20:55:45 +09:00
178inaba 5714594344 Add TestParseAPIError 2017-04-20 20:52:50 +09:00
178inaba 5d0b16b367 Add TestBase64Encode 2017-04-20 20:39:10 +09:00
178inaba 1c43b0a330 Add TestBase64EncodeFileName 2017-04-20 20:21:24 +09:00
mattn c417db5189 Merge pull request #32 from y0za/fix-test-json
Fix test json property name
2017-04-20 19:59:41 +09:00
y0za e9f28b9c6e Fix test json property name 2017-04-20 19:37:24 +09:00
Yasuhiro Matsumoto bade3895da add --template flag for stream command
close #30
2017-04-20 14:14:48 +09:00
Yasuhiro Matsumoto cc5f65b3bf add test for stream command 2017-04-20 10:39:20 +09:00
Yasuhiro Matsumoto 1a101faaae add delete command 2017-04-20 02:04:20 +09:00
Yasuhiro Matsumoto 293a9e0aba todo 2017-04-19 23:58:58 +09:00
Yasuhiro Matsumoto adca356db1 display acct in followers command 2017-04-19 23:32:23 +09:00
Yasuhiro Matsumoto 18d207636a fix crash on test 2017-04-19 23:24:36 +09:00
Yasuhiro Matsumoto eb1c1cf0ae display status/reblog in stream 2017-04-19 23:21:19 +09:00
Yasuhiro Matsumoto f40839b98d Merge branch 'master' of github.com:mattn/go-mastodon 2017-04-19 20:52:49 +09:00
Yasuhiro Matsumoto 1ddd67b1a4 diaply acct instead of username
close #29
2017-04-19 20:52:14 +09:00
mattn 1ec21221a9 Merge pull request #28 from MakeNowJust/fix/use-context
Correct context uses
2017-04-19 19:16:54 +09:00
TSUYUSATO Kitsune b105e8554c Remove 'go' from calling 'cancel'
https://github.com/mattn/go-mastodon/pull/28#discussion_r112162740
2017-04-19 19:12:09 +09:00
TSUYUSATO Kitsune fb53d41dd9 Correct context uses
`doAPI`'s `context` does not work due to `WithContext` immutability.
`Authenticate` and `RegisterApp` does not use `context` although they
needs `context`, so their `context` does not work also. This commit fixes
them and add test cases.
2017-04-19 18:53:55 +09:00
Yasuhiro Matsumoto 5a3a325689 add tests for GetNotifications/GetNotification/ClearNotifications 2017-04-19 18:32:20 +09:00
Yasuhiro Matsumoto 909a57c5ea add test for follow command 2017-04-19 18:25:01 +09:00
Yasuhiro Matsumoto 93d28c8b04 add test for Report/GetReports 2017-04-19 18:09:48 +09:00
Yasuhiro Matsumoto 84004eff39 fix Report 2017-04-19 18:09:43 +09:00
Yasuhiro Matsumoto 318df76454 add test for linkHeader 2017-04-19 17:48:53 +09:00
Yasuhiro Matsumoto 00bd1f0aba fix linkHeader restrictly 2017-04-19 17:48:42 +09:00
Yasuhiro Matsumoto 3a90b559e1 account flag is "-profile" 2017-04-19 17:05:00 +09:00
Yasuhiro Matsumoto 3d010df5fb add -profile flag 2017-04-19 16:52:26 +09:00
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