Commit graph

25 commits

Author SHA1 Message Date
Brint E. Kriebel
9faaa4f0dc Add support for edited statuses
ActivityPub supports "status.update" for editing statuses. These should
be made available for streams.
2022-12-28 23:59:18 +09:00
Darren O'Connor
309dce6ff3 minor spelling fixes 2022-11-14 09:04:46 +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
Marian Steinbach
7745e19ff7 Only set Authorization header when AccessToken is set 2021-12-14 20:55:46 +09:00
WaybackBot
bf42b86b9f Add streaming direct support 2021-05-15 23:42:50 +09:00
dtluna
34e64bb423 Make Client.Config public 2019-08-22 14:21:32 +09:00
Ben Lubar
3e2bdc63c7 Add streaming list support. 2019-05-12 23:58:10 +09:00
Yasuhiro Matsumoto
3002812c02 fix #66 2017-11-20 09:58:20 +09:00
Yasuhiro Matsumoto
d38a3e6dfc fix ID 2017-10-25 17:29:02 +09:00
Yasuhiro Matsumoto
aef736e991 fix IDs 2017-10-25 15:22:17 +09:00
178inaba
f0eb7d29c4 Fix not to return error event of context in streaming 2017-05-09 02:14:45 +09:00
178inaba
517247284e Optimize streaming 2017-04-30 03:12:55 +09:00
178inaba
9fa63b511c Fix local streaming 2017-04-28 14:09:10 +09:00
Yasuhiro Matsumoto
eb1c1cf0ae display status/reblog in stream 2017-04-19 23:21:19 +09:00
TSUYUSATO Kitsune
fb53d41dd9 Correct context uses
`doAPI`'s `context` does not work due to `WithContext` immutability.
`Authenticate` and `RegisterApp` does not use `context` although they
needs `context`, so their `context` does not work also. This commit fixes
them and add test cases.
2017-04-19 18:53:55 +09:00
Yasuhiro Matsumoto
b5541c9e38 fix stream types
close #25
2017-04-19 16:13:07 +09:00
178inaba
d6bff26e62 Fix to use http status const 2017-04-19 14:43:37 +09:00
178inaba
aa0f9563ac Fix to parse API error 2017-04-19 14:32:53 +09:00
Yasuhiro Matsumoto
0579b31633 check response 2017-04-17 23:36:21 +09:00
Yasuhiro Matsumoto
e7f2469bc0 add stream -json 2017-04-17 23:29:44 +09:00
Yasuhiro Matsumoto
7ced22d42e add StreamingHome, StreamingHashtag 2017-04-15 21:03:02 +09:00
Yasuhiro Matsumoto
bc9dfd5706 fix error handling 2017-04-15 20:20:22 +09:00
178inaba
c63f290928 Fix var name url to u 2017-04-15 04:36:27 +09:00
178inaba
b4e56b6ff8 Fix GET to http.MethodGet 2017-04-14 23:56:07 +09:00
Yasuhiro Matsumoto
6ca42017b9 separate files 2017-04-14 23:45:18 +09:00