Commit Graph

363 Commits (c5945152ec75beb206ec117434e57084a4fca2dc)

Author SHA1 Message Date
Ben Lubar c5945152ec Add convenience function to authenticate using OAuth2.
This is required for users who have 2-factor authentication enabled, and is generally safer because users don't need to give their password to third-party software.
2018-11-22 21:37:40 +09:00
Strubbl 2ebf34adae add info about missing lists APIs in Readme
https://docs.joinmastodon.org/api/rest/lists/
2018-11-14 18:14:05 +09:00
Ben Lubar 61705d1f2b Add missing fields in Account.
See https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md#account

Also fixes a spurious pagination-related error.
2018-10-21 21:37:19 +09:00
Spotlight 48920165ef Correct the spelling of sensitive 2018-10-21 21:36:53 +09:00
Yasuhiro Matsumoto 2ccbcfe14d add some fields for instance command 2018-01-29 14:09:10 +09:00
Yasuhiro Matsumoto 5d863ccf79 add tests for instance 2018-01-29 13:55:37 +09:00
Yamagishi Kazutoshi f0445dd4da fix 2018-01-29 13:30:15 +09:00
Yamagishi Kazutoshi faab8cdc27 Add new attributes for instance 2018-01-29 13:30:15 +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
mattn 84ffd85539
Merge pull request #73 from mattn/fix-test
fix test
2018-01-29 13:26:00 +09:00
Yasuhiro Matsumoto f505a4f6ae fix test 2018-01-29 13:21:56 +09:00
mattn e946e2a506
Merge pull request #70 from ykzts/instance-activity
Add GetInstanceActivity and GetInstancePeers
2018-01-29 13:13:29 +09:00
Yamagishi Kazutoshi e0de6af209 Add GetInstanceActivity and GetInstancePeers 2018-01-29 12:33:17 +09:00
mattn 0d8819ecaf
Merge pull request #69 from mattn/fix-68
Fix 68
2017-11-30 15:00:12 +09:00
Yasuhiro Matsumoto a98b28c817 add test 2017-11-30 14:55:18 +09:00
Yasuhiro Matsumoto 83242d96ca fix #68 2017-11-30 14:53:54 +09:00
mattn 0a6f156537
Merge pull request #67 from mattn/fix-66
fix #66
2017-11-20 10:11:47 +09:00
Yasuhiro Matsumoto 81259792b7 handle float64/string both 2017-11-20 10:04:53 +09:00
Yasuhiro Matsumoto 3002812c02 fix #66 2017-11-20 09:58:20 +09:00
Yasuhiro Matsumoto bd72aa305d fix test 2017-10-26 15:18:07 +09:00
Yasuhiro Matsumoto 2866ebbdc5 fix test 2017-10-26 15:02:33 +09:00
Yasuhiro Matsumoto a4d531815f add test for CustomEmoji 2017-10-26 15:00:17 +09:00
utam0k 1d165763fa Add Emojis to Status 2017-10-26 14:53:27 +09:00
mattn 689663979a Merge pull request #64 from zetamatta/fix-mstdnexe-toot-iflag
`mstdn.exe toot` failed because -i option's value type remained int64 yet.
2017-10-26 14:52:43 +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 d38a3e6dfc fix ID 2017-10-25 17:29:02 +09:00
Yasuhiro Matsumoto a7e10ddba4 fix ID 2017-10-25 15:23:53 +09:00
Yasuhiro Matsumoto aef736e991 fix IDs 2017-10-25 15:22:17 +09:00
mattn e0cf1e0650 Merge pull request #63 from zetamatta/notification-id
Fix: Type of Notification.ID was int64. Change to ID
2017-10-25 14:56:08 +09:00
Kaoru HAYAMA fe913e01e5 Fix: forgot to (*Client)GetNotification's parameter: int64 -> ID 2017-10-25 14:35:34 +09:00
Kaoru HAYAMA 74f003d4a4 Fix tests about notification.ID (which type was changed on #63) 2017-10-25 14:24:00 +09:00
Kaoru HAYAMA abf6939992 Fix: Type of Notification.ID was int64. Change to ID 2017-10-25 13:47:36 +09:00
Yasuhiro Matsumoto 730317321a also convert to string in attachments, pagenation 2017-10-25 10:22:39 +09:00
Yasuhiro Matsumoto e03b8ccefb add missing file 2017-10-23 23:53:03 +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
mattn 98d1ab17f1 Merge pull request #59 from 178inaba/pkg_doc
Add package documents
2017-05-14 15:26:25 +09:00
mattn 266fe36074 Merge pull request #58 from 178inaba/example_pagination
Add ExamplePagination
2017-05-14 15:26:08 +09:00
178inaba b433e93615 Add package documents 2017-05-14 04:59:56 +09:00
178inaba b1d2d6719f Add ExamplePagination 2017-05-14 04:40:19 +09:00
mattn f279adb618 Merge pull request #56 from 178inaba/stream_error_handling
Fix not to return error event of context in streaming
2017-05-09 09:42:58 +09:00
mattn 7d3bd86974 Merge pull request #55 from bamchoh/patch-1
Update README.md
2017-05-09 09:42:19 +09:00
178inaba f0eb7d29c4 Fix not to return error event of context in streaming 2017-05-09 02:14:45 +09:00
bamchoh 60690a1f50 Update README.md
I upadte README.md because I cannot build a example. But I'm sorry I'm not sure whether my modification is correct.
2017-05-08 23:36:56 +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
mattn b88b19a217 Merge pull request #53 from 178inaba/xsearch
Fix XSearch
2017-05-08 09:17:04 +09:00
178inaba f283f05671 Fix Pagination variable from *int64 to int64 2017-05-07 01:36:25 +09:00