asta.xie
|
9c959fba4d
|
fix string
|
2014-03-29 14:59:55 +08:00 |
|
asta.xie
|
5588bfc35e
|
support filter to get router. get runController & runMethod
|
2014-03-29 14:55:34 +08:00 |
|
astaxie
|
5d392b76c7
|
Merge pull request #531 from unphp/develop
Update router.go
|
2014-03-14 10:08:47 +08:00 |
|
asta.xie
|
769f7c751b
|
fix static file route
|
2014-03-12 21:06:20 +08:00 |
|
asta.xie
|
624f6258ee
|
fix read /
|
2014-03-12 18:29:45 +08:00 |
|
unphp
|
43c977ab62
|
Update router.go
To append a slice's value into "exceptMethod", for controller's methods shouldn't reflect to AutoRouter
|
2014-03-12 17:20:53 +08:00 |
|
asta.xie
|
6c92ca2a16
|
fix bug for static file like /static /static_js /static_css
|
2014-03-12 17:03:34 +08:00 |
|
asta.xie
|
f7430a2ce1
|
enhance the static file path. If user foget / path.Join will auto fix it.
|
2014-03-12 15:56:05 +08:00 |
|
asta.xie
|
04a19685ed
|
enhance the static file path. If user foget / path.Join will auto fix it.
|
2014-02-26 14:44:41 +08:00 |
|
slene
|
6e9ba0ea7f
|
fix SessionRegenerateID should release old SessionStore and release new SessionStore in router.go
|
2014-01-11 17:01:33 +08:00 |
|
astaxie
|
31bdb793cf
|
make fix
|
2014-01-05 15:21:50 +08:00 |
|
astaxie
|
d57557dc55
|
add AutoRouterWithPrefix
|
2014-01-01 17:57:57 +08:00 |
|
astaxie
|
1e57587fe9
|
support Hijacker #428
|
2013-12-31 20:47:48 +08:00 |
|
astaxie
|
a1e29b0b75
|
Merge pull request #422 from pengfei-xue/devel
simplify condition test for trailing /
|
2013-12-30 04:58:50 -08:00 |
|
astaxie
|
984b0cbf31
|
1. :all param default expr change from (.+) to (.*)
2. add hookfunc to support appstart hook
|
2013-12-30 15:06:51 +08:00 |
|
Pengfei Xue
|
3a08eec1f9
|
simplify condition test for trailing /
|
2013-12-30 11:29:35 +08:00 |
|
astaxie
|
95dc670eb4
|
fix #416
|
2013-12-28 23:06:20 +08:00 |
|
astaxie
|
7a3d05ebf3
|
when pattern is /admin while the url is /admin/ should return 200. fix #416
|
2013-12-28 23:04:45 +08:00 |
|
astaxie
|
0b659961ba
|
clearly the router, If user set the third params, will not follow the RESTful method
|
2013-12-24 15:27:00 +08:00 |
|
傅小黑
|
ff18ae2562
|
add api comments in file memzipfile.go,reload.go,router.go,template.go and templatefunc.go, fix spelling error GetInitListner as GetInitListener.
|
2013-12-21 13:19:24 +08:00 |
|
astaxie
|
57781d1001
|
when panic show the request url
|
2013-12-21 01:20:35 +08:00 |
|
astaxie
|
419c3fc772
|
remove contextBuffer fix #396
|
2013-12-21 00:34:59 +08:00 |
|
astaxie
|
3f0e55de56
|
reverse pull request 397, it not a bug. Just should this way
|
2013-12-20 13:20:09 +08:00 |
|
Pengfei Xue
|
00020139c5
|
fix routing bug
|
2013-12-20 11:38:29 +08:00 |
|
astaxie
|
e481671814
|
_method also must support user defined router
|
2013-12-19 13:07:43 +08:00 |
|
astaxie
|
53b2a29b44
|
when method is POST then to parse form
|
2013-12-19 12:50:47 +08:00 |
|
astaxie
|
cb49be7815
|
fix router Put and Delete method when post method with _method
|
2013-12-19 12:47:54 +08:00 |
|
astaxie
|
de0113ae6a
|
add comments & change channel from 100 to 1000
|
2013-12-19 00:43:29 +08:00 |
|
astaxie
|
7242bc862e
|
improve main login performance
|
2013-12-18 23:48:43 +08:00 |
|
astaxie
|
b346617dc1
|
context.output now need reponsewriter
|
2013-12-18 22:35:52 +08:00 |
|
astaxie
|
b8ed790858
|
recycling memory buffer in context
|
2013-12-18 22:33:21 +08:00 |
|
astaxie
|
48cefc6767
|
improve performance change reflect to interface
|
2013-12-18 21:32:25 +08:00 |
|
astaxie
|
e01fbd497c
|
when call abort show the err:http: multiple response.WriteHeader calls
|
2013-12-18 20:53:23 +08:00 |
|
astaxie
|
9edf3143e1
|
fix autorouter params
|
2013-12-18 10:00:52 +08:00 |
|
slene
|
00065f2b08
|
fix mime bug !!
|
2013-12-18 00:05:04 +08:00 |
|
astaxie
|
c3bc2bedc0
|
add methodName to fix #380 & arrangement the router
|
2013-12-17 11:19:18 +08:00 |
|
astaxie
|
7b27b7fed0
|
change SopRun to a variable
|
2013-12-17 08:53:20 +08:00 |
|
astaxie
|
b9fdbdf7b5
|
use StopRun to terminate the execution
|
2013-12-16 23:22:15 +08:00 |
|
astaxie
|
436f9a7468
|
move session init before static
|
2013-12-16 22:56:35 +08:00 |
|
astaxie
|
f8708d01bf
|
update abort & error show & sessionRelease in defer
|
2013-12-16 22:54:29 +08:00 |
|
astaxie
|
7fd18ba639
|
modify in the autorouter's Render #377
|
2013-12-16 11:46:54 +08:00 |
|
vadimi
|
31f862c526
|
Panic template execution errors to show error pages accordingly
|
2013-12-15 13:17:27 -05:00 |
|
Pengfei Xue
|
72af5ce582
|
add do_filter func to reduce duplicated code
|
2013-12-15 21:02:28 +08:00 |
|
Francois
|
9995168f9a
|
Update router.go
|
2013-12-14 20:35:57 +02:00 |
|
astaxie
|
495033b977
|
fix #366
|
2013-12-13 21:25:32 +08:00 |
|
astaxie
|
19119e99f7
|
move utils to utils libs & func move to templatefunc
|
2013-12-12 22:25:08 +08:00 |
|
vadimi
|
d79977977d
|
Improve unhandled error handling in prod mode
|
2013-12-06 00:47:34 -05:00 |
|
astaxie
|
7196d6ede3
|
Revert "Improve unhandled error handling in prod mode"
This reverts commit c2079276eb .
|
2013-12-06 13:37:36 +08:00 |
|
vadimi
|
c2079276eb
|
Improve unhandled error handling in prod mode
|
2013-12-05 20:57:02 -05:00 |
|
vadimi
|
12a37f71be
|
Fixed some typos
|
2013-12-04 22:27:29 -05:00 |
|