Commit Graph

417 Commits (1c0769492be35bdb567182d3eba0f14e903c197f)

Author SHA1 Message Date
Jessica Paczuski 6bf95fc751 Rename Size -> AttachmentSize 2019-02-06 19:06:00 +09:00
Jessica Paczuski 814e71920d Add Meta field to Attachment 2019-02-06 19:06:00 +09:00
Christian Muehlhaeuser 4def10a243 Updated entities and json structs for API v2.6.0
Added missing fields to various structs and sorted them in the same order as
the original mastodon API documentation does. This should make it easier to
compare go-mastodon's structs with the original documentation.
2018-11-25 23:15:20 +09:00
Christian Muehlhaeuser 3daf61de23 Fixed tests for Go 1.11 2018-11-25 23:09:03 +09:00
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