Commit Graph

30 Commits

Author SHA1 Message Date
Ming Deng 650fde66aa Revert "Merge pull request #4254 from astaxie/develop-2.0"
This reverts commit e284b0ddae, reversing
changes made to 8ef8fd2606.
2020-11-26 17:48:29 +08:00
Ming Deng b4a85c8f13 Remove files 2020-08-16 23:09:19 +08:00
Chenrui 03f78b2e4a
fix: add error code support 2020-07-08 18:09:01 +08:00
Ying Zou fab7c6b6d0 better format
- add comments for public function
- format import order in admin.go
- better format for NewControllerRegister in router.go
2018-11-26 23:19:05 +08:00
astaxie f0b95c552b Merge pull request #2315 from sch00lb0y/master
issue no:#2261 fix for xsrf panic error
2017-05-19 18:50:56 +08:00
பாலாஜி ce677202e5 issue no:#2261 fix for xsrf panic error 2017-05-19 14:02:14 +05:30
astaxie a91e2e9950 add golint check and fix all golints 2017-04-30 22:41:23 +08:00
Eyal Post fc2c0f4fba Don't allow AddViewPath after beego run 2017-02-11 22:00:30 +02:00
Eyal Post dfa74faf43 support for multiple view paths 2017-02-07 22:18:33 +02:00
GrimTheReaper 51b31c6cb0 Changed the name to match. 2016-10-11 11:06:52 -05:00
GrimTheReaper 33f7f46670 Updated the name 2016-10-11 10:49:19 -05:00
GrimTheReaper 3c05eafbc4 HTTP Only Configurable 2016-10-10 09:50:34 -05:00
maxin ef0d3d80dc set session.managerconfig public 2016-08-13 21:07:27 +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
astaxie 881d010c01 upgrade swagger from 1.2 to 2.0 2016-04-11 11:56:43 +08:00
JessonChan 98dfecfd8a change beego log function to logs function 2016-03-24 17:39:29 +08:00
JessonChan 4db78f243e change the function args of init gzip method 2016-03-22 16:42:42 +08:00
JessonChan 5a9bff2000 init gzip level 2016-03-17 19:09:38 +08:00
astaxie 7e3ad5bcb0 fix #1585 2016-01-25 21:08:29 +08:00
astaxie 6660720ce6 update some config name 2016-01-12 21:55:02 +08:00
Vitaly Velikodny 48fd9675ad Refactoring: Move dev & prod runmodes to const 2015-12-29 21:32:37 +03:00
fud cd514803a4 simplify filter.go hooks.go 2015-12-22 10:02:59 +08:00
astaxie d1bba02958 refact beego config 2015-12-09 23:35:04 +08:00
JessonChan de20960458 error map refactor 2015-09-17 10:36:29 +08:00
JessonChan cce8d1e934 refactor hooks function code 2015-09-17 10:31:53 +08:00
astaxie 67b36d7c48 make golint happy 2015-09-08 21:41:38 +08:00
astaxie f28a941e26 make golint happy and also make the config readable 2015-09-07 23:19:42 +08:00
astaxie 152127c2af make golint happy 2015-09-07 21:38:53 +08:00
astaxie fe9c52fb69 optimize init admin 2015-09-07 19:27:53 +08:00
astaxie 85d8ec5ca6 optimize the beego structure 2015-09-07 19:18:04 +08:00