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
Thomas Boerger
91624c0e0e
Merge pull request #108 from go-gitea/go-sdk
Replaced gogits go-gogs-client with go-sdk
8 years ago
Sandro Santilli
e8b49f68aa
Merge pull request #103 from strk/GOGS_drop
Replace GOGS with GITEA in variable names
8 years ago
Joubert RedRat
9bcd8444ad
Replace Gogs to Gitea in installation options
8 years ago
Thomas Boerger
54a9e8c1c4
Fixed links to sdk docs
8 years ago
Sandro Santilli
43349da21a
Replace GOGS with GITEA in variable names
Still use GOGS_WORK_DIR and GOGS_CUSTOM env variables
as a fallback if the equivalent GITEA_* are not set,
warning user about the need for change.
Does not change "gogs" to "gitea" in webhook type name
Because "gogs" hook type is part of the API (routes) and used
in templates...
Closes #87
8 years ago
Thomas Boerger
d9a7026ca3
Set correct doc url for go-sdk
8 years ago
Rachid Zarouali
991135448c
Merge pull request #50 from 0xbaadf00d/feature/2583-disablehttpcloning
Disable HTTP cloning
8 years ago