MineRobber___T
88e82f8f96
Fix empty display names
2020-01-16 11:17:48 -05:00
MineRobber___T
42b632eff3
Fix empty names
...
Specifically, botsin.space (for sure) returns a display name of `""`. Since that's not meaningful, I just added a check to replace the display name with the username if the display name is empty.
2020-01-16 11:13:23 -05:00
jesopo
3848d878a4
use fediverse display names when available
2019-12-10 11:45:29 +00:00
jesopo
6a6e789ec9
add cookies
and .json()
to utils.http.Response objects
2019-11-25 18:17:30 +00:00
jesopo
3f4eebf85b
show ,fedi latest-tweet also if it's a self-reply
2019-10-15 15:24:57 +01:00
jesopo
8f38223284
fedi http headers should be PascalCase
2019-09-19 15:28:58 +01:00
jesopo
9d4830dd88
first
is now a Response object, not a dict
2019-09-17 18:05:39 +01:00
jesopo
14d28d836b
'responsedata' -> 'response.data'
2019-09-17 18:04:52 +01:00
jesopo
f84b48adbe
pass full Response from ap_utils.activity_request, use it for Actor 404
2019-09-17 17:41:15 +01:00
jesopo
4f1f65919d
dict()ify inbox headers
2019-09-15 14:31:36 +01:00
jesopo
ca68b27ccd
actually pass signature and related headers to activity_request()
2019-09-15 14:27:34 +01:00
jesopo
4b42549b55
don't pass actor to Inbox ctor but pass sending actor to .send
2019-09-15 12:15:58 +01:00
jesopo
7c6f5c51d3
pass Actor to Inbox
2019-09-15 11:57:42 +01:00
jesopo
676bb53f43
'ap_utils.request' -> 'ap_utils.activity_request'. dont pass privkey
2019-09-15 11:56:03 +01:00
jesopo
f5ab4f690a
pass whole PrivateKey object to ap_security, not just the key
2019-09-15 11:54:07 +01:00
jesopo
7a1eee7990
'security' -> 'ap_security'
2019-09-15 11:53:01 +01:00
jesopo
665a7a8d1a
key_id -> key.id, missing urllib import
2019-09-15 11:51:51 +01:00
jesopo
95d67199ff
Inbox.send should have a self
param
2019-09-15 11:49:53 +01:00
jesopo
54ee1b3594
re-merge fediverse an fediverse_server, so they can share utils
2019-09-15 10:43:46 +01:00