]> source.dussan.org Git - gitea.git/log
gitea.git
7 years agoExpand documentations 233/head
Sandro Santilli [Thu, 24 Nov 2016 08:30:08 +0000 (09:30 +0100)]
Expand documentations

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 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 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 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)

7 years agofixed bug #151 finally (#164)
Lunny Xiao [Sat, 12 Nov 2016 14:52:19 +0000 (22:52 +0800)]
fixed bug #151 finally (#164)

7 years agoFixes possible vulnerabilities with keyword hijacking (#20)
LefsFlare [Sat, 12 Nov 2016 12:26:45 +0000 (20:26 +0800)]
Fixes possible vulnerabilities with keyword hijacking (#20)

- Added public entries to reserved keywords list
- Rename variables
- Derped comment

7 years agoBug fixed for issues (#156)
Lunny Xiao [Sat, 12 Nov 2016 12:06:33 +0000 (20:06 +0800)]
Bug fixed for issues (#156)

7 years agoUpgrade vendor "git" (#161)
Thibault Meyer [Sat, 12 Nov 2016 11:09:25 +0000 (12:09 +0100)]
Upgrade vendor "git" (#161)

7 years agoreplace footer gogs to gitea (#157)
Lunny Xiao [Sat, 12 Nov 2016 08:32:43 +0000 (16:32 +0800)]
replace footer gogs to gitea (#157)

7 years agobug fixed caused by #153 (#154)
Lunny Xiao [Sat, 12 Nov 2016 08:30:46 +0000 (16:30 +0800)]
bug fixed caused by #153 (#154)

7 years agouse in instead string join (#155)
Lunny Xiao [Sat, 12 Nov 2016 08:29:18 +0000 (16:29 +0800)]
use in instead string join (#155)

7 years agofixed bug #151 caused Find should be Get (#153)
Lunny Xiao [Fri, 11 Nov 2016 23:01:09 +0000 (07:01 +0800)]
fixed bug #151 caused Find should be Get (#153)

7 years agoMerge pull request #152 from lunny/lunny/optimization_in
Matthias Loibl [Fri, 11 Nov 2016 21:09:54 +0000 (22:09 +0100)]
Merge pull request #152 from lunny/lunny/optimization_in

optimization on database IN

7 years agooptimization on database IN 152/head
Lunny Xiao [Fri, 11 Nov 2016 17:31:37 +0000 (01:31 +0800)]
optimization on database IN

7 years agobug fixed for 500 caused by get org users (#149)
Lunny Xiao [Fri, 11 Nov 2016 16:55:06 +0000 (00:55 +0800)]
bug fixed for 500 caused by get org users (#149)

7 years agoFix error 500 on organization dashboard page (#150)
Lunny Xiao [Fri, 11 Nov 2016 16:40:21 +0000 (00:40 +0800)]
Fix error 500 on organization dashboard page (#150)

7 years agoask for go get from code.gitea.io/gitea and change gogs to gitea on main file (#146)
Lunny Xiao [Fri, 11 Nov 2016 13:56:35 +0000 (21:56 +0800)]
ask for go get from code.gitea.io/gitea and change gogs to gitea on main file (#146)

7 years agoMerge pull request #142 from 0xbaadf00d/feature/gofmt
Thomas Boerger [Fri, 11 Nov 2016 13:44:30 +0000 (14:44 +0100)]
Merge pull request #142 from 0xbaadf00d/feature/gofmt

Normalize files with gofmt

7 years agoMerge pull request #144 from strk/install-via-go
Thomas Boerger [Fri, 11 Nov 2016 13:43:07 +0000 (14:43 +0100)]
Merge pull request #144 from strk/install-via-go

Add instructions to install via go

7 years agoAdd info about installing via go 144/head
Sandro Santilli [Fri, 11 Nov 2016 12:35:58 +0000 (13:35 +0100)]
Add info about installing via go

7 years agoNormalize files with gofmt 142/head
Thibault Meyer [Fri, 11 Nov 2016 12:11:45 +0000 (13:11 +0100)]
Normalize files with gofmt

7 years agoFix import path of go-sdk (#141)
Sandro Santilli [Fri, 11 Nov 2016 09:39:44 +0000 (10:39 +0100)]
Fix import path of go-sdk (#141)

From code.gitea.io/go-sdk/gitea
  To code.gitea.io/sdk/gitea

7 years agoUpdate home page to Gitea (#138)
Andrey Nering [Fri, 11 Nov 2016 00:50:31 +0000 (22:50 -0200)]
Update home page to Gitea (#138)

7 years agoMerge pull request #136 from 0xbaadf00d/feature/rewrite-xorm-queries
Andrey Nering [Thu, 10 Nov 2016 23:18:34 +0000 (21:18 -0200)]
Merge pull request #136 from 0xbaadf00d/feature/rewrite-xorm-queries

Rewrite raw queries

7 years agoRemove unused import 136/head
Thibault Meyer [Thu, 10 Nov 2016 20:10:25 +0000 (21:10 +0100)]
Remove unused import

7 years agoMerge remote-tracking branch 'upstream/master' into feature/rewrite-xorm-queries
Thibault Meyer [Thu, 10 Nov 2016 20:05:52 +0000 (21:05 +0100)]
Merge remote-tracking branch 'upstream/master' into feature/rewrite-xorm-queries

# Conflicts:
# models/git_diff.go
# models/issue.go
# models/org.go
# models/pull.go
# models/repo.go

7 years agoRewrite XORM queries
Thibault Meyer [Thu, 10 Nov 2016 15:16:32 +0000 (16:16 +0100)]
Rewrite XORM queries

7 years agoUpdate import paths from github.com/go-gitea to code.gitea.io (#135)
Sandro Santilli [Thu, 10 Nov 2016 16:24:48 +0000 (17:24 +0100)]
Update import paths from github.com/go-gitea to code.gitea.io (#135)

- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis

See https://docs.travis-ci.com/user/languages/go#Go-Import-Path

7 years agoMerge pull request #134 from metalmatze/fix/admin-templates
Andrey Nering [Thu, 10 Nov 2016 15:06:54 +0000 (13:06 -0200)]
Merge pull request #134 from metalmatze/fix/admin-templates

Fix bug that tries to load mistyped templates

7 years agoFix bug that tries to load mistyped templates 134/head
Matthias Loibl [Thu, 10 Nov 2016 10:53:29 +0000 (11:53 +0100)]
Fix bug that tries to load mistyped templates

7 years agofirst batch of Readme updates (#65)
Rachid Zarouali [Thu, 10 Nov 2016 10:52:39 +0000 (11:52 +0100)]
first batch of Readme updates (#65)

7 years agoRemove go version from build tags (#133)
Matthias Loibl [Thu, 10 Nov 2016 10:43:49 +0000 (11:43 +0100)]
Remove go version from build tags (#133)

7 years agoCheck unhandled errors (#128)
Matthias Loibl [Thu, 10 Nov 2016 10:02:01 +0000 (11:02 +0100)]
Check unhandled errors (#128)

7 years agoMerge pull request #131 from 0xbaadf00d/feature/gitignore
Matthias Loibl [Thu, 10 Nov 2016 09:53:43 +0000 (10:53 +0100)]
Merge pull request #131 from 0xbaadf00d/feature/gitignore

Add IDEA IntelliJ to .gitignore

7 years agoMerge pull request #121 from joubertredrat/feature-last-login
Lunny Xiao [Thu, 10 Nov 2016 09:20:55 +0000 (17:20 +0800)]
Merge pull request #121 from joubertredrat/feature-last-login

Last Login for admin manage your users

7 years agoMerge pull request #129 from lunny/lunny/SQL_instead_Sql
Lunny Xiao [Thu, 10 Nov 2016 09:12:14 +0000 (17:12 +0800)]
Merge pull request #129 from lunny/lunny/SQL_instead_Sql

use x.SQL instead of x.Sql

7 years agoAdd IDEA IntelliJ to .gitignore 131/head
Thibault Meyer [Thu, 10 Nov 2016 09:01:44 +0000 (10:01 +0100)]
Add IDEA IntelliJ to .gitignore

7 years agoMerge pull request #130 from 0xbaadf00d/feature/ordering-org-user
Lunny Xiao [Thu, 10 Nov 2016 08:56:36 +0000 (16:56 +0800)]
Merge pull request #130 from 0xbaadf00d/feature/ordering-org-user

Ordering organizations and users by name

7 years agoOrdering organizations and users by name 130/head
Thibault Meyer [Thu, 10 Nov 2016 08:10:35 +0000 (09:10 +0100)]
Ordering organizations and users by name

7 years agouse x.SQL instead of x.Sql 129/head
Lunny Xiao [Thu, 10 Nov 2016 07:20:48 +0000 (15:20 +0800)]
use x.SQL instead of x.Sql

7 years agoMerge pull request #127 from metalmatze/enhancement/cli
Lunny Xiao [Thu, 10 Nov 2016 03:31:26 +0000 (11:31 +0800)]
Merge pull request #127 from metalmatze/enhancement/cli

Use cli Flags directly and not some helper funcs

7 years agoImprove formatting of admin command 127/head
Matthias Loibl [Wed, 9 Nov 2016 22:32:24 +0000 (23:32 +0100)]
Improve formatting of admin command

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
7 years agoUse cli Flags directly and not some helper funcs
Matthias Loibl [Wed, 9 Nov 2016 22:18:22 +0000 (23:18 +0100)]
Use cli Flags directly and not some helper funcs

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
7 years agoSupport to last login feature 121/head
Joubert RedRat [Wed, 9 Nov 2016 10:53:45 +0000 (08:53 -0200)]
Support to last login feature

7 years agoMerge pull request #116 from lunny/lunny/lang-miss
Lunny Xiao [Wed, 9 Nov 2016 07:16:27 +0000 (15:16 +0800)]
Merge pull request #116 from lunny/lunny/lang-miss

fixed lack of translation for zh-CN

7 years agoMerge pull request #18 from LefsFlarey/issue/3675
Lunny Xiao [Wed, 9 Nov 2016 07:14:18 +0000 (15:14 +0800)]
Merge pull request #18 from LefsFlarey/issue/3675

Fix 500 error caused by deleted users on issues (#3675)

7 years agoFix err not being nil 18/head
Flare [Wed, 9 Nov 2016 05:07:01 +0000 (13:07 +0800)]
Fix err not being nil

7 years agoMerge pull request #17 from LefsFlarey/issue/3666
Matthias Loibl [Tue, 8 Nov 2016 17:28:00 +0000 (18:28 +0100)]
Merge pull request #17 from LefsFlarey/issue/3666

Fixed 404 caused by unexpected question mark

7 years agoFixed 404 caused by unexpected question mark 17/head
Flare [Sun, 18 Sep 2016 15:46:52 +0000 (23:46 +0800)]
Fixed 404 caused by unexpected question mark

This fixes 404 caused when creating new files or wiki pages with question marks. Amended to force CI rebuild

7 years agoMerge pull request #119 from metalmatze/fix/editorconfig
Lunny Xiao [Tue, 8 Nov 2016 11:13:29 +0000 (19:13 +0800)]
Merge pull request #119 from metalmatze/fix/editorconfig

Go uses ident size 8 with tabs. Nothing else.

7 years agoGo uses ident size 8 with tabs. Nothing else. 119/head
Matthias Loibl [Tue, 8 Nov 2016 10:41:02 +0000 (11:41 +0100)]
Go uses ident size 8 with tabs. Nothing else.

We are using gofmt to format our code. This will emit tabs.
The standard is tabs which is 8 spaces.

7 years agoMerge pull request #90 from metalmatze/feature/tool-tests
Kim "BKC" Carlbäcker [Tue, 8 Nov 2016 09:30:52 +0000 (10:30 +0100)]
Merge pull request #90 from metalmatze/feature/tool-tests

Start to add tests for modules/base/tool

7 years agolack of translation for zh-CN 116/head
Lunny Xiao [Tue, 8 Nov 2016 08:20:45 +0000 (16:20 +0800)]
lack of translation for zh-CN

7 years agoMerge pull request #115 from strk/license
Lunny Xiao [Tue, 8 Nov 2016 07:57:46 +0000 (15:57 +0800)]
Merge pull request #115 from strk/license

Re-add "Gogs authors" copyright (togheter with "Gitea authors")

7 years agoMerge pull request #113 from avelino/update_locale
Lunny Xiao [Tue, 8 Nov 2016 07:56:00 +0000 (15:56 +0800)]
Merge pull request #113 from avelino/update_locale

replace Gogs to Gitea on locale files

7 years agoFix typo 115/head
Sandro Santilli [Tue, 8 Nov 2016 07:42:05 +0000 (08:42 +0100)]
Fix typo

7 years agoRe-add "Gogs authors" copyright (togheter with "Gitea authors")
Sandro Santilli [Tue, 8 Nov 2016 07:36:19 +0000 (08:36 +0100)]
Re-add "Gogs authors" copyright (togheter with "Gitea authors")

7 years agoupdate copyright gitea license (#112)
Thiago Avelino [Tue, 8 Nov 2016 06:57:25 +0000 (04:57 -0200)]
update copyright gitea license (#112)

7 years agoreplace Gogs to Gitea on locale files 113/head
Avelino [Tue, 8 Nov 2016 03:21:31 +0000 (01:21 -0200)]
replace Gogs to Gitea on locale files

7 years agoMerge pull request #73 from bkcsoft/gt/2164-release-pagination
Lunny Xiao [Tue, 8 Nov 2016 02:39:03 +0000 (10:39 +0800)]
Merge pull request #73 from bkcsoft/gt/2164-release-pagination

Add Pagination to Releases-page (and de-duplicate pagination templates)

7 years agoAdd test for IsTextFile() 90/head
Matthias Loibl [Mon, 7 Nov 2016 22:15:02 +0000 (23:15 +0100)]
Add test for IsTextFile()

7 years agoMake long godoc comment 2 lines
Matthias Loibl [Mon, 7 Nov 2016 22:14:50 +0000 (23:14 +0100)]
Make long godoc comment 2 lines

7 years agoAdd test for IsLetter()
Matthias Loibl [Mon, 7 Nov 2016 21:44:25 +0000 (22:44 +0100)]
Add test for IsLetter()

7 years agoAdd test for Int64sToMap()
Matthias Loibl [Mon, 7 Nov 2016 21:08:50 +0000 (22:08 +0100)]
Add test for Int64sToMap()

7 years agoAdd tests for StringsToInt64s() & Int64sToStrings()
Matthias Loibl [Mon, 7 Nov 2016 20:49:50 +0000 (21:49 +0100)]
Add tests for StringsToInt64s() & Int64sToStrings()

7 years agoAdd tests for TruncateString()
Matthias Loibl [Mon, 7 Nov 2016 20:37:08 +0000 (21:37 +0100)]
Add tests for TruncateString()

7 years agoUse TruncateString(sha1,10) in ShortSha and deprecate it.
Matthias Loibl [Mon, 7 Nov 2016 20:36:01 +0000 (21:36 +0100)]
Use TruncateString(sha1,10) in ShortSha and deprecate it.

7 years agoAdd tests for EllipsisString() and fix bug if param length < 3
Matthias Loibl [Mon, 7 Nov 2016 20:27:14 +0000 (21:27 +0100)]
Add tests for EllipsisString() and fix bug if param length < 3

7 years agoTest AvatarLink and refactor with tests passing
Matthias Loibl [Mon, 7 Nov 2016 20:13:38 +0000 (21:13 +0100)]
Test AvatarLink and refactor with tests passing

7 years agoVendor github.com/stretchr/testify for the assert package
Matthias Loibl [Mon, 7 Nov 2016 19:31:59 +0000 (20:31 +0100)]
Vendor github.com/stretchr/testify for the assert package