0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-18 23:05:36 +01:00
Commit graph

25 commits

Author SHA1 Message Date
Lunny Xiao
29dda47cbb
Fix label count ()
* fix label count

* fix vendor

* fix import order

* update xorm to fix bug

* fix tests

* fix mssql bug
2019-09-24 21:22:39 +08:00
guillep2k
5fe2ec264f Retry create issue to cope with duplicate keys ()
* Retry create issue to cope with duplicate keys

* Use  .SetExpr().Where().Insert()
2019-08-26 22:17:23 -04:00
Tamal Saha
5efd3630bc Update to xorm@v0.7.4 ()
Signed-off-by: Tamal Saha <tamal@appscode.com>
2019-07-25 00:39:14 +03:00
Lunny Xiao
aa7c34cf86 Fix error log when loading issues caused by a xorm bug ()
* fix error log when loading issues caused by a xorm bug

* upgrade packages

* fix fmt

* fix Consistency

* fix tests
2019-06-23 18:22:43 +03:00
Mura Li
d77176912b Use Go1.11 module ()
* Migrate to go modules

* make vendor

* Update mvdan.cc/xurls

* make vendor

* Update code.gitea.io/git

* make fmt-check

* Update github.com/go-sql-driver/mysql

* make vendor
2019-03-27 19:15:23 +08:00
Zsombor
c2dcb35148 Fixing : ()
* Format boolean values to true/false even when it is returned as byte-slice,
* Fix the sequence generation, the proper sequence name is used (instead of 'table_id_seq'), and fix the next value be max+1 always
2019-01-16 16:24:09 -05:00
Zsombor
31aa00fa4b Update xorm to fix issue and () 2019-01-09 17:18:06 -05:00
kolaente
6db7dbd333 Added test environment for mssql ()
* Added test environment for m$sql

* Added template for test environment for m$sql

* Fix password

* Fix password (again)

* Fix password (again again)

* Fix db

* Ci trigger (Looking at you drone....)

* Ci trigger (Looking at you drone....)

* Ci trigger (Looking at you drone....)

* Ci trigger (Looking at you drone....)

* Create master database for mssql integration tests

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Create database only if master do not exist

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix mssql integration tests by using custom database "gitea"

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Moved defer

* bump xorm

* updated xorm

* Fixed build
2018-12-12 09:01:41 +08:00
Lauris BH
0c59edaafa Update xorm to latest version and fix correct user table referencing in sql () 2018-07-20 10:10:17 +08:00
Antoine GIRARD
3f3383dc0a Migrate to dep ()
* Update makefile to use dep

* Migrate to dep

* Fix some deps

* Try to find a better version for golang.org/x/net

* Try to find a better version for golang.org/x/oauth2
2018-05-21 15:34:20 +03:00
Lunny Xiao
97fe773491 fix MSSQL bug on org () 2018-01-27 17:20:59 +02:00
Lunny Xiao
a8717e5e3a Use AfterLoad instead of AfterSet on Structs ()
* use AfterLoad instead of AfterSet on Structs

* fix the comments on AfterLoad

* fix the comments on action AfterLoad
2017-10-01 19:52:35 +03:00
Lunny Xiao
0f9e20b3d7 fix updated update on public key ()
* fix updated update on public key

* update vendor.json

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix root path

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-09-15 11:23:48 +08:00
Lunny Xiao
005900baea Use created & updated instead BeforeInsert & BeforeUpdate ()
* use created & updated instead BeforeInsert & BeforeUpdate

* fix vendor checksum

* only show generated SQL when development mode

* remove extra update column updated_unix

* remove trace config
2017-09-13 08:18:22 +03:00
Lunny Xiao
2c6a0fdca8 update latest xorm version to vendor () 2017-08-22 14:39:52 +03:00
Lauris BH
3792867955 Update xorm to latest version ()
* Update xorm to latest version

* Update xorm/builder
2017-05-02 08:50:33 +08:00
Lunny Xiao
5acfc7c4bc fix migrate failed and org dashboard failed on MSSQL database () 2017-04-06 18:47:25 -07:00
Lunny Xiao
c5f8b96dda update xorm for fixing bug on processor BeforeSet and AfterSet when Find a map () 2017-02-20 19:33:10 +08:00
Lunny Xiao
284c0160c3 update xorm vendor and also fix () 2017-02-10 23:02:26 +08:00
Bo-Yi Wu
691fbdf1d3 fix: delete attachment after remove comment. 2017-01-25 16:40:43 +01:00
Lunny Xiao
907b6f943c update xorm for bugs fix () 2017-01-23 19:11:57 +08:00
Lunny Xiao
a8048c19f3 Update xorm and fix dump command ()
* update xorm and fix dump

* catch database init error

* still use dumpTables

* fix dump bool type

* update vendor.json
2017-01-23 17:11:18 +08:00
Lunny Xiao
980dd0bf51 Update xorm and dependencies vendor for feature to dump to other database ()
* update xorm and dependencies vendor for feature to dump to other database

* fix golint
2017-01-03 16:20:28 +08:00
Lunny Xiao
a8c6698de8 Fix error 500 on organization dashboard page () 2016-11-12 00:40:21 +08:00
Thomas Boerger
1ebb35b988
Added all required dependencies 2016-11-04 08:43:11 +01:00