summaryrefslogtreecommitdiffstats
path: root/models/admin.go
Commit message (Collapse)AuthorAgeFilesLines
* Refactor struct's time to remove unnecessary memory usage (#3142)Lunny Xiao2017-12-111-9/+2
| | | | | | | | | | | | | | * 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
* Replace deprecated Id method with ID (#2655)Ethan Koenig2017-10-051-1/+1
|
* Use AfterLoad instead of AfterSet on Structs (#2628)Lunny Xiao2017-10-011-7/+3
| | | | | | | | * use AfterLoad instead of AfterSet on Structs * fix the comments on AfterLoad * fix the comments on action AfterLoad
* Use created & updated instead BeforeInsert & BeforeUpdate (#2482)Lunny Xiao2017-09-131-6/+1
| | | | | | | | | | | | * 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
* refactor: remove workaround after the golang 1.7 release. (#1349)Bo-Yi Wu2017-03-291-19/+4
| | | | | | | | | | | | | | * refactor: remove workaround after the golang 1.7 release. * remove unused import. Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> * refactor: Add remove function. * refactor: rename * refactor: update build flag
* fix delete repo will hang on postgres (#1044)Lunny Xiao2017-02-241-7/+10
|
* Unit tests for models/adminEthan Koenig2017-01-091-1/+1
|
* Create missing database indexes (#596)Andrey Nering2017-01-061-1/+1
|
* Lint models/admin.goBwko2016-11-241-0/+4
|
* use in instead string join (#155)Lunny Xiao2016-11-121-2/+1
|
* Merge remote-tracking branch 'upstream/master' into feature/rewrite-xorm-queriesThibault Meyer2016-11-101-3/+3
|\ | | | | | | | | | | | | | | | | # Conflicts: # models/git_diff.go # models/issue.go # models/org.go # models/pull.go # models/repo.go
| * Update import paths from github.com/go-gitea to code.gitea.io (#135)Sandro Santilli2016-11-101-3/+3
| | | | | | | | | | | | | | - Update import paths from github.com/go-gitea to code.gitea.io - Fix import path for travis See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
* | Rewrite XORM queriesThibault Meyer2016-11-101-2/+7
|/
* More MixedCase constsSandro Santilli2016-11-071-3/+3
|
* Change import reference to match gitea instead of gogs (#37)Rémy Boulanouar2016-11-031-3/+3
|
* Remove redundant Unix timestamp method callUnknwon2016-07-231-1/+1
| | | | Unix() already uses UTC as timezone
* Add comment note (#3093)Andrey Nering2016-05-231-2/+4
|
* Fix remove folder issues, including initialization failling. (#2969)Andrey Nering2016-05-061-0/+8
| | | | - Prevent panic on creating notice if database is not available - Prevent incorrect folder on Windows ("/" instead of "\")
* #2302 Replace time.Time with Unix Timestamp (int64)Unknwon2016-03-091-1/+14
|
* Workaroud delete folder on Windows. Fix #1738Andrey Nering2016-02-071-1/+10
|
* #2558 delete local wiki copy when rename repo and userUnknwon2016-02-051-0/+15
|
* #2052 advanced select ops for system noticesUnknwon2015-12-051-1/+13
|
* #2052 Ability to batch delete system noticesUnknwon2015-12-011-0/+10
|
* New admin notice UI based on user list exampleAntoine GIRARD2015-09-251-5/+4
|
* Fix #532, add system noticeUnknwon2014-10-081-0/+64