Commit Graph

3426 Commits

Author SHA1 Message Date
Edward.Yang 39bd40e512 Incr和Decr应该改成排它锁,否则在并发的时候会出现非期望的结果值 2019-05-01 13:10:21 +08:00
astaxie 58b2ac702c
Merge pull request #3623 from Martinho0330/develop
make routers configurable for beego multi-instance in the same repo
2019-04-29 18:19:22 +08:00
astaxie 175714f69a
Merge pull request #3627 from haleyly/develop
route request put amendment
2019-04-29 18:18:19 +08:00
haley d5b70118a3 Merge branch 'develop' of https://github.com/haleyLy/beego into dev 2019-04-28 08:51:34 +08:00
haley a9629f707e route request put amendment 2019-04-28 08:50:30 +08:00
astaxie 6123c72752
Merge pull request #3621 from guanle/guanle-patch-1
Update templatefunc.go  for default value tag
2019-04-27 23:28:35 +08:00
astaxie 56afa5c2bf
Merge pull request #3625 from hsluoyz/develop
remove the 1000-row limit for ORM result set
2019-04-27 23:27:58 +08:00
astaxie 0c576dac82
Merge pull request #3599 from Wusuluren/cache_file
fix bug on cache/file
2019-04-27 23:27:27 +08:00
astaxie 8462372c03
Merge pull request #3598 from Wusuluren/develop
fix race problem on toolbox/task
2019-04-27 23:26:29 +08:00
astaxie 20ff97d53d
Merge pull request #3595 from JessonChan/log_revet
Log revet
2019-04-27 23:26:06 +08:00
astaxie 8ce5b6cc52
Merge pull request #3593 from JessonChan/trace_method
Trace method
2019-04-27 23:25:44 +08:00
Yang Luo afb787d49d remove the 1000-row limit for ORM result set 2019-04-27 16:58:00 +08:00
hetingyao 0b165b78a1 make routers configurable for beego multi-instance in the same repo 2019-04-22 22:18:37 +08:00
guanle fa97488bdc
Update templatefunc.go 2019-04-21 10:27:35 +08:00
astaxie 3086081ec0 v1.11.2 2019-04-06 13:50:14 +08:00
Wusuluren dfab44c24a fix bug on cache/file 2019-04-05 22:32:28 +08:00
Wusuluren 1900246054 fix bug on cache/file 2019-04-05 22:17:56 +08:00
Wusuluren e980f92c63 fix race problem on toolbox/task 2019-04-05 20:28:24 +08:00
JessonChan ce3800e3ef // Deprecated: use github.com/astaxie/beego/logs instead. 2019-04-03 14:13:38 +08:00
JessonChan e3d668f450 revet to log.go
https://github.com/astaxie/beego/issues/3591
https://github.com/astaxie/beego/issues/3588
2019-04-03 14:08:42 +08:00
JessonChan 75b4bc5896 it's no need to override Trace method. 2019-04-03 10:19:09 +08:00
astaxie c0ecf32d17 update travis 2019-04-02 21:53:01 +08:00
JessonChan 3155f07ccd no need to override Trace method. 2019-03-27 13:43:27 +08:00
JessonChan 02bead5097 handle trace request must NOT CACHE
https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Headers/Cache-Control
2019-03-27 13:40:34 +08:00
JessonChan e8b29c9fd1 handle trace request 2019-03-27 13:34:46 +08:00
astaxie 610f27d684
Merge pull request #3530 from GeorgeXc/develop
[orm] add ignore auto_now_add field when update
2019-03-27 00:14:07 +08:00
astaxie 59466f6678
Merge pull request #3554 from grahamjamesaddis/travis-ci-build
Allow forked beego project to pass travis ci builds
2019-03-26 19:24:06 +08:00
astaxie 3ddd8f860e
Merge pull request #3561 from JessonChan/develop
refactor color logger
2019-03-26 19:23:14 +08:00
astaxie 8535ec0819
Merge pull request #3567 from bsdelf/feature/ensure-custom-error-handler
Ensure custom error handler is called
2019-03-26 19:22:54 +08:00
astaxie f294121ab7
Merge pull request #3583 from maxshine/develop
[Fix] Fix the issue that genRouterCode results in @Import annotations getting overwritten
2019-03-26 19:13:44 +08:00
GeorgeXc 0b8ebaf387
Update db.go 2019-03-26 01:00:04 +08:00
Yang, Gao 3b00cfccec [Fix] Fix the issue that genRouterCode incorrect logic results in @Import annotations getting overwritten 2019-03-24 14:41:28 +08:00
BaoyangChai 005391be81 update 2019-03-23 00:33:26 +08:00
Faissal Elamraoui bc8fffe347
Merge pull request #3571 from dxas90/patch-1
Fixes #3570
2019-03-14 19:16:15 +01:00
Daniel Ramirez Grave de Peralta 914bbfd710
Update apiauth.go fixed infinite recursive call 2019-03-14 09:14:12 -04:00
Yanhui Shen be31bd2bbd Ensure custom error handler is called 2019-03-13 16:24:04 +08:00
JessonChan 95ff817019 undefined: beego.BeeLogger fixed 2019-03-13 09:41:13 +08:00
JessonChan ea91e7638c move log function to log package 2019-03-12 17:01:23 +08:00
JessonChan 4564e9810c logger_test imported and not used: "bytes" 2019-03-12 16:36:00 +08:00
JessonChan 44a1a8f6be println is builtin function 2019-03-12 15:51:43 +08:00
JessonChan 9cecb22170 NewAnsiColorWriter remove 2019-03-12 15:13:54 +08:00
JessonChan 7693502aaa logAdapter is more readable 2019-03-12 13:20:13 +08:00
JessonChan c0fae547e9 remove ansicolor code,import ansicolor package 2019-03-12 12:14:09 +08:00
JessonChan 0ba77a0d87 colorful is the switch to level label 2019-03-12 12:12:59 +08:00
JessonChan 661dcbb6ca router logger modify 2019-03-12 12:11:25 +08:00
JessonChan 578440a18d add ansicolor to beego 2019-03-12 12:09:41 +08:00
JessonChan 93485df3d2 color should be false by default otherwise the http logger's color would be wrong 2019-03-08 14:42:06 +08:00
JessonChan 121fab61f1 ResetColor function 2019-03-08 12:18:45 +08:00
JessonChan 915eec7943 Merge branch 'develop' of github.com:astaxie/beego into develop 2019-03-08 12:16:00 +08:00
JessonChan 8432a1c758 better comment for color map 2019-03-08 12:10:57 +08:00