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
Thomas Boerger
57279e1766
Set correct doc url for go-sdk
2016-11-07 14:49:25 +01:00
Rachid Zarouali
64eb34d9b3
Merge pull request #50 from 0xbaadf00d/feature/2583-disablehttpcloning
...
Disable HTTP cloning
2016-11-07 11:23:30 +01:00
Sandro Santilli
2cc11efdcf
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
Matthias Loibl
6d1eb5b38d
Add tests for CurrentUsername() ( #88 )
2016-11-06 09:47:25 +01:00
Matthias Loibl
b2f20b4726
Fix imports found by goimports.
2016-11-05 17:56:35 +01:00
Thomas Boerger
c2d9dba371
Regenerated bindata
2016-11-04 23:45:06 +01:00
Thomas Boerger
9b71d04b0b
Simply made go vet happy, fixed tags
2016-11-04 23:45:06 +01:00
Thomas Boerger
e859dd6f59
Executed go fmt for all files
2016-11-04 23:45:06 +01:00
Matthias Loibl
a097cafb16
Run goimports on the whole project ( #34 )
...
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com >
2016-11-04 09:57:27 -02:00
Rémy Boulanouar
ac33536be0
Implementation of the feature to redirect to an external issue tracker
2016-11-04 09:06:54 +01:00
Rémy Boulanouar
61ec6729e6
Change import reference to match gitea instead of gogs ( #37 )
2016-11-03 10:29:56 -02:00
Sandro Santilli
5db40ec9cf
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
Sandro Santilli
4d4f252335
Use proper url for libravatar dep
2016-11-02 18:18:04 +01:00
Rémy Boulanouar
bf372c52a1
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
Thibault Meyer
45e683cb05
rename variable + fix wiki link
2016-10-04 18:58:14 +02:00
Thibault Meyer
56d98c3349
Can disable GIT interactions by HTTP protocol
2016-09-18 10:54:33 +02:00
Unknwon
32b0277749
Update locales
...
Add new locale Serbian (Cyrillic)
2016-09-15 20:03:36 -04:00
Daniel Oaks
6cdcdc8a31
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
Unknwon
5056178ca0
Fix panic when attempt login with non-exist user
2016-09-01 05:12:34 -04:00
Thibault Meyer
d6f5380270
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
Unknwon
5584cebdb8
Update locales
2016-09-01 00:35:04 -04:00