1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 13:40:55 +00:00
Commit Graph

3627 Commits

Author SHA1 Message Date
astaxie
69f40ad18a add some useful function
1. Router
2. SetSession/GetSession/DelSession
3. RenderString
4. str2html/htmlquote/htmlunquote
5. move the template Function to util.go
2013-04-03 23:37:59 +08:00
astaxie
74d8952c5a changer version to 0.4 2013-04-03 11:14:55 +08:00
astaxie
0f982c4a18 add Config.Int64 and Template add Runmode==dev everytime parsefile 2013-04-02 23:57:15 +08:00
astaxie
f78ceb82d9 add safemap and test 2013-03-28 15:25:49 +08:00
astaxie
1b715bcbea fix cache bug 2013-03-26 22:31:54 +08:00
astaxie
4ef5883f9e if template not exist 2013-03-21 21:55:54 +08:00
astaxie
e467a6ed91 fix err 2013-03-21 21:47:19 +08:00
astaxie
d0e171c801 add exist 2013-03-21 21:45:48 +08:00
astaxie
3d47cd0a40 add just wheather the view is a dir 2013-03-21 20:46:54 +08:00
astaxie
b54fc10206 Merge pull request #19 from Unknwon/master
add func Html2str()
2013-03-20 22:25:20 -07:00
Unknown
63d8881f4d add func Html2str() 2013-03-21 01:21:04 -04:00
Unknown
73a52c9844 add func Html2str() 2013-03-21 01:18:39 -04:00
Unknown
895ff49a9e add func html2str() 2013-03-21 01:17:28 -04:00
astaxie
e6ab2f73b6 fix window 2013-03-15 20:37:05 +08:00
astaxie
3c4dd99fbe fix window's slash 2013-03-15 14:50:56 +08:00
astaxie
b6df895df8 add template func Substr function 2013-03-14 21:47:39 +08:00
astaxie
31f505bfc1 add RenderBytes function 2013-03-14 21:17:37 +08:00
astaxie
281747ab43 add BeeTemplateExt 2013-03-14 17:57:09 +08:00
astaxie
512d115639 update cache add mutex 2013-03-14 16:27:19 +08:00
astaxie
3b89071360 add template test and cache module 2013-03-14 00:14:09 +08:00
astaxie
db329a48e7 Merge pull request #10 from huacnlee/fix_add_func_map_method
Fix a wrong logical for AddFuncMap method.
2013-02-28 23:10:16 -08:00
Jason Lee
36283ae090 Fix a wrong logical for AddFuncMap method. 2013-03-01 14:50:06 +08:00
astaxie
a3a0cf2ad2 Merge pull request #9 from huacnlee/fix_filter_prefix_path_call_bug
Fix wrong method name call for FilterPrefixPath.
2013-02-28 22:12:24 -08:00
Jason Lee
53f917c99c Fix wrong method name call for FilterPrefixPath. 2013-03-01 13:32:23 +08:00
astaxie
c6d4eeceaa Merge pull request #8 from xgdapg/master
add fcgi support
2013-01-10 05:27:15 -08:00
深蓝
b8e7a46fc1 add fcgi support 2013-01-10 20:22:00 +08:00
astaxie
10e7dc856b fix a bug about json and xml 2013-01-06 11:25:05 +08:00
xiemengjun
45710c3a3b add TemplateCache 2013-01-06 10:15:14 +08:00
astaxie
8e90ddd577 Merge pull request #5 from corburn/master
Refactor pprof.go to use switch instead of if/else
2013-01-03 23:00:48 -08:00
Jason Travis
0c85c14eb2 refactor: use switch instead of if/else to select ProfController type 2013-01-03 23:19:13 -07:00
xiemengjun
aa4b66b985 fix session's maslifetime bug 2013-01-02 00:06:44 +08:00
xiemengjun
1530e3fbc2 add session support 2013-01-01 23:11:15 +08:00
xiemengjun
1f67fcb0f9 http support pprof and template add date func like php's date function
http support pprof
PprofOn set to true you can profile the runtime data.
template add date func like php's date function

{{date "Y-m-d H:i:s"}}
2013-01-01 21:42:16 +08:00
xiemengjun
a02a64806e change doc addr 2012-12-27 23:31:32 +08:00
xiemengjun
4602ca64c8 modify the document addr 2012-12-27 23:29:42 +08:00
xiemengjun
3e3abb7b6b add support goroutine pprof 2012-12-27 22:42:16 +08:00
xiemengjun
c967f2d63f add pprof support 2012-12-27 22:27:26 +08:00
astaxie
d80ba7b084 when Redirect delete output 2012-12-25 15:36:19 +08:00
xiemengjun
2417464c35 add indent 2012-12-20 10:17:50 +08:00
xiemengjun
6c89320183 fix 2012-12-20 10:14:50 +08:00
xiemengjun
9c618145a2 merger & fix 2012-12-20 10:12:56 +08:00
astaxie
69965d700c This was fixed in 5ce009, listening on both ipv6 and ipv4 addresses is not the problem (and I think you should remove the note you added). 2012-12-20 09:38:31 +08:00
Travis Cline
c8cf7c7121 Update README.md
Add go syntax hilighting, fix odd wording
2012-12-19 14:18:27 -06:00
astaxie
4d4096c7e4 fix previer bug 2012-12-19 16:41:39 +08:00
astaxie
3f076f4ca0 fix router like /admin/index/ should equal to /admin/index 2012-12-19 16:38:25 +08:00
astaxie
a7791c2786 #2
#2
2012-12-19 16:20:55 +08:00
astaxie
e81795a01b #1
for tip version #1
2012-12-19 11:30:24 +08:00
astaxie
5ce009a2dc fix bug 2012-12-19 11:26:10 +08:00
astaxie
8a99591298 fix bug 2012-12-18 15:18:48 +08:00
xiemengjun
d562687868 simplify beego 2012-12-17 22:15:21 +08:00