Add golangci #6418

Merged
kolaente merged 119 commits from golanci into master 2019-06-12 19:41:29 +00:00

119 Commits

Author SHA1 Message Date
4a865f4361
Merge branch 'master' into golanci 2019-06-12 08:45:49 +08:00
kolaente
9f5ba0da30
Merge branch 'master' into golanci 2019-06-11 22:10:15 +02:00
c760c029c3
Fix ShowSubcommandHelp behaviour
Signed-off-by: konrad <konrad@kola-entertainments.de>
2019-06-11 20:56:20 +02:00
kolaente
cbf861d38a
Re-added validation 2019-06-11 10:58:00 +02:00
kolaente
097b0dd05f
Merge branch 'master' of github.com:go-gitea/gitea into golanci 2019-06-11 10:21:15 +02:00
kolaente
e7ca38d23d
Merge branch 'master' into golanci 2019-06-10 22:42:15 +02:00
konrad
efb4ab7b07
Smaller fixes 2019-06-10 20:44:53 +02:00
kolaente
0866502120
Merge branch 'master' into golanci 2019-06-10 20:33:53 +02:00
kolaente
86d62f4a45
Merge branch 'master' into golanci 2019-06-10 16:01:14 +02:00
kolaente
4dc710b520
Merge branch 'master' into golanci 2019-06-10 12:39:01 +02:00
kolaente
914e5a53f5
Fixed lint errors 2019-06-09 21:59:02 +02:00
kolaente
ba5d2c085b
merge with gitea-master 2019-06-09 21:57:40 +02:00
konrad
7294d13d59
Added extra method to pass the xorm session to getReleaseAttachments 2019-06-06 21:26:40 +02:00
konrad
34cfe33b33
Fixed instance of the xorm not being passed and used correctly 2019-06-06 20:19:32 +02:00
konrad
368470893b
removed unneeded named return 2019-06-06 19:30:47 +02:00
konrad
99c9837113
Always scoped errors in defer function calls 2019-06-06 18:59:35 +02:00
kolaente
6f53a9cb7d
Fixed wiki test 2019-06-06 15:33:39 +02:00
kolaente
54f0f419fe
Fixed lint errors 2019-06-06 10:16:37 +02:00
kolaente
853fd7b502
merge with gitea-master 2019-06-06 10:12:00 +02:00
konrad
d9c8a5f623
Scoped tmp path wiki removing 2019-05-30 21:54:38 +02:00
konrad
9da3590497
Only log the error when closing an sql row set 2019-05-30 21:38:27 +02:00
konrad
19adbe08a8
Log the error when deleting/restoring because of a previous error 2019-05-30 21:19:54 +02:00
konrad
2c9c43f343
Always return, don't ignore 2019-05-30 21:15:11 +02:00
konrad
e07b77099e
Log error instead of returning it when rolling a session back 2019-05-30 21:12:54 +02:00
konrad
38691f5a67
Log error instead of returning it when rolling a session back 2019-05-30 21:12:13 +02:00
konrad
e43c3f920e
Merge remote-tracking branch 'origin/golanci' into golanci 2019-05-30 21:09:39 +02:00
kolaente
427f778687
Update routers/repo/http.go
Co-Authored-By: ngourdon <31291059+ngourdon@users.noreply.github.com>
2019-05-30 21:09:14 +02:00
kolaente
2d9eeedfc9
Update routers/repo/http.go
Co-Authored-By: ngourdon <31291059+ngourdon@users.noreply.github.com>
2019-05-30 21:09:02 +02:00
konrad
fc7d386a0d
Merge remote-tracking branch 'origin/golanci' into golanci 2019-05-30 21:08:35 +02:00
kolaente
ade65b2ca7
Update models/login_source.go
Co-Authored-By: ngourdon <31291059+ngourdon@users.noreply.github.com>
2019-05-30 21:08:18 +02:00
konrad
5164aa0095
Fixed some lint issues 2019-05-30 21:06:53 +02:00
konrad
e6409711f2
Merge branch 'master' of github.com:go-gitea/gitea into golanci 2019-05-30 21:05:22 +02:00
konrad
40be3932fe
Fixed lint 2019-05-29 19:39:33 +02:00
konrad
25b580029f
Merge branch 'master' into golanci 2019-05-29 19:38:18 +02:00
kolaente
54d9a6f78d
Merge branch 'master' into golanci 2019-05-28 16:15:47 +02:00
kolaente
b3b6042e5d
Merge branch 'master' into golanci 2019-05-28 11:37:09 +02:00
kolaente
3feb9eb888
Merge branch 'master' into golanci 2019-05-22 19:13:08 +02:00
konrad
11b2509d00
css 2019-05-21 20:46:28 +02:00
konrad
7e203009fb
Fixed a lot of lint issues 2019-05-21 20:23:35 +02:00
konrad
8671bcb6ff
Merge branch 'master' into golanci 2019-05-21 19:51:26 +02:00
kolaente
376a9f499a
Merge branch 'master' into golanci 2019-05-13 22:55:49 +02:00
kolaente
3cca1da2ed
Merge branch 'master' into golanci 2019-05-11 22:42:11 +02:00
konrad
b45517af90
Merge branch 'master' into golanci 2019-05-11 19:21:40 +02:00
konrad
8a45df9e77
Fixed unneded raw strings 2019-05-11 19:19:40 +02:00
kolaente
1fb8eadf85
Merge branch 'master' into golanci 2019-05-10 21:41:25 +02:00
konrad
2a8aa70909
Fixed css 2019-05-08 21:50:42 +02:00
konrad
f1b90f0a85
Merge remote-tracking branch 'origin/golanci' into golanci 2019-05-08 21:48:20 +02:00
konrad
c6cf8e3a79
More error handling + sort order 2019-05-08 21:46:55 +02:00
2143ceaaa3
Update modules/markup/html.go
Co-Authored-By: kolaente <konrad@kola-entertainments.de>
2019-05-08 21:45:59 +02:00
konrad
2a461f111d
More error handling 2019-05-08 21:42:12 +02:00
kolaente
a8dfe8bfca
Merge branch 'master' into golanci 2019-05-08 21:37:49 +02:00
konrad
dab7850498
More error handling 2019-05-08 21:37:06 +02:00
konrad
25bf975299
Sorted imports 2019-05-08 21:29:40 +02:00
konrad
26cf16805e
Fixed Wrong change 2019-05-08 21:28:15 +02:00
konrad
5bd754fefe
Merge branch 'master' of github.com:go-gitea/gitea into golanci 2019-05-08 21:05:59 +02:00
kolaente
160e86fbeb
Merge branch 'master' into golanci 2019-05-08 10:35:45 +02:00
kolaente
cab2bda44f
Merge branch 'master' into golanci 2019-05-07 12:36:28 +02:00
kolaente
d8456519fd
Merge branch 'master' into golanci 2019-05-05 21:34:15 +02:00
konrad
8fd59622a0
Removed fixme 2019-05-05 21:29:37 +02:00
konrad
0d1488a75d
Fixed lint issues 2019-05-05 20:57:11 +02:00
konrad
d6a6f2d58c
Merge branch 'master' into golanci 2019-05-05 20:54:46 +02:00
kolaente
01c390ac48
Merge branch 'master' into golanci 2019-05-03 11:11:13 +02:00
kolaente
6db190869a
Merge branch 'master' into golanci 2019-05-02 15:14:00 +02:00
kolaente
ca25205ded
Merge branch 'master' into golanci 2019-04-30 20:27:09 +02:00
kolaente
7ddb9df95e
Merge branch 'master' into golanci 2019-04-30 11:37:41 +02:00
kolaente
fe9b4b7be2
Merge branch 'master' into golanci 2019-04-29 14:02:52 +02:00
konrad
751900cda8
Fixed lint errors 2019-04-27 09:41:52 +02:00
kolaente
49b03ac1b6
Merge with gitea-master 2019-04-26 21:46:45 +02:00
kolaente
676eb5f8a2
Merge branch 'master' into golanci 2019-04-24 23:17:19 +02:00
kolaente
292b374ea2
Merge branch 'master' into golanci 2019-04-23 21:58:50 +02:00
kolaente
bac180a9ff
Merge remote-tracking branch 'origin/golanci' into golanci 2019-04-22 23:08:34 +02:00
kolaente
1f213bdb11
fmt 2019-04-22 23:08:23 +02:00
kolaente
fed01f682b
Merge branch 'master' into golanci 2019-04-22 22:59:00 +02:00
kolaente
8cd3b09ea3
rearranged imports 2019-04-22 22:58:38 +02:00
8232200613
Update modules/lfs/locks.go
Co-Authored-By: kolaente <konrad@kola-entertainments.de>
2019-04-22 22:46:26 +02:00
e6dc55d989
Update modules/lfs/locks.go
Co-Authored-By: kolaente <konrad@kola-entertainments.de>
2019-04-22 22:46:17 +02:00
3a4a36956f
Update modules/lfs/locks.go
Co-Authored-By: kolaente <konrad@kola-entertainments.de>
2019-04-22 22:46:02 +02:00
kolaente
96f2148444
Use crypto/rand instead of math/rand 2019-04-22 22:37:48 +02:00
kolaente
3240b3720e
Fixed lint issues 2019-04-22 12:25:44 +02:00
kolaente
207a9c382e
Merge with gitea-master 2019-04-22 12:13:44 +02:00
konrad
0566bdfcb1
Fixed lint errors 2019-04-18 18:30:20 +02:00
kolaente
c341b60fd5
Fixed some lint issues 2019-04-18 14:24:18 +02:00
kolaente
df7f0bffc2
Fixed some lint issues 2019-04-18 14:02:16 +02:00
kolaente
75b352e466
merge with gitea-master 2019-04-18 12:12:53 +02:00
kolaente
9c85563912
Merge branch 'master' of github.com:go-gitea/gitea into golanci 2019-04-17 15:16:40 +02:00
kolaente
eaa5a1514e
Fixed some failing unit tests 2019-04-17 11:06:28 +02:00
kolaente
f9e650f895
Fixed lint errors 2019-04-17 10:31:40 +02:00
kolaente
9f04b4e6fb
Merge branch 'master' of github.com:go-gitea/gitea into golanci 2019-04-17 10:18:38 +02:00
kolaente
ba9aaef9e4
fixed lint errors 2019-04-16 22:27:58 +02:00
kolaente
7a9008781a
Merge branch 'master' into golanci 2019-04-16 22:19:22 +02:00
kolaente
bf83f6368d
Merge branch 'master' into golanci 2019-04-15 22:26:36 +02:00
kolaente
d923a725d9
fixed lint errors 2019-04-15 11:34:58 +02:00
kolaente
ad2c6423cb
fixed lint errors 2019-04-15 11:26:49 +02:00
kolaente
5a498c65b9
fixed lint errors 2019-04-15 11:26:38 +02:00
kolaente
bce1b4cabe
Merge branch 'master' into golanci 2019-04-15 10:39:24 +02:00
kolaente
612e09ad79
fixed lint errors 2019-04-14 17:33:34 +02:00
kolaente
00c0107422
Updated version 2019-04-14 17:27:05 +02:00
kolaente
52d07f625f
Fix error handling 2019-04-14 17:24:51 +02:00
kolaente
e426b402d3
Fix error handling 2019-04-14 17:18:56 +02:00
kolaente
55232087ad
Merge with gitea-master 2019-04-14 17:11:41 +02:00
konrad
a2a16b99fd
Fixed lint errors 2019-04-11 18:50:37 +02:00
konrad
073e9c0e6a
Merge with gitea-master 2019-04-11 18:47:23 +02:00
konrad
18bf983c71
Fixed lint errors 2019-04-06 10:12:48 +02:00
konrad
ed283122a3
Removed unused template file 2019-04-06 09:50:29 +02:00
konrad
1a7609c90c
Merge with gitea-master 2019-04-06 09:49:36 +02:00
konrad
0dad3b6fbd
Merge branch 'master' of github.com:go-gitea/gitea into golanci 2019-04-01 18:47:11 +02:00
konrad
c5b223a0a4
Merge branch 'master' of github.com:go-gitea/gitea into golanci 2019-03-27 21:19:40 +01:00
konrad
45225350b7
Renamed lint to revive 2019-03-27 21:18:58 +01:00
konrad
e18f58470e
Fixed more issues 2019-03-27 20:26:41 +01:00
konrad
95b89b1e24
Merge with gitea-master 2019-03-27 20:20:45 +01:00
konrad
5a3bbe14ff
Merge branch 'gitea-master' into golanci
# Conflicts:
#	models/repo_permission.go
2019-03-24 18:06:59 +01:00
konrad
c7aedad9ae
Fixed more issues 2019-03-24 18:02:50 +01:00
konrad
db707e9300
Fixed most issues 2019-03-24 18:00:41 +01:00
konrad
26accd2d87
Fixed some more lint errors 2019-03-23 22:41:56 +01:00
konrad
5dc1bb02b5
Fixed err 2019-03-23 22:27:59 +01:00
konrad
49b7083816
Fixed more errors 2019-03-23 22:21:57 +01:00
konrad
a4a1fe0093
Fixed a lot of lint errs 2019-03-23 22:13:35 +01:00
konrad
86b0ce5cbf
Autofix 2019-03-23 20:34:47 +01:00
konrad
538ededf52
Added golangci-lint 2019-03-23 20:34:41 +01:00