Commit Graph

18 Commits (0622e830557fcf63c73541394a56ba23a700a65a)

Author SHA1 Message Date
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
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
Zsombor 31aa00fa4b Update xorm to fix issue and ()
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
Lauris BH 0c59edaafa Update xorm to latest version and fix correct `user` table referencing in sql ()
Lunny Xiao 97fe773491 fix MSSQL bug on org ()
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
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
Lunny Xiao 2c6a0fdca8 update latest xorm version to vendor ()
Lauris BH 3792867955 Update xorm to latest version ()
* Update xorm to latest version

* Update xorm/builder
Lunny Xiao 5acfc7c4bc fix migrate failed and org dashboard failed on MSSQL database ()
Lunny Xiao 284c0160c3 update xorm vendor and also fix ()
Bo-Yi Wu 691fbdf1d3 fix: delete attachment after remove comment.
Lunny Xiao 907b6f943c update xorm for bugs fix ()
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
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
Lunny Xiao a8c6698de8 Fix error 500 on organization dashboard page ()
Thomas Boerger 1ebb35b988
Added all required dependencies