1281 Commits

Author SHA1 Message Date
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
8dc49dc114 Implementation of the feature to redirect to an external issue tracker 2016-11-04 09:06:54 +01:00
2d68bd1ef9 Change import reference to match gitea instead of gogs (#37) 2016-11-03 10:29:56 -02:00
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
2016-11-02 21:00:54 +01:00
d59a48a255 Use proper url for libravatar dep 2016-11-02 18:18:04 +01:00
6bcff7828f Fix mention in comments like (@dblk) (#3655)
* Fix mention in comments like (@dblk)

* Better fix to avoid making link for "Hello@DblK"
2016-10-16 22:17:59 -04:00
93f1eabe30 rename variable + fix wiki link 2016-10-04 18:58:14 +02:00
9d66497abc Can disable GIT interactions by HTTP protocol 2016-09-18 10:54:33 +02:00
7e15ff9486 Update locales
Add new locale Serbian (Cyrillic)
2016-09-15 20:03:36 -04:00
b3d9ca4ccd Add the ability to explore organizations (#3573)
* Add ability to explore organizations

* Use right icon for org explore links
2016-09-01 09:08:05 -04:00
7c1fbed057 Fix panic when attempt login with non-exist user 2016-09-01 05:12:34 -04:00
bc902b8f74 Feature #3492: Add option to hide footer load times (#3562)
* Add option to hide footer load times

* Rename option variable + minor changes
2016-09-01 01:01:32 -04:00
8ee14db51e Update locales 2016-09-01 00:35:04 -04:00