Commit Graph

50 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
Ming Deng 882aa9b967 Deprecated old web module 2020-08-05 21:57:20 +08:00
姚鹏鸣 5a7a3da909 comment edit 2017-08-03 19:15:32 +08:00
chendingxing 8e46decc8e fix routing bug for splat 2017-03-10 09:28:25 +08:00
astaxie f280dab880 Revert "route variables should not have underline" 2016-08-29 13:42:40 +08:00
maxin d5c339530a remove debug 2016-07-30 22:05:59 +08:00
maxin b89bfe76d0 update route variables should not have underline 2016-07-30 21:57:23 +08:00
astaxie 83fe43f331 gofmt -s -w 2016-03-11 13:00:58 +08:00
Gavin Fang 90e7d252a7 fix static pattern match for leaf 2016-03-10 22:16:41 +08:00
ysqi 9411063574 fix #1595 2016-02-12 14:45:45 +08:00
astaxie 01ccc75d6b Merge pull request #1615 from ysqi/routerErrorFix
Fixed #1586
2016-01-26 00:31:01 +08:00
astaxie 15e9ba19c0 fix the range only used in Go 1.4 fix #1623 2016-01-25 21:39:44 +08:00
ysqi 3d7354b9d2 import reset 2016-01-24 11:10:04 +08:00
ysqi 007af6224e Fixed #1586 2016-01-23 19:13:19 +08:00
Henrique Bejgel 35e340b937 Checks if index is greater than the length of the wildcards. #1580 2016-01-18 21:35:14 -02:00
youngsterxyf 30e5634bdb simplify the implementation of splitPath in tree.go 2016-01-18 16:13:31 +08:00
astaxie 9adf20d72e gofmt -s 2016-01-17 23:57:07 +08:00
ysqi 6eff2e433f fix #1502,Notes error repair 2016-01-07 20:55:28 +08:00
astaxie 5e249772d5 reduce loop 2015-12-18 00:14:28 +08:00
astaxie ae52d4aa18 improve the splitPath 2015-12-17 21:31:44 +08:00
astaxie dbc4ac6945 reduce the slicegrow 2015-12-16 23:43:32 +08:00
astaxie 29752e2575 refactor router 2015-12-16 23:11:03 +08:00
astaxie 2b651fbae2 reuse map in tree.Match 2015-12-11 13:51:01 +08:00
astaxie eac09e6fb6 Merge pull request #1349 from ElvizLai/patch-4
Update tree.go
2015-09-17 23:01:32 +08:00
astaxie 62e528ca4c golint tree.go 2015-09-08 23:49:24 +08:00
Yongzheng Lai a2a6ec954b Update tree.go
go fmt
2015-09-06 22:13:58 +08:00
Yongzheng Lai ddd9bf1305 Update tree.go 2015-09-06 12:16:05 +08:00
Yongzheng Lai 5ad999a3d1 Update tree.go
fix routers for:
```
/topic/:id/?:auth
/topic/:id/?:auth:int
```
2015-09-06 12:01:50 +08:00
astaxie 8cc57e2fc8 fix #1112 2015-05-25 09:10:35 +08:00
astaxie 0c933643e2 improve the empty router 2014-12-19 15:33:51 +08:00
astaxie 90cff5f042 fix #824 2014-11-02 21:01:51 +08:00
astaxie 4f4f7ce257 beego: fix the router for *.* with other regexp 2014-09-04 21:58:17 +08:00
astaxie a144769515 update the documents & comments 2014-08-18 16:41:43 +08:00
astaxie 6a78898bb1 beego: fix the tree for addtree & add testcase 2014-08-12 15:09:12 +08:00
astaxie f201859fa7 beego: fix the addTree 2014-08-12 00:15:39 +08:00
astaxie 52fdfc5665 beego: fix the tree addTree for regexp 2014-08-12 00:02:27 +08:00
astaxie 8ed6d06572 fix the regexps bugs 2014-08-11 22:40:55 +08:00
astaxie fefd8ddb5b beego: update licence& fix #669 2014-07-03 23:40:21 +08:00
astaxie 53353fce56 beego:fix the :id & * mixed router 2014-06-30 23:49:11 +08:00
astaxie 0f170a80da update the comments fix #658 2014-06-25 10:39:37 +08:00
astaxie a5a6a30744 beego: fix the router rule for * 2014-06-23 15:28:53 +08:00
astaxie af4f153830 beego: update the router rule for *
* not match the empty route
2014-06-21 11:44:24 +08:00
astaxie 085c362ffb beego:fix router expge 2014-06-18 23:32:47 +08:00
astaxie 117904be73 beego:fix the some regexp routes to different func 2014-06-12 23:08:05 +08:00
astaxie 3b807845f2 beego:addtree support regexp 2014-06-12 20:50:29 +08:00
astaxie 2f8a70d548 beego: router support param has _ 2014-06-11 09:33:35 +08:00
astaxie fdb5672b7a beego:delete debug information 2014-06-10 18:10:32 +08:00
astaxie e00eab7f49 beego: change to tree 2014-06-08 20:24:07 +08:00
astaxie bfabcfcb6b beego:router tree 2014-06-08 20:24:07 +08:00