fadrian06
253c86482e
Fixed yoda comparisons
11 months ago
fadrian06
3fba60ca7f
Apply some fixes of phpcs
11 months ago
fadrian06
4d064cbb6d
Applied phpcbf
11 months ago
n0nag0n
4d4c0d5420
added helpers to req/resp and cleaned up phpcs/stan errors
11 months ago
n0nag0n
a60a31c4bd
added constant
11 months ago
n0nag0n
e29f3b5533
snakeCased parameter, and added v2 unit testing behaviors
11 months ago
n0nag0n
e696bd9135
removed unnecessary code
11 months ago
n0nag0n
feee086e2b
initial commit to overhaul output buffering
11 months ago
fadrian06
6e29e663ee
Added Exception for call instance methods when a Class constructor require parameters
12 months ago
fadrian06
28b6c99561
Improved docblocks in Engine class
12 months ago
fadrian06
aeb8911038
Improved docblocks
12 months 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
537ea032d8
request header shortcut and lots of unit test fixes for phpcs
1 year ago
fadrian06
f8a3b841cf
Flight and Engine docblocks refactored
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
eba7e7e7ce
Parameters renamed to simplify docblock
1 year ago
fadrian06
def0e65965
Solved Engine::class phpcs problems
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
n0nag0n
8d20c002c8
Added double quotes to etag to match standards
1 year ago
n0nag0n
83d33348e0
old array syntax cleanup and legacy json serializable removal
1 year ago
n0nag0n
a42cbfe13c
Merge pull request #515 from flightphp/dev
...
Fixed tests and lint problems in windows
1 year ago
n0nag0n
c98d6ce7d4
Lots of tweaks for middleware. Cleaned up old code.
1 year ago
fadrian06
dc5f1a9c08
Engine::_getUrl() docblock fixed
1 year ago
Austin Collier
f543d74bfe
Middleware code
1 year ago
n0nag0n
fd4ce43c44
added route alias to engine/flight
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
n0nag0n
bf2075245e
Got it to 90% coverage with some windows fixes
1 year ago
n0nag0n
5880579045
Merge pull request #3 from saschanos/type-fix
...
fix wrong type return
1 year ago
fadrian06
42ec161d8a
Added code format
1 year ago
fadrian06
fbcc9108c2
DocBlocks improved
1 year ago
Sascha Nos
c929626fc6
fix wrong type return
1 year ago
Masroor Ehsan
5b8e743e3d
refactorings
4 years ago
Masroor Ehsan
04e471bf46
PHP ^7.4|^8.0 compatibility
4 years ago
juneszh
c649964d95
add content_length configuration
4 years ago
Alex Shadie
e25f023d43
Fixed exception catching (php < 7)
7 years ago
Alex Shadie
d3067e5eae
Some improvements for PHPdoc
7 years ago
jqs
ccf4858573
Removed extraneous ->write($url) call on redirect that was causing Safari to bugger out qwhen using HTTP2, which it tends to handle more strictly.
...
Notes:
The line above writes the URL to redirect to for the 303 then that line writes it again.
The result is a multi-line http header which causes safari to freak out when in http2 mode.
https://blog.christopherburg.com/2017/10/18/safari-11-multiline-http-headers-and-nsposixerrordomain100/
blog.christopherburg.com
Safari 11, Multiline HTTP Headers, and NSPOSIXErrorDomain:100. at A Geek With Guns
Chronicling the depravities of the State
7 years ago
kouts
98c105d009
Update Engine.php
...
Fixed halt method so that it stops execution.
7 years ago
kouts
53f0c1671d
Update Engine.php
...
Add ```clear``` to the halt method in order to work as expected with the latest changes
7 years ago
Mike Cao
e146b8c0dd
Prevent response from sending more than once.
7 years ago
Mike Cao
5b4916d4e3
Fix conflict with external error handlers.
7 years ago
Yassine Addi
a0d749276f
Fix redirect method due to a mistake removing backslashes
...
The problem is that if 'flight.base_url' setting is set to 'http://localhost/flight ', then:
$url = 'http:/localhost/flight';
Notice that one backslash has been removed.
8 years ago
Mike Cao
6aea7394c4
Remove $route from parameter list, only pass when dispatching callback.
8 years ago
Mike Cao
9c8d492799
Removed JSON encode depth parameter to keep PHP 5.3 compatibility.
8 years ago
Mike Cao
b30d5e5fa2
Moved map method check to Engine. Added get method to Loader. Added new tests.
8 years ago
Shane Armstrong
a9ced778ee
#203 - Executing an unmapped method within the engine dispatcher now throws an Exception, clarified the return class of Flight::app()
8 years ago
Shane Armstrong
b7b929bf99
#290 - JSON methods now support encode option/depth, added missing arguments to json/jsonp method documentation, _json/_jsonp methods now list arguments on individual lines to remain PSR-2 compliant
8 years ago