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

1317 Commits

Author SHA1 Message Date
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
slene
bcc8f60677 orm add test about CustomField 2013-11-26 18:32:12 +08:00
astaxie
6f93b2bcbe fix _ "github.com/go-sql-driver/mysql" 2013-11-26 17:16:35 +08:00
astaxie
70dc9d7e14 update docs 2013-11-26 17:14:27 +08:00
astaxie
01d87591e4 session & orm register called twice for driver mysql 2013-11-26 17:12:25 +08:00
astaxie
ff1b8588e0 #313 2013-11-26 17:09:23 +08:00
astaxie
54fb49ed95 fix #315 2013-11-26 16:47:50 +08:00
astaxie
fbd1c3f8b0 Merge pull request #318 from pengfei-xue/devel
add server host:port info when starting app
2013-11-25 23:56:45 -08:00
Pengfei Xue
e823b6ea95 add server host:port info when starting app 2013-11-26 15:30:59 +08:00
astaxie
b16ef12ac0 fix test 2013-11-26 14:13:23 +08:00
astaxie
f9e732b5ce fix param to params 2013-11-26 11:16:22 +08:00
astaxie
ae2e25f4c2 fix #316 2013-11-26 11:05:49 +08:00
astaxie
7b405e9af7 fix type 2013-11-26 11:05:12 +08:00
astaxie
e09e642a83 Merge pull request #317 from pengfei-xue/master
beego.Context.Abort return immediately
2013-11-25 18:30:38 -08:00
Pengfei Xue
76c0636125 beego.Context.Abort return immediately
* add common 4XX/5XX HTTP exceptions
2013-11-26 08:46:46 +08:00
astaxie
c7a0298546 Merge pull request #314 from shavac/master
add function InsertFilter to replace AddFilter by using int const to determine filter position
2013-11-25 00:56:29 -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
slene
e5904443d9 fix #302 2013-11-24 19:29:48 +08:00
slene
4ee6cc3022 Merge pull request #312 from bronze1man/pr-orm-querytable-nil-ptr-struct
[orm] QueryTable with nil ptr struct
2013-11-24 01:08:00 -08:00