gotosocial/internal
kim 2063d01cdb
[bugfix] Add back removed ValidateRequest() before backoff-retry loop (#1805)
* add back removed ValidateRequest() before backoff-retry loop

Signed-off-by: kim <grufwub@gmail.com>

* include response body in error response log

Signed-off-by: kim <grufwub@gmail.com>

* improved error response body draining

Signed-off-by: kim <grufwub@gmail.com>

* add more code commenting

Signed-off-by: kim <grufwub@gmail.com>

* move new error response logic to gtserror, handle instead in transport.Transport{} impl

Signed-off-by: kim <grufwub@gmail.com>

* appease ye oh mighty linter

Signed-off-by: kim <grufwub@gmail.com>

* fix mockhttpclient not setting request in http response

Signed-off-by: kim <grufwub@gmail.com>

---------

Signed-off-by: kim <grufwub@gmail.com>
2023-05-21 18:59:14 +02:00
..
ap [feature] Enable federation in/out of profile PropertyValue fields (#1722) 2023-05-09 11:16:10 +01:00
api [bugfix] Fix NegotiateFormat with multiple accept headers (#1797) 2023-05-16 15:08:45 +02:00
cache [feature] status refetch support (#1690) 2023-05-12 11:15:54 +02:00
config [feature] Make client IP logging configurable (#1799) 2023-05-21 16:12:47 +01:00
db [bugfix] Fix incorrect default for empty emoji domain (#1803) 2023-05-21 13:45:24 +02:00
email [bugfix] add From to email header (#1717) 2023-04-29 11:47:14 +02:00
federation [feature] status refetch support (#1690) 2023-05-12 11:15:54 +02:00
gotosocial [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
gtscontext [feature] Make client IP logging configurable (#1799) 2023-05-21 16:12:47 +01:00
gtserror [bugfix] Add back removed ValidateRequest() before backoff-retry loop (#1805) 2023-05-21 18:59:14 +02:00
gtsmodel [feature] status refetch support (#1690) 2023-05-12 11:15:54 +02:00
httpclient [bugfix] Add back removed ValidateRequest() before backoff-retry loop (#1805) 2023-05-21 18:59:14 +02:00
id [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
iotools [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
log [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
media [feature] status refetch support (#1690) 2023-05-12 11:15:54 +02:00
messages [feature] Enable federation in/out of profile PropertyValue fields (#1722) 2023-05-09 11:16:10 +01:00
middleware [feature] Make client IP logging configurable (#1799) 2023-05-21 16:12:47 +01:00
netutil [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
oauth [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
oidc [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
processing [bugfix] Fix duplicating fields on profile edit (#1788) 2023-05-15 12:52:40 +02:00
regexes [bugfix] Punycode fixes (#1743) 2023-05-07 18:53:21 +01:00
router [frontend] Profiles with fields & more (#1764) 2023-05-11 17:46:32 +02:00
state [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
storage [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
stream [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
text [feature] Enable federation in/out of profile PropertyValue fields (#1722) 2023-05-09 11:16:10 +01:00
timeline [bugfix/chore] Refactor timeline code (#1656) 2023-04-06 12:43:13 +01:00
tracing feat: initial tracing support (#1623) 2023-05-09 18:19:48 +01:00
trans [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
transport [bugfix] Add back removed ValidateRequest() before backoff-retry loop (#1805) 2023-05-21 18:59:14 +02:00
typeutils [bugfix] Don't try to get user when serializing local instance account (#1757) 2023-05-09 16:05:35 +01:00
uris [bugfix] Punycode fixes (#1743) 2023-05-07 18:53:21 +01:00
util [bugfix] Punycode fixes (#1743) 2023-05-07 18:53:21 +01:00
validate [feature] Enable federation in/out of profile PropertyValue fields (#1722) 2023-05-09 11:16:10 +01:00
visibility [bugfix] Fix single author threads not appearing in home timeline (#1679) 2023-04-08 12:56:55 +02:00
web [bugfix] Fix NegotiateFormat with multiple accept headers (#1797) 2023-05-16 15:08:45 +02:00
workers [performance] improved request batching (removes need for queueing) (#1687) 2023-04-28 17:45:21 +02:00