47 Commits (ebf1d74e409ece10864a8615691cd80c434c9055)

Author SHA1 Message Date
Claire 673c54f114
Fix inability to use local LibreTranslate without setting ALLOWED_PRIVATE_ADDRESSES (#21926)
2 years ago
Bearice Ren 28cda42af5
fixes ArgumentError when proxy is used (#20420)
2 years ago
Claire c989faaa62
Change Request connection logic to try both IPv6 and IPv4 when available (#20108)
2 years ago
James Tucker 833d9c2f1c
Improve performance by avoiding method cache busts (#19957)
2 years ago
Claire 8cf7006d4e
Refactor ActivityPub handling to prepare for non-Account actors (#19212)
2 years ago
Claire 1145dbd327
Improve error reporting and logging when processing remote accounts (#15605)
2 years ago
Jeong Arm 861b35dd54
Support "http_hidden_proxy" ENV var for hidden service only proxy (#18427)
2 years ago
Eugen Rochko 39cdf61ab7
Add support for structured data and more OpenGraph tags to link cards (#16938)
3 years ago
luigi eb51e43fb4
Optimize some regex matching (#15528)
4 years ago
ThibG d60290044e
Add environment variable to allow requests to some private addresses (#14722)
4 years ago
dependabot[bot] 8972e5f7f6
Bump rubocop from 0.86.0 to 0.88.0 (#14412)
4 years ago
abcang 6a96af4d20
Fix rubocop warning (#14288)
4 years ago
Eugen Rochko e9ecbca70d
Fix error within error when limiting backtrace to 3 lines (#13120)
4 years ago
ThibG 24cd2126c6 Fix Ruby 2.7 support (#12831)
5 years ago
Daigo 3 Dango e9ea09d173 Suppress backtrace when delivering toots (#12798)
5 years ago
ThibG 1653b58777 Attempt to concurrently connect to remote IP addresses (#11757)
5 years ago
Eugen Rochko 4e8dcc5dbb
Add HTTP signatures to all outgoing ActivityPub GET requests (#11284)
5 years ago
Eugen Rochko 5d3feed191
Refactor fetching of remote resources (#11251)
5 years ago
Eugen Rochko 406b46395d
Fix URLs appearing twice in errors of ActivityPub::DeliveryWorker (#11231)
5 years ago
ThibG 58276715be Fix support for HTTP proxies (#11245)
5 years ago
ThibG ed544f3166 Fix HTTP requests to IPv6 hosts (#11240)
5 years ago
Eugen Rochko 0d9ffe56fb
Add request pool to improve delivery performance (#10353)
5 years ago
ThibG 79b00d294d Increase DNS timeouts (#10238)
6 years ago
Eugen Rochko aa9a20cde0
Fix ThreadResolveWorker getting queued with invalid URLs (#9628)
6 years ago
Eugen Rochko c39d7e7b2b
Fix TLS handshake timeout not being enforced (#9381)
6 years ago
Eugen Rochko 43c311b3a1
Fix nil error when no DNS addresses are found for host (#9379)
6 years ago
Eugen Rochko fd8145d232
Fix connect timeout not being enforced (#9329)
6 years ago
Eugen Rochko 384e953b75
Revert connect timeout from 1s to 10s (#9319)
6 years ago
Eugen Rochko 4615512285
Reduce connect timeout limit and limit signature failures by source IP (#9236)
6 years ago
Eugen Rochko e3764bdb52
Do not sign useless User-Agent or Accept-Encoding headers (#8533)
6 years ago
Eugen Rochko cabdbb7f9c
Add CLI task for rotating keys (#8466)
6 years ago
MIYAGI Hikaru ddd0bb69e1 Merge `HIDDEN_SERVICE_VIA_TRANSPARENT_PROXY` into `ALLOW_ACCESS_TO_HIDDEN_SERVICE` (#7901)
6 years ago
MIYAGI Hikaru 919eef3098 User agent for WebFinger (#7531)
6 years ago
Yamagishi Kazutoshi 6588f6a0a9 Disable inflate gzip on head method (#7432)
6 years ago
Yamagishi Kazutoshi edf882320a Support gzip encoding on Request (#7425)
6 years ago
Eugen Rochko 965345316f
Guard against nil URLs in Request class (#7284)
6 years ago
MIYAGI Hikaru f58dcbc981 HTTP proxy support for outgoing request, manage access to hidden service (#7134)
7 years ago
Akihiko Odaki 40e5d2303b Validate HTTP response length while receiving (#6891)
7 years ago
Akihiko Odaki 54b273bf99 Close http connection in perform method of Request class (#6889)
7 years ago
Rey Tucker 36b5703796 request: in the event of failure, try other IPs (#6761) (#6813)
7 years ago
Akihiko Odaki 2e8a492e88 Raise Mastodon::HostValidationError when host for HTTP request is private (#6410)
7 years ago
Yamagishi Kazutoshi b21db9bbde Using double splat operator (#5859)
7 years ago
Daigo 3 Dango 01d6aa0397 Suppress backtrace from Request#perform (#5174)
7 years ago
Eugen Rochko d2f56d1cbc Change max redirects followed to 2 (#5136)
7 years ago
unarist a4c500176b Include requested URL into the message on network errors (#4945)
7 years ago
Eugen Rochko fdea173237 Add Digest header to requests with body, handle acct and URI keyId (#4565)
7 years ago
Eugen Rochko 1618b68bfa HTTP signatures (#4146)
7 years ago