aboutsummaryrefslogtreecommitdiffstats
path: root/modules/user
Commit message (Collapse)AuthorAgeFilesLines
* Enable tenv and testifylint rules (#32852)TheFox0x712 days1-2/+1
| | | | Enables tenv and testifylint linters closes: https://github.com/go-gitea/gitea/issues/32842
* Implement FSFE REUSE for golang files (#21840)flynnnnnnnnnn2022-11-272-4/+2
| | | | | | | | | Change all license headers to comply with REUSE specification. Fix #16132 Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github> Co-authored-by: John Olheiser <john.olheiser@gmail.com>
* Add gitea-vet (#10948)John Olheiser2020-04-051-0/+4
| | | | | | | | | | | | | | | | | * Add copyright Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add gitea-vet and fix non-compliance Signed-off-by: jolheiser <john.olheiser@gmail.com> * Combine tools.go into build.go and clean up Signed-off-by: jolheiser <john.olheiser@gmail.com> * Remove extra GO111MODULE=on Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add golangci (#6418)kolaente2019-06-121-1/+1
|
* Remove check for negative length (#5120)Oleg Kovalov2018-10-201-1/+1
|
* Use native go method to get current user rather than environment variable ↵SagePtr2018-10-182-10/+48
| | | | | | | | (#4930) * Use native go method to get current user rather than environment var * Use t.Skip instead of return in test
* golint fixed for modules/userLunny Xiao2016-11-241-0/+1
|
* Add tests for CurrentUsername() (#88)Matthias Loibl2016-11-062-3/+23
|
* The pruning for the synchronized mirrors is a option now. Default value: ↵Pablo Saavedra2016-07-091-1/+1
| | | | | | | | | | | | | enable_prune = true (#3246) Executed go fmt getEngine() not handles DB parameters (#2972) (#2974) Uses .AllCols() for Update in updateMirror() Spanish traslation removed Fixed a wrong way to ommit the --prune option in process.ExecDir() for MirrorUpdate function
* Factor out function to get the current userPaolo Borelli2015-08-151-0/+18
The same logic was duplicated in three places. Factor it out so that we can add further fallbacks in a single place.