Commit graph

180 commits

Author SHA1 Message Date
985a84d7a8 Update dependencies 2023-06-22 10:07:32 -04:00
d50c7a527d Various updates
- Fix deprecation notices in PHP 8.x
- Use DOMParser to parse HTML and XML documents
- Update Robo, php-cs-fixer
- Clean up tooling where practical
2023-04-03 12:12:08 -04:00
7011bc0c4d Skeleton of h-feed parser
This is probbly a dead end; the reference microformats parser should
probably ultimately be used instead
2020-09-23 10:01:59 -04:00
f4f46c57a5 Deduplicate some parser code 2020-09-10 10:47:24 -04:00
104e0068a8 More client redirection tests 2020-06-28 07:51:53 -04:00
d20058c447 Initial test for redirection handling 2020-06-27 18:01:12 -04:00
13435e7d5f Fill out client 2020-06-20 15:11:59 -04:00
41053e89a7 Tests for HTTP-level client exceptions 2020-06-20 15:07:45 -04:00
251249b11e Tests for ad hoc content sniffing 2020-06-19 16:33:18 -04:00
da93bdc18d Start on parser helper tests 2020-06-14 10:17:19 -04:00
0170348429 Handle all assigned HTTP error codes uniformly 2020-06-12 17:05:31 -04:00
acfdf7be21 Don't duplicate PSR-18 error conditions 2020-06-10 09:55:28 -04:00
5d64815a31 Fill out exception codes 2020-06-04 18:17:12 -04:00
05ce358d62 Fill out request sending 2020-06-03 19:09:01 -04:00
1dfba28a66 Client prototype 2020-05-31 15:16:34 -04:00
d1e0cdfdc5 Make message parser not depend on feed class 2020-05-25 19:03:49 -04:00
d3ef9bb8c1 Fix last URL test failures 2020-05-22 14:48:34 -04:00
db7d682196 Use stricter pattern with non -special URIs 2020-05-22 12:35:19 -04:00
598808a37c More host-parsing fixes 2020-05-15 17:41:10 -04:00
6f98db1931 Various fixes to path collapsing and host parsing
Host parsing breaks PSR-7 tests; these are probably "wrong"
2020-05-14 23:08:59 -04:00
1dfbff3c22 Mostly fix host parsing 2020-05-11 19:45:18 -04:00
5287607046 Various small fixes for IPv6 and file: scheme 2020-05-10 12:59:29 -04:00
7ab046446d Path collapsing for special schemes
Also reject default authority for special schemes other than file
2020-05-09 19:38:44 -04:00
b71247a0b5 Clean up serialization 2020-05-09 16:56:18 -04:00
4bb3e0b82a More file: scheme fixes 2020-05-09 12:52:20 -04:00
2dc678fa9e Generalize backslash handling 2020-05-09 09:34:46 -04:00
4bd162931c Cleanup and file: scheme fixes 2020-05-08 19:40:31 -04:00
5147c7e919 Use WHATWG percent-encoding rules 2020-05-08 11:42:12 -04:00
98e9a03d1a Fix null-authority URLs 2020-05-07 19:30:14 -04:00
eaf6deb8bc Fix authority handling for file scheme 2020-05-07 18:22:32 -04:00
41e19f6286 Fix case of missing slash in authority 2020-05-07 11:49:28 -04:00
7ef45cfcd5 Fix IPv6 address normalization 2020-05-06 18:33:31 -04:00
47e7539841 Sundry fixes for special URL schemes 2020-05-06 12:56:13 -04:00
ff782a132e Fix authority parsing (mostly) 2020-05-06 09:53:19 -04:00
ba43f243a9 Bring Url class closer in line to WHATWG parser 2020-05-05 18:24:46 -04:00
096cf6ce3f Style fixes 2020-05-05 18:22:13 -04:00
d13cee90ee Last tests for HTTP links 2020-05-05 08:22:41 -04:00
3096b41811 Implement RFC 8288 Web Linking; more tests to come 2020-05-04 11:06:01 -04:00
1b834baa3c More HTTP tests 2020-04-30 17:15:16 -04:00
2d47eb5217 Cache-Control processing 2020-04-30 13:11:30 -04:00
ba8a3a6183 Start on HTTP parser tests 2020-04-29 12:20:45 -04:00
18a831becd Add an initial HTTP message handler 2020-04-28 10:00:05 -04:00
96d3ce936a Generalize document parsing 2020-04-28 09:59:36 -04:00
e0cbbc1ad9 Last date tests 2020-04-26 09:41:33 -04:00
3539c063c4 Yet more date tests 2020-04-24 18:48:24 -04:00
418a999ef1 Combine RFC 822 and RFC 850 patterns 2020-04-24 13:11:15 -04:00
a1421b3008 Yet more date tests 2020-04-24 09:46:07 -04:00
b9fa795b88 More tests 2020-04-23 16:54:46 -04:00
2bf85b01a7 Use new date parser in feed parsers 2020-04-23 16:26:39 -04:00
14d94be7e7 New date parser, with partial testing 2020-04-23 16:22:34 -04:00