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.
8 years ago
Kim "BKC" Carlbäcker
f7cf1ec3e6
Merge pull request #90 from metalmatze/feature/tool-tests
Start to add tests for modules/base/tool
8 years ago
Lunny Xiao
093460f747
Merge pull request #115 from strk/license
Re-add "Gogs authors" copyright (togheter with "Gitea authors")
8 years ago
Lunny Xiao
63aedaa28d
Merge pull request #113 from avelino/update_locale
replace Gogs to Gitea on locale files
8 years ago
Sandro Santilli
bbbe884572
Fix typo
8 years ago
Sandro Santilli
e7c1b759e4
Re-add "Gogs authors" copyright (togheter with "Gitea authors")
8 years ago
Thiago Avelino
e95273be97
update copyright gitea license ( #112 )
8 years ago
Avelino
599c6bde7f
replace Gogs to Gitea on locale files
8 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)
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
758c8fa374
Vendor github.com/stretchr/testify for the assert package
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
Matthias Loibl
b6e20b7454
Merge pull request #109 from go-gitea/lgtm
Added ignore_maintainers_file option to .lgtm
8 years ago
Sandro Santilli
1b83557078
Merge pull request #110 from strk/MixedCaseConst
Use MixedCase constant names
8 years ago
Sandro Santilli
1eda823eb3
more
8 years ago
Sandro Santilli
0daccd049a
And others
8 years ago
Sandro Santilli
bb9ea9bb35
more
8 years ago
Sandro Santilli
724cc54d49
Security protocols
8 years ago
Sandro Santilli
4a8da4b3a1
More mixage
8 years ago
Sandro Santilli
925af19903
More overlooks
8 years ago
Sandro Santilli
ff0696b23b
This one I overlooked before
8 years ago
Sandro Santilli
6909f35ba0
More...
8 years ago
Sandro Santilli
f2c96b8f93
More MixedCase consts
8 years ago
Sandro Santilli
58cc4e56fa
ACCESS_MODE_* -> AccessMode*
8 years ago
Sandro Santilli
d092b29641
More MixedCase consts
8 years ago
Sandro Santilli
8212aa70ba
Use MixedCase constant names
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
8 years ago
Thomas Boerger
b532af10a0
Added ignore_maintainers_file option to .lgtm
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
a9f1cb3fba
Change binary name from main to gitea
8 years ago
Joubert RedRat
9bcd8444ad
Replace Gogs to Gitea in installation options
8 years ago
Sandro Santilli
5359fddd29
Hush dangerous GNU comment, mark "check" rule as phony
8 years ago
Sandro Santilli
d2cd448138
Add "check" alias for testing
Follows GNU Coding Standards, see
https://www.gnu.org/prep/standards/html_node/Standard-Targets.html#Standard-Targets
8 years ago
Thomas Boerger
a2f2fa9326
Replaced go-gogs-client with go-sdk imports
8 years ago
Thomas Boerger
54a9e8c1c4
Fixed links to sdk docs
8 years ago
Thomas Boerger
b3a8dafaa5
Added updated go-sdk
8 years ago
Thomas Boerger
945e590cb2
Stop ignoring gitea in general
8 years ago
Sandro Santilli
78f6bac474
Fix typo in unused constant name
8 years ago
Sandro Santilli
8e42ef83d0
Rename and update init files to use "gitea" instead of "gogs"
Closes #102
8 years ago