Commit graph

224 commits

Author SHA1 Message Date
5c3d4c9072
Fixed incompatibility not caught by PHPStan. 2025-04-05 19:44:44 +00:00
c2bcb0611b
Make HttpResponseBuilder use the Stringable implementation of Timings. 2025-04-03 15:42:01 +00:00
16e9676430
Make Timings and TimingPoint implement Stringable. 2025-04-03 15:18:36 +00:00
6f9ab9136e
Allow specified the starting time of a stopwatch. 2025-04-03 14:50:38 +00:00
d06c105865
nevermind hrtime() is built in oops 2025-04-03 14:48:04 +00:00
892dfd3e69
Added suggest for ext-hrtime. 2025-04-03 14:46:13 +00:00
42adbe5da8
More specific phpstan ignore rules. 2025-04-02 10:41:10 +00:00
6efd02465f
Use interfaces instead of abstract class for Twig extensions. 2025-04-01 12:36:15 +00:00
ea549dd0eb
Added Snowflake ID generators. 2025-03-26 01:40:42 +00:00
60c2130182
Fixed replace argument on header() not being set to false. 2025-03-25 18:53:17 +00:00
0f3501acc6
Always rewind input streams if possible. 2025-03-25 14:17:15 +00:00
2372a113d2
Account for trailing slashes in URLs. 2025-03-23 03:55:57 +00:00
2bb9cccf18
Fixed route matching issues. 2025-03-23 03:38:11 +00:00
6642ce70c8
Fixed certified Microsoft moment. 2025-03-23 01:08:33 +00:00
d99562db16
Fixed null handling. 2025-03-22 19:59:44 +00:00
8df1d32304
Rewrote argument resolver in the dependency manager to account for torrent tracker edge case. 2025-03-21 18:19:04 +00:00
1ee6dc8115
Added test for weird edge case (which isn't triggering awesome). 2025-03-21 00:04:27 +00:00
7521d0ee82
Rolling back. 2025-03-20 23:42:35 +00:00
c000efa8e5
Attempt to fix binary data in URL decode. 2025-03-20 23:36:14 +00:00
1ba9e8fa34
Make the input preprocessors actually render an error page. 2025-03-20 19:29:51 +00:00
201c6e0ab3
Fixed legacy query string encoding. 2025-03-20 03:29:12 +00:00
71435ba877
Expose getParamString on UrlEncodedFormContent. 2025-03-20 03:11:21 +00:00
fe6c62e1c0
Update readme to reflect proper minimum PHP version. 2025-03-20 02:52:03 +00:00
9d82faf30b Merge pull request 'Third Major Router Rewrite' () from router-v3 into trunk
Reviewed-on: 
2025-03-20 02:48:24 +00:00
14ae4508c5
Updated README.md to point to correct class name. 2025-03-19 21:56:02 +00:00
d54ca02b38
Implemented access control handling. 2025-03-19 21:24:52 +00:00
c481a9eb3a
Added tests for empty multipart/form-data. 2025-03-15 02:48:59 +00:00
c2a79a1076
Added output postprocessors. 2025-03-15 02:41:14 +00:00
ee48bb5bd6
Implemented default processors for form handling. 2025-03-15 02:10:16 +00:00
cc351a2f05
Made FormContent iterable. 2025-03-15 00:00:53 +00:00
3bb955d61e
Fixed PHPstan detection. 2025-03-14 23:27:15 +00:00
63170fe412
Added proper tests for multipart. 2025-03-12 22:08:52 +00:00
d56be84bbb
multipart/form-data implementation 2025-03-12 20:56:48 +00:00
f07a3ab50e
Updated libraries. 2025-03-12 13:13:56 +00:00
ecc9d9a348
Improved HttpRequest casting code. 2025-03-08 20:34:33 +00:00
d5b5efab46
Test for cookie strings and allow taking a $_SERVER variable in HttpRequest::fromRequest. 2025-03-08 20:12:57 +00:00
346b8a52e2
Home grown query/form string encoder. 2025-03-08 00:57:00 +00:00
4f092a3259
Added processors. 2025-03-07 23:39:15 +00:00
69e22beb08
Removed old resolved route info class. 2025-03-07 22:09:52 +00:00
6fec3889a6
Reverted errorHandler setter to a method. 2025-03-07 20:25:24 +00:00
fcfa275706
Always call the default result handler when returning. 2025-03-07 20:21:02 +00:00
eb73a41b88
Another small refactor to Allow handling. 2025-03-07 20:17:58 +00:00
14464c2835
Forgot error handling. 2025-03-07 20:06:09 +00:00
bc43662792
Redid base route pipeline. 2025-03-07 20:01:27 +00:00
d0b9b2d556
Added HandlerContext and ->call method on Dependencies. 2025-03-07 02:42:45 +00:00
a5f9e9121d
Added assert for the reason phrase because I noticed it was empty for 405 earlier in testing. 2025-03-07 00:32:06 +00:00
956cfd1a63
Fixed formatting errors caused by update-headers. 2025-03-07 00:26:45 +00:00
2b481fee4d
Changes to route and filter registration flow. 2025-03-07 00:25:00 +00:00
bdb66bc1ba
Renamed existing concept of middleware to filters. 2025-03-02 02:08:45 +00:00
ee540d8137
Removed scoping from router (will be replaced by something else). 2025-02-28 22:44:56 +00:00