76604d8f90
fixed test build error
2016-11-25 16:02:10 +08:00
faabc76fd6
Golint fixed for modules/context
2016-11-25 14:53:59 +08:00
bd5ea3e222
Golint fixed for modules/httplib
2016-11-25 14:32:09 +08:00
229ec927b9
Golint fixed for modules/template
2016-11-25 14:23:48 +08:00
304bbd3f25
golint fixed for modules/markdown
2016-11-25 09:58:05 +08:00
2e565bc1c4
Golint fixed for modules/mailer
2016-11-25 09:44:04 +08:00
2ccdcda072
Merge pull request #235 from lunny/lunny/golint_modules_user
...
golint fixed for modules/user
2016-11-24 11:33:47 +01:00
8ba0ac976f
Merge pull request #231 from lunny/lunny/golint_modules_base
...
golint fixed for modules/base
2016-11-24 11:28:31 +01:00
46ecb0a14d
golint fixed for modules/user
2016-11-24 17:37:11 +08:00
ad3d6b7fff
Lint and document manager api
2016-11-24 09:02:10 +01:00
fb3bb69ec6
golint fixed for modules/base
2016-11-24 15:17:44 +08:00
2a449bd4b1
Fix typos
2016-11-21 20:08:21 +01:00
0834e492c0
API endpoints for stars
2016-11-16 22:51:54 -05:00
d9ffe99972
fix variable assigned and not used.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com >
2016-11-15 14:16:27 +08:00
ddee4c8b58
Normalize files with gofmt
2016-11-11 13:11:45 +01:00
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
2016-11-10 17:24:48 +01:00
1b238fe4d5
Merge pull request #121 from joubertredrat/feature-last-login
...
Last Login for admin manage your users
2016-11-10 17:20:55 +08:00
f91cbf0fed
Support to last login feature
2016-11-09 08:53:45 -02:00
45c4539c61
Merge pull request #17 from LefsFlarey/issue/3666
...
Fixed 404 caused by unexpected question mark
2016-11-08 18:27:59 +01:00
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
2016-11-08 22:09:48 +08:00
e74868a850
Add test for IsTextFile()
2016-11-07 23:31:40 +01:00
95d4cd9292
Make long godoc comment 2 lines
2016-11-07 23:31:40 +01:00
2bb188ae79
Add test for IsLetter()
2016-11-07 23:31:40 +01:00
4235fff9ee
Add test for Int64sToMap()
2016-11-07 23:31:40 +01:00
d417aedcfa
Add tests for StringsToInt64s() & Int64sToStrings()
2016-11-07 23:31:40 +01:00
b00d82d679
Add tests for TruncateString()
2016-11-07 23:31:40 +01:00
86c32f2706
Use TruncateString(sha1,10) in ShortSha and deprecate it.
2016-11-07 23:31:39 +01:00
030ba2894f
Add tests for EllipsisString() and fix bug if param length < 3
2016-11-07 23:31:39 +01:00
f81711f40d
Test AvatarLink and refactor with tests passing
2016-11-07 23:31:39 +01:00
70fb1cf9d1
Use testify/assert for all tests in tool_test.go
2016-11-07 23:29:42 +01:00
d874a9bf6b
Add unit test for base.FileSize()
2016-11-07 23:29:42 +01:00
11c9160cd3
Start to add tests for modules/base/tool
2016-11-07 23:29:41 +01:00
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"
2016-11-07 18:58:22 -02:00
b7bf9dfd28
more
2016-11-07 17:55:31 +01:00
05fd9d3f09
Security protocols
2016-11-07 17:38:43 +01:00
f388661bda
ACCESS_MODE_* -> AccessMode*
2016-11-07 17:20:37 +01:00
5d430c9e68
Merge pull request #108 from go-gitea/go-sdk
...
Replaced gogits go-gogs-client with go-sdk
2016-11-07 16:31:17 +01:00
ee963f67c1
Merge pull request #103 from strk/GOGS_drop
...
Replace GOGS with GITEA in variable names
2016-11-07 16:30:48 +01:00
28bee28102
Replace Gogs to Gitea in installation options
2016-11-07 13:26:19 -02:00
77f9c7e571
Fixed links to sdk docs
2016-11-07 16:10:32 +01:00
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
2016-11-07 16:05:18 +01:00
6bf9910975
Set correct doc url for go-sdk
2016-11-07 14:49:25 +01:00
be5607e510
Merge pull request #50 from 0xbaadf00d/feature/2583-disablehttpcloning
...
Disable HTTP cloning
2016-11-07 11:23:30 +01:00
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)
2016-11-06 11:18:34 -02:00
d318f612a9
Add tests for CurrentUsername() ( #88 )
2016-11-06 09:47:25 +01:00
1f44b01e2a
Fix imports found by goimports.
2016-11-05 17:56:35 +01:00
eb25d1f252
Regenerated bindata
2016-11-04 23:45:06 +01:00
f960b776f0
Simply made go vet happy, fixed tags
2016-11-04 23:45:06 +01:00
e05a5ca36c
Executed go fmt for all files
2016-11-04 23:45:06 +01:00
a4fa889ced
Run goimports on the whole project ( #34 )
...
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com >
2016-11-04 09:57:27 -02:00