82 Commits

Author SHA1 Message Date
shubhendra
ec0e382e11
Fix inefficient string comparison 2021-02-25 15:58:43 +05:30
Ming Deng
32b17c3f62 Remove generate route HTTP hook 2021-02-09 23:39:24 +08:00
Jihoon Seo
113b90531c Apply goimports' modifications 2021-01-28 13:42:03 +09:00
Jihoon Seo
2bb6c45786 Update beego pkg paths 2021-01-28 13:35:38 +09:00
Ming Deng
f9146ec488 Merge branch 'develop' of https://github.com/beego/beego into fix-index 2021-01-26 12:11:04 +08:00
Ming Deng
d5df5e470d Fix BUG: /abc.html/aaa match /abc/aaa 2021-01-26 00:18:41 +08:00
Jason li
a3cfa76292 Merge branch 'develop' of https://github.com/beego/beego into fix-router-method-expression 2021-01-24 23:10:47 +08:00
Jason li
11ead9e91b add test cases for pointer method 2021-01-24 23:09:21 +08:00
Ming Deng
fa39135f0e Merge master 2021-01-23 21:39:40 +08:00
Jason li
1665963ed7 change panic message 2021-01-23 18:46:00 +08:00
Jason li
4077b6fdf0 fix pointer receiver method expiression 2021-01-23 18:30:41 +08:00
Ming Deng
53f01e50ce Fix 4435: panic when controllers package not found 2021-01-21 23:30:23 +08:00
Ming Deng
452d20a187 Fix 4444: panic when 404 not found;
Using sync.Onyc to ensure register prometheus ovserver once
2021-01-19 23:37:29 +08:00
Ming Deng
c8a325efe3 Remove prometheus duration label 2021-01-19 21:20:50 +08:00
Jason li
40d3954f42 change comment for 2021-01-12 12:44:18 +08:00
Jason li
8e2cd8f85f refactor code 2021-01-12 11:34:40 +08:00
Jason li
d2cfd884c8 fix sonar cloud problems 2021-01-11 10:41:35 +08:00
Jason li
0c27df10c7 Merge branch 'develop' of https://github.com/beego/beego into feature/route-method-expressions 2021-01-11 10:09:39 +08:00
Jason li
0429838598 refactor code for add beego type router 2021-01-11 09:56:48 +08:00
Anker Jam
87ffa0b730 fix UT 2021-01-10 14:22:11 +08:00
Anker Jam
89d5b4741f Merge branch 'develop' of https://gitclone.com/github.com/beego/beego into session-filter 2021-01-10 13:55:54 +08:00
Anker Jam
31f79c2ee2 move getting session store to web context 2021-01-10 13:50:43 +08:00
Anker Jam
1f475585e5 change log level and recover code 2021-01-10 00:33:53 +08:00
Anker Jam
a98edc03cd adapt CruSession 2021-01-09 23:39:16 +08:00
Ming Deng
0cf3b035eb update changelog 2021-01-09 21:17:46 +08:00
Anker Jam
c4b585741a rename params 2021-01-09 11:27:36 +08:00
Anker Jam
962eac05f6 add storeKey supports 2021-01-09 11:21:29 +08:00
Anker Jam
833d734921 add UT and ManagerConfig.Opts(opts ...ManagerConfigOpt) 2021-01-09 10:13:44 +08:00
Anker Jam
4491894c00 Merge branch 'filter-sort' of https://gitclone.com/github.com/flycash/beego into session-filter 2021-01-08 21:50:45 +08:00
Ming Deng
9105402f8c reverse filter chain sort and add test to ensure the FIFO 2021-01-08 21:16:21 +08:00
Jason li
5b46a08b79 fix lint and fix test case 2021-01-07 21:38:50 +08:00
Jason li
76b352cf8a add unit test and fix typos 2021-01-07 21:12:36 +08:00
Jason li
cbbc296efb add all router methods and functions 2021-01-07 19:29:22 +08:00
Jason li
07d0dccd89 finish router get example 2021-01-06 12:51:54 +08:00
Anker Jam
7366b48a43 Merge branch 'develop' into session-filter 2021-01-03 22:14:56 +08:00
Ming Deng
babf0dfc14 Make compatible 2021-01-03 22:00:47 +08:00
Ming Deng
384364e2f2
Merge pull request #4390 from jianzhiyao/fix-3928
fix-3928
2021-01-03 20:12:25 +08:00
Anker Jam
a4f8fbd5a1 add session filter & UT 2021-01-03 00:33:44 +08:00
Anker Jam
41b1833898 make session easier to be configured 2021-01-02 21:55:12 +08:00
Ming Deng
57004d4a7c
Merge pull request #4303 from AllenX2018/fix-issue-3430
fix issue #3430: reverse sequence of generating leaves of router prefix tree
2021-01-02 19:31:28 +08:00
Ming Deng
f6b7543478
Merge pull request #4318 from AllenX2018/fix-issue-4176
Fix issue #4176
2021-01-02 19:10:40 +08:00
Ming Deng
2ffb177868 resolve conflict 2021-01-01 22:34:02 +08:00
Jason li
b82eea08bf fix router:AddMethod logic error, remove unreachable code 2020-12-30 11:19:45 +08:00
Anker Jam
6e4398f7ec add UT for issue 3928 2020-12-26 22:45:56 +08:00
Ming Deng
73d81bafd9 Remove duration from prometheus label 2020-12-26 22:16:17 +08:00
Anker Jam
e597b05c93 fix-3928 2020-12-26 18:38:52 +08:00
AllenX2018
dd35e4b1b2 move route sessionOn calculate to router adding 2020-12-26 17:56:49 +08:00
AllenX2018
3783847dce modify cfg reference 2020-12-26 17:12:42 +08:00
AllenX2018
75849b6d6a Merge branch 'develop' of https://github.com/beego/beego into fix-issue-4176 2020-12-26 16:57:22 +08:00
AllenX2018
0d890d6129 Merge branch 'develop' of https://github.com/astaxie/beego into fix-issue-4176 2020-12-26 16:33:09 +08:00