Eric Eastwood
8ef2e848b9
Log query parameters on HTTP requests ( #3591 )
...
* Log query parameters on HTTP requests
Follow-up to https://github.com/matrix-org/matrix-js-sdk/pull/3485
* Only stringify once
See https://github.com/matrix-org/matrix-js-sdk/pull/3591#discussion_r1261300323
2023-07-13 13:07:01 +00:00
Valere
3385adf5f6
Improve logging of http requests to aid debugging ( #3485 )
...
* Simple request logging with status and duration
* remove url params from logs
* superfluous toString()
* Add tests
* Apply suggestions from code review
* update snapshots
* update log format
* Apply suggestions from code review
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
* update snapshot
---------
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
Co-authored-by: Richard van der Hoff <richard@matrix.org >
2023-07-11 17:27:42 +00:00
Kerry
ef1f5bf232
Fix: handle baseUrl with trailing slash in fetch.getUrl ( #3455 )
...
* tests
* tidy trailing slash in fetch.getUrl before forming url
* make sonar happy about Polynomial regular expression used on uncontrolled data
2023-06-08 21:36:34 +00:00
renovate[bot]
a57ee803f1
Update dependency typescript to v5 ( #3262 )
...
* Update dependency typescript to v5
* Update dependency typescript to v5
* Iterate
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2023-04-06 09:54:02 +00:00
Michael Weimann
349c2c2587
Apply prettier formatting
2022-12-09 09:38:20 +01:00
Michael Telatynski
1c901e3137
Fix Node 19 compatibility and run CI against it ( #2842 )
2022-11-08 14:01:06 +00:00
Michael Telatynski
646b3a69fe
Fix authedRequest including Authorization: Bearer undefined for password resets ( #2822 )
2022-10-31 17:08:35 +00:00
renovate[bot]
9a9009d838
Update dependency jest-mock to v29 ( #2775 )
...
* Update dependency jest-mock to v29
* Update imports
* Strict fixes
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2022-10-21 14:22:50 +00:00
Kegan Dougal
500601ea85
More tests to satisfy sonarcloud
2022-10-14 10:23:18 +01:00
Kegan Dougal
e32dfccbd9
Additional tests for 'url' property to satisfy code coverage
2022-10-13 15:39:23 +01:00
Kegan Dougal
ed78737768
Fix types on utils UTs
2022-10-13 15:19:26 +01:00
Michael Telatynski
34c5598a3f
Modernize http-api - move from browser-request to fetch ( #2719 )
2022-10-12 18:59:04 +01:00