Commit Graph

118 Commits (114537dcc024aaead8dff8f9f7627e87daceb7d4)

Author SHA1 Message Date
Yasuhiro Matsumoto d272534ac7
Separate go.mod 2022-06-04 23:01:37 +09:00
Ollivier Robert 6abe72ddb0 Fix TestCmdTimelone() as well. 2021-04-17 21:32:10 +09:00
Christian Muehlhaeuser 75578dd249 Update search to use v2 API endpoint
v1 has been disabled on most instances by now.
The change is minor: hash-tags are now reported as proper structs
instead of a simple string-array.
2020-03-02 11:37:25 +09:00
Christian Muehlhaeuser 25da74b864 Fix follower pagination in cmd/mstdn
Make sure to reset Pagination's MinID on every iteration, as
discussed in #99.
2019-09-30 17:18:07 +09:00
Christian Muehlhaeuser 20bc690d8d Simplify code
- Removed redundant returns
- Implicitly declare httptest.Server
2019-09-30 17:13:12 +09:00
Christian Muehlhaeuser 24cdbe8c3d Unlambda textContent call
textContent already has the right function signature, no need to wrap it.
2019-09-30 17:12:31 +09:00
Yasuhiro Matsumoto 559ed99cdf Add direct
Closes #102
2019-06-22 01:52:45 +09:00
Yasuhiro Matsumoto 3268207afe Set User-Agent 2019-06-22 01:32:52 +09:00
178inaba 5fd7d16157 Fix followers command
Set empty for SinceID.
2019-02-15 10:03:18 +09:00
Yasuhiro Matsumoto 2ccbcfe14d add some fields for instance command 2018-01-29 14:09:10 +09:00
Yasuhiro Matsumoto b9e51b2916 fix typo 2018-01-29 13:26:33 +09:00
Yasuhiro Matsumoto 0022a53649 add instance_activity/instance_peers command 2018-01-29 13:26:33 +09:00
Kaoru HAYAMA aaeb9f1de2 Fix: on `mstdn.exe toot -i ID`: ID (and default) was int64 -> string 2017-10-25 20:26:28 +09:00
Yasuhiro Matsumoto a7e10ddba4 fix ID 2017-10-25 15:23:53 +09:00
Yasuhiro Matsumoto 730317321a also convert to string in attachments, pagenation 2017-10-25 10:22:39 +09:00
Yasuhiro Matsumoto 3274f13917 Fix type of IDs.
In Mastodon 2.0 API specification, IDs are typed as string.
2017-10-23 23:48:48 +09:00
178inaba f0eb7d29c4 Fix not to return error event of context in streaming 2017-05-09 02:14:45 +09:00
Yasuhiro Matsumoto a0466b7cc4 close q because cancel may be called twice 2017-05-08 15:20:50 +09:00
mattn 0e50566921 Merge pull request #54 from 178inaba/pagination
Add Pagination
2017-05-08 13:50:55 +09:00
178inaba 4033436175 Fix to set MaxID and SinceID to exclusive 2017-05-08 13:44:49 +09:00
178inaba 9e07d8951e Fix not to declare Pagination every time 2017-05-08 11:06:01 +09:00
178inaba f283f05671 Fix Pagination variable from *int64 to int64 2017-05-07 01:36:25 +09:00
178inaba 1c0e37928e Fix mstdn cmd pagination 2017-05-06 23:49:46 +09:00
178inaba dd0b467062 Fix pagination for mstdn command 2017-05-05 00:18:17 +09:00
178inaba 5e8f3ded43 Fix README 2017-05-03 03:50:32 +09:00
178inaba d0504fea0f Add TestCmdXSearch and TestCmdMikami 2017-05-03 03:05:36 +09:00
178inaba a796ca03c5 Add TestXSearch 2017-05-03 02:32:36 +09:00
178inaba 6bbd57e848 Rename xsearch -> xSearch 2017-05-03 02:29:15 +09:00
178inaba e5d11f63aa Add xsearch 2017-05-02 22:36:06 +09:00
Yasuhiro Matsumoto 759ce4a331 Merge branch 'master' of github.com:mattn/go-mastodon 2017-05-01 16:35:52 +09:00
Yasuhiro Matsumoto 48667f7af8 add xsearch command 2017-05-01 16:35:33 +09:00
178inaba c88e2df363 Remove channel close of mstdn stream command 2017-04-30 13:48:08 +09:00
178inaba f4cf4d4ec9 Fix streaming for mstdn 2017-04-28 14:19:40 +09:00
178inaba b1152a55cd Fix README 2017-04-27 12:03:11 +09:00
Yasuhiro Matsumoto b1ec2978a2 add mikami command 2017-04-27 00:56:28 +09:00
Yasuhiro Matsumoto 3fb35ec728 add init command 2017-04-27 00:56:13 +09:00
178inaba 894bab96b7 Fix to output error log of cmd 2017-04-26 12:38:11 +09:00
Yasuhiro Matsumoto adf4fbaa20 extract text in account 2017-04-25 15:33:55 +09:00
Yasuhiro Matsumoto fe04c0b104 update client ID/Secret 2017-04-25 15:32:56 +09:00
Yasuhiro Matsumoto 041bfc1dcd add test for -ff 2017-04-24 19:47:07 +09:00
Yasuhiro Matsumoto e29b2993a6 use t.Fatal 2017-04-24 19:40:26 +09:00
Yasuhiro Matsumoto d0cd67efbc return error 2017-04-24 19:40:20 +09:00
Yasuhiro Matsumoto 055cbf0e6f Merge branch 'master' of github.com:mattn/go-mastodon 2017-04-24 19:38:36 +09:00
Yasuhiro Matsumoto def474a7a5 Merge branch 'master' of github.com:mattn/go-mastodon 2017-04-24 17:50:32 +09:00
Yasuhiro Matsumoto 919d6a73fe require dash 2017-04-24 17:49:56 +09:00
178inaba 992dc7da05 Fix error message 2017-04-24 17:33:45 +09:00
mattn 2ae2a90336 Merge pull request #41 from 178inaba/cmd_follow_test
Cmd follow test
2017-04-24 09:47:59 +09:00
178inaba 6f6070b22e Add cmd follow test 2017-04-24 01:13:08 +09:00
Haruki TSURUMOTO a58d590523 fix client is not set when first use 2017-04-23 19:17:18 +09:00
Yasuhiro Matsumoto bb7a3a2892 add test for stream --simplejson 2017-04-21 00:57:28 +09:00