Lunny Xiao
f5155b9913
Small improve on deleting attachements ( #3145 )
* Small improve on deleting attachements
* improve the sequence of deletion
6 years ago
Lunny Xiao
956354885a
simple usage of x ( #3144 )
7 years ago
Lunny Xiao
f2e20c81b6
Refactor struct's time to remove unnecessary memory usage ( #3142 )
* refactor struct's time to remove unnecessary memory usage
* use AsTimePtr simple code
* fix tests
* fix time compare
* fix template on gpg
* use AddDuration instead of Add
7 years ago
Lunny Xiao
a8717e5e3a
Use AfterLoad instead of AfterSet on Structs ( #2628 )
* use AfterLoad instead of AfterSet on Structs
* fix the comments on AfterLoad
* fix the comments on action AfterLoad
7 years ago
Lunny Xiao
005900baea
Use created & updated instead BeforeInsert & BeforeUpdate ( #2482 )
* 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
7 years ago
Lauris BH
6db387a21e
Refactor session close as xorm already does everything needed internally ( #2020 )
7 years ago
Bo-Yi Wu
fa2a513c62
feat: add download count field and unit testing for attachment. ( #1512 )
* feat: add download count field and unit testing.
* fix: unit testing
* refactor: improve testing.
* fix: update comment
* add default value.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
7 years ago
Ethan Koenig
136e6beb0f
Fix unused Engine bugs ( #1064 )
7 years ago
Thomas Boerger
78535fb08e
Allow custom public files ( #782 )
* Allow custom public files
* Gofmt code, lots of places not related to this pr
7 years ago
Philip Couling
1610b9f547
Spun attachments into seperate go file ( #701 )
Moved attachments into seperate go file
7 years ago