2
0
Commit Graph

1302 Commits

Author SHA1 Message Date
Thomas Boerger
5f959c33ae Merge pull request #246 from Bwko/fix/typo
Fix typos
2016-11-25 12:54:57 +01:00
Thomas Boerger
f6e0255544 Merge pull request #254 from lunny/lunny/golint_modules_context
Golint fixed for modules/context
2016-11-25 10:11:52 +01:00
Thomas Boerger
345afebeec Merge pull request #256 from lunny/lunny/golint_modules_avatar
Golint fixed for modules/avatar
2016-11-25 10:11:44 +01:00
Thomas Boerger
1c92aa2acb Merge pull request #255 from lunny/lunny/golint_modules_cron
Golint fixed for modules/cron
2016-11-25 10:11:36 +01:00
Thomas Boerger
6d754b0b19 Merge pull request #252 from lunny/lunny/golint_fixed_modules_httplib
Golint fixed for modules/httplib
2016-11-25 10:08:49 +01:00
Thomas Boerger
39a7a20525 Merge pull request #251 from lunny/lunny/golint_modules_template
Golint fixed for modules/template
2016-11-25 10:08:37 +01:00
Thomas Boerger
31be1799ba Merge pull request #250 from lunny/lunny/golint_modules_markdown
Golint fixed for modules/markdown
2016-11-25 10:08:23 +01:00
Lunny Xiao
795095ff2a golint fixed for modules/avatar 2016-11-25 16:37:04 +08:00
Lunny Xiao
bed53040b2 golint fixed for modules/cron 2016-11-25 16:19:24 +08:00
Lunny Xiao
37ffb0dfb9 fixed test build error 2016-11-25 16:02:10 +08:00
Lunny Xiao
9f958b7084 Golint fixed for modules/context 2016-11-25 14:53:59 +08:00
Lunny Xiao
d976e273ec Golint fixed for modules/httplib 2016-11-25 14:32:09 +08:00
Lunny Xiao
a2c8e74ba6 Golint fixed for modules/template 2016-11-25 14:23:48 +08:00
Lunny Xiao
8a078075d4 golint fixed for modules/markdown 2016-11-25 09:58:05 +08:00
Lunny Xiao
46ded1e1bd Golint fixed for modules/mailer 2016-11-25 09:44:04 +08:00
Thomas Boerger
a3dcce0770 Merge pull request #235 from lunny/lunny/golint_modules_user
golint fixed for modules/user
2016-11-24 11:33:47 +01:00
Thomas Boerger
23c9df1a12 Merge pull request #231 from lunny/lunny/golint_modules_base
golint fixed for modules/base
2016-11-24 11:28:31 +01:00
Lunny Xiao
71f28c3e8d golint fixed for modules/user 2016-11-24 17:37:11 +08:00
Sandro Santilli
fd9d0fcc5c Lint and document manager api 2016-11-24 09:02:10 +01:00
Lunny Xiao
f76e02aca6 golint fixed for modules/base 2016-11-24 15:17:44 +08:00
Bwko
627ee94ea8 Fix typos 2016-11-21 20:08:21 +01:00
Ethan Koenig
875d9751aa API endpoints for stars 2016-11-16 22:51:54 -05:00
Bo-Yi Wu
8c94965a88 fix variable assigned and not used.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-11-15 14:16:27 +08:00
Thibault Meyer
43e3c1d1cc Normalize files with gofmt 2016-11-11 13:11:45 +01:00
Sandro Santilli
acb138c244 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
Lunny Xiao
4b632bb41b Merge pull request #121 from joubertredrat/feature-last-login
Last Login for admin manage your users
2016-11-10 17:20:55 +08:00
Joubert RedRat
8c1f9a1283 Support to last login feature 2016-11-09 08:53:45 -02:00
Matthias Loibl
6b28da37cb Merge pull request #17 from LefsFlarey/issue/3666
Fixed 404 caused by unexpected question mark
2016-11-08 18:27:59 +01:00
Flare
5650459f98 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
Matthias Loibl
5d73d7d90c Add test for IsTextFile() 2016-11-07 23:31:40 +01:00
Matthias Loibl
0b88021476 Make long godoc comment 2 lines 2016-11-07 23:31:40 +01:00
Matthias Loibl
ebb74eb187 Add test for IsLetter() 2016-11-07 23:31:40 +01:00
Matthias Loibl
90ecbe79d0 Add test for Int64sToMap() 2016-11-07 23:31:40 +01:00
Matthias Loibl
5e45c406b6 Add tests for StringsToInt64s() & Int64sToStrings() 2016-11-07 23:31:40 +01:00
Matthias Loibl
4636836beb Add tests for TruncateString() 2016-11-07 23:31:40 +01:00
Matthias Loibl
47669ddf80 Use TruncateString(sha1,10) in ShortSha and deprecate it. 2016-11-07 23:31:39 +01:00
Matthias Loibl
a6fcff1c05 Add tests for EllipsisString() and fix bug if param length < 3 2016-11-07 23:31:39 +01:00
Matthias Loibl
aa2ded6f3a Test AvatarLink and refactor with tests passing 2016-11-07 23:31:39 +01:00
Matthias Loibl
77bd7912f9 Use testify/assert for all tests in tool_test.go 2016-11-07 23:29:42 +01:00
Matthias Loibl
3e36c027c5 Add unit test for base.FileSize() 2016-11-07 23:29:42 +01:00
Matthias Loibl
da55a8bf60 Start to add tests for modules/base/tool 2016-11-07 23:29:41 +01:00
Sandro Santilli
5b2f4f227b 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
Sandro Santilli
03f8c9561e more 2016-11-07 17:55:31 +01:00
Sandro Santilli
8a7847982a Security protocols 2016-11-07 17:38:43 +01:00
Sandro Santilli
78d721a905 ACCESS_MODE_* -> AccessMode* 2016-11-07 17:20:37 +01:00
Thomas Boerger
0407d5f9cb 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
Sandro Santilli
430bed3235 Merge pull request #103 from strk/GOGS_drop
Replace GOGS with GITEA in variable names
2016-11-07 16:30:48 +01:00
Joubert RedRat
630c0bbda5 Replace Gogs to Gitea in installation options 2016-11-07 13:26:19 -02:00
Thomas Boerger
5d0735606e Fixed links to sdk docs 2016-11-07 16:10:32 +01:00
Sandro Santilli
d90e33d6df 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