Maxgis
6a4ebc67ac
merge
2016-07-24 18:01:19 +08:00
Maxgis
33ef34b95d
减少没有必要的代码以及静态前缀前面有/
2016-07-24 15:29:34 +08:00
ysqi
9e17f518b8
Fixed print format error info
2016-04-27 22:17:53 +08:00
yuyongsheng
5aa085bf41
1. remove the invalid comments.
...
2. allow the user to config "Enable" store/get sessionId into/from http header
3. allow the user to config "Enable" get sessionId from Url query
4. when enable sessionId in http header, check the sessionName format as CanonicalMIMRHeaderKey, then panic if not.
2016-04-21 09:57:44 +08:00
JessonChan
0c32255d14
config test
2016-04-18 17:45:39 +08:00
JessonChan
4cd2408248
log to Stderr
2016-04-13 19:41:07 +08:00
JessonChan
cb0c006cfa
add session config
2016-04-13 19:37:55 +08:00
JessonChan
ce4fc7bfcd
simplify the value assign
2016-04-13 17:51:54 +08:00
astaxie
734bbb3337
remove some space
2016-03-30 15:48:38 +08:00
youngsterxyf
e281b6e82a
improve
2016-03-30 10:49:39 +08:00
youngsterxyf
561e7115f3
To support go run
2016-03-29 18:16:38 +08:00
JessonChan
98dfecfd8a
change beego log function to logs function
2016-03-24 17:39:29 +08:00
astaxie
3ac90df5fa
Merge pull request #1794 from youngsterxyf/issue1789
...
fix issue1789: when testing, load config explicitly and forcibly
2016-03-22 17:21:57 +08:00
JessonChan
959b9a5a58
config index out of range bug fixed
2016-03-21 09:32:41 +08:00
youngsterxyf
549a39c478
fix issue1789: when testing, load config explicitly and forcibly
2016-03-14 11:26:26 +08:00
JessonChan
6747c55a81
remove unused cache
2016-03-04 12:01:04 +08:00
astaxie
4b99e41880
Merge pull request #1688 from ysqi/configIssue
...
fixed handle config issue
2016-03-03 09:50:14 +08:00
astaxie
6eaa5537f5
Merge pull request #1652 from JessonChan/develop
...
colorful console and go fmt
2016-02-26 16:10:11 +08:00
ysqi
d5f07d65bb
panic parse config error
2016-02-14 18:54:40 +08:00
youngsterxyf
2efe7c4c89
merge multi commit
2016-02-02 17:12:47 +08:00
JessonChan
360220161b
remove useless var , name style fixed
2016-02-02 16:52:53 +08:00
astaxie
0382146c60
fix the go vet for go tip
2016-01-29 13:11:11 +08:00
youngsterxyf
31ef4ae507
rename AppConfigPath, AppConfigProvider to appConfigPath, appConfigProvider, make public to private
2016-01-27 16:43:01 +08:00
youngsterxyf
ccce566ba7
accept @astaxie suggestion: change the sequence adapterName and configPath
2016-01-27 16:19:10 +08:00
youngsterxyf
e357f6846b
accept @ysqi suggestion
2016-01-27 13:30:34 +08:00
youngsterxyf
e549d0fd9c
move some code piece
2016-01-27 12:13:26 +08:00
youngsterxyf
c59a029ce7
Merge branch 'develop' into config-logic
2016-01-27 10:58:38 +08:00
youngsterxyf
330b3b1931
enhancement code
2016-01-27 00:17:56 +08:00
youngsterxyf
d9e6250d08
fix config logic
2016-01-27 00:10:21 +08:00
coseyo
d1481ea659
move assignment to init
2016-01-25 23:00:09 +08:00
coseyo
09d3d89c6f
fix test error again
2016-01-24 00:47:37 +08:00
coseyo
3031bdd176
fix test error
2016-01-24 00:40:03 +08:00
coseyo
4c1cfc1386
fix path issue
2016-01-24 00:18:16 +08:00
coseyo
cb5fd49612
fix conf load bug
2016-01-22 18:03:02 +08:00
astaxie
6f786e1dea
golint config.go
2016-01-18 00:22:11 +08:00
astaxie
f925bb9058
golint all the files
2016-01-18 00:18:21 +08:00
JessonChan
52083de720
typo fixed
...
seperator => separator
2016-01-15 14:07:37 +08:00
astaxie
6660720ce6
update some config name
2016-01-12 21:55:02 +08:00
astaxie
01012fa898
admin configure
2016-01-08 01:40:19 +08:00
astaxie
c68505e451
read config from app.conf for session
2016-01-07 23:55:55 +08:00
astaxie
98f3fecc03
fix the typo
2016-01-07 23:35:01 +08:00
astaxie
c6141f5d94
add httpsaddr
2016-01-07 23:31:33 +08:00
astaxie
a411042416
fix the init parse for config
2016-01-06 14:55:18 +08:00
Vitaly Velikodny
48fd9675ad
Refactoring: Move dev & prod runmodes to const
2015-12-29 21:32:37 +03:00
fud
c43e3d6684
fix type mismatch error
2015-12-21 16:05:26 +08:00
fuxiaohei
f9138c5a99
simplify config.go
2015-12-17 20:05:00 +08:00
astaxie
f2edfbe7ae
make the other three beauty
2015-12-10 00:12:52 +08:00
astaxie
4f829af7aa
gofmt the config default
2015-12-10 00:11:24 +08:00
astaxie
d1bba02958
refact beego config
2015-12-09 23:35:04 +08:00
Ryan A. Chapman
7151b96465
Log config parsing errors
...
Beego currently handles the case of "conf/app.conf"
not existing, but all other errors are not logged.
This fixes that.
I ran into an issue where beego was not listening on the
correct port, and it turned out that the conf/app.conf file
had a colon ":" instead of an equal sign "=" (confusion of
INI vs YAML formats). When there was a parsing error, beego
would give up on parsing app.conf and not log anything to the
console.
2015-11-29 15:09:28 -07:00