Lunny Xiao
e685609ea2
golint fixed for modules/auth
8 years ago
Thomas Boerger
6b9a3603ef
Merge pull request #269 from lunny/lunny/golint_modules_log
Golint fixed for modules/log
8 years ago
Mura Li
c9a3ae0e26
modules/process: add ExecDirEnv (next to ExecDir)
Add a sibling to ExecDir which is capable of specifying environment variables,
so that we can invoke `git` with GIT_INDEX_FILE, GIT_DIR, etc..
For #258
8 years ago
Lunny Xiao
b5a7692d63
Golint fixed for modules/setting ( #262 )
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
8 years ago
Lunny Xiao
c6b2ea04b0
golint fixed for modules/log
8 years ago
Thomas Boerger
09832077af
Merge pull request #246 from Bwko/fix/typo
Fix typos
8 years ago
Thomas Boerger
edc1cd015a
Merge pull request #254 from lunny/lunny/golint_modules_context
Golint fixed for modules/context
8 years ago
Thomas Boerger
01c4b3f300
Merge pull request #256 from lunny/lunny/golint_modules_avatar
Golint fixed for modules/avatar
8 years ago
Thomas Boerger
e11b1700dd
Merge pull request #255 from lunny/lunny/golint_modules_cron
Golint fixed for modules/cron
8 years ago
Thomas Boerger
e349e3d391
Merge pull request #252 from lunny/lunny/golint_fixed_modules_httplib
Golint fixed for modules/httplib
8 years ago
Thomas Boerger
d2eda07a5f
Merge pull request #251 from lunny/lunny/golint_modules_template
Golint fixed for modules/template
8 years ago
Thomas Boerger
84ff61cf53
Merge pull request #250 from lunny/lunny/golint_modules_markdown
Golint fixed for modules/markdown
8 years ago
Lunny Xiao
c4c5349dac
golint fixed for modules/avatar
8 years ago
Lunny Xiao
a2e6634522
golint fixed for modules/cron
8 years ago
Lunny Xiao
f677c76805
fixed test build error
8 years ago
Lunny Xiao
86a328cf36
Golint fixed for modules/context
8 years ago
Lunny Xiao
1662545b9a
Golint fixed for modules/httplib
8 years ago
Lunny Xiao
93101d7a6c
Golint fixed for modules/template
8 years ago
Lunny Xiao
6e99af0968
golint fixed for modules/markdown
8 years ago
Lunny Xiao
bc6359a917
Golint fixed for modules/mailer
8 years ago
Thomas Boerger
94221defb9
Merge pull request #235 from lunny/lunny/golint_modules_user
golint fixed for modules/user
8 years ago
Thomas Boerger
237c3591e3
Merge pull request #231 from lunny/lunny/golint_modules_base
golint fixed for modules/base
8 years ago
Lunny Xiao
8fa2001d20
golint fixed for modules/user
8 years ago
Sandro Santilli
80cebca201
Lint and document manager api
8 years ago
Lunny Xiao
9a660e39a7
golint fixed for modules/base
8 years ago
Bwko
48e67ebba3
Fix typos
8 years ago
Ethan Koenig
4503176480
API endpoints for stars
8 years ago
Bo-Yi Wu
f895b6eabd
fix variable assigned and not used.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Thibault Meyer
6ef997ca64
Normalize files with gofmt
8 years ago
Sandro Santilli
cb1b3cc148
Update import paths from github.com/go-gitea to code.gitea.io ( #135 )
- 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
8 years ago
Lunny Xiao
68d5ee45d5
Merge pull request #121 from joubertredrat/feature-last-login
Last Login for admin manage your users
8 years ago
Joubert RedRat
b3890d6acd
Support to last login feature
8 years ago
Matthias Loibl
7db899faaf
Merge pull request #17 from LefsFlarey/issue/3666
Fixed 404 caused by unexpected question mark
8 years ago
Flare
922a19e2d2
Fixed 404 caused by unexpected question mark
This fixes 404 caused when creating new files or wiki pages with question marks. Amended to force CI rebuild
8 years ago
Matthias Loibl
fe69658651
Add test for IsTextFile()
8 years ago
Matthias Loibl
409b942687
Make long godoc comment 2 lines
8 years ago
Matthias Loibl
b3d3172863
Add test for IsLetter()
8 years ago
Matthias Loibl
573da4204c
Add test for Int64sToMap()
8 years ago
Matthias Loibl
92baf795af
Add tests for StringsToInt64s() & Int64sToStrings()
8 years ago
Matthias Loibl
38d6f53a3d
Add tests for TruncateString()
8 years ago
Matthias Loibl
c5c3ef46b7
Use TruncateString(sha1,10) in ShortSha and deprecate it.
8 years ago
Matthias Loibl
47941f01a1
Add tests for EllipsisString() and fix bug if param length < 3
8 years ago
Matthias Loibl
8834f9dd90
Test AvatarLink and refactor with tests passing
8 years ago
Matthias Loibl
5bbea06803
Use testify/assert for all tests in tool_test.go
8 years ago
Matthias Loibl
8f027370f5
Add unit test for base.FileSize()
8 years ago
Matthias Loibl
019ca2b0ae
Start to add tests for modules/base/tool
8 years ago
Sandro Santilli
f5ceddc42d
Fix type in unused constant name ( #111 )
* Write LDAP, SMTP, PAM, DLDAP back to all uppercase
* Fix type in unused constant name
* Other MixCased fixes
* Complete MixerCasing of template constants
* Re uppercase LTS and LDAPS suffixes
* Uppercase JSON suffix in constant names
* Proper case LoginNoType
* Prefix unexported template path constants with "tpl"
8 years ago
Sandro Santilli
1eda823eb3
more
8 years ago
Sandro Santilli
724cc54d49
Security protocols
8 years ago
Sandro Santilli
58cc4e56fa
ACCESS_MODE_* -> AccessMode*
8 years ago