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
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
59e6bd4aa4
Dropped github.com/gogits/go-gogs-client vendored dep
8 years ago
Thomas Boerger
596a071393
Dropped client from version check
8 years ago
Thomas Boerger
b07affc15c
Link to godoc instead of Gogs wiki
8 years ago
Thomas Boerger
9f576375fe
Dropped link to Gogs docs from template
8 years ago
Thomas Boerger
d9a7026ca3
Set correct doc url for go-sdk
8 years ago
Lunny Xiao
aa621a15b7
Merge pull request #97 from andreynering/gitea/diff-colors
CSS: Stronger colors for diffs
8 years ago