Commit Graph

4670 Commits (2342df183b64794db74f399759f16c71e2dd543e)

Author SHA1 Message Date
Matthias Loibl f81711f40d
Test AvatarLink and refactor with tests passing 2016-11-07 23:31:39 +01:00
Matthias Loibl a5d0b4de5b
Vendor github.com/stretchr/testify for the assert package 2016-11-07 23:31:39 +01:00
Matthias Loibl 70fb1cf9d1
Use testify/assert for all tests in tool_test.go 2016-11-07 23:29:42 +01:00
Matthias Loibl d874a9bf6b
Add unit test for base.FileSize() 2016-11-07 23:29:42 +01:00
Matthias Loibl 11c9160cd3
Start to add tests for modules/base/tool 2016-11-07 23:29:41 +01:00
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"
2016-11-07 18:58:22 -02:00
Matthias Loibl c8c748aea6 Merge pull request #109 from go-gitea/lgtm
Added ignore_maintainers_file option to .lgtm
2016-11-07 20:07:47 +01:00
Sandro Santilli 01a7674b5c Merge pull request #110 from strk/MixedCaseConst
Use MixedCase constant names
2016-11-07 19:22:21 +01:00
Sandro Santilli b7bf9dfd28 more 2016-11-07 17:55:31 +01:00
Sandro Santilli aadd7dcdc3 And others 2016-11-07 17:53:22 +01:00
Sandro Santilli b3828e38a5 more 2016-11-07 17:41:28 +01:00
Sandro Santilli 05fd9d3f09 Security protocols 2016-11-07 17:38:43 +01:00
Sandro Santilli 7612b5ec40 More mixage 2016-11-07 17:37:28 +01:00
Sandro Santilli 64196d4036 More overlooks 2016-11-07 17:35:34 +01:00
Sandro Santilli f14232d2e9 This one I overlooked before 2016-11-07 17:33:03 +01:00
Sandro Santilli 60c82a8780 More... 2016-11-07 17:30:04 +01:00
Sandro Santilli f6a11e0de1 More MixedCase consts 2016-11-07 17:24:59 +01:00
Sandro Santilli f388661bda ACCESS_MODE_* -> AccessMode* 2016-11-07 17:20:37 +01:00
Sandro Santilli 0b62aeb495 More MixedCase consts 2016-11-07 17:08:21 +01:00
Sandro Santilli 80eea77953 Use MixedCase constant names
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
2016-11-07 17:05:08 +01:00
Thomas Boerger d944bdec47
Added ignore_maintainers_file option to .lgtm 2016-11-07 16:36:37 +01:00
Thomas Boerger 5d430c9e68 Merge pull request #108 from go-gitea/go-sdk
Replaced gogits go-gogs-client with go-sdk
2016-11-07 16:31:17 +01:00
Sandro Santilli ee963f67c1 Merge pull request #103 from strk/GOGS_drop
Replace GOGS with GITEA in variable names
2016-11-07 16:30:48 +01:00
Joubert RedRat 9c434ccc50 Change binary name from main to gitea 2016-11-07 13:26:19 -02:00
Joubert RedRat 28bee28102 Replace Gogs to Gitea in installation options 2016-11-07 13:26:19 -02:00
Sandro Santilli f430d26f7e Hush dangerous GNU comment, mark "check" rule as phony 2016-11-07 13:25:50 -02:00
Sandro Santilli 3f18111cbe Add "check" alias for testing
Follows GNU Coding Standards, see
https://www.gnu.org/prep/standards/html_node/Standard-Targets.html#Standard-Targets
2016-11-07 13:25:50 -02:00
Thomas Boerger 4c6c16f358
Replaced go-gogs-client with go-sdk imports 2016-11-07 16:10:32 +01:00
Thomas Boerger 77f9c7e571
Fixed links to sdk docs 2016-11-07 16:10:32 +01:00
Thomas Boerger e378648c79
Added updated go-sdk 2016-11-07 16:10:32 +01:00
Thomas Boerger d1b14fef56
Stop ignoring gitea in general 2016-11-07 16:10:32 +01:00
Sandro Santilli 30be1f4826 Fix typo in unused constant name 2016-11-07 16:06:21 +01:00
Sandro Santilli 145ab5c89a Rename and update init files to use "gitea" instead of "gogs"
Closes #102
2016-11-07 16:06:21 +01:00
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
2016-11-07 16:05:18 +01:00
Thomas Boerger 6f3097f9e6
Dropped github.com/gogits/go-gogs-client vendored dep 2016-11-07 15:51:49 +01:00
Thomas Boerger 3e13e16b3f
Dropped client from version check 2016-11-07 14:49:25 +01:00
Thomas Boerger a6d683f498
Link to godoc instead of Gogs wiki 2016-11-07 14:49:25 +01:00
Thomas Boerger ceb920802a
Dropped link to Gogs docs from template 2016-11-07 14:49:25 +01:00
Thomas Boerger 6bf9910975
Set correct doc url for go-sdk 2016-11-07 14:49:25 +01:00
Lunny Xiao 1b962bac0b Merge pull request #97 from andreynering/gitea/diff-colors
CSS: Stronger colors for diffs
2016-11-07 20:39:20 +08:00
Kim "BKC" Carlbäcker 562f9b6eae Merge all pagination-templates into 'base/paginate'
to reduce code-duplicity
2016-11-07 12:44:29 +01:00
Kim "BKC" Carlbäcker 86fb1a0cb1 Add Pagination to Releases-page 2016-11-07 11:41:09 +01:00
Rachid Zarouali be5607e510 Merge pull request #50 from 0xbaadf00d/feature/2583-disablehttpcloning
Disable HTTP cloning
2016-11-07 11:23:30 +01:00
Odin Ugedal 5a6f7edde9 Use the rev-parsed sha1 commit id (#98)
Use the rev-parsed sha1 commit id in urls to repo files,
instead of the abbreviated version.
2016-11-06 19:15:44 -02:00
Andrey Nering ef5fc3c959 CSS: Stronger colors for diffs 2016-11-06 17:57:45 -02:00
Matthias Loibl 92c48dabe3 Merge pull request #95 from odinuge/readmeTxt
Fix rendering of non-markdown readme files
2016-11-06 19:54:46 +01:00
Odin Ugedal 530f6c1da4
Fix rendering of non-markdown readme files 2016-11-06 16:02:42 +01:00
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)
2016-11-06 11:18:34 -02:00
LefsFlare 55a4d46f5d Adds checking of reserved keywords against team names (#22) 2016-11-06 10:07:03 +01:00
Thibault Meyer fe8bfa54de Ordering team by name ascending except for 'Owners' (#48) 2016-11-06 09:59:21 +01:00