| 
							
							
								 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 c2079276ebfa00cc03c738af4af99348deb5a287. | 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 |  | 
			
				
					| 
							
							
								 astaxie | 3c91360d72 | dictinct system pkg and third pkg | 2013-12-03 21:37:39 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | 54fb49ed95 | fix #315 | 2013-11-26 16:47:50 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | f9e732b5ce | fix param to params | 2013-11-26 11:16:22 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | 7b405e9af7 | fix type | 2013-11-26 11:05:12 +08:00 |  | 
			
				
					| 
							
							
								 Pengfei Xue | 76c0636125 | beego.Context.Abort return immediately * add common 4XX/5XX HTTP exceptions | 2013-11-26 08:46:46 +08:00 |  | 
			
				
					| 
							
							
								 knightmare | b4fb657efd | eliminated improper comments | 2013-11-25 16:15:48 +08:00 |  | 
			
				
					| 
							
							
								 knightmare | 8c3b936c60 | replace filterPos to pos | 2013-11-25 16:04:02 +08:00 |  | 
			
				
					| 
							
							
								 knightmare | 47fc32ba47 | add func InsertFilter(pattern string, pos int, filter FilterFunc) *App to replace AddFilter pos can be const:
    BeforeRouter = iota
    AfterStatic
    BeforeExec
    AfterExec
    FinishRouter | 2013-11-25 15:59:40 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | 54185df46e | change admin to toolbox & support task | 2013-11-20 21:18:00 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | ea513002c5 | admin filter finish to all router include static file so if your web is need auth or release the resoure you can writer the
finish filter | 2013-11-15 21:51:36 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | 097bcb3b5b | Improve monitoring management module | 2013-11-15 18:08:53 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | 18335194bc | fix runrouter is nil | 2013-11-13 21:37:17 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | 6c13bdde25 | support profile & statistics in another port | 2013-11-13 21:11:09 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | 2f75445520 | when runmode is dev it will show warning ingo if have a attack url, the info is | 2013-11-10 23:42:07 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | 43057a2fcb | fix #284 | 2013-11-10 23:26:28 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | 9446563e5b | add util func to get the url fix #282 UrlFor(endpoint string, values ...string) string | 2013-11-10 23:05:07 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | 2a81595c3e | fix #280 | 2013-11-08 17:23:56 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | 9e4d886a6c | filter http method fix #279 | 2013-11-07 22:10:54 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | 3ac5eec301 | fix #253 | 2013-10-28 22:38:50 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | 35a136bcee | fix #232 | 2013-09-29 15:38:28 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | aaf1490ff5 | fix router | 2013-09-28 23:37:05 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | a62ed10ab3 | add supoort AppController http://play.golang.org/p/MZptHZeYUx | 2013-09-28 23:30:36 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | 8a37c30f35 | fix #226 | 2013-09-28 21:45:52 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | 797bd98269 | fix #210 | 2013-09-22 14:32:18 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | 4a3d32dc1f | support auto get session from input fix #211 | 2013-09-22 11:43:22 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | 048be29fcd | add w.started fix #208 | 2013-09-22 11:17:18 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | 4ce584c5a6 | fix #201 | 2013-09-22 11:12:37 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | 9d84969bf6 | fix #153 已经支持了任意定义变量的路由形式,具体的使用请参考:
func TestManyRoute(t *testing.T) {
	r, _ := http.NewRequest("GET", "/beego32-12.html", nil)
	w := httptest.NewRecorder()
	handler := NewControllerRegistor()
	handler.Add("/beego:id([0-9]+)-:page([0-9]+).html", &TestController{})
	handler.ServeHTTP(w, r)
	id := r.URL.Query().Get(":id")
	page := r.URL.Query().Get(":page")
	if id != "32" {
		t.Errorf("url param set to [%s]; want [%s]", id, "32")
	}
	if page != "12" {
		t.Errorf("url param set to [%s]; want [%s]", page, "12")
	}
} | 2013-09-13 11:22:14 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | 9f6b803a10 | update middleware & beego's error | 2013-09-11 17:00:39 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | e7f08946d1 | improve the performance | 2013-09-11 15:16:09 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | a88750d2b3 | support websocket | 2013-09-10 17:56:06 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | bd61dd9ffc | change a log about new version | 2013-09-10 00:00:18 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | 50f3bd5835 | add filter after | 2013-08-12 00:14:42 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | 1f3ae3d682 | Improve performance | 2013-08-11 23:27:53 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | bbef213155 | fix #144 | 2013-08-10 21:44:27 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | f9a31ea00a | EnableXSRF | 2013-08-06 23:21:52 +08:00 |  | 
			
				
					| 
							
							
								 astaxie | fd3c8834da | autorouter when /admin 301 to /admin/ | 2013-08-04 23:13:29 +08:00 |  |