Austin Collier
cc4338a34b
added PSR12 coding style to files.
1 year ago
fadrian06
751f17be0d
Fixed conflicting typehint in Loader::class
1 year ago
fadrian06
b426e42e4f
Added typehints to View::class
1 year ago
n0nag0n
1e4c07da52
correct unit test and removed final keywords
1 year ago
n0nag0n
a42cbfe13c
Merge pull request #515 from flightphp/dev
...
Fixed tests and lint problems in windows
1 year ago
fadrian06
193cf9bb8b
Removed type hints to PHP 5 compatibility
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
fadrian06
9251a6da90
Apply code-style
1 year ago
fadrian06
9cd5b9dc0d
Fixed windows directory separator compatibility
1 year ago
Austin Collier
f543d74bfe
Middleware code
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
fd4ce43c44
added route alias to engine/flight
1 year ago
n0nag0n
7991530761
Route alias and phpstan updates
1 year ago
n0nag0n
ceeab06e45
Merge pull request #505 from flightphp/database-class
...
Database class
1 year ago
Austin Collier
a5f2a5e771
Unit tests and such
1 year ago
Austin Collier
65b3d5445f
Lots more unit testing for group based routing
1 year ago
Austin Collier
a3555b019f
Added documentation to readme on grouping
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
Austin Collier
2c2b28af95
100% code coverage everywhere now
1 year ago
Austin Collier
48164961fb
Engine at 100% coverage
1 year ago
n0nag0n
317ad3140e
removed comment
1 year ago
n0nag0n
bf2075245e
Got it to 90% coverage with some windows fixes
1 year ago
n0nag0n
d075fc8be6
100% View class coverage
1 year ago
n0nag0n
9a007c5216
100% Coverage for core Classes
1 year ago
n0nag0n
e36e9024c6
100% Coverage Dispatcher Class
1 year ago
n0nag0n
7b15d2cfca
100% coverage for net classes
1 year ago
n0nag0n
39f61b3d74
Router with 100% coverage
1 year ago
n0nag0n
a416bfe19b
100% coverage for Request and Route
1 year ago
n0nag0n
0d026b16d1
added test for unique subdir setup in request
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
Michal Hybner
21a0c55375
Fix JSON request with empty body
3 years ago
Masroor Ehsan
ff852c19e3
updated phpunit and tests
4 years ago
Mike Cao
da8eaefc63
Merge pull request #398 from hlidotbe/feature/request-host
...
Add host to request
6 years ago
Hugues Lismonde
b4c9c42b00
Add host to request
...
The requested host can be useful to build an url or route request based
on which host was used.
6 years ago
Hugues Lismonde
e0dfb7406d
Fix request schem
...
As mentionned in #396 , the request scheme was not as documented,
returning SERVER_PROTOCOL instead.
The `getScheme` function is now used to handle common cases (HTTPS,
FORWATED_PROTO, ...).
`request->secure` is also based on the scheme now as `$_SERVER['HTTPS']`
is unreliable for this purpose.
6 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
0386339331
Updated test asset.
8 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
b30d5e5fa2
Moved map method check to Engine. Added get method to Loader. Added new tests.
8 years ago
Mike Cao
cabbb25fcc
Added support for custom template file extensions.
9 years ago
Mike Cao
7fd3594ac7
Added ability to perform case sensitive matching of URLs.
9 years ago