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
Bwko
2a449bd4b1
Fix typos
2016-11-21 20:08:21 +01:00
Lunny Xiao
b2cce12980
golint fixed for routers/repo/wiki.go ( #203 )
2016-11-21 18:03:42 +08:00
Lunny Xiao
f0df8e8dfa
golint fixed for routers/repo/middlewares.go ( #204 )
2016-11-21 18:03:37 +08:00
Lunny Xiao
18dc4f1023
golint fixed for routers/repo/view.go ( #205 )
2016-11-21 18:03:29 +08:00
Thomas Boerger
1d9576d5ea
Merge pull request #202 from lunny/lunny/golint_fixed_routers_admin
...
go lint fixed for routers/admin
2016-11-21 10:37:14 +01:00
Lunny Xiao
659bc2814c
go lint fixed for routers/admin
2016-11-21 11:29:25 +08:00
Andrey Nering
bd13c81684
Merge pull request #196 from Bwko/fix/commit-view-panic
...
Fix panic when no user is signed in
2016-11-19 14:30:37 -02:00
Bwko
7b75d93f3d
Fix for anonymous users to switch views
2016-11-19 16:53:34 +01:00
Bwko
fc3ed8a1de
Fix panic when no user is signed in
...
See #188
2016-11-19 12:43:10 +01:00
Lunny Xiao
cf045b029c
golint fixed for parts of routers root, dev, user and org dirs ( #167 )
...
* golint fixed for parts of routers root, dev and org dirs
* add user/auth.go golint fixed
* rename unnecessary exported to unexported and user dir golint fixed
2016-11-18 11:03:03 +08:00
Andrey Nering
91953ae9b4
Merge pull request #187 from strk/vendor
...
Add vendoring section
2016-11-17 17:35:48 -02:00
Sandro Santilli
39b3fcad1d
Wrap `vendor/` in backtics
2016-11-17 17:06:13 +01:00
Sandro Santilli
4faf9c213e
Add vendoring section
...
Closes #178
2016-11-17 16:49:12 +01:00
Andrey Nering
d884312223
Merge pull request #100 from ethantkoenig/develop
...
API endpoints for stars
2016-11-17 07:15:15 -02:00
Ethan Koenig
0834e492c0
API endpoints for stars
2016-11-16 22:51:54 -05:00
Thibault Meyer
871c964ef7
Upgrade vendor "git" ( #175 )
2016-11-15 23:24:08 +08:00
Matthias Loibl
7596e41027
Merge pull request #171 from andreynering/gitea/editorconfig-crlf
...
.editorconfig: do not specify line ending
2016-11-15 12:06:41 +01:00
Thomas Boerger
56a8cf523b
fix variable assigned and not used. ( #173 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-11-15 07:53:16 +01:00
Bo-Yi Wu
d9ffe99972
fix variable assigned and not used.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-11-15 14:16:27 +08:00
Kim "BKC" Carlbäcker
07a0753420
Merge pull request #169 from strk/allow-update-draft-releases
...
Allow updating draft releases while keeping them as draft
2016-11-14 21:48:21 +01:00
Andrey Nering
6cf66117e7
Merge pull request #170 from strk/wiki-lint
...
Fix lint errors in models/wiki (just add methods docs)
2016-11-14 17:34:16 -02:00
Andrey Nering
a285c07d5e
.editorconfig: do not specify line ending
...
That is annoying on Windows, since the editor will change the file if
you just open it. Git will checking as LF anyway.
2016-11-14 15:48:44 -02:00
Sandro Santilli
cd339263d9
Allow updating draft releases while keeping them as draft
...
Closes #162
2016-11-14 18:02:21 +01:00
Sandro Santilli
592a4ec4d3
Fix lint errors in models/wiki (just add methods docs)
...
See #70
2016-11-14 18:01:46 +01:00
Andrey Nering
81f227eace
Merge pull request #168 from appleboy/gofmt
...
fix gofmt error.
2016-11-14 15:00:02 -02:00
Bo-Yi Wu
5054020c1f
fix gofmt error.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-11-15 00:03:37 +08:00
Bo-Yi Wu
904deb7d6a
Fix broken link for Contributors Guide ( #166 )
...
* Fix broken link for Contributors Guide
* remove ./
2016-11-14 08:17:15 +01:00