Lunny Xiao
91f3a1c7fb
Small improve on deleting attachements ( #3145 )
* Small improve on deleting attachements
* improve the sequence of deletion
8 years ago
Lunny Xiao
1915a576a2
simple usage of x ( #3144 )
8 years ago
Lunny Xiao
a5c212cd1e
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
8 years ago
Lunny Xiao
c2b107fcb0
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
8 years ago
Lunny Xiao
d00b7dab75
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
8 years ago
Lauris BH
625f482b25
Refactor session close as xorm already does everything needed internally ( #2020 )
8 years ago
Bo-Yi Wu
86ef7a64db
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>
8 years ago
Ethan Koenig
d3cc6d582b
Fix unused Engine bugs ( #1064 )
8 years ago
Thomas Boerger
9f98dea69b
Allow custom public files ( #782 )
* Allow custom public files
* Gofmt code, lots of places not related to this pr
8 years ago
Philip Couling
fc1e953a6a
Spun attachments into seperate go file ( #701 )
Moved attachments into seperate go file
8 years ago