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

127 Commits

Author SHA1 Message Date
l00427301
5618df8c76 Empty field in validator.Error when label struct tag is not declared #4222 2020-09-14 16:18:24 +08:00
Ming Deng
b575fa1ebe fix 4219 2020-09-11 23:48:45 +08:00
Ming Deng
63cd8e4e15 refactor log module 2020-09-11 21:47:22 +08:00
Ming Deng
654d87b210 Merge log_format 2020-09-10 23:31:49 +08:00
IamCathal
8982f5d702 Add unit tests for custom log formatter
Also moved is Colorful check to WriteMsg function to make the interface for user's using the custom logging formatting simpler. The user does not have to check if the text is colorful now, the WriteMsg function handles it.
2020-09-09 00:23:57 +01:00
Ming Deng
f580a714d5 Optimize orm by using BDOption rather than hints 2020-09-08 21:44:14 +08:00
Ming Deng
0f50b07a20 allow users to ignore some table when run orm commands 2020-09-07 21:40:44 +08:00
Ming Deng
6bf01eaeca Move pr 3784 here 2020-09-07 20:37:05 +08:00
Ming Deng
8e015deee5
Merge pull request #4208 from flycash/adt/all
Adapter: all module
2020-09-06 19:58:46 +08:00
Ming Deng
3acda41bc7 Fix UT 2020-09-06 10:39:20 +00:00
Ming Deng
5b3dd7e50f Adapter: orm 2020-09-06 13:33:52 +08:00
Ming Deng
f4a43814be Adapter: utils 2020-09-05 18:07:42 +08:00
Ming Deng
35f1bd2119 Adapter: testing 2020-09-05 16:58:49 +08:00
Ming Deng
f6c95ad534 Adapter: swagger module 2020-09-05 16:56:56 +08:00
Ming Deng
f1950482c2 Adapter: plugin 2020-09-05 16:54:22 +08:00
Ming Deng
1dae2c9eb3 Adapter: web module 2020-09-05 16:24:19 +08:00
Ming Deng
8ef9965eef Adapter: session module 2020-09-03 23:37:07 +08:00
Ming Deng
3530457ff9 Adapter: toolbox module 2020-09-03 21:34:57 +08:00
Ming Deng
cbd51616f1 adapter: validation module 2020-09-02 23:23:48 +08:00
Ming Deng
bdd8df6751 adapt migration 2020-09-02 21:01:54 +08:00
Ming Deng
8fc4f8847c adapt grace and metric 2020-09-02 20:43:35 +08:00
Ming Deng
3bf5cde38c adapt context 2020-09-02 20:36:53 +08:00
Ming Deng
78d91062c9 Adapt new API to old API: httplib 2020-09-01 22:16:49 +08:00
Ming Deng
23792401b5
Merge pull request #4201 from jianzhiyao/frt/proposal_4105
WIP:supports for proposal 4105
2020-09-01 22:05:15 +08:00
Anker Jam
e54dbabf0b movement for global modelCache 2020-09-01 21:56:48 +08:00
Ming Deng
185d55eb46 adapt config 2020-09-01 21:29:26 +08:00
Ming Deng
33b052bc7a support json 2020-08-31 14:15:01 +00:00
Ming Deng
087399c44a support xml 2020-08-31 13:57:26 +00:00
Ming Deng
f4f200cf04 enhance yaml 2020-08-31 13:02:38 +00:00
Ming Deng
c0462f75bf Add ctx to Task module API 2020-08-30 16:18:59 +00:00
Ming Deng
670064686e Add ctx to session API 2020-08-30 15:39:07 +00:00
Ming Deng
03bec05714 Add contect as first parameter for all config method 2020-08-29 16:25:20 +00:00
Ming Deng
81b9a1382a Fix UT 2020-08-29 14:27:06 +00:00
IamCathal
0189e6329a Add global logging override 2020-08-28 18:47:28 +01:00
IamCathal
8178f035a0 Custom formatting opts implementation 2020-08-28 18:18:28 +01:00
IamCathal
2b39ff7837 New opts formatter working for console 2020-08-28 18:00:45 +01:00
Ming Deng
c2361170b3 Support etcd 2020-08-29 00:07:33 +08:00
Ming Deng
5b35bf6065
Merge pull request #4192 from AllenX2018/supplement-datetimePrecision-UT
supplement datetime precision UT
2020-08-26 19:52:19 +08:00
Ming Deng
9472cba6c9 Fix UT 2020-08-26 04:16:09 +00:00
AllenX2018
b83094ac1e supplement datetime precision UT 2020-08-26 11:51:05 +08:00
Ming Deng
1cb0ff560d Support precision 2020-08-25 13:07:21 +00:00
IamCathal
c2471b22ad Remove ineffectual assignments
Removed 3 lines due to warning from test suite saying these lines had innefectual assignments
2020-08-24 20:54:55 +01:00
IamCathal
c5970766a3 Add init to es.go 2020-08-24 20:41:39 +01:00
IamCathal
48a98ec1a5 Fix init for alils.go 2020-08-24 20:39:53 +01:00
IamCathal
ed1d2c7f6e Add custom logging format functionality and global formatter functionality 2020-08-24 20:22:38 +01:00
AllenX2018
7a94996e22 Feature: implement the time precison for time.Time type 2020-08-24 20:23:54 +08:00
Ming Deng
581e48679e Merge pull request #4173 from AllenX2018/fix-bug-queryRow
Fix issue 3866
2020-08-23 21:04:34 +08:00
Ming Deng
09afe0ae8e
Merge pull request #4179 from IamCathal/custom-log-formatter-secondpr
Custom log formatter secondpr
2020-08-22 21:36:50 +08:00
IamCathal
e1da804b2b Add format func to alils 2020-08-20 19:20:30 +01:00
IamCathal
705e091593 Add format call before logging 2020-08-20 19:06:51 +01:00