Thibault Meyer
6ef997ca64
Normalize files with gofmt
8 years ago
Sandro Santilli
cb1b3cc148
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
Lunny Xiao
68d5ee45d5
Merge pull request #121 from joubertredrat/feature-last-login
Last Login for admin manage your users
8 years ago
Joubert RedRat
b3890d6acd
Support to last login feature
8 years ago
Matthias Loibl
7db899faaf
Merge pull request #17 from LefsFlarey/issue/3666
Fixed 404 caused by unexpected question mark
8 years ago
Flare
922a19e2d2
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
fe69658651
Add test for IsTextFile()
8 years ago
Matthias Loibl
409b942687
Make long godoc comment 2 lines
8 years ago
Matthias Loibl
b3d3172863
Add test for IsLetter()
8 years ago
Matthias Loibl
573da4204c
Add test for Int64sToMap()
8 years ago
Matthias Loibl
92baf795af
Add tests for StringsToInt64s() & Int64sToStrings()
8 years ago
Matthias Loibl
38d6f53a3d
Add tests for TruncateString()
8 years ago
Matthias Loibl
c5c3ef46b7
Use TruncateString(sha1,10) in ShortSha and deprecate it.
8 years ago
Matthias Loibl
47941f01a1
Add tests for EllipsisString() and fix bug if param length < 3
8 years ago
Matthias Loibl
8834f9dd90
Test AvatarLink and refactor with tests passing
8 years ago
Matthias Loibl
5bbea06803
Use testify/assert for all tests in tool_test.go
8 years ago
Matthias Loibl
8f027370f5
Add unit test for base.FileSize()
8 years ago
Matthias Loibl
019ca2b0ae
Start to add tests for modules/base/tool
8 years ago
Sandro Santilli
f5ceddc42d
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
1eda823eb3
more
8 years ago
Sandro Santilli
724cc54d49
Security protocols
8 years ago
Sandro Santilli
58cc4e56fa
ACCESS_MODE_* -> AccessMode*
8 years ago
Thomas Boerger
91624c0e0e
Merge pull request #108 from go-gitea/go-sdk
Replaced gogits go-gogs-client with go-sdk
8 years ago
Sandro Santilli
e8b49f68aa
Merge pull request #103 from strk/GOGS_drop
Replace GOGS with GITEA in variable names
8 years ago
Joubert RedRat
9bcd8444ad
Replace Gogs to Gitea in installation options
8 years ago
Thomas Boerger
54a9e8c1c4
Fixed links to sdk docs
8 years ago
Sandro Santilli
43349da21a
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
d9a7026ca3
Set correct doc url for go-sdk
8 years ago
Rachid Zarouali
991135448c
Merge pull request #50 from 0xbaadf00d/feature/2583-disablehttpcloning
Disable HTTP cloning
8 years ago
Sandro Santilli
3c9693defb
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
e7e2c8c43e
Add tests for CurrentUsername() ( #88 )
8 years ago
Matthias Loibl
929972fc8d
Fix imports found by goimports.
8 years ago
Thomas Boerger
96615d5d39
Regenerated bindata
8 years ago
Thomas Boerger
210dcbf8b6
Simply made go vet happy, fixed tags
8 years ago
Thomas Boerger
423d7ae8fb
Executed go fmt for all files
8 years ago
Matthias Loibl
f569b344f3
Run goimports on the whole project ( #34 )
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
8 years ago
Rémy Boulanouar
ee1663af58
Implementation of the feature to redirect to an external issue tracker
8 years ago
Rémy Boulanouar
9712d5ee89
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Sandro Santilli
ce9ffc1ea3
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
9f259c558d
Use proper url for libravatar dep
8 years ago
Rémy Boulanouar
3e5ad5be78
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
bcf2bfab4d
rename variable + fix wiki link
8 years ago
Thibault Meyer
5feedd10fb
Can disable GIT interactions by HTTP protocol
8 years ago
Unknwon
38acaf2043
Update locales
Add new locale Serbian (Cyrillic)
8 years ago
Daniel Oaks
bc0c810106
Add the ability to explore organizations ( #3573 )
* Add ability to explore organizations
* Use right icon for org explore links
8 years ago
Unknwon
7f9b2d53b6
Fix panic when attempt login with non-exist user
8 years ago
Thibault Meyer
33cd649848
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
5b8d1dbf17
Update locales
8 years ago
Rémy Boulanouar
d5cc7646c9
Update size of SHA to fix #3538 ( #3563 )
8 years ago
Unknwon
cdcb2c86c9
#3559 fix template error
8 years ago