Lunny Xiao
5b998a6680
golint fixed for modules/auth
8 years ago
Lunny Xiao
3228544c31
golint fixed for modules/log
8 years ago
Lunny Xiao
3c87c57d96
golint fixed for modules/avatar
8 years ago
Lunny Xiao
b47051e59b
golint fixed for modules/cron
8 years ago
Lunny Xiao
76604d8f90
fixed test build error
8 years ago
Lunny Xiao
faabc76fd6
Golint fixed for modules/context
8 years ago
Lunny Xiao
bd5ea3e222
Golint fixed for modules/httplib
8 years ago
Lunny Xiao
229ec927b9
Golint fixed for modules/template
8 years ago
Lunny Xiao
304bbd3f25
golint fixed for modules/markdown
8 years ago
Lunny Xiao
2e565bc1c4
Golint fixed for modules/mailer
8 years ago
Lunny Xiao
46ecb0a14d
golint fixed for modules/user
8 years ago
Sandro Santilli
ad3d6b7fff
Lint and document manager api
8 years ago
Lunny Xiao
fb3bb69ec6
golint fixed for modules/base
8 years ago
Bwko
2a449bd4b1
Fix typos
8 years ago
Ethan Koenig
0834e492c0
API endpoints for stars
8 years ago
Bo-Yi Wu
d9ffe99972
fix variable assigned and not used.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Thibault Meyer
ddee4c8b58
Normalize files with gofmt
8 years ago
Sandro Santilli
4247304f5a
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
Joubert RedRat
f91cbf0fed
Support to last login feature
8 years ago
Flare
01c5233b53
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
e74868a850
Add test for IsTextFile()
8 years ago
Matthias Loibl
95d4cd9292
Make long godoc comment 2 lines
8 years ago
Matthias Loibl
2bb188ae79
Add test for IsLetter()
8 years ago
Matthias Loibl
4235fff9ee
Add test for Int64sToMap()
8 years ago
Matthias Loibl
d417aedcfa
Add tests for StringsToInt64s() & Int64sToStrings()
8 years ago
Matthias Loibl
b00d82d679
Add tests for TruncateString()
8 years ago
Matthias Loibl
86c32f2706
Use TruncateString(sha1,10) in ShortSha and deprecate it.
8 years ago
Matthias Loibl
030ba2894f
Add tests for EllipsisString() and fix bug if param length < 3
8 years ago
Matthias Loibl
f81711f40d
Test AvatarLink and refactor with tests passing
8 years ago
Matthias Loibl
70fb1cf9d1
Use testify/assert for all tests in tool_test.go
8 years ago
Matthias Loibl
d874a9bf6b
Add unit test for base.FileSize()
8 years ago
Matthias Loibl
11c9160cd3
Start to add tests for modules/base/tool
8 years ago
Sandro Santilli
864d1b1f9f
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
b7bf9dfd28
more
8 years ago
Sandro Santilli
05fd9d3f09
Security protocols
8 years ago
Sandro Santilli
f388661bda
ACCESS_MODE_* -> AccessMode*
8 years ago
Joubert RedRat
28bee28102
Replace Gogs to Gitea in installation options
8 years ago
Thomas Boerger
77f9c7e571
Fixed links to sdk docs
8 years ago
Sandro Santilli
b7263f31a5
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
6bf9910975
Set correct doc url for go-sdk
8 years ago
Sandro Santilli
6e4252dad4
Replace gogits/git-module dependency with go-gitea/git ( #94 )
...
* Replace gogits/git-module dependency with go-gitea/git
Fixes #92
* Remove git alias for git module import (not needed)
8 years ago
Matthias Loibl
d318f612a9
Add tests for CurrentUsername() ( #88 )
8 years ago
Matthias Loibl
1f44b01e2a
Fix imports found by goimports.
8 years ago
Thomas Boerger
eb25d1f252
Regenerated bindata
8 years ago
Thomas Boerger
f960b776f0
Simply made go vet happy, fixed tags
8 years ago
Thomas Boerger
e05a5ca36c
Executed go fmt for all files
8 years ago
Matthias Loibl
a4fa889ced
Run goimports on the whole project ( #34 )
...
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
8 years ago
Rémy Boulanouar
8dc49dc114
Implementation of the feature to redirect to an external issue tracker
8 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Sandro Santilli
af03d00780
Fix sender of issue notifications
...
It is the FROM field in mailer configuration that needs be used,
not the USER field, which is for authentication.
Closes https://github.com/gogits/gogs/issues/3615
8 years ago