Lunny Xiao
7dcc3bc3d7
use x.SQL instead of x.Sql
8 years ago
Lunny Xiao
145648a233
Merge pull request #127 from metalmatze/enhancement/cli
...
Use cli Flags directly and not some helper funcs
8 years ago
Matthias Loibl
90fb64b217
Improve formatting of admin command
...
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
8 years ago
Matthias Loibl
5cd093aa46
Use cli Flags directly and not some helper funcs
...
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
8 years ago
Joubert RedRat
f91cbf0fed
Support to last login feature
8 years ago
Lunny Xiao
475ddd8d89
Merge pull request #116 from lunny/lunny/lang-miss
...
fixed lack of translation for zh-CN
8 years ago
Lunny Xiao
c511f1c6c3
Merge pull request #18 from LefsFlarey/issue/3675
...
Fix 500 error caused by deleted users on issues (#3675 )
8 years ago
Flare
a6c487f6ca
Fix err not being nil
8 years ago
Matthias Loibl
45c4539c61
Merge pull request #17 from LefsFlarey/issue/3666
...
Fixed 404 caused by unexpected question mark
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
Lunny Xiao
f6d53ecbc1
Merge pull request #119 from metalmatze/fix/editorconfig
...
Go uses ident size 8 with tabs. Nothing else.
8 years ago
Matthias Loibl
1ceb56fc7f
Go uses ident size 8 with tabs. Nothing else.
...
We are using gofmt to format our code. This will emit tabs.
The standard is tabs which is 8 spaces.
8 years ago
Kim "BKC" Carlbäcker
85b8b7f4e1
Merge pull request #90 from metalmatze/feature/tool-tests
...
Start to add tests for modules/base/tool
8 years ago
Lunny Xiao
8b0576b377
lack of translation for zh-CN
8 years ago
Lunny Xiao
8857d701fb
Merge pull request #115 from strk/license
...
Re-add "Gogs authors" copyright (togheter with "Gitea authors")
8 years ago
Lunny Xiao
e06e0f9bb9
Merge pull request #113 from avelino/update_locale
...
replace Gogs to Gitea on locale files
8 years ago
Sandro Santilli
4e4c0c2cd3
Fix typo
8 years ago
Sandro Santilli
dad9dbacf7
Re-add "Gogs authors" copyright (togheter with "Gitea authors")
8 years ago
Thiago Avelino
5ea257be87
update copyright gitea license ( #112 )
8 years ago
Avelino
b4671c9aab
replace Gogs to Gitea on locale files
8 years ago
Lunny Xiao
5667d4daae
Merge pull request #73 from bkcsoft/gt/2164-release-pagination
...
Add Pagination to Releases-page (and de-duplicate pagination templates)
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
a5d0b4de5b
Vendor github.com/stretchr/testify for the assert package
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
Matthias Loibl
c8c748aea6
Merge pull request #109 from go-gitea/lgtm
...
Added ignore_maintainers_file option to .lgtm
8 years ago
Sandro Santilli
01a7674b5c
Merge pull request #110 from strk/MixedCaseConst
...
Use MixedCase constant names
8 years ago
Sandro Santilli
b7bf9dfd28
more
8 years ago
Sandro Santilli
aadd7dcdc3
And others
8 years ago
Sandro Santilli
b3828e38a5
more
8 years ago
Sandro Santilli
05fd9d3f09
Security protocols
8 years ago
Sandro Santilli
7612b5ec40
More mixage
8 years ago
Sandro Santilli
64196d4036
More overlooks
8 years ago
Sandro Santilli
f14232d2e9
This one I overlooked before
8 years ago
Sandro Santilli
60c82a8780
More...
8 years ago
Sandro Santilli
f6a11e0de1
More MixedCase consts
8 years ago
Sandro Santilli
f388661bda
ACCESS_MODE_* -> AccessMode*
8 years ago
Sandro Santilli
0b62aeb495
More MixedCase consts
8 years ago
Sandro Santilli
80eea77953
Use MixedCase constant names
...
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
8 years ago
Thomas Boerger
d944bdec47
Added ignore_maintainers_file option to .lgtm
8 years ago