Commit Graph

71 Commits (2b6fb46f483d20e95fa9d328b85b7df45c69b191)

Author SHA1 Message Date
fadrian06 6e29e663ee Added Exception for call instance methods when a Class constructor require parameters
1 year ago
fadrian06 28b6c99561 Improved docblocks in Engine class
1 year ago
fadrian06 aeb8911038 Improved docblocks
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 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
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
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
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.
7 years ago
kouts 98c105d009 Update Engine.php
7 years ago
kouts 53f0c1671d Update Engine.php
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
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
susuper bf7b6d6431 Changed Last-Modified HTTP header format
9 years ago
Mike Cao f3fa0513fe Updated error handling for PHP 7.
9 years ago
Mike Cao b96aaa7967 Added charset option for JSON requests.
9 years ago
Mike Cao b9dfda3fd6 Do not send a new response for json requests.
9 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
Mike Cao 7c50eb7cfb Passing to a non-matching route should return a 404.
10 years ago
Mike Cao ef76d72b56 Added ability to get all saved variables.
11 years ago