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

3717 Commits

Author SHA1 Message Date
astaxie
3e29078f68 add check ineffect and gofmt 2017-04-28 21:38:08 +08:00
eyalpost
a1bc94e648 dont generate comment if router not found 2017-04-26 01:00:25 +03:00
eyalpost
4cba78afd9 small fixes 2017-04-25 23:42:35 +03:00
ansiz
f311ae9ebe feature: Export function printTree (#2597)
This exports PrintTree function which allow to set Role Based Access Control, Create our own requests statistics...etc
2017-04-25 18:12:03 +02:00
eyalpost
cbd831042a move under context 2017-04-25 18:39:42 +03:00
astaxie
522b3a4a70 Merge pull request #2596 from astaxie/develop
beego 1.8.1
2017-04-25 22:51:23 +08:00
astaxie
cd67f13bf9 add template layout test #2481 2017-04-25 22:21:27 +08:00
astaxie
0f554d9b1a update travis to latest go version 2017-04-25 22:21:08 +08:00
eyalpost
9b79437778 all types working + controller comments generation 2017-04-25 16:00:49 +03:00
astaxie
3742d1178c httplib support delete params fix #2593 2017-04-25 20:42:43 +08:00
xhzhang
b9e3cbbf44 feat: export function printTree
we can do more thing with an exported PrintTree function, such as
  set role base access control,create our own requests statistics.
2017-04-25 12:42:36 +08:00
ansiz
3c0c87f473 Merge pull request #1 from astaxie/master
merge from origin repo
2017-04-25 12:38:32 +08:00
eyalpost
3b29a9c12a Merge remote-tracking branch 'upstream/develop' into develop 2017-04-24 18:23:58 +03:00
astaxie
d03285a0ee Merge pull request #2555 from Liaodd/master
Update ini.go: change the key to lowercase when set a new key for ini configer
2017-04-24 22:37:25 +08:00
astaxie
e810f2e930 add more oracle alias 2017-04-24 21:36:07 +08:00
astaxie
41aac79ac0 Merge pull request #2590 from amrfaissal/fix-2587
Fix warnings raised by gometalinter and gosimple
2017-04-24 21:14:00 +08:00
astaxie
52f916a28a support Go1.8 default GOPATH 2017-04-24 21:10:03 +08:00
eyalpost
864693d2f8 mall fixes 2017-04-24 02:35:04 +03:00
eyalpost
08ea9b3339 Merge remote-tracking branch 'upstream/develop' into develop 2017-04-23 22:07:46 +03:00
Eyal Post
19f4a6ac0b slice support 2017-04-23 21:37:09 +03:00
Faissal Elamraoui
bf6bd6b292 Fixes #2587
Fixes warnings and errors raised by gometalinter and gosimple.
2017-04-23 19:19:05 +02:00
eyalpost
89e01d125c all types implemented 2017-04-23 01:33:50 +03:00
astaxie
3bb4ca5adc Merge pull request #2583 from OlegFX/develop
Fixed InsertOrUpdate bug
2017-04-22 11:19:15 +08:00
OlegFX
712df81c99 Fixed InsertOrUpdate bug 2017-04-21 19:57:04 +03:00
OlegFX
3d7ef599cc Merge pull request #2 from astaxie/develop
Update
2017-04-21 19:50:33 +03:00
eyalpost
9aedb4d05a phase #1 2017-04-21 15:26:41 +03:00
astaxie
453691728a gofmt simplify 2017-04-20 10:56:09 +08:00
astaxie
e7e3ca77ad Merge pull request #2491 from chendx79/master
Fix routing bug for splat matching
2017-04-19 21:20:30 +08:00
astaxie
d3f3956def Merge pull request #2574 from extrlibs/master
Fix the following template reference
2017-04-19 21:18:26 +08:00
astaxie
7206214105 Merge pull request #2575 from PaulChen2016/master
Beego 运行过程中动态增减定时任务时,now的时间需要更新,否则等待时间会不正确
2017-04-19 21:17:38 +08:00
astaxie
b08ace7532 Merge pull request #2577 from ggicci/develop
Fix ini parsing error for multiple users on one machine.
2017-04-19 20:17:45 +08:00
Ggicci
d1a2583972 Fix ini parsing error for multiple users on one machine.
If there were multiple users working on one machine, it's common that
"/tmp/beego" will be owned by one of them, and the others won't be able
to access to it. So, it's better to add an "id-like" postfix to the
temporary directory.
2017-04-19 19:50:11 +08:00
PaulChen2016
0cb8de4218 Beego 运行过程中动态增减定时任务时,now的时间需要更新,否则等待时间会不正确
beego 启动时,执行toolbox.StartTask()
运行过程中,动态添加定时任务(这个是now时间已经不是starttask的时间了,需要刷新)     
     case <-changed:
			now = time.Now().Local()
			continue
2017-04-19 16:22:58 +08:00
Orefa
0cd31a247f fix Template nesting problem 2017-04-19 07:47:05 +08:00
HSoshiant
7886e69236 Update sess_file.go 2017-04-17 12:37:54 -04:00
astaxie
405c170d45 Merge pull request #2556 from zjjott/master
fix: log mode should be 0440 should not be 440
2017-04-10 21:14:34 +08:00
zjjott
932019770d fix: log mode 0440 should not be 440 2017-04-10 17:37:55 +08:00
Liaodd
d5c03f5b8f Update ini.go
change the key to lowercase when set a new key for ini configer
2017-04-10 11:30:23 +08:00
astaxie
3d20c0b8f4 Merge pull request #2543 from Bobochka/fix_route_hander_docs
Fix example for Hander func
2017-04-07 23:04:38 +08:00
Faissal Elamraoui
a4fb4c6a03 Merge pull request #2547 from TrueFurby/patch-1
Update README.md
2017-04-03 20:25:41 +02:00
Ondrej Fabry
a9941b6edc Merge branch 'develop' into patch-1 2017-04-02 13:46:06 +02:00
Ondrej Fabry
6a32b048bd Update README.md 2017-04-02 11:04:08 +02:00
Vladimir Shteinman
fb04d3cff1 Fix example for Hander func 2017-03-30 12:53:12 +03:00
astaxie
5c7673e73d update to 1.8.1 2017-03-29 10:22:27 +08:00
astaxie
54b05377d9 Merge pull request #2466 from gouyang/gouyang/develop
Parse form time by its length
2017-03-29 10:01:03 +08:00
astaxie
f49f3f92ec Merge pull request #2533 from cnxh/redis-session-poolsize
redis poolsize could set to zero
2017-03-29 10:00:28 +08:00
astaxie
b18b94f03b Merge pull request #2539 from astaxie/revert-2421-develop
Revert "close mysql connection"
2017-03-29 09:57:54 +08:00
astaxie
bf469f0b55 Revert "close mysql connection" 2017-03-29 09:57:18 +08:00
astaxie
c12709dbc9 Merge pull request #2536 from ChristophPech/master
Fix for IndexExists in SQLite driver
2017-03-29 09:53:55 +08:00
Christoph Pech
2808a13f07 Fix for IndexExists in SQLite driver, they added the "origin" and "partial" columns to the index_list pragma.
see: https://www.sqlite.org/src/info/2743846cdba572f6
2017-03-28 12:38:27 +02:00