Mikael Berthe <mikael@lilotux.net> [Mon, 29 Jul 2019 21:57:47 +0200] rev 253
Update dependencies
Mikael Berthe <mikael@lilotux.net> [Mon, 29 Jul 2019 21:50:21 +0200] rev 252
Merge pull request #7 from roobre/master
Added UploadMediaReader, UploadMedia is now a wrapper around it
committer: GitHub <noreply@github.com>
Roberto Santalla <roobre@users.noreply.github.com> [Wed, 24 Jul 2019 10:31:51 +0200] rev 251
Fixed typo in godoc
Co-Authored-By: Mikael Berthe <mikael@lilotux.net>
committer: GitHub <noreply@github.com>
Roberto Santalla <roobre@roobre.es> [Fri, 19 Jul 2019 14:28:25 +0200] rev 250
Added UploadMediaReader, UploadMedia is now a wrapper around it
Closes #6
Mikael Berthe <mikael@lilotux.net> [Sat, 20 Apr 2019 20:02:41 +0200] rev 249
Merge pull request #5 from roobre/master
Try to parse error string returned by server before falling back to generic message
committer: GitHub <noreply@github.com>
Roberto Santalla <roobre@roobre.es> [Sat, 20 Apr 2019 14:21:48 +0200] rev 248
Try to parse error string returned by server before falling back to generic message
Closes #4
Mikael Berthe <mikael@lilotux.net> [Sun, 13 Jan 2019 13:25:58 +0100] rev 247
Fix missing media API endpoint version
This should fix <https://github.com/McKael/madonctl/issues/18>.
Mikael Berthe <mikael@lilotux.net> [Sat, 29 Sep 2018 11:46:33 +0200] rev 246
Add Go modules support
Mikael Berthe <mikael@lilotux.net> [Wed, 19 Sep 2018 20:52:48 +0200] rev 245
Fix endpoint for app registration (broken by 9dcadf72)
This patch should fix https://github.com/McKael/madonctl/issues/16.
Mikael Berthe <mikael@lilotux.net> [Fri, 07 Sep 2018 21:49:44 +0200] rev 244
GetTimelines & StreamListener: Accept "direct" timeline
Mikael Berthe <mikael@lilotux.net> [Fri, 07 Sep 2018 19:17:12 +0200] rev 243
Change the way parameter lists are handled internally
Instead of trying to guess if a query key is a list (to strip the index
number, since Rails expects list IDs without index number), we prefix
the key name with the index when dealing with lists.
E.g.:
[0]ids: "one"
[1]ids: "two"
will be sent as
ids[]=one&ids[]=two
It makes it more reliable and let us differenciate between arrays and
objects (objects are untouched and sent as-is).
Mikael Berthe <mikael@lilotux.net> [Fri, 07 Sep 2018 19:17:12 +0200] rev 242
UpdateAccount: Change source data update parameters
The server accepts queries like "source[0]=privacy%3Dprivate".
Mikael Berthe <mikael@lilotux.net> [Fri, 07 Sep 2018 12:43:40 +0200] rev 241
Fix endpoint for update_credentials (broken by 9dcadf72)
Mikael Berthe <mikael@lilotux.net> [Thu, 06 Sep 2018 11:43:44 +0200] rev 240
Support search v2 API
Mikael Berthe <mikael@lilotux.net> [Thu, 06 Sep 2018 11:28:42 +0200] rev 239
Introduce new type: MastodonDate
This type replaces the previous 'ActivityTime' since this weird
timestamp format is now used by several Mastodon API endpoints...
Mikael Berthe <mikael@lilotux.net> [Thu, 06 Sep 2018 01:07:40 +0200] rev 238
Do not use a global API version
Mastodon uses an API version per endpoint (cf. search v2) so
we need to be able to specify the version for any API call.
Mikael Berthe <mikael@lilotux.net> [Thu, 06 Sep 2018 00:34:44 +0200] rev 237
Bump API version number
Mikael Berthe <mikael@lilotux.net> [Thu, 06 Sep 2018 00:23:40 +0200] rev 236
Update search result type (us rich tag structure)
This change will let us use the same 'Results' object for both
versions of the search API endpoint (v1 & v2).
Mikael Berthe <mikael@lilotux.net> [Wed, 05 Sep 2018 22:55:20 +0200] rev 235
Add endorsement commands (GetEndorsements, {Pin,Unpin}Account)
Mikael Berthe <mikael@lilotux.net> [Wed, 05 Sep 2018 13:11:54 +0200] rev 234
Move GetFavourites() to status.go
Mikael Berthe <mikael@lilotux.net> [Wed, 05 Sep 2018 10:52:58 +0200] rev 233
Add suggestions
This patch adds GetSuggestions and DeleteSuggestion for the
'suggestions' endpoint.
Mikael Berthe <mikael@lilotux.net> [Wed, 05 Sep 2018 02:33:23 +0200] rev 232
UpdateAccount: Add support for FieldsAttributes and Source parameters
The source parameters don't seem to work, though (tested against
Mastodon 2.5.0)...
Mikael Berthe <mikael@lilotux.net> [Wed, 05 Sep 2018 02:33:23 +0200] rev 231
Fix (hopefully) handling of arrays in API calls
Item numbers should not be sent, except for two-dimension arrays.
Mikael Berthe <mikael@lilotux.net> [Wed, 05 Sep 2018 02:33:23 +0200] rev 230
Update PostStatus prototype
Mikael Berthe <mikael@lilotux.net> [Wed, 05 Sep 2018 02:33:23 +0200] rev 229
Update UpdateAccount prototype; add "bot" parameter
Mikael Berthe <mikael@lilotux.net> [Wed, 05 Sep 2018 02:33:23 +0200] rev 228
Update Mastodon types
convert-repo [Mon, 28 May 2018 17:52:18 +0000] rev 227
update tags
Mikael Berthe <mikael@lilotux.net> [Mon, 28 May 2018 20:51:10 +0200] rev 226
Don't use base64 encoding for header & avatar uploads
This should fix https://github.com/McKael/madonctl/issues/14.
Mikael Berthe <mikael@lilotux.net> [Wed, 21 Mar 2018 22:43:32 +0100] rev 225
Version 2.3.0
Mikael Berthe <mikael@lilotux.net> [Wed, 21 Mar 2018 15:28:23 +0100] rev 224
README: Fix Travis badge
Mikael Berthe <mikael@lilotux.net> [Wed, 21 Mar 2018 15:22:28 +0100] rev 223
Travis: Fix go version
1.10 must be quoted.
Mikael Berthe <mikael@lilotux.net> [Wed, 21 Mar 2018 15:19:11 +0100] rev 222
Travis: Add go versions 1.9, 1.10
Mikael Berthe <mikael@lilotux.net> [Wed, 21 Mar 2018 15:06:54 +0100] rev 221
instance activity: Add a WeekActivity type
Mikael Berthe <mikael@lilotux.net> [Wed, 21 Mar 2018 13:19:50 +0100] rev 220
Add account "moved" field
Mikael Berthe <mikael@lilotux.net> [Wed, 21 Mar 2018 01:00:57 +0100] rev 219
Update types
I've commented out showing_reblogs since Mastodon 2.2.0 uses
weak typing -- seems to be fixed in 2.3.1.
Mikael Berthe <mikael@lilotux.net> [Wed, 21 Mar 2018 00:27:10 +0100] rev 218
FollowAccount: Add 'reblogs' parameter
Mikael Berthe <mikael@lilotux.net> [Tue, 20 Mar 2018 22:38:33 +0100] rev 217
Add support for list-based streams
Mikael Berthe <mikael@lilotux.net> [Tue, 20 Mar 2018 21:52:55 +0100] rev 216
Add UpdateMedia
Mikael Berthe <mikael@lilotux.net> [Tue, 20 Mar 2018 20:51:27 +0100] rev 215
UploadMedia: Add description and focus parameters
Mikael Berthe <mikael@lilotux.net> [Tue, 20 Mar 2018 19:20:31 +0100] rev 214
GetTimelines: Add parameter 'onlyMedia' (Mastodon 2.3.0+)
Mikael Berthe <mikael@lilotux.net> [Tue, 20 Mar 2018 18:55:00 +0100] rev 213
GetTimelines: Add support for list-based timelines
Mikael Berthe <mikael@lilotux.net> [Tue, 20 Mar 2018 18:54:38 +0100] rev 212
GetNotifications: Add excludeTypes
Mikael Berthe <mikael@lilotux.net> [Tue, 20 Mar 2018 13:11:26 +0100] rev 211
Add new type InstancePeer
Mikael Berthe <mikael@lilotux.net> [Tue, 20 Mar 2018 00:24:41 +0100] rev 210
Initial instance statistics (peers/activity) support
Mikael Berthe <mikael@lilotux.net> [Mon, 19 Mar 2018 23:52:43 +0100] rev 209
Add Lists support
Mikael Berthe <mikael@lilotux.net> [Mon, 19 Mar 2018 16:32:07 +0100] rev 208
Add GetCustomEmojis
Mikael Berthe <mikael@lilotux.net> [Mon, 19 Mar 2018 15:05:46 +0100] rev 207
Update copyrights
Mikael Berthe <mikael@lilotux.net> [Mon, 19 Mar 2018 14:48:00 +0100] rev 206
SearchAccounts: Add 'following' parameter
Mikael Berthe <mikael@lilotux.net> [Mon, 19 Mar 2018 13:16:44 +0100] rev 205
MuteAccount: Add muteNotifications parameter
Mikael Berthe <mikael@lilotux.net> [Mon, 19 Mar 2018 11:41:20 +0100] rev 204
Add ability to retrieve pinned statuses only
Add support for retrieving only pinned statuses with GetAccountStatuses.
Mikael Berthe <mikael@lilotux.net> [Mon, 19 Mar 2018 11:28:37 +0100] rev 203
Add PinStatus/UnpinStatus
Mikael Berthe <mikael@lilotux.net> [Sun, 18 Mar 2018 23:30:43 +0100] rev 202
Add 'locked' parameter to UpdateAccount
Mikael Berthe <mikael@lilotux.net> [Sun, 18 Mar 2018 21:26:09 +0100] rev 201
Bump madon version to 2.1.0-dev
Mikael Berthe <mikael@lilotux.net> [Sun, 18 Mar 2018 21:25:37 +0100] rev 200
Update types wrt current Mastodon API
Mikael Berthe <mikael@lilotux.net> [Wed, 01 Nov 2017 10:20:45 +0100] rev 199
Fix OAuth2
nil contexts are no more allowed in the oauth2 package.
This patch fixes https://github.com/McKael/madonctl/issues/12.
Mikael Berthe <mikael@lilotux.net> [Sat, 28 Oct 2017 22:43:54 +0200] rev 198
Fix stream deletion events with Mastodon v2 API
See https://github.com/McKael/madonctl/issues/10
Mikael Berthe <mikael@lilotux.net> [Sat, 21 Oct 2017 21:18:11 +0200] rev 197
registerApp.ID is a JSON string with Mastodon v2
Mikael Berthe <mikael@lilotux.net> [Sat, 21 Oct 2017 18:53:00 +0200] rev 196
Update types to reflect Mastodon 2.0.0 API changes
Mikael Berthe <mikael@lilotux.net> [Sat, 21 Oct 2017 18:52:38 +0200] rev 195
Change version to 2.0.0-dev
convert-repo [Mon, 29 May 2017 20:24:37 +0000] rev 194
update tags
Mikael Berthe <mikael@lilotux.net> [Mon, 29 May 2017 23:24:18 +0200] rev 193
Fix typo in comment
Mikael Berthe <mikael@lilotux.net> [Sun, 28 May 2017 10:33:27 +0200] rev 192
Version 1.6.0
Mikael Berthe <mikael@lilotux.net> [Sun, 28 May 2017 00:21:09 +0200] rev 191
Rename Domain methods
Be homogeneous with existing methods (e.g. GetBlockedAccounts).
Mikael Berthe <mikael@lilotux.net> [Sun, 28 May 2017 00:12:05 +0200] rev 190
Precise Attachment meta fields
convert-repo [Sat, 27 May 2017 20:33:49 +0000] rev 189
update tags
Mikael Berthe <mikael@lilotux.net> [Sat, 27 May 2017 19:47:08 +0200] rev 188
Add MuteConversation, UnmuteConversation
Mikael Berthe <mikael@lilotux.net> [Sat, 27 May 2017 19:12:01 +0200] rev 187
Add GetDomainBlocks, DomainBlock and DomainUnblock
Mikael Berthe <mikael@lilotux.net> [Sat, 27 May 2017 13:18:48 +0200] rev 186
Sync types with current Mastodon documentation
Mikael Berthe <mikael@lilotux.net> [Fri, 26 May 2017 21:21:54 +0200] rev 185
Update types (add Muted to Status entity)
Revert MutingBoosts change (not implemented in Mastodon AFAICS).
Mikael Berthe <mikael@lilotux.net> [Fri, 26 May 2017 12:03:29 +0200] rev 184
Change prototypes and return Relationship entities
Return Relationship entities for FollowAccount, MuteAccount and
BlockAccount calls (and corresponding Un*Account methods).
Mikael Berthe <mikael@lilotux.net> [Fri, 26 May 2017 11:50:32 +0200] rev 183
(un)follow/mute/block return a Relationship entity
Mikael Berthe <mikael@lilotux.net> [Fri, 26 May 2017 11:20:29 +0200] rev 182
Update types
Update Account & Relationship types
Mikael Berthe <mikael@lilotux.net> [Fri, 26 May 2017 10:06:16 +0200] rev 181
Add status language field
Mikael Berthe <mikael@lilotux.net> [Fri, 26 May 2017 09:56:24 +0200] rev 180
Bump library version
Mikael Berthe <mikael@lilotux.net> [Wed, 10 May 2017 20:12:26 +0200] rev 179
Version 1.5.0
Mikael Berthe <mikael@lilotux.net> [Wed, 10 May 2017 13:07:00 +0200] rev 178
Add OAuth 2.0 authentication support
Mikael Berthe <mikael@lilotux.net> [Wed, 10 May 2017 11:06:22 +0200] rev 177
Change version to 1.5.0-dev
convert-repo [Fri, 05 May 2017 21:55:08 +0000] rev 176
update tags
Mikael Berthe <mikael@lilotux.net> [Fri, 05 May 2017 22:18:57 +0200] rev 175
Fix Descendants spelling
Fixes #4 (bug in status context).
convert-repo [Mon, 01 May 2017 19:47:38 +0000] rev 174
update tags
Mikael Berthe <mikael@lilotux.net> [Mon, 01 May 2017 22:15:28 +0200] rev 173
v1.4.2 (fixed JSON tags)
Mikael Berthe <mikael@lilotux.net> [Mon, 01 May 2017 19:18:10 +0200] rev 172
Fix case mistakes in JSON tags
convert-repo [Mon, 01 May 2017 13:55:10 +0000] rev 171
update tags
Mikael Berthe <mikael@lilotux.net> [Mon, 01 May 2017 16:48:58 +0200] rev 170
v1.4.1 (improved server error handling)
Mikael Berthe <mikael@lilotux.net> [Mon, 01 May 2017 16:35:46 +0200] rev 169
Better handling of server error pages
Mikael Berthe <mikael@lilotux.net> [Mon, 01 May 2017 16:35:00 +0200] rev 168
Change version to -dev
convert-repo [Mon, 01 May 2017 12:29:23 +0000] rev 167
update tags
Mikael Berthe <mikael@lilotux.net> [Mon, 01 May 2017 15:02:11 +0200] rev 166
Increase version (madon API update) to 1.4.0
Mikael Berthe <mikael@lilotux.net> [Mon, 01 May 2017 14:54:57 +0200] rev 165
Add 'website' parameter to application registration
convert-repo [Mon, 01 May 2017 06:34:53 +0000] rev 164
update tags
Mikael Berthe <mikael@lilotux.net> [Sun, 30 Apr 2017 23:45:19 +0200] rev 163
Update version (1.3.0)
Mikael Berthe <mikael@lilotux.net> [Sun, 30 Apr 2017 22:58:12 +0200] rev 162
Use github.com/pkg/errors
Mikael Berthe <mikael@lilotux.net> [Sun, 30 Apr 2017 22:22:12 +0200] rev 161
Refactor getMultipleAccounts
Mikael Berthe <mikael@lilotux.net> [Sun, 30 Apr 2017 22:12:57 +0200] rev 160
Refactor methods returning a list of statuses
Mikael Berthe <mikael@lilotux.net> [Sun, 30 Apr 2017 20:43:17 +0200] rev 159
s/int/int64/ for IDs and time integers
Mikael Berthe <mikael@lilotux.net> [Sun, 30 Apr 2017 20:42:02 +0200] rev 158
Bump version to 1.3.0-dev
Mikael Berthe <mikael@lilotux.net> [Sat, 29 Apr 2017 17:30:58 +0200] rev 157
Bump library version
Mikael Berthe <mikael@lilotux.net> [Sat, 29 Apr 2017 17:27:15 +0200] rev 156
Add field "All" to LimitParams, change Limit behaviour
If All is true, the library will send several requests (if needed) until
the API server has sent all the results.
If not, and if a Limit is set, the library will try to fetch at least
this number of results.
Mikael Berthe <mikael@lilotux.net> [Sat, 29 Apr 2017 12:16:16 +0200] rev 155
Use links from headers
Keep querying the API until the requested limit is reached, using the
headers. If no limit is set, a single query is made.
Mikael Berthe <mikael@lilotux.net> [Sat, 29 Apr 2017 10:51:45 +0200] rev 154
Bump version number -- devel version
Mikael Berthe <mikael@lilotux.net> [Fri, 28 Apr 2017 21:27:45 +0200] rev 153
Bump version number
Mikael Berthe <mikael@lilotux.net> [Fri, 28 Apr 2017 21:22:25 +0200] rev 152
Fix unused limit options
LimitParams was not used in some API calls.
Mikael Berthe <mikael@lilotux.net> [Fri, 28 Apr 2017 18:05:18 +0200] rev 151
Bump version
Change to 3-number version string
Mikael Berthe <mikael@lilotux.net> [Fri, 28 Apr 2017 16:22:39 +0200] rev 150
Fix mistake in previous changeset
Mikael Berthe <mikael@lilotux.net> [Fri, 28 Apr 2017 15:43:11 +0200] rev 149
Add support for limits and paging ({since,max}_id) API parameters
Mikael Berthe <mikael@lilotux.net> [Fri, 28 Apr 2017 13:28:16 +0200] rev 148
Add DismissNotification (Mastodon 1.3+)
Mikael Berthe <mikael@lilotux.net> [Fri, 28 Apr 2017 11:47:18 +0200] rev 147
Add version filed (Mastodon 1.3+) to the Instance type
Mikael Berthe <mikael@lilotux.net> [Sun, 23 Apr 2017 15:39:51 +0200] rev 146
Add a note about required Go version
See https://github.com/McKael/madonctl/issues/1
Mikael Berthe <mikael@lilotux.net> [Sat, 22 Apr 2017 14:49:19 +0200] rev 145
Bump version to 1.0 since the whole current API is covered
Mikael Berthe <mikael@lilotux.net> [Sat, 22 Apr 2017 13:08:21 +0200] rev 144
Update README
Mikael Berthe <mikael@lilotux.net> [Sat, 22 Apr 2017 12:57:11 +0200] rev 143
Add UpdateAccount()
This patch adds support for the accounts/update_credentials API
to update connected user information (display name, user note, avatar
and header page image).
Images can be provided in the API format (already base64-encoded) or
with a file path.
BTW the API implementation should be 100% complete now.
Mikael Berthe <mikael@lilotux.net> [Wed, 19 Apr 2017 19:53:26 +0200] rev 142
Update Travis file
Mikael Berthe <mikael@lilotux.net> [Wed, 19 Apr 2017 19:51:04 +0200] rev 141
README: Fix link URL
Mikael Berthe <mikael@lilotux.net> [Wed, 19 Apr 2017 14:18:02 +0200] rev 140
streams: Use websockets
Mikael Berthe <mikael@lilotux.net> [Wed, 19 Apr 2017 11:11:48 +0200] rev 139
Update README
Mikael Berthe <mikael@lilotux.net> [Wed, 19 Apr 2017 10:43:38 +0200] rev 138
Update package name in source files
Also remove the cmd subdirectory and all empty tests.
Mikael Berthe <mikael@lilotux.net> [Wed, 19 Apr 2017 09:30:47 +0200] rev 137
Use my own library name
Move library to a new home (aka fork) instead of using my own
branch of gondole, which isn't very convenient and can be confusing.
Mikael Berthe <mikael@lilotux.net> [Tue, 18 Apr 2017 19:31:42 +0200] rev 136
Change CreatedAt fields to time.Time
Mikael Berthe <mikael@lilotux.net> [Mon, 17 Apr 2017 19:31:59 +0200] rev 135
Add SetUserToken() to restore a user token
Mikael Berthe <mikael@lilotux.net> [Mon, 17 Apr 2017 16:22:56 +0200] rev 134
Add checks on ID list values