Osma Ahvenlampi
039adae797
Refactoring inbox processing to smaller tasks ( #647 )
2023-10-26 10:01:03 -06:00
Osma Ahvenlampi
9368996a5b
use logging instead of sentry.capture_* ( #646 )
2023-10-23 10:33:55 -06:00
Osma Ahvenlampi
2a50928f27
Signatures need to use UTF-8 in order to represent all URLs ( #633 )
2023-08-21 11:54:47 +09:30
Andrew Godwin
1dd076ff7d
Fixed #615 : Nicely reject malformatted http signatures
2023-07-20 09:55:36 -06:00
Andrew Godwin
188e5a2446
Remove all remaining async code for now
2023-07-17 00:37:47 -06:00
Osma Ahvenlampi
b2a9b334be
Resubmit: Be quieter about remote hosts with invalid SSL certs ( #595 )
2023-07-12 09:51:08 -06:00
Andrew Godwin
46679a5c73
Bump up django-upgrade
2023-05-13 11:20:47 -06:00
Kelson Vibber
78eacf165e
Accept hs2019 in signatures ( #529 )
...
Fixes part of federation with GoToSocial - this is just a different name for the same algorithm.
2023-03-03 09:18:11 -07:00
Michael Manfre
51ae78a33c
Downgrade most fetch related errors to capture_message ( #443 )
2023-01-19 13:14:55 -07:00
Andrew Godwin
e68158202e
Fix signature typechecking
2023-01-11 11:00:18 -07:00
Corry Haines
165d84abbf
Fixes developed from mypy_django script ( #312 )
2022-12-29 10:35:14 -07:00
Andrew Godwin
a2f0634cb2
Include URI in post error
...
Fixes #307
2022-12-28 12:06:32 -07:00
Andrew Godwin
4635874c12
Relax accept header for gup.pe
2022-12-20 13:21:50 +00:00
Andrew Godwin
3de188e406
Fix Accept header and supply actor outbox
...
Should help with Mitra among others. Refs #207 .
2022-12-19 02:47:35 +00:00
Tyler Kennedy
cfa97b9740
Mitra Fixes ( #207 )
...
Don't send a list when populating Accept header. This seems to work fine on Mastodon and friends, and fixes a bug with the Mitra server until resolved upstream.
2022-12-19 11:21:04 +00:00
Andrew Godwin
5ba9ed6428
Allow signing content-length header
2022-12-18 16:12:57 -07:00
Andrew Godwin
62f2b867b9
Fix serving of system actor
...
Fixes #183
2022-12-17 12:00:47 -07:00
Andrew Godwin
f262f582cb
Ooh, ooh, ignore server errors too
2022-12-16 20:14:44 -07:00
Andrew Godwin
108afaf6ce
We don't care about 404 errors quite as much
2022-12-16 20:14:02 -07:00
Michael Manfre
39a40e4dae
Set a Takahe User-Agent header for signed requests ( #142 )
2022-12-06 21:59:05 -07:00
Paolo Melchiorre
22e25ac454
Add django-upgrade to pre-commit ( #114 )
2022-12-05 14:44:50 -07:00
Paolo Melchiorre
a9bb4a7122
Add pyupgrade with --py310-plus in pre-commit ( #103 )
2022-12-05 10:38:37 -07:00
Michael Manfre
61c1058d67
Add TAKAHE_DEFAULT_TIMEOUT with default of 5.0 ( #99 )
2022-12-04 09:32:25 -07:00
Andrew Godwin
0b5a3e5323
Don't catch GET errors
2022-11-20 18:50:45 -07:00
Andrew Godwin
6a8fe5cb4b
Remove pyOpenSSL dependency
...
(I figured out what padding to use with cryptography)
2022-11-20 18:42:39 -07:00
Andrew Godwin
5ddce16213
Add a system actor to sign outgoing S2S GETs
2022-11-20 18:29:19 -07:00
Andrew Godwin
1b52acdb56
Domains management pages
2022-11-16 21:12:28 -07:00
Andrew Godwin
20e63023bb
Get outbound likes/boosts and their undos working
2022-11-15 15:30:32 -07:00
Andrew Godwin
878f56b411
Post URIs and host-meta
2022-11-12 21:14:21 -07:00
Andrew Godwin
dd4328ae52
Add JSON-LD signatures and tests for sig stuff
2022-11-12 15:10:15 -07:00
Andrew Godwin
fbfad9fbf5
Inbound and outbound follows basic working
2022-11-10 23:42:43 -07:00
Andrew Godwin
c391e7bc41
THE FOLLOWS, THEY WORK
...
Well, in one direction anyway
2022-11-07 00:19:00 -07:00
Andrew Godwin
fb6c409a9a
Rework task system and fetching.
...
I can taste how close follow is to working.
2022-11-06 21:30:07 -07:00
Andrew Godwin
52c83c67bb
Signing works with OpenSSL.
...
Will have to ask the cryptography peeps what I was doing wrong.
2022-11-06 14:14:08 -07:00
Andrew Godwin
dbe57075d3
Rework to a domains model for better vhosting
2022-11-06 13:48:04 -07:00