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
Unknwon
643142acab
Web editor: support upload files
8 years ago
Unknwon
7c31f235da
Web editor: support upload files
8 years ago
Unknwon
780cc2d110
router/repo: code refactoring
8 years ago
Unknwon
28cf0e6aaa
#3459 code quality improvement
8 years ago
Thibault Meyer
92fb30c526
Load a set of predefined labels ( #3459 )
...
* Can use a predefined set of labels
* Change UI
* Fix HTML file indentation
* Avoid reading file from other directory (security issue)
* Apply a better fix
* Remove not used variable
* Merge upstream/develop
* Do modifications
* Raname
* remove binding + rename variable
8 years ago
Unknwon
62b0dc4853
Web editor: fix cannot create new file in subdirectory
8 years ago
Unknwon
ba27d71abe
Web editor: improve edit file
8 years ago
Unknwon
0114fdcba4
Web editor: improve delete file process
8 years ago
Unknwon
dad5c15520
#2901 allow setting preferred licenses
...
- Closes #3488
8 years ago
Unknwon
6e171c5225
Web editor: improve edit file tooltip
8 years ago
Unknwon
13c106af77
label: adjust forecolor boundary
8 years ago