Use finch everywhere #33

Merged
floatingghost merged 15 commits from finch into develop 2022-07-04 16:30:39 +00:00

15 commits

Author SHA1 Message Date
sadposter
893029ca27 Start finch on mix tasks
Some checks failed
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/release Pipeline was successful
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/push/test unknown status
ci/woodpecker/pr/test Pipeline was successful
2022-07-02 20:20:44 +01:00
sadposter
1677a89422 Merge branch 'develop' into finch 2022-07-02 15:07:48 +01:00
7dc152efac Purge esshd from tests
Some checks failed
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/pr/release Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/test Pipeline failed
2022-07-01 14:23:36 +01:00
b736d25b3f update instance info test 2022-07-01 14:19:57 +01:00
412d990a4d switch DB name 2022-07-01 14:19:53 +01:00
e060b89812 Remove leftover Gun connection pool test 2022-07-01 14:14:35 +01:00
e5171df73a We don't need a special HTTP client definition for Tzdata, and Finch won't work anyway
Not sure why we tried to jam this through Pleroma.HTTP in the first place as upstream wants Hackney
2022-07-01 14:14:23 +01:00
bd3bd15aa5 Remove pools from description.exs for AdminFE / ConfigDB 2022-07-01 14:14:17 +01:00
e173bce339 Bring back :send_user_agent for test env only.
Too many tests break as they don't include injected user agent in expected response
2022-07-01 14:14:11 +01:00
fd80b75444 Fix the remaining reverse proxy tests which are still relevant
All tests related to streaming/chunking have been removed
2022-07-01 14:14:05 +01:00
8fd0a06241 We should keep the expires header too. If cache-control is also served, expires is ignored. 2022-07-01 14:13:58 +01:00
7e2ee0a3de mix format 2022-07-01 14:13:52 +01:00
ebada5464d Tests WIP
Remove the :send_user_agent setting. We should always send the user agent.

Remove duplicate setting of the user agent from ReverseProxy module
2022-07-01 14:13:47 +01:00
ef06b32d79 Remove the Hackney follow_redirect
Change the get_media/4 to get_media/3 as we don't need to special case following redirects anymore and we probably should have always been following redirects anyway
2022-07-01 14:13:31 +01:00
02c62dd97f Finch everywhere 2022-07-01 14:13:12 +01:00