Commit Graph

3404 Commits

Author SHA1 Message Date
Atallah khedrane 0e4d954fa7
Return error when wrong filtering field
When end user put wrong filtering field ORM should return error instead of Panic()
so developers can handle this error.
2018-09-23 12:18:15 +02:00
Colstuwjx 1cbba4d56f Add annotated filter, support @Import, @Filter.
Signed-off-by: Colstuwjx <Colstuwjx@gmail.com>
2018-09-07 15:59:57 +08:00
kun cf5d1f3f3c support go modules 2018-09-05 14:05:16 +08:00
Hossein Karimy 1097ac3682 GetProvider 2018-08-28 15:12:28 -04:00
Ruben Cid 755cc98ef7 Fix content type 2018-08-21 12:32:16 +02:00
Ruben Cid 5c407ff2e3 Add map shortcut and ServeFormatted method in output 2018-08-20 22:55:50 +02:00
SongLiangChen 8f455ef199 Read over 4096 length values 2018-08-17 11:40:00 +08:00
astaxie 7e0649d661
Merge pull request #3289 from nezorflame/patch-1
Remove panic from Redirect()
2018-08-16 09:22:22 +08:00
Ilya Danilkin 1a3dcb4f84
Remove panic from Redirect()
This `panic(ErrAbort)` is unnecessary in `Redirect` function and causes problems in the production code.
2018-08-12 05:11:03 +03:00
astaxie b606f1f73f
Merge pull request #3283 from JessonChan/develop
typo fixed
2018-08-09 17:05:25 +08:00
astaxie 8241f219fd
Merge pull request #3278 from hurisheng/revert-3247-develop
Revert "send ErrNoRows if the query returns zero rows ... in method orm_query…"
2018-08-09 17:05:01 +08:00
hurisheng dea45a3d6c fix TestAll() 2018-08-07 16:36:27 +08:00
JessonChan 34a812d45f typo fixed
#3260
2018-08-07 12:08:15 +08:00
astaxie 842336834f
Merge pull request #3275 from WiFeng/master
fix bug of tasks that only some but not all are executed
2018-08-07 10:07:29 +08:00
astaxie 58fe012446
Merge pull request #3274 from gombaniro/improvement/make-TestSet-on-map-self-contained
breaks dependency on TestNewBeeMap Testcase
2018-08-07 10:02:29 +08:00
astaxie bf0d40bca6
Merge pull request #3280 from GNURub/feature/pusher
Add access to pusher
2018-08-07 09:58:56 +08:00
Ruben Cid 48e6658eca Add access to pusher 2018-08-03 12:33:46 +02:00
Hu Risheng 1bd3fb7a33
Revert "send ErrNoRows if the query returns zero rows ... in method orm_query…" 2018-08-03 13:35:48 +08:00
liuweifeng d86410a631 fix bug of tasks that only some but not all are executed 2018-08-01 11:20:22 +08:00
Jean Claude 6b62502b99 breaks rely on TestNewBeeMap 2018-08-01 10:24:39 +08:00
astaxie 053a075344
Merge pull request #3271 from astaxie/develop
add vendor gopkg.in/yaml.v2
2018-07-31 21:18:48 +08:00
astaxie 9dd7d19ce7 add vendor gopkg.in/yaml.v2 2018-07-31 21:18:07 +08:00
astaxie efe0f67388
Merge pull request #3267 from astaxie/develop
beego 1.10.1
2018-07-31 20:52:47 +08:00
astaxie de66d2bdfd beego 1.10.1 2018-07-31 20:09:08 +08:00
astaxie 0e4fe4d177
Merge pull request #3270 from astaxie/revert-3269-master
Revert "hible"
2018-07-31 20:07:18 +08:00
astaxie 6d84db1e93
Revert "hible" 2018-07-31 20:07:03 +08:00
astaxie 2486f3826a
Merge pull request #3269 from 514366607/master
hible
2018-07-31 20:06:55 +08:00
astaxie d7b8aa8b52 only add golang.org vendor 2018-07-31 19:25:43 +08:00
hible c7c0b01ec5 hible
cache add function
// IncrBy increase counter by num.
IncrBy(key string, num int)
// DecrBy decrease counter by num.
DecrBy(key string, num int)
2018-07-31 17:19:09 +08:00
astaxie 6d69047fff update go vet 2018-07-30 15:13:04 +08:00
astaxie 787ab12605 Merge branch 'develop' of https://github.com/astaxie/beego into develop 2018-07-30 15:01:58 +08:00
astaxie f4112accef update go vet 2018-07-30 15:01:49 +08:00
astaxie 42c394e28b
Merge pull request #3263 from guomao545/master
Support return middle level value
2018-07-30 12:27:05 +08:00
astaxie 5051d902fb
Merge pull request #2986 from oxgo/hourlylog
add hourly log rotate
2018-07-30 12:26:37 +08:00
astaxie 48acfa08be add vendor 2018-07-30 12:05:51 +08:00
guomao545 39fc30b8b2
Support return middle level value
fix multilevel yaml config can't correct return middle level value bug
2018-07-27 15:33:24 +08:00
two 046cb248e0 edit test case 2018-07-26 15:08:14 +08:00
two 31c746d9d7 fix all confict 2018-07-26 14:34:25 +08:00
two 38a2f32252 fix one confict 2018-07-26 14:29:26 +08:00
astaxie d55f54a8ab
Merge pull request #3149 from liaoishere/feature/support-begintx
Support DB.BeginTx in go 1.8
2018-07-23 20:25:17 +08:00
Penghui Liao feb0e67fd7 upgrade go version from 1.9.2 to 1.9.7 in test env.
upgrade to avoid bug: https://github.com/golang/go/issues/22976

Signed-off-by: Penghui Liao <liaoishere@gmail.com>
2018-07-23 15:58:12 +08:00
astaxie a09bafbf2a
Merge pull request #3233 from astaxie/develop
beego 1.10.0
2018-07-21 15:55:28 +08:00
astaxie 03de7456ca
Merge pull request #3250 from 0x0400/develop
acquire lock when access config data
2018-07-21 15:25:23 +08:00
Xingang Zhang 78f2fd8d14 acquire lock when access config data 2018-07-21 14:56:09 +08:00
astaxie a048ed51a7 ready to release 1.10.0 2018-07-21 09:29:00 +08:00
astaxie 164a9231e8
Merge pull request #3249 from GNURub/feature/autocert
Feature/autocert
2018-07-21 09:20:07 +08:00
Ruben Cid aaa7e33778 Autocert ok 2018-07-20 19:54:25 +02:00
Ruben Cid f7008e2877 Removed patch 2018-07-20 19:02:09 +02:00
Ruben Cid cf6e825547 Domains 2018-07-20 18:59:45 +02:00
Ruben Cid 38f9a3c49e AutoCert 2018-07-20 18:53:57 +02:00