Mike Cao
46b3bd6096
Bump version.
9 years ago
Mike Cao
486ec7c689
Application now initialized in Flight::app() instead of __callStatic.
9 years ago
Mike Cao
4bb1b49385
Merge pull request #185 from tamtamchik/composer-tests
...
added phpunit to composer and tests updated
10 years ago
Mike Cao
d719d56e07
Merge pull request #194 from edwardbrosens/master
...
add getter for protected headers property
10 years ago
Edward Brosens
afbf306336
add getter for protected headers property
10 years ago
Yuri Tkachenko
83ffddc800
added phpunit to composer and tests updated
10 years ago
Mike Cao
e715471a2c
Updated docs to include composer information.
10 years ago
Mike Cao
9ee72d401f
Merge pull request #182 from tamtamchik/patch-1
...
Correct PHPDoc for phpStorm
10 years ago
Yuriy Tkachenko
b187f3564f
Correct PHPDoc for phpStorm
...
make phpStorm correctly identify has and get functions
10 years ago
Mike Cao
9b0b527ac5
Bump version.
10 years ago
Mike Cao
dd096acff3
Merge pull request #178 from sethbattin/cacheheaderfix
...
include pragma='no-cache' in the cache header reset
10 years ago
Seth Battin
bb11ca47bc
include pragma='no-cache' in the cache header reset
10 years ago
Mike Cao
10750b5ce3
getBody should check for PATCH method.
10 years ago
Mike Cao
a32f2c2087
getMethod should return uppercase string.
10 years ago
Mike Cao
0c8b665304
Bump version. Minor syntax update.
10 years ago
Mike Cao
f28d7eed46
Merge pull request #165 from everflux/master
...
Provide content-length header if response has a body
10 years ago
everflux
268cf0cb66
Provide content-length header if response has a body
10 years ago
Mike Cao
7c50eb7cfb
Passing to a non-matching route should return a 404.
10 years ago
Mike Cao
a5f2ac8a15
Merge pull request #156 from terales/master
...
Added list of methods for autocomplete
10 years ago
Alexander
c4ab005462
Added list of methods for autocomplete
...
Added list of available methods to the PHPDoc section of `Flight` class. Inspired by suggestion: http://stackoverflow.com/a/26628288/1363799
10 years ago
Mike Cao
b43c13f0d1
Update VERSION
10 years ago
Mike Cao
7971ba40a2
Merge pull request #155 from zzplab/master
...
Using multiple template paths
10 years ago
Erwin
2f4210ad3f
Using multiple template paths
...
I want to use more template directory's along with the multiple flight.views.path during execution of the script. So want to be able to change it on the fly, during execution. And I want the extra template directory's to be outside of the normal flight.views.path.
I tried a lot of ways without changing the View.php but this change is simpel and works for me.
This way I can easily do:
Flight::render(TPL_PATH.'hello', ['name'=>'Bob'], 'header_content');
10 years ago
Mike Cao
3f491eee0d
Update VERSION
10 years ago
Mike Cao
dc15094141
Merge pull request #151 from dstelljes/body-cache
...
PUT only allows php://input to be read once
10 years ago
Daniel Stelljes
54440d1db0
Removed static body variable from Request
10 years ago
Daniel Stelljes
703536d2bf
Set up request body caching
10 years ago
Mike Cao
ef76d72b56
Added ability to get all saved variables.
10 years ago
Mike Cao
3b576003fa
Update VERSION
11 years ago
Mike Cao
9e8107096c
Merge pull request #145 from iUtvikler/master
...
Add and update HTTP status codes
11 years ago
Lars-Jørgen Kristiansen
d5e808a495
fixed message for http code 306
11 years ago
Lars-Jørgen Kristiansen
b8a1c1e163
added all HTTP status codes from http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
11 years ago
Lars-Jørgen Kristiansen
e6ed90e3fb
Added more HTTP status codes
11 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
44eee92fdf
Update VERSION
11 years ago
Mike Cao
7745f6a34c
Merge pull request #141 from pine3ree/patch-1
...
replacing array_push with faster []
11 years ago
Mike Cao
c1ef9e0e55
Update VERSION
11 years ago
Mike Cao
20a432ceec
Merge pull request #136 from kafene/master
...
Add support for getting request status
11 years ago
maks feltrin
bcb5b120a9
Update Router.php
11 years ago
maks feltrin
229cbd24f5
replacing array_push with faster []
11 years ago
kafene
3392751dba
Add support for getting request status
11 years ago
kafene
71f66b4d5d
Add support for HTTP status code 418 (Permanent Redirect)
11 years ago
Mike Cao
24f084fa09
Update VERSION
11 years ago
Mike Cao
c0fa0bed7c
Redirects should always consider the base directory.
11 years ago
Mike Cao
eefcd2b55a
Merge pull request #126 from smeinecke/remove_comment
...
Updated class comment.
11 years ago
Stefan Meinecke
5e284a1d9c
Updated class comment.
...
- removed deprecated json property
- added missing secure, accept and proxy_ip property
11 years ago
Mike Cao
81041d418b
JSON request input is now stored in the data property.
11 years ago
Mike Cao
da40e03eb4
Removed the body property from the Request class.
11 years ago
Mike Cao
d5cf1a4e24
Updated documentation on route info.
11 years ago