n0nag0n
f4f3c7a342
Fixed multiple trailing slashes issues. Also fixed server test for 405 and 404
1 week ago
Austin Collier
33676872ed
Maintains headers on redirect, error, and halt. Added jsonHalt
8 months ago
fadrian06
62f15baf55
Merge branch 'master' into dispatcher-refactor
10 months ago
Austin Collier
38e20242bf
beautify
10 months ago
Austin Collier
5406bbedc1
added test coverage and clearing body for head requests
10 months ago
Austin Collier
4f52e1acc0
phpcs fixes
10 months ago
Austin Collier
765887d388
some additional testing
10 months ago
Daniel Schreiber
e6a29c7476
fix: handle encoded slashes for url parameters - fixes #552
11 months ago
fadrian06
86df1cb2bd
Resolved phpcs Generic standard rules
11 months ago
Austin Collier
660a642e8a
fixed bug with grouped routes
12 months ago
Austin Collier
4c60454fa0
beautified
1 year ago
Austin Collier
aaf6a44a2c
fixed bug with root alias
1 year ago
n0nag0n
ff6fa74d51
Merge branch 'master' into easier-access-to-request-headers
1 year ago
n0nag0n
537ea032d8
request header shortcut and lots of unit test fixes for phpcs
1 year ago
fadrian06
8d6d0f08da
Simplified tests
1 year ago
fadrian06
84cdbcbdc3
Fixed phpcs format problems in tests
1 year ago
Austin Collier
cc4338a34b
added PSR12 coding style to files.
1 year ago
n0nag0n
bef92303d7
Merge pull request #514 from flightphp/middleware
...
Middleware code
1 year ago
n0nag0n
c98d6ce7d4
Lots of tweaks for middleware. Cleaned up old code.
1 year ago
n0nag0n
b388a26765
fixed alias issue, levenshtein recommendations and coverage-check
1 year ago
Austin Collier
c7a143db04
fixed issue with multiline possibilities in url query
1 year ago
Austin Collier
8bd7fd035b
fixed params with numbers
1 year ago
Austin Collier
74d2fd7002
Fixes for group routing
1 year ago
Austin Collier
387f15bd8b
fixed optional params with aliasing
1 year ago
n0nag0n
7991530761
Route alias and phpstan updates
1 year ago
Austin Collier
65b3d5445f
Lots more unit testing for group based routing
1 year ago
Austin Collier
12073629cc
added ability to group routes together
1 year ago
Austin Collier
0b149349fc
Test to confirm #161 is fixed.
1 year ago
n0nag0n
39f61b3d74
Router with 100% coverage
1 year ago
n0nag0n
a416bfe19b
100% coverage for Request and Route
1 year ago
n0nag0n
9faf27262c
cleaned up some unit test requires
1 year ago
Austin Collier
3d58a5bee4
added phpunit config for testing coverage
1 year ago
Masroor Ehsan
ff852c19e3
updated phpunit and tests
4 years ago
Delyan Angelov
406be00436
Add a failing test for routing URLs containing Cyrillic letters.
6 years ago
Mike Cao
b781e63d08
Fix test.
7 years ago
Mike Cao
c3c6f68909
Removed another case of $route passing. Updated tests.
8 years ago
Mike Cao
6aea7394c4
Remove $route from parameter list, only pass when dispatching callback.
8 years ago
Mike Cao
7fd3594ac7
Added ability to perform case sensitive matching of URLs.
9 years ago
Yuri Tkachenko
83ffddc800
added phpunit to composer and tests updated
10 years ago
Mike Cao
7c50eb7cfb
Passing to a non-matching route should return a 404.
10 years ago
Mike Cao
64d384ddff
Splat should consider trailing slash in URLs.
11 years ago
Mike Cao
88f4c1fb71
Fixed issue with splats when used with named parameters.
11 years ago
Mike Cao
d84e51ba47
Updated route object passing functionality.
...
Before the route object would automatically be passed to all callbacks. Now you need to explicitly
ask for it by passing in true as the third parameter in Flight::route().
11 years ago
Mike Cao
7817255a61
Added ability to get splat from URL pattern.
11 years ago
Mike Cao
23fc99ec91
Updated all tests to use Engine class.
12 years ago
Mike Cao
84078158c3
Introduced new Engine class.
...
Core functionality has been moved to a namespaced Engine class. The
existing Flight class is now just a static pass-through to the Engine class.
Also fixed autoloading and initialization issues.
12 years ago
Mike Cao
a04020d50e
Fix line feeds.
12 years ago
Mike Cao
28ae5e0aec
Added route passing functionality.
12 years ago
Mike Cao
ae32c228d1
Changed PHPUnit references. Added new tests for router.
12 years ago
Mike Cao
c3ee140930
Added unit tests
12 years ago