]> source.dussan.org Git - gitea.git/log
gitea.git
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 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

7 years agogo lint fixed for routers/admin 202/head
Lunny Xiao [Mon, 21 Nov 2016 03:21:24 +0000 (11:21 +0800)]
go lint fixed for routers/admin

7 years agoMerge pull request #196 from Bwko/fix/commit-view-panic
Andrey Nering [Sat, 19 Nov 2016 16:30:37 +0000 (14:30 -0200)]
Merge pull request #196 from Bwko/fix/commit-view-panic

Fix panic when no user is signed in

7 years agoFix for anonymous users to switch views 196/head
Bwko [Sat, 19 Nov 2016 15:53:34 +0000 (16:53 +0100)]
Fix for anonymous users to switch views

7 years agoFix panic when no user is signed in
Bwko [Sat, 19 Nov 2016 11:43:10 +0000 (12:43 +0100)]
Fix panic when no user is signed in

See #188

7 years agogolint fixed for parts of routers root, dev, user and org dirs (#167)
Lunny Xiao [Fri, 18 Nov 2016 03:03:03 +0000 (11:03 +0800)]
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

7 years agoMerge pull request #187 from strk/vendor
Andrey Nering [Thu, 17 Nov 2016 19:35:48 +0000 (17:35 -0200)]
Merge pull request #187 from strk/vendor

Add vendoring section

7 years agoWrap `vendor/` in backtics 187/head
Sandro Santilli [Thu, 17 Nov 2016 16:06:13 +0000 (17:06 +0100)]
Wrap `vendor/` in backtics

7 years agoAdd vendoring section
Sandro Santilli [Wed, 16 Nov 2016 18:12:04 +0000 (19:12 +0100)]
Add vendoring section

Closes #178

7 years agoMerge pull request #100 from ethantkoenig/develop
Andrey Nering [Thu, 17 Nov 2016 09:15:15 +0000 (07:15 -0200)]
Merge pull request #100 from ethantkoenig/develop

API endpoints for stars

7 years agoAPI endpoints for stars 100/head
Ethan Koenig [Mon, 14 Nov 2016 22:33:58 +0000 (17:33 -0500)]
API endpoints for stars

7 years agoUpgrade vendor "git" (#175)
Thibault Meyer [Tue, 15 Nov 2016 15:24:08 +0000 (16:24 +0100)]
Upgrade vendor "git" (#175)

7 years agoMerge pull request #171 from andreynering/gitea/editorconfig-crlf
Matthias Loibl [Tue, 15 Nov 2016 11:06:41 +0000 (12:06 +0100)]
Merge pull request #171 from andreynering/gitea/editorconfig-crlf

.editorconfig: do not specify line ending

7 years agofix variable assigned and not used. (#173)
Thomas Boerger [Tue, 15 Nov 2016 06:53:16 +0000 (07:53 +0100)]
fix variable assigned and not used. (#173)

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
7 years agofix variable assigned and not used. 173/head
Bo-Yi Wu [Tue, 15 Nov 2016 06:16:27 +0000 (14:16 +0800)]
fix variable assigned and not used.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
7 years agoMerge pull request #169 from strk/allow-update-draft-releases
Kim "BKC" Carlbäcker [Mon, 14 Nov 2016 20:48:21 +0000 (21:48 +0100)]
Merge pull request #169 from strk/allow-update-draft-releases

Allow updating draft releases while keeping them as draft

7 years agoMerge pull request #170 from strk/wiki-lint
Andrey Nering [Mon, 14 Nov 2016 19:34:16 +0000 (17:34 -0200)]
Merge pull request #170 from strk/wiki-lint

Fix lint errors in models/wiki (just add methods docs)

7 years ago.editorconfig: do not specify line ending 171/head
Andrey Nering [Mon, 14 Nov 2016 17:48:40 +0000 (15:48 -0200)]
.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.

7 years agoAllow updating draft releases while keeping them as draft 169/head
Sandro Santilli [Mon, 14 Nov 2016 16:30:22 +0000 (17:30 +0100)]
Allow updating draft releases while keeping them as draft

Closes #162

7 years agoFix lint errors in models/wiki (just add methods docs) 170/head
Sandro Santilli [Mon, 14 Nov 2016 16:58:06 +0000 (17:58 +0100)]
Fix lint errors in models/wiki (just add methods docs)

See #70

7 years agoMerge pull request #168 from appleboy/gofmt
Andrey Nering [Mon, 14 Nov 2016 17:00:02 +0000 (15:00 -0200)]
Merge pull request #168 from appleboy/gofmt

fix gofmt error.

7 years agofix gofmt error. 168/head
Bo-Yi Wu [Mon, 14 Nov 2016 16:03:37 +0000 (00:03 +0800)]
fix gofmt error.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
7 years agoFix broken link for Contributors Guide (#166)
Bo-Yi Wu [Mon, 14 Nov 2016 07:17:15 +0000 (15:17 +0800)]
Fix broken link for Contributors Guide (#166)

* Fix broken link for Contributors Guide

* remove ./

7 years agoRemember diff view style (#163)
Andrey Nering [Sun, 13 Nov 2016 02:54:04 +0000 (00:54 -0200)]
Remember diff view style (#163)