1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-23 21:00:54 +00:00
Commit Graph

3990 Commits

Author SHA1 Message Date
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
6612bc4c2a
Merge pull request #4214 from flycash/rft/dbOption
Optimize orm by using BDOption rather than hints
2020-09-09 00:06:44 +08:00
Ming Deng
f580a714d5 Optimize orm by using BDOption rather than hints 2020-09-08 21:44:14 +08:00
Ming Deng
9ccd58bfff
Merge pull request #4211 from flycash/adt/all
allow users to ignore some table when run orm commands
2020-09-07 21:52:39 +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
b86cf22fc4
Merge pull request #4210 from flycash/adt/all
Move pr 3784
2020-09-07 20:53:45 +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
Anker Jam
7a53baaf9b rename modelRegister to modelCacheHandler 2020-09-02 00:33:46 +08:00
Anker Jam
7574b91760 add type modelRegister interface into Ormer 2020-09-02 00:26:25 +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
cdc8110ea4
Merge pull request #4202 from flycash/adt/config
Using new API to adapt to old API
2020-09-01 21:50:08 +08:00
Ming Deng
f6519b29a8
Merge pull request #4198 from CadenGuo/enhancement/orm_mysql_operator_consolidate
Enhancement/Add a new MySQL operator for strict case sensitive query
2020-09-01 21:33:41 +08:00
Ming Deng
185d55eb46 adapt config 2020-09-01 21:29:26 +08:00
CadenGuo
91410be722
orm_test:use predefined variable to check db driver 2020-08-31 15:47:37 +00:00
CadenGuo
ff53e12191
skip strictexact operator test for db drivers other than mysql 2020-08-31 15:29:48 +00:00
Ming Deng
8e879726fe
Merge pull request #4200 from flycash/ftr/config-sub
Implement Sub, Unmarshaler and OnChange methods for yaml, json, xml
2020-08-31 22:29:14 +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
0a58428220
Merge pull request #4199 from flycash/rft/task-api
Add ctx to Task module API
2020-08-31 19:43:53 +08:00
CadenGuo
60bb057783
add a new mysql operator for force case sensitie query 2020-08-31 03:40:18 +00:00
Ming Deng
c0462f75bf Add ctx to Task module API 2020-08-30 16:18:59 +00:00
Ming Deng
5cf33f2655
Merge pull request #4197 from flycash/rft/session-api
Add ctx to session API
2020-08-31 00:14:52 +08:00
Ming Deng
670064686e Add ctx to session API 2020-08-30 15:39:07 +00:00
CadenGuo
8736ffaf6f
use 'BINARY' key word for exact operator for mysql db 2020-08-30 23:38:52 +08:00
Ming Deng
0019e0fc1b
Merge pull request #4195 from flycash/ftr/etcd
Add contect as first parameter for all config method
2020-08-30 00:42:15 +08:00
Ming Deng
03bec05714 Add contect as first parameter for all config method 2020-08-29 16:25:20 +00:00
Ming Deng
e831b97eb8
Merge pull request #4194 from flycash/ftr/etcd
Support etcd
2020-08-29 22:44:55 +08: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
6684924e99 empty commit to restart CI again 2020-08-28 18:30:41 +01:00
IamCathal
e0a934af1d empty commit to restart CI 2020-08-28 18:24:57 +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