Commit Graph

4461 Commits

Author SHA1 Message Date
Thomas Boerger 26ae2ff86d Merge pull request #252 from lunny/lunny/golint_fixed_modules_httplib
Golint fixed for modules/httplib
2016-11-25 10:08:49 +01:00
Thomas Boerger d39266228c Merge pull request #251 from lunny/lunny/golint_modules_template
Golint fixed for modules/template
2016-11-25 10:08:37 +01:00
Thomas Boerger 7c5de1e393 Merge pull request #250 from lunny/lunny/golint_modules_markdown
Golint fixed for modules/markdown
2016-11-25 10:08:23 +01:00
Thomas Boerger a321ffbcce Merge pull request #249 from lunny/lunny/golint_modules_mailer
Golint fixed for modules/mailer
2016-11-25 10:07:52 +01:00
Thomas Boerger 900a21008c Added errcheck make task (#242) 2016-11-25 16:12:06 +08:00
Bwko c0ca6644ad Lint/issue &mail (#243)
* Lint models/release.go

* Lint models/ issue_label, issue_mail & mail.go
2016-11-25 16:11:12 +08:00
Bwko 081c2a9395 Lint models/token.go (#244) 2016-11-25 16:03:52 +08:00
Lunny Xiao 76604d8f90 fixed test build error 2016-11-25 16:02:10 +08:00
Lunny Xiao bd5ea3e222 Golint fixed for modules/httplib 2016-11-25 14:32:09 +08:00
Lunny Xiao 229ec927b9 Golint fixed for modules/template 2016-11-25 14:23:48 +08:00
Lunny Xiao 304bbd3f25 golint fixed for modules/markdown 2016-11-25 09:58:05 +08:00
Lunny Xiao 2e565bc1c4 Golint fixed for modules/mailer 2016-11-25 09:44:04 +08:00
Andrey Nering 6a28909f40 CONTRIBUTING.md: link to "Faster reviews" document (#229)
* CONTRIBUTING.md: link to "Faster reviews" document

* CONTRIBUTING.md: small fixes
2016-11-25 09:25:34 +08:00
Thomas Boerger 21e8deed89 Merge pull request #96 from metalmatze/feature/drone-config
Create a first draft for .drone.yml
2016-11-24 21:36:47 +01:00
Lunny Xiao 450969c158 test database is connect OK after db config initialized (#239) 2016-11-24 22:30:36 +08:00
Thomas Boerger ba2e75a0ab Merge pull request #238 from go-gitea/make-install
Really use go install on make install
2016-11-24 15:29:17 +01:00
Thomas Boerger fd090dc29b
Added matrix drone builds 2016-11-24 14:48:40 +01:00
Matthias Loibl 4c03974326
Create a first draft for .drone.yml 2016-11-24 14:47:36 +01:00
Thomas Boerger cb0b91cdc9
Dropped travis config 2016-11-24 14:41:59 +01:00
Thomas Boerger fd13b71fb2
Added drone instead of travis detection to makefile 2016-11-24 14:41:30 +01:00
Thomas Boerger cd7e661870
Added dummy tasks for mysql and pgsql tests 2016-11-24 14:40:56 +01:00
Thomas Boerger cc8c57458f
Really use go install on make install 2016-11-24 14:38:37 +01:00
Thomas Boerger b6b616b336 Merge pull request #228 from Bwko/feature/short-hash-download
Added short-hash support to downloads
2016-11-24 13:38:14 +01:00
Thomas Boerger 289f819f78 Merge pull request #237 from strk/login_source-lint
Lint models/login_source.go
2016-11-24 13:37:01 +01:00
Sandro Santilli 1c3044b873 Lint models/login_source.go 2016-11-24 12:34:38 +01:00
Bwko ff0d1bd602 Added short-hash support to downloads 2016-11-24 11:45:16 +01:00
Thomas Boerger 2ccdcda072 Merge pull request #235 from lunny/lunny/golint_modules_user
golint fixed for modules/user
2016-11-24 11:33:47 +01:00
Thomas Boerger 0a66c2a2d9 Merge pull request #234 from strk/issue-lint
Lint issue.go
2016-11-24 11:30:39 +01:00
Thomas Boerger e512411863 Merge pull request #233 from strk/git_diff-lint
Lint git_diff.go
2016-11-24 11:29:51 +01:00
Thomas Boerger 03b6880089 Merge pull request #232 from strk/error-lint
Lint error.go
2016-11-24 11:29:15 +01:00
Thomas Boerger 8ba0ac976f Merge pull request #231 from lunny/lunny/golint_modules_base
golint fixed for modules/base
2016-11-24 11:28:31 +01:00
Thomas Boerger 1cfbfb3812 Merge pull request #212 from strk/action-lint
Lint action.go
2016-11-24 11:17:04 +01:00
Thomas Boerger f0cfb1cb03 Merge pull request #192 from strk/make-default-target
Have the default 'all' rule just build
2016-11-24 11:13:35 +01:00
Thomas Boerger 0581210a76 Merge pull request #176 from strk/manager-lint
Lint and document manager api
2016-11-24 11:10:34 +01:00
Lunny Xiao 46ecb0a14d golint fixed for modules/user 2016-11-24 17:37:11 +08:00
Sandro Santilli 8aa960f129 Actually document the missing bits 2016-11-24 09:41:11 +01:00
Sandro Santilli 3fba29c571 Expand documentations 2016-11-24 09:30:08 +01:00
Sandro Santilli 0a61d54a9c Expand documentation a bit more 2016-11-24 09:20:28 +01:00
Sandro Santilli dd9d0f3732 Lint action.go 2016-11-24 09:03:29 +01:00
Sandro Santilli 170f2e98cc Lint error.go
This was done semi-programmatically, not really documenting anything
2016-11-24 09:03:17 +01:00
Sandro Santilli 6e644726d0 Lint git_diff.go
Semi-automatic linting (don't really document things)
2016-11-24 09:02:58 +01:00
Sandro Santilli 4dd1eb57bd Lint issue.go 2016-11-24 09:02:44 +01:00
Sandro Santilli 5301a5db3a Have the deault 'all' rule just build
Clean and test are saner being seperate targets
2016-11-24 09:02:32 +01:00
Sandro Santilli ad3d6b7fff Lint and document manager api 2016-11-24 09:02:10 +01:00
Lunny Xiao 6ed7f269f1 Move init functions from routers/install to routers/init (#230)
* move init functions from routers/install to routers/init

* copyright typo
2016-11-24 15:40:16 +08:00
Lunny Xiao fb3bb69ec6 golint fixed for modules/base 2016-11-24 15:17:44 +08:00
Lunny Xiao 3917ed45de golint fixed for routers (#208) 2016-11-24 15:04:31 +08:00
stroucki 3a3782bb7f Handle ssh key import better (#224)
* Handle user ssh key input better

ssh_key: when user submitted keys had a newline at the end, strings.Split
would have created a slice with an empty last element, and the key type
check would be incorrect. Perhaps a better way is to look for 'ssh-rsa' or
'ssh-dsa' at the beginning of the string, but this is simple.

* ssh_key: correct indentation
2016-11-24 08:52:55 +08:00
Lunny Xiao cb1602840c golint fixed for routers/repo/branch.go (#206) 2016-11-22 16:32:00 +08:00
Sandro Santilli c25063d834 Lint webhook.go, unexports simpleMarshalJSON (#198) 2016-11-22 14:42:52 +08:00