Lunny Xiao
e7e73a2089
Merge pull request #127 from metalmatze/enhancement/cli
Use cli Flags directly and not some helper funcs
9 years ago
Matthias Loibl
eb533b50fe
Improve formatting of admin command
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
9 years ago
Matthias Loibl
af072f5d0e
Use cli Flags directly and not some helper funcs
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
9 years ago
Lunny Xiao
54d1a24950
Merge pull request #116 from lunny/lunny/lang-miss
fixed lack of translation for zh-CN
9 years ago
Lunny Xiao
c1aee61e5f
Merge pull request #18 from LefsFlarey/issue/3675
Fix 500 error caused by deleted users on issues (#3675 )
9 years ago
Flare
07176be616
Fix err not being nil
9 years ago
Matthias Loibl
7db899faaf
Merge pull request #17 from LefsFlarey/issue/3666
Fixed 404 caused by unexpected question mark
9 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
10 years ago
Lunny Xiao
3e4ab87e42
Merge pull request #119 from metalmatze/fix/editorconfig
Go uses ident size 8 with tabs. Nothing else.
9 years ago
Matthias Loibl
c51a8659b5
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.
9 years ago
Kim "BKC" Carlbäcker
f7cf1ec3e6
Merge pull request #90 from metalmatze/feature/tool-tests
Start to add tests for modules/base/tool
9 years ago
Lunny Xiao
ce010303dd
lack of translation for zh-CN
9 years ago
Lunny Xiao
093460f747
Merge pull request #115 from strk/license
Re-add "Gogs authors" copyright (togheter with "Gitea authors")
9 years ago
Lunny Xiao
63aedaa28d
Merge pull request #113 from avelino/update_locale
replace Gogs to Gitea on locale files
9 years ago
Sandro Santilli
bbbe884572
Fix typo
9 years ago
Sandro Santilli
e7c1b759e4
Re-add "Gogs authors" copyright (togheter with "Gitea authors")
9 years ago
Thiago Avelino
e95273be97
update copyright gitea license ( #112 )
9 years ago
Avelino
599c6bde7f
replace Gogs to Gitea on locale files
9 years ago
Lunny Xiao
6d0d0564ee
Merge pull request #73 from bkcsoft/gt/2164-release-pagination
Add Pagination to Releases-page (and de-duplicate pagination templates)
9 years ago
Matthias Loibl
fe69658651
Add test for IsTextFile()
9 years ago
Matthias Loibl
409b942687
Make long godoc comment 2 lines
9 years ago
Matthias Loibl
b3d3172863
Add test for IsLetter()
9 years ago
Matthias Loibl
573da4204c
Add test for Int64sToMap()
9 years ago
Matthias Loibl
92baf795af
Add tests for StringsToInt64s() & Int64sToStrings()
9 years ago
Matthias Loibl
38d6f53a3d
Add tests for TruncateString()
9 years ago
Matthias Loibl
c5c3ef46b7
Use TruncateString(sha1,10) in ShortSha and deprecate it.
9 years ago
Matthias Loibl
47941f01a1
Add tests for EllipsisString() and fix bug if param length < 3
9 years ago
Matthias Loibl
8834f9dd90
Test AvatarLink and refactor with tests passing
9 years ago
Matthias Loibl
758c8fa374
Vendor github.com/stretchr/testify for the assert package
9 years ago
Matthias Loibl
5bbea06803
Use testify/assert for all tests in tool_test.go
9 years ago
Matthias Loibl
8f027370f5
Add unit test for base.FileSize()
9 years ago
Matthias Loibl
019ca2b0ae
Start to add tests for modules/base/tool
9 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"
9 years ago
Matthias Loibl
b6e20b7454
Merge pull request #109 from go-gitea/lgtm
Added ignore_maintainers_file option to .lgtm
9 years ago
Sandro Santilli
1b83557078
Merge pull request #110 from strk/MixedCaseConst
Use MixedCase constant names
9 years ago
Sandro Santilli
1eda823eb3
more
9 years ago
Sandro Santilli
0daccd049a
And others
9 years ago
Sandro Santilli
bb9ea9bb35
more
9 years ago
Sandro Santilli
724cc54d49
Security protocols
9 years ago
Sandro Santilli
4a8da4b3a1
More mixage
9 years ago
Sandro Santilli
925af19903
More overlooks
9 years ago
Sandro Santilli
ff0696b23b
This one I overlooked before
9 years ago
Sandro Santilli
6909f35ba0
More...
9 years ago
Sandro Santilli
f2c96b8f93
More MixedCase consts
9 years ago
Sandro Santilli
58cc4e56fa
ACCESS_MODE_* -> AccessMode*
9 years ago
Sandro Santilli
d092b29641
More MixedCase consts
9 years ago
Sandro Santilli
8212aa70ba
Use MixedCase constant names
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
9 years ago
Thomas Boerger
b532af10a0
Added ignore_maintainers_file option to .lgtm
9 years ago
Thomas Boerger
91624c0e0e
Merge pull request #108 from go-gitea/go-sdk
Replaced gogits go-gogs-client with go-sdk
9 years ago
Sandro Santilli
e8b49f68aa
Merge pull request #103 from strk/GOGS_drop
Replace GOGS with GITEA in variable names
9 years ago