Austin Collier
f4c5405d1b
little changes to requests and integration testing JSON POST requests
10 months ago
Austin Collier
1d3b224ef6
changed it so PdoWrapper returns collections
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
n0nag0n
735dafefb9
Merge pull request #550 from flightphp/overwrite-body
...
added ability to overwrite the body
11 months ago
n0nag0n
0622fd1c2b
fixed issues with @params_with_underscores and prepopulate getUrl() params.
11 months ago
n0nag0n
47cd98e78e
added ability to overwrite the body
11 months ago
fadrian06
2474371e35
Merge branch 'master' into dispatcher-refactor
11 months ago
Austin Collier
788ddb6137
added streaming responses. Fixed JSONP.
11 months ago
n0nag0n
eb0b813567
added more tests for ui testing
11 months ago
fadrian06
86df1cb2bd
Resolved phpcs Generic standard rules
11 months ago
fadrian06
253c86482e
Fixed yoda comparisons
11 months ago
n0nag0n
2439f20d27
corrected spacing
11 months ago
n0nag0n
d8aa490dbd
fix for JSON in v3 output buffering
11 months ago
n0nag0n
a212d736d5
corrected template path in test servers
11 months ago
n0nag0n
4d4c0d5420
added helpers to req/resp and cleaned up phpcs/stan errors
11 months ago
n0nag0n
e29f3b5533
snakeCased parameter, and added v2 unit testing behaviors
11 months ago
n0nag0n
d5a5a15607
added v2 ui testing
11 months ago
n0nag0n
7d1987f73a
Added UI Test script from @krmu
11 months ago
n0nag0n
feee086e2b
initial commit to overhaul output buffering
11 months ago
Austin Collier
9c437d97c8
Merge branch 'master' into fix-dispatcher-error-message
12 months ago
Austin Collier
fe46e25d0e
removed notice on setting error messages
12 months ago
fadrian06
2b6fb46f48
DispatcherTest 100% test coverage
12 months ago
fadrian06
50d258a997
Removed unnecessary Dispatcher::tests()
12 months ago
fadrian06
b2d7164be0
Better Dispatcher documentation
12 months ago
Austin Collier
660a642e8a
fixed bug with grouped routes
12 months ago
fadrian06
cd79dc92b6
Can execute instance methods statically (useful for Controllers)
12 months ago
fadrian06
a15a82a209
It throws an Exception for invalid Filters array
12 months ago
fadrian06
72c50d4cb5
Throws an E_USER_NOTICE for invalid filter type
12 months ago
fadrian06
71a01c3711
Improved error reporting in Dispatcher
12 months ago
fadrian06
631d4a26c2
Added method chaining Dispatcher::hook and FILTER_TYPES consts
12 months ago
fadrian06
e35fc32a97
Chaining method definitions in Dispatcher::set()
12 months ago
fadrian06
aeb8911038
Improved docblocks
12 months ago
lubiana
dc6f907b26
fix testStaticFunctionMapping to actually map a static method
12 months ago
Austin Collier
4c60454fa0
beautified
1 year ago
Austin Collier
aaf6a44a2c
fixed bug with root alias
1 year ago
n0nag0n
df90d69787
so many phpcs fixes. No more, no more!
1 year ago
n0nag0n
ff6fa74d51
Merge branch 'master' into easier-access-to-request-headers
1 year ago
n0nag0n
2db95a0d7b
added getHeaders()
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
0eac13f4fa
Added Testing helper classes strict types
1 year ago
fadrian06
84877b34f4
Merge pull request #530 from flightphp/async-related
...
added some methods to help with async frameworks
1 year ago
fadrian06
84cdbcbdc3
Fixed phpcs format problems in tests
1 year ago
fadrian06
bdca41d7e1
Added development classmap autoloader
1 year ago
Austin Collier
c6754dfe59
added some methods to help with async frameworks
1 year ago
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
Yuri Tkachenko
83ffddc800
added phpunit to composer and tests updated
10 years ago