Ryan Barrett
|
2fdc6f29a9
|
sign HTTP GET requests for AS2 objects
to support Mastodon's AUTHORIZED_FETCH aka secure mode: https://docs.joinmastodon.org/admin/config/#authorized_fetch
fixes #291
|
2022-11-24 09:41:14 -08:00 |
Ryan Barrett
|
8fd49dc882
|
drop non-public Create activities
fixes #289
|
2022-11-16 16:37:50 -08:00 |
Ryan Barrett
|
50956c02b0
|
noop, rename Domain => User
|
2022-11-15 22:00:28 -08:00 |
Ryan Barrett
|
46f039af63
|
AP: always generate an actor for every outbound activity
for #279
|
2022-11-15 21:43:24 -08:00 |
Ryan Barrett
|
7966650178
|
AP: put Public in to instead of cc to make Mastodon posts public, not unlisted
fixes #277
|
2022-11-13 21:46:26 -08:00 |
Ryan Barrett
|
96dba41c9b
|
logging: use separate loggers for each module with their names
|
2022-02-11 22:38:56 -08:00 |
Ryan Barrett
|
cf12817212
|
Flask port: error handling bug fixes, other misc tweaks
|
2021-08-16 11:47:31 -07:00 |
Ryan Barrett
|
2e3360a54b
|
move Flask utils to oauth_dropins.webutil.flask_util
corresponds to snarfed/webutil@5574bb23fa
|
2021-07-17 21:22:13 -07:00 |
Ryan Barrett
|
56cc66d530
|
flask: add common.RegexConverter
based on https://github.com/rhyselsmore/flask-reggie
|
2021-07-12 13:49:48 -07:00 |
Ryan Barrett
|
371a92a5db
|
flask: port XrdOrJrdHandler, finish porting webfinger
|
2021-07-11 16:30:14 -07:00 |
Ryan Barrett
|
c17cb3394b
|
flask: fix test_common, drop unused common.canonicalize_domain decorator
|
2021-07-10 08:53:37 -07:00 |
Ryan Barrett
|
df6b0b58ba
|
unify request handler classes and handle_exception; move away from HOST[_URL]
fixes:
* https://console.cloud.google.com/errors/CN68rO-5sOK9cQ
* https://console.cloud.google.com/errors/CJWCu8b5_ureAg
* https://console.cloud.google.com/errors/CN6W4Zy7irzgOA
* https://console.cloud.google.com/errors/CN278MyjhZbtOQ
|
2020-01-31 14:40:11 -08:00 |
Ryan Barrett
|
02d36b3b1f
|
migrate to the app engine standard python 3 runtime!
https://cloud.google.com/appengine/docs/standard/python3/python-differences
https://cloud.google.com/appengine/docs/standard/python/migrate-to-python3/
|
2019-12-25 22:26:26 -08:00 |
Ryan Barrett
|
ab55c9d62c
|
ujson.dumps/loads() => util.json_dumps/loads()
|
2019-12-24 23:26:58 -08:00 |
Ryan Barrett
|
faf676e8bb
|
switch from json to ultrajson for performance
https://github.com/esnme/ultrajson/
|
2019-10-29 07:06:15 -07:00 |
Ryan Barrett
|
7c8a2a4603
|
fix postprocess_as2() crash on multiply-valued inReplyTo
fixes https://console.cloud.google.com/errors/COTu_PXPjJ2ZWw
|
2019-06-06 06:35:57 -07:00 |
Ryan Barrett
|
5bc639216e
|
more error handling for AS2 objects without id or URL
follows b7e44c9295 . fixes https://console.cloud.google.com/errors/CLnu14G46vHLOg
|
2019-04-15 08:14:37 -07:00 |
Ryan Barrett
|
6e7c2008e9
|
handle SSL failures when fetching arbitrary URLs
fixes https://console.cloud.google.com/errors/CJOuzd2b1sehPA
|
2019-04-10 08:08:02 -07:00 |
Ryan Barrett
|
b8d52b3dac
|
move test/ => tests/ to avoid shadowing python's built in test module
fixes confusing problems with dev_appserver starting in cloud sdk 219 (app-engine-python 1.9.76). background in https://issuetracker.google.com/issues/117145272#comment25 .
|
2018-10-11 16:07:53 -07:00 |