]> source.dussan.org Git - gitea.git/log
gitea.git
7 years agogolint fixed for modules/auth
Lunny Xiao [Sun, 27 Nov 2016 06:03:59 +0000 (14:03 +0800)]
golint fixed for modules/auth

7 years agoMerge pull request #281 from Bwko/Lint/typos
Thomas Boerger [Sun, 27 Nov 2016 13:01:50 +0000 (14:01 +0100)]
Merge pull request #281 from Bwko/Lint/typos

Fixes typos

7 years agoFixes typos 281/head
Bwko [Sun, 27 Nov 2016 11:59:12 +0000 (12:59 +0100)]
Fixes typos

7 years agoMerge pull request #264 from Bwko/lint/org.go
Thomas Boerger [Sun, 27 Nov 2016 11:18:20 +0000 (12:18 +0100)]
Merge pull request #264 from Bwko/lint/org.go

Lint models/org.go

7 years agoMerge pull request #269 from lunny/lunny/golint_modules_log
Thomas Boerger [Sun, 27 Nov 2016 11:16:35 +0000 (12:16 +0100)]
Merge pull request #269 from lunny/lunny/golint_modules_log

Golint fixed for modules/log

7 years agoMerge pull request #266 from Bwko/lint/repo_mirror
Thomas Boerger [Sun, 27 Nov 2016 11:15:01 +0000 (12:15 +0100)]
Merge pull request #266 from Bwko/lint/repo_mirror

Lint models/repo_mirror.go

7 years agoMerge pull request #268 from Bwko/lint/repo_branch
Thomas Boerger [Sun, 27 Nov 2016 11:14:25 +0000 (12:14 +0100)]
Merge pull request #268 from Bwko/lint/repo_branch

Lint models/repo_branch.go

7 years agoMerge pull request #267 from Bwko/lint/ssh_key
Thomas Boerger [Sun, 27 Nov 2016 11:13:43 +0000 (12:13 +0100)]
Merge pull request #267 from Bwko/lint/ssh_key

Lint models/ssh_key.go

7 years agoMerge pull request #265 from Bwko/lint/access.go
Thomas Boerger [Sun, 27 Nov 2016 11:12:56 +0000 (12:12 +0100)]
Merge pull request #265 from Bwko/lint/access.go

Lint models/access.go

7 years agoMerge pull request #263 from Bwko/lint/user_email
Thomas Boerger [Sun, 27 Nov 2016 11:12:02 +0000 (12:12 +0100)]
Merge pull request #263 from Bwko/lint/user_email

Lint models/user_email.go

7 years agoMerge pull request #273 from typeless/master
Thomas Boerger [Sun, 27 Nov 2016 11:11:04 +0000 (12:11 +0100)]
Merge pull request #273 from typeless/master

modules/process: add ExecDirEnv (next to ExecDir)

7 years agomodules/process: add ExecDirEnv (next to ExecDir) 273/head
Mura Li [Sun, 27 Nov 2016 02:10:08 +0000 (10:10 +0800)]
modules/process: add ExecDirEnv (next to ExecDir)

Add a sibling to ExecDir which is capable of specifying environment variables,
so that we can invoke `git` with GIT_INDEX_FILE, GIT_DIR, etc..

For #258

7 years agoMerge pull request #272 from andreynering/gitea/location-cherrypick-a3ea4b8
Andrey Nering [Sun, 27 Nov 2016 10:49:26 +0000 (08:49 -0200)]
Merge pull request #272 from andreynering/gitea/location-cherrypick-a3ea4b8

Update locales and add Swedish

7 years agoMerge pull request #270 from andreynering/gitea/http-headers-download
Andrey Nering [Sun, 27 Nov 2016 10:48:26 +0000 (08:48 -0200)]
Merge pull request #270 from andreynering/gitea/http-headers-download

Fix HTTP headers for issue attachment download

7 years agoGolint fixed for modules/setting (#262)
Lunny Xiao [Sun, 27 Nov 2016 10:14:25 +0000 (18:14 +0800)]
Golint fixed for modules/setting (#262)

* golint fixed for modules/setting

* typo fixed and renamed UNIXSOCKET to UnixSocket

7 years agoUpdate locales and add Swedish 272/head
Unknwon [Sun, 20 Nov 2016 02:40:13 +0000 (21:40 -0500)]
Update locales and add Swedish

Signed-off-by: Andrey Nering <andrey.nering@gmail.com>
7 years agoFix Chrome not liking commas 270/head
Andrey Nering [Sat, 26 Nov 2016 13:26:03 +0000 (11:26 -0200)]
Fix Chrome not liking commas

7 years agoFix HTTP headers for issue attachment download
Andrey Nering [Sat, 26 Nov 2016 12:08:31 +0000 (10:08 -0200)]
Fix HTTP headers for issue attachment download

- Download filename was wrong for files other than images. Example: It was `download` instead of `file.pdf`
- PDF was downloading instead of showing on browser

7 years agogolint fixed for modules/log 269/head
Lunny Xiao [Sat, 26 Nov 2016 11:53:29 +0000 (19:53 +0800)]
golint fixed for modules/log

7 years agoLint models/org.go & models.go 264/head
Bwko [Sat, 26 Nov 2016 00:20:18 +0000 (01:20 +0100)]
Lint models/org.go & models.go

7 years agoLint models/repo_mirror.go 266/head
Bwko [Sat, 26 Nov 2016 00:30:21 +0000 (01:30 +0100)]
Lint models/repo_mirror.go

7 years agoLint models/repo_branch.go 268/head
Bwko [Sat, 26 Nov 2016 00:40:35 +0000 (01:40 +0100)]
Lint models/repo_branch.go

7 years agoLint models/ssh_key.go 267/head
Bwko [Sat, 26 Nov 2016 00:36:03 +0000 (01:36 +0100)]
Lint models/ssh_key.go

7 years agoLint models/access.go 265/head
Bwko [Sat, 26 Nov 2016 00:07:57 +0000 (01:07 +0100)]
Lint models/access.go

7 years agoLint models/user_email.go 263/head
Bwko [Sat, 26 Nov 2016 00:03:06 +0000 (01:03 +0100)]
Lint models/user_email.go

7 years agoMerge pull request #260 from tboerger/drone-latest
Thomas Boerger [Fri, 25 Nov 2016 16:13:55 +0000 (17:13 +0100)]
Merge pull request #260 from tboerger/drone-latest

Dropped latest publishing from drone

7 years agoDropped latest publishing from drone 260/head
Thomas Boerger [Fri, 25 Nov 2016 12:07:19 +0000 (13:07 +0100)]
Dropped latest publishing from drone

7 years agoMerge pull request #241 from Bwko/lint/admin.go
Thomas Boerger [Fri, 25 Nov 2016 11:55:24 +0000 (12:55 +0100)]
Merge pull request #241 from Bwko/lint/admin.go

Lint models/admin.go

7 years agoMerge pull request #245 from Bwko/lint/update&slack
Thomas Boerger [Fri, 25 Nov 2016 11:55:14 +0000 (12:55 +0100)]
Merge pull request #245 from Bwko/lint/update&slack

Lint models/update.go, release.go & webhook_slack.go

7 years agoMerge pull request #246 from Bwko/fix/typo
Thomas Boerger [Fri, 25 Nov 2016 11:54:57 +0000 (12:54 +0100)]
Merge pull request #246 from Bwko/fix/typo

Fix typos

7 years agoMerge pull request #259 from tboerger/drone-fixes
Thomas Boerger [Fri, 25 Nov 2016 10:48:17 +0000 (11:48 +0100)]
Merge pull request #259 from tboerger/drone-fixes

Fixed s3 publishing within drone

7 years agoFixed s3 publishing within drone 259/head
Thomas Boerger [Fri, 25 Nov 2016 09:53:48 +0000 (10:53 +0100)]
Fixed s3 publishing within drone

7 years agoMerge pull request #240 from go-gitea/drone-additions
Thomas Boerger [Fri, 25 Nov 2016 09:25:01 +0000 (10:25 +0100)]
Merge pull request #240 from go-gitea/drone-additions

Additions to the Drone CI integration

7 years agoMerge pull request #254 from lunny/lunny/golint_modules_context
Thomas Boerger [Fri, 25 Nov 2016 09:11:52 +0000 (10:11 +0100)]
Merge pull request #254 from lunny/lunny/golint_modules_context

Golint fixed for modules/context

7 years agoDisable broken docker build for now 240/head
Thomas Boerger [Fri, 25 Nov 2016 08:49:12 +0000 (09:49 +0100)]
Disable broken docker build for now

7 years agoBe more explicit and dropped matrix builds from drone
Thomas Boerger [Fri, 25 Nov 2016 00:32:43 +0000 (01:32 +0100)]
Be more explicit and dropped matrix builds from drone

7 years agoUpdated badges for drone and similar to lgtm
Thomas Boerger [Thu, 24 Nov 2016 20:43:05 +0000 (21:43 +0100)]
Updated badges for drone and similar to lgtm

7 years agoMerge pull request #256 from lunny/lunny/golint_modules_avatar
Thomas Boerger [Fri, 25 Nov 2016 09:11:44 +0000 (10:11 +0100)]
Merge pull request #256 from lunny/lunny/golint_modules_avatar

Golint fixed for modules/avatar

7 years agoMerge pull request #255 from lunny/lunny/golint_modules_cron
Thomas Boerger [Fri, 25 Nov 2016 09:11:36 +0000 (10:11 +0100)]
Merge pull request #255 from lunny/lunny/golint_modules_cron

Golint fixed for modules/cron

7 years agoMerge pull request #252 from lunny/lunny/golint_fixed_modules_httplib
Thomas Boerger [Fri, 25 Nov 2016 09:08:49 +0000 (10:08 +0100)]
Merge pull request #252 from lunny/lunny/golint_fixed_modules_httplib

Golint fixed for modules/httplib

7 years agoMerge pull request #251 from lunny/lunny/golint_modules_template
Thomas Boerger [Fri, 25 Nov 2016 09:08:37 +0000 (10:08 +0100)]
Merge pull request #251 from lunny/lunny/golint_modules_template

Golint fixed for modules/template

7 years agoMerge pull request #250 from lunny/lunny/golint_modules_markdown
Thomas Boerger [Fri, 25 Nov 2016 09:08:23 +0000 (10:08 +0100)]
Merge pull request #250 from lunny/lunny/golint_modules_markdown

Golint fixed for modules/markdown

7 years agoMerge pull request #249 from lunny/lunny/golint_modules_mailer
Thomas Boerger [Fri, 25 Nov 2016 09:07:52 +0000 (10:07 +0100)]
Merge pull request #249 from lunny/lunny/golint_modules_mailer

Golint fixed for modules/mailer

7 years agogolint fixed for modules/avatar 256/head
Lunny Xiao [Fri, 25 Nov 2016 08:37:04 +0000 (16:37 +0800)]
golint fixed for modules/avatar

7 years agogolint fixed for modules/cron 255/head
Lunny Xiao [Fri, 25 Nov 2016 08:19:24 +0000 (16:19 +0800)]
golint fixed for modules/cron

7 years agoAdded errcheck make task (#242)
Thomas Boerger [Fri, 25 Nov 2016 08:12:06 +0000 (09:12 +0100)]
Added errcheck make task (#242)

7 years agoLint/issue &mail (#243)
Bwko [Fri, 25 Nov 2016 08:11:12 +0000 (09:11 +0100)]
Lint/issue &mail (#243)

* Lint models/release.go

* Lint models/ issue_label, issue_mail & mail.go

7 years agoLint models/token.go (#244)
Bwko [Fri, 25 Nov 2016 08:03:52 +0000 (09:03 +0100)]
Lint models/token.go (#244)

7 years agofixed test build error 250/head
Lunny Xiao [Fri, 25 Nov 2016 08:02:10 +0000 (16:02 +0800)]
fixed test build error

7 years agoLint models/update.go & webhook_slack.go 245/head
Bwko [Thu, 24 Nov 2016 21:35:47 +0000 (22:35 +0100)]
Lint models/update.go & webhook_slack.go

7 years agoGolint fixed for modules/context 254/head
Lunny Xiao [Fri, 25 Nov 2016 06:51:01 +0000 (14:51 +0800)]
Golint fixed for modules/context

7 years agoGolint fixed for modules/httplib 252/head
Lunny Xiao [Fri, 25 Nov 2016 06:32:09 +0000 (14:32 +0800)]
Golint fixed for modules/httplib

7 years agoGolint fixed for modules/template 251/head
Lunny Xiao [Fri, 25 Nov 2016 06:23:48 +0000 (14:23 +0800)]
Golint fixed for modules/template

7 years agogolint fixed for modules/markdown
Lunny Xiao [Fri, 25 Nov 2016 01:58:05 +0000 (09:58 +0800)]
golint fixed for modules/markdown

7 years agoGolint fixed for modules/mailer 249/head
Lunny Xiao [Fri, 25 Nov 2016 01:44:04 +0000 (09:44 +0800)]
Golint fixed for modules/mailer

7 years agoCONTRIBUTING.md: link to "Faster reviews" document (#229)
Andrey Nering [Fri, 25 Nov 2016 01:25:34 +0000 (23:25 -0200)]
CONTRIBUTING.md: link to "Faster reviews" document (#229)

* CONTRIBUTING.md: link to "Faster reviews" document

* CONTRIBUTING.md: small fixes

7 years agoLint models/admin.go 241/head
Bwko [Thu, 24 Nov 2016 20:54:00 +0000 (21:54 +0100)]
Lint models/admin.go

7 years agoLint models/release.go
Bwko [Thu, 24 Nov 2016 21:02:54 +0000 (22:02 +0100)]
Lint models/release.go

7 years agoMerge pull request #96 from metalmatze/feature/drone-config
Thomas Boerger [Thu, 24 Nov 2016 20:36:47 +0000 (21:36 +0100)]
Merge pull request #96 from metalmatze/feature/drone-config

Create a first draft for .drone.yml

7 years agotest database is connect OK after db config initialized (#239)
Lunny Xiao [Thu, 24 Nov 2016 14:30:36 +0000 (22:30 +0800)]
test database is connect OK after db config initialized (#239)

7 years agoMerge pull request #238 from go-gitea/make-install
Thomas Boerger [Thu, 24 Nov 2016 14:29:17 +0000 (15:29 +0100)]
Merge pull request #238 from go-gitea/make-install

Really use go install on make install

7 years agoAdded matrix drone builds 96/head
Thomas Boerger [Thu, 24 Nov 2016 13:48:40 +0000 (14:48 +0100)]
Added matrix drone builds

7 years agoCreate a first draft for .drone.yml
Matthias Loibl [Sun, 6 Nov 2016 17:32:54 +0000 (18:32 +0100)]
Create a first draft for .drone.yml

7 years agoDropped travis config
Thomas Boerger [Thu, 24 Nov 2016 13:41:59 +0000 (14:41 +0100)]
Dropped travis config

7 years agoAdded drone instead of travis detection to makefile
Thomas Boerger [Thu, 24 Nov 2016 13:41:30 +0000 (14:41 +0100)]
Added drone instead of travis detection to makefile

7 years agoAdded dummy tasks for mysql and pgsql tests
Thomas Boerger [Thu, 24 Nov 2016 13:40:56 +0000 (14:40 +0100)]
Added dummy tasks for mysql and pgsql tests

7 years agoReally use go install on make install 238/head
Thomas Boerger [Thu, 24 Nov 2016 13:38:37 +0000 (14:38 +0100)]
Really use go install on make install

7 years agoMerge pull request #228 from Bwko/feature/short-hash-download
Thomas Boerger [Thu, 24 Nov 2016 12:38:14 +0000 (13:38 +0100)]
Merge pull request #228 from Bwko/feature/short-hash-download

Added short-hash support to downloads

7 years agoMerge pull request #237 from strk/login_source-lint
Thomas Boerger [Thu, 24 Nov 2016 12:37:01 +0000 (13:37 +0100)]
Merge pull request #237 from strk/login_source-lint

Lint models/login_source.go

7 years agoLint models/login_source.go 237/head
Sandro Santilli [Thu, 24 Nov 2016 11:34:38 +0000 (12:34 +0100)]
Lint models/login_source.go

7 years agoAdded short-hash support to downloads 228/head
Bwko [Wed, 23 Nov 2016 21:06:56 +0000 (22:06 +0100)]
Added short-hash support to downloads

7 years agoMerge pull request #235 from lunny/lunny/golint_modules_user
Thomas Boerger [Thu, 24 Nov 2016 10:33:47 +0000 (11:33 +0100)]
Merge pull request #235 from lunny/lunny/golint_modules_user

golint fixed for modules/user

7 years agoMerge pull request #234 from strk/issue-lint
Thomas Boerger [Thu, 24 Nov 2016 10:30:39 +0000 (11:30 +0100)]
Merge pull request #234 from strk/issue-lint

Lint issue.go

7 years agoMerge pull request #233 from strk/git_diff-lint
Thomas Boerger [Thu, 24 Nov 2016 10:29:51 +0000 (11:29 +0100)]
Merge pull request #233 from strk/git_diff-lint

Lint git_diff.go

7 years agoMerge pull request #232 from strk/error-lint
Thomas Boerger [Thu, 24 Nov 2016 10:29:15 +0000 (11:29 +0100)]
Merge pull request #232 from strk/error-lint

Lint error.go

7 years agoMerge pull request #231 from lunny/lunny/golint_modules_base
Thomas Boerger [Thu, 24 Nov 2016 10:28:31 +0000 (11:28 +0100)]
Merge pull request #231 from lunny/lunny/golint_modules_base

golint fixed for modules/base

7 years agoMerge pull request #212 from strk/action-lint
Thomas Boerger [Thu, 24 Nov 2016 10:17:04 +0000 (11:17 +0100)]
Merge pull request #212 from strk/action-lint

Lint action.go

7 years agoMerge pull request #192 from strk/make-default-target
Thomas Boerger [Thu, 24 Nov 2016 10:13:35 +0000 (11:13 +0100)]
Merge pull request #192 from strk/make-default-target

Have the default 'all' rule just build

7 years agoMerge pull request #176 from strk/manager-lint
Thomas Boerger [Thu, 24 Nov 2016 10:10:34 +0000 (11:10 +0100)]
Merge pull request #176 from strk/manager-lint

Lint and document manager api

7 years agogolint fixed for modules/user 235/head
Lunny Xiao [Thu, 24 Nov 2016 09:37:11 +0000 (17:37 +0800)]
golint fixed for modules/user

7 years agoActually document the missing bits 234/head
Sandro Santilli [Thu, 24 Nov 2016 08:41:11 +0000 (09:41 +0100)]
Actually document the missing bits

7 years agoExpand documentations 233/head
Sandro Santilli [Thu, 24 Nov 2016 08:30:08 +0000 (09:30 +0100)]
Expand documentations

7 years agoExpand documentation a bit more 232/head
Sandro Santilli [Thu, 24 Nov 2016 08:20:28 +0000 (09:20 +0100)]
Expand documentation a bit more

7 years agoLint action.go 212/head
Sandro Santilli [Tue, 22 Nov 2016 10:43:30 +0000 (11:43 +0100)]
Lint action.go

7 years agoLint error.go
Sandro Santilli [Tue, 22 Nov 2016 11:00:36 +0000 (12:00 +0100)]
Lint error.go

This was done semi-programmatically, not really documenting anything

7 years agoLint git_diff.go
Sandro Santilli [Tue, 22 Nov 2016 11:08:23 +0000 (12:08 +0100)]
Lint git_diff.go

Semi-automatic linting (don't really document things)

7 years agoLint issue.go
Sandro Santilli [Tue, 22 Nov 2016 11:24:39 +0000 (12:24 +0100)]
Lint issue.go

7 years agoHave the deault 'all' rule just build 192/head
Sandro Santilli [Fri, 18 Nov 2016 08:57:30 +0000 (09:57 +0100)]
Have the deault 'all' rule just build

Clean and test are saner being seperate targets

7 years agoLint and document manager api 176/head
Sandro Santilli [Tue, 15 Nov 2016 07:06:31 +0000 (08:06 +0100)]
Lint and document manager api

7 years agoMove init functions from routers/install to routers/init (#230)
Lunny Xiao [Thu, 24 Nov 2016 07:40:16 +0000 (15:40 +0800)]
Move init functions from routers/install to routers/init (#230)

* move init functions from routers/install to routers/init

* copyright typo

7 years agogolint fixed for modules/base 231/head
Lunny Xiao [Thu, 24 Nov 2016 07:17:44 +0000 (15:17 +0800)]
golint fixed for modules/base

7 years agogolint fixed for routers (#208)
Lunny Xiao [Thu, 24 Nov 2016 07:04:31 +0000 (15:04 +0800)]
golint fixed for routers (#208)

7 years agoHandle ssh key import better (#224)
stroucki [Thu, 24 Nov 2016 00:52:55 +0000 (19:52 -0500)]
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

7 years agogolint fixed for routers/repo/branch.go (#206)
Lunny Xiao [Tue, 22 Nov 2016 08:32:00 +0000 (16:32 +0800)]
golint fixed for routers/repo/branch.go (#206)

7 years agoLint webhook.go, unexports simpleMarshalJSON (#198)
Sandro Santilli [Tue, 22 Nov 2016 06:42:52 +0000 (07:42 +0100)]
Lint webhook.go, unexports simpleMarshalJSON (#198)

7 years agoFix typos 246/head
Bwko [Mon, 21 Nov 2016 19:08:21 +0000 (20:08 +0100)]
Fix typos

7 years agogolint fixed for routers/repo/wiki.go (#203)
Lunny Xiao [Mon, 21 Nov 2016 10:03:42 +0000 (18:03 +0800)]
golint fixed for routers/repo/wiki.go (#203)

7 years agogolint fixed for routers/repo/middlewares.go (#204)
Lunny Xiao [Mon, 21 Nov 2016 10:03:37 +0000 (18:03 +0800)]
golint fixed for routers/repo/middlewares.go (#204)

7 years agogolint fixed for routers/repo/view.go (#205)
Lunny Xiao [Mon, 21 Nov 2016 10:03:29 +0000 (18:03 +0800)]
golint fixed for routers/repo/view.go (#205)

7 years agoMerge pull request #202 from lunny/lunny/golint_fixed_routers_admin
Thomas Boerger [Mon, 21 Nov 2016 09:37:14 +0000 (10:37 +0100)]
Merge pull request #202 from lunny/lunny/golint_fixed_routers_admin

go lint fixed for routers/admin