1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-30 12:31:30 +00:00
Commit Graph

2737 Commits

Author SHA1 Message Date
astaxie
efd285a6c4 update httplib support https 2013-12-10 22:01:50 +08:00
astaxie
3a0b2e3b95 beego config module json support get data like key:🔑:key 2013-12-10 18:09:58 +08:00
astaxie
34ba7a8e6c update file cache 2013-12-10 14:10:22 +08:00
astaxie
b733b98408 for init if doesn't have app.conf will not panic 2013-12-10 00:17:22 +08:00
astaxie
b97d9896a4 update config to change section . to :: 2013-12-09 23:54:35 +08:00
skyblue
52ebaece73 add other utils 2013-12-09 16:01:24 +08:00
astaxie
690ecb8168 Merge pull request #353 from shxsun/master
initial utils dir
2013-12-08 21:45:11 -08:00
skyblue
830ccb6660 initial utils dir 2013-12-09 13:30:19 +08:00
astaxie
4fa625dea6 default app HttpAddr should none 2013-12-07 17:22:57 +08:00
astaxie
ce8a1be8d9 change syscall package to os.Kill 2013-12-07 16:52:39 +08:00
astaxie
1ea18adce8 add default mime type to fix #341 2013-12-07 15:16:32 +08:00
astaxie
35d15b8977 fix #350 2013-12-07 14:47:20 +08:00
astaxie
48ad0202bf update some tips 2013-12-07 13:26:28 +08:00
astaxie
2220968a01 Merge pull request #347 from odiel/master
Adding template functions to generate JS and CSS tags
2013-12-06 08:08:22 -08:00
odiel
1611476288 Update template.go
Adding assets_js, assets_css template functions
2013-12-06 10:36:56 -05:00
odiel
0bdd400fe7 Update utils.go
Adding Assets functions for the template, to generate HTML tags for JS and CSS
2013-12-06 10:36:12 -05:00
astaxie
8cf34fce98 Merge pull request #344 from vadimi/master
Improve unhandled error handling in prod mode
2013-12-05 21:55:37 -08:00
vadimi
d79977977d Improve unhandled error handling in prod mode 2013-12-06 00:47:34 -05:00
astaxie
de70732cd4 typo 2013-12-06 13:46:14 +08:00
vadimi
32d9d13dc7 Restore SimpleServerError method 2013-12-06 00:44:54 -05:00
astaxie
7125bd8faa support json comments 2013-12-06 13:43:08 +08:00
astaxie
7196d6ede3 Revert "Improve unhandled error handling in prod mode"
This reverts commit c2079276eb.
2013-12-06 13:37:36 +08:00
astaxie
54ef08c039 Merge pull request #342 from vadimi/master
Improve unhandled error handling in prod mode
2013-12-05 21:31:18 -08:00
vadimi
c2079276eb Improve unhandled error handling in prod mode 2013-12-05 20:57:02 -05:00
astaxie
b6bf712195 Merge pull request #338 from FightingMan/master
miswrite a type of word
2013-12-05 03:54:21 -08:00
FightingMan
27a02082a3 miswrite a type of word 2013-12-05 19:20:08 +08:00
astaxie
39b2e07dc8 Merge pull request #336 from vadimi/master
Fixed some typos
2013-12-04 19:36:52 -08:00
vadimi
12a37f71be Fixed some typos 2013-12-04 22:27:29 -05:00
astaxie
9f3058caad Merge pull request #335 from pengfei-xue/devel
beeapi example is broken
2013-12-04 19:14:51 -08:00
Pengfei Xue
4181ea8620 beeapi example is broken 2013-12-05 10:29:04 +08:00
astaxie
cfc604b53d Merge pull request #333 from pengfei-xue/devel
panic if parse failed
2013-12-04 17:54:36 -08:00
Pengfei Xue
420e816bed panic if parse failed 2013-12-04 23:53:36 +08:00
astaxie
fb6312a303 reverse from pull 330 2013-12-04 17:03:49 +08:00
astaxie
3c91360d72 dictinct system pkg and third pkg 2013-12-03 21:37:39 +08:00
astaxie
983f20642c Merge pull request #330 from pengfei-xue/devel
panic if parse config failed
2013-12-03 04:33:08 -08:00
Pengfei Xue
12ade02f2d panic if parse config failed 2013-12-03 19:56:30 +08:00
astaxie
ec745693dc Merge pull request #327 from pengfei-xue/devel
remove duplicated config initialization
2013-12-03 00:57:27 -08:00
Pengfei Xue
9cac7504c9 fixup! fix typo, use camel notation for all keys 2013-12-03 16:37:39 +08:00
Pengfei Xue
75d09d138a fix typo, use camel notation for all keys 2013-12-03 13:23:33 +08:00
Pengfei Xue
07312e240c remove duplicated config initialization 2013-12-03 13:15:32 +08:00
astaxie
9c4414f995 Merge pull request #323 from pengfei-xue/devel
case insensitive for section and key for ini config
2013-11-28 19:29:37 -08:00
Pengfei Xue
8e7fe8bb66 case insensitive for section and key for ini config 2013-11-29 10:17:35 +08:00
astaxie
0ba36763f5 Merge pull request #322 from pengfei-xue/devel
there is no need to check if b.params is nil
2013-11-27 23:05:05 -08:00
Pengfei Xue
3fce78c7cd there is no need to check if b.params is nil 2013-11-28 13:52:24 +08:00
astaxie
a83a92cdab Merge pull request #321 from smallfish/master
update logic for check ini comments
2013-11-27 21:10:13 -08:00
smallfish
23ff7af0b7 update logic for check ini comments 2013-11-28 11:56:13 +08:00
astaxie
9cc2e7237b add httplib readme 2013-11-28 11:26:17 +08:00
astaxie
63b82c438d support section
if iniconf.String("demo.key1") != "asta" {
+		t.Fatal("get demo.key1 error")
+	}
+	if iniconf.String("demo.key2") != "xie" {
+		t.Fatal("get demo.key2 error")
+	}
2013-11-27 23:55:26 +08:00
astaxie
ba5e393e99 add flush & read all chan data 2013-11-27 17:50:10 +08:00
slene
690d77e985 orm test add extra custom JsonField 2013-11-26 21:34:40 +08:00