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

7 years agoUse testify/assert for all tests in tool_test.go
Matthias Loibl [Mon, 7 Nov 2016 19:28:03 +0000 (20:28 +0100)]
Use testify/assert for all tests in tool_test.go

7 years agoAdd unit test for base.FileSize()
Matthias Loibl [Sun, 6 Nov 2016 23:32:32 +0000 (00:32 +0100)]
Add unit test for base.FileSize()

7 years agoStart to add tests for modules/base/tool
Matthias Loibl [Sun, 6 Nov 2016 00:53:11 +0000 (01:53 +0100)]
Start to add tests for modules/base/tool

7 years agoFix type in unused constant name (#111)
Sandro Santilli [Mon, 7 Nov 2016 20:58:22 +0000 (21:58 +0100)]
Fix type in unused constant name (#111)

* Write LDAP, SMTP, PAM, DLDAP back to all uppercase

* Fix type in unused constant name

* Other MixCased fixes

* Complete MixerCasing of template constants

* Re uppercase LTS and LDAPS suffixes

* Uppercase JSON suffix in constant names

* Proper case LoginNoType

* Prefix unexported template path constants with "tpl"

7 years agoMerge pull request #109 from go-gitea/lgtm
Matthias Loibl [Mon, 7 Nov 2016 19:07:47 +0000 (20:07 +0100)]
Merge pull request #109 from go-gitea/lgtm

Added ignore_maintainers_file option to .lgtm

7 years agoMerge pull request #110 from strk/MixedCaseConst
Sandro Santilli [Mon, 7 Nov 2016 18:22:21 +0000 (19:22 +0100)]
Merge pull request #110 from strk/MixedCaseConst

Use MixedCase constant names

7 years agomore 110/head
Sandro Santilli [Mon, 7 Nov 2016 16:55:31 +0000 (17:55 +0100)]
more

7 years agoAnd others
Sandro Santilli [Mon, 7 Nov 2016 16:53:22 +0000 (17:53 +0100)]
And others

7 years agomore
Sandro Santilli [Mon, 7 Nov 2016 16:41:28 +0000 (17:41 +0100)]
more

7 years agoSecurity protocols
Sandro Santilli [Mon, 7 Nov 2016 16:38:43 +0000 (17:38 +0100)]
Security protocols

7 years agoMore mixage
Sandro Santilli [Mon, 7 Nov 2016 16:37:28 +0000 (17:37 +0100)]
More mixage

7 years agoMore overlooks
Sandro Santilli [Mon, 7 Nov 2016 16:35:34 +0000 (17:35 +0100)]
More overlooks

7 years agoThis one I overlooked before
Sandro Santilli [Mon, 7 Nov 2016 16:33:03 +0000 (17:33 +0100)]
This one I overlooked before

7 years agoMore...
Sandro Santilli [Mon, 7 Nov 2016 16:30:04 +0000 (17:30 +0100)]
More...

7 years agoMore MixedCase consts
Sandro Santilli [Mon, 7 Nov 2016 16:24:59 +0000 (17:24 +0100)]
More MixedCase consts

7 years agoACCESS_MODE_* -> AccessMode*
Sandro Santilli [Mon, 7 Nov 2016 16:20:37 +0000 (17:20 +0100)]
ACCESS_MODE_* -> AccessMode*

7 years agoMore MixedCase consts
Sandro Santilli [Mon, 7 Nov 2016 16:08:21 +0000 (17:08 +0100)]
More MixedCase consts

7 years agoUse MixedCase constant names
Sandro Santilli [Mon, 7 Nov 2016 15:37:32 +0000 (16:37 +0100)]
Use MixedCase constant names

See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps

7 years agoAdded ignore_maintainers_file option to .lgtm 109/head
Thomas Boerger [Mon, 7 Nov 2016 15:36:37 +0000 (16:36 +0100)]
Added ignore_maintainers_file option to .lgtm

7 years agoMerge pull request #108 from go-gitea/go-sdk
Thomas Boerger [Mon, 7 Nov 2016 15:31:17 +0000 (16:31 +0100)]
Merge pull request #108 from go-gitea/go-sdk

Replaced gogits go-gogs-client with go-sdk

7 years agoMerge pull request #103 from strk/GOGS_drop
Sandro Santilli [Mon, 7 Nov 2016 15:30:48 +0000 (16:30 +0100)]
Merge pull request #103 from strk/GOGS_drop

Replace GOGS with GITEA in variable names