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
Sandro Santilli
d59a48a255
Use proper url for libravatar dep
8 years ago
Rémy Boulanouar
6bcff7828f
Fix mention in comments like ( @dblk ) ( #3655 )
* Fix mention in comments like (@dblk )
* Better fix to avoid making link for "Hello@DblK"
8 years ago
Thibault Meyer
93f1eabe30
rename variable + fix wiki link
8 years ago
Thibault Meyer
9d66497abc
Can disable GIT interactions by HTTP protocol
8 years ago
Unknwon
7e15ff9486
Update locales
Add new locale Serbian (Cyrillic)
8 years ago
Daniel Oaks
b3d9ca4ccd
Add the ability to explore organizations ( #3573 )
* Add ability to explore organizations
* Use right icon for org explore links
8 years ago
Unknwon
7c1fbed057
Fix panic when attempt login with non-exist user
8 years ago
Thibault Meyer
bc902b8f74
Feature #3492 : Add option to hide footer load times ( #3562 )
* Add option to hide footer load times
* Rename option variable + minor changes
8 years ago
Unknwon
8ee14db51e
Update locales
8 years ago
Rémy Boulanouar
5d35578811
Update size of SHA to fix #3538 ( #3563 )
8 years ago
Unknwon
dadd35b636
#3559 fix template error
8 years ago
Unknwon
99c2ae7b35
#3515 use alert instead 500 for duplicated login source name
8 years ago
Unknwon
8516dfcb6c
#2018 able to sync now for mirrors
- Refactor code to use sync.UniqueQueue
- Closes #3509
8 years ago
Unknwon
c1ecb6c60a
modules/sync: add UniqueQueue
8 years ago
Unknwon
43297148b2
modules/sync: rename SingleInstancePool to ExclusivePool
8 years ago
Unknwon
6f90835f95
Make bindata
8 years ago