Commit Graph

446 Commits

Author SHA1 Message Date
Tyr Mactire
2a3ac1d1d5 Client Credentials 2022-08-27 13:35:59 +09:00
Yasuhiro Matsumoto
d272534ac7
Separate go.mod 2022-06-04 23:01:37 +09:00
Rasmus Lindroth
b2204e0d6a add support for pinned posts 2022-06-04 22:56:14 +09:00
Rasmus Lindroth
c6a292132e add Discoverable and Source on Account 2022-06-04 22:56:14 +09:00
Alexander Bakker
87278bda2e Use bufio.Reader instead of bufio.Scanner when streaming
I occasionally run into "bufio.Scanner: token too long" while
streaming. This change should prevent that from happening.
2022-05-03 22:16:38 +09:00
Rasmus Lindroth
f436c5397c fix slash 2022-05-01 22:52:28 +09:00
Rasmus Lindroth
dfa87f3a80 add support for filters 2022-05-01 22:52:28 +09:00
Marian Steinbach
7745e19ff7 Only set Authorization header when AccessToken is set 2021-12-14 20:55:46 +09:00
Marian Steinbach
45d75e8085 Update badge in README to point to pkg.go.dev 2021-11-23 23:53:31 +09:00
shine
62214db600 document bookmark APIs
follows d39c10b which introduced the bookmark APIs.
2021-11-06 11:01:00 +09:00
Rasmus Lindroth
4cbbf813dc add test for PostStatus 2021-11-06 11:00:42 +09:00
Rasmus Lindroth
ae6cc11820 Add support for creating polls 2021-11-06 11:00:42 +09:00
Rasmus Lindroth
58c3891813 Add support to vote on polls. Add more fields to Poll 2021-11-05 00:02:01 +09:00
Yasuhiro Matsumoto
a0db0ed8a0
Update dependencies 2021-11-04 23:06:26 +09:00
Yasuhiro Matsumoto
1dd699ecee
Update README.md 2021-11-04 23:05:34 +09:00
Yasuhiro Matsumoto
f5813a9d88
Enable GitHub Workflows 2021-11-04 23:04:38 +09:00
Rasmus Lindroth
d39c10ba5e Add bookmark support 2021-06-30 00:13:05 +09:00
Masahiro Furudate
86627ec7d6 Fix godoc badge to godev badge 2021-05-15 23:43:04 +09:00
WaybackBot
bf42b86b9f Add streaming direct support 2021-05-15 23:42:50 +09:00
WaybackBot
eb26687c84 Update README 2021-05-15 23:42:50 +09:00
Hanage999
8c434b5282 Replace deprecated /api/v1/notifications/dismiss with new API 2021-05-15 23:42:24 +09:00
Ollivier Robert
6abe72ddb0 Fix TestCmdTimelone() as well. 2021-04-17 21:32:10 +09:00
Ollivier Robert
d6cb307605 Remove leftover Logf() call. 2021-04-17 21:32:10 +09:00
Ollivier Robert
2ae3a80997 Fix tests to use data from Conversation, not Timelines. 2021-04-17 21:32:10 +09:00
Ollivier Robert
932595ebec Fix allocation. 2021-04-17 21:32:10 +09:00
Ollivier Robert
2f161cfa50 Allocate space to prevent SIGSEGV. 2021-04-17 21:32:10 +09:00
Ollivier Robert
adff0e83b9 Use Conversations. 2021-04-17 21:32:10 +09:00
Masahiro Furudate
315df7d916 Add Media struct and UploadMediaFromMedia method 2020-07-27 10:41:06 +09:00
Christian Muehlhaeuser
3e91c76504 Added polls entity, available since API 2.8.0 2020-03-02 11:39:13 +09:00
Christian Muehlhaeuser
1c0769492b Fix History struct members 2020-03-02 11:37:33 +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
hiromi-mi
021f5d0019 fix CI for DeleteConversation 2020-02-25 22:09:24 +09:00
hiromi-mi
fd6533a508 Support conversations API
Support these APIs added in Mastodon 2.6.0.
- GET /api/v1/conversations
- DELETE /api/v1/conversations/:id
- POST /api/v1/conversations/:id/read
2020-02-25 22:09:24 +09:00
mattn
151613575d
Delete renovate.json 2020-01-28 19:41:13 +09:00
Renovate Bot
845b4bd395 Update golang.org/x/net commit hash to 6afb519 2020-01-16 22:12:54 +09:00
Renovate Bot
822b3dfd49 Update module mattn/go-tty to v0.0.3 2020-01-09 19:31:20 +09:00
Renovate Bot
1c963e9982 Update module gorilla/websocket to v1.4.1 2020-01-09 19:30:09 +09:00
Renovate Bot
edf591bde6 Update golang.org/x/net commit hash to c0dbc17 2020-01-09 18:56:36 +09:00
Renovate Bot
a4693067ab Update module fatih/color to v1.9.0 2020-01-09 18:54:25 +09:00
Renovate Bot
4275f0739f Add renovate.json 2020-01-09 18:51:47 +09:00
buckket
e43f2060a8 Modify test fixture to increse test coverage 2019-09-30 17:19:22 +09:00
buckket
2abdb8e37c Add support for /api/v1/push/subscription 2019-09-30 17:19:22 +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
Ben Lubar
c9e2d23df3 Make ScheduledAt a pointer. 2019-09-30 17:17:15 +09:00
Ben Lubar
977e6c550e Add support for creating scheduled posts 2019-09-30 17:17:15 +09:00
Ben Lubar
934e685e7a Add convenience constants for post visibilities 2019-09-30 17:17:15 +09:00
Yasuhiro Matsumoto
e24991527b Fix test 2019-09-30 17:15:56 +09:00
Yasuhiro Matsumoto
80c1d52a0d Fix tests 2019-09-30 17:15:56 +09:00
Yasuhiro Matsumoto
ef1332c96b Fix contact_account 2019-09-30 17:15:56 +09:00
Christian Muehlhaeuser
1b7f743892 Fix ineffectual assignments
- Don't assign variables we don't end up using
- Added missing error check in test
2019-09-30 17:14:20 +09:00