]> source.dussan.org Git - gitea.git/log
gitea.git
8 years ago#3066 fix create organization ignores full name property
Unknwon [Sat, 23 Jul 2016 09:57:22 +0000 (17:57 +0800)]
#3066 fix create organization ignores full name property

8 years agoapi: fix panic if anonymous user request admin API
Unknwon [Sat, 23 Jul 2016 09:56:37 +0000 (17:56 +0800)]
api: fix panic if anonymous user request admin API

Add sign in check before check user account level

8 years ago#3157 create user path before rename repository while transfer
Unknwon [Sat, 23 Jul 2016 09:36:15 +0000 (17:36 +0800)]
#3157 create user path before rename repository while transfer

os.Rename does not create parent directory automatically when not exist

8 years ago#3107 fix mention regex does not include dash
Unknwon [Sat, 23 Jul 2016 09:29:34 +0000 (17:29 +0800)]
#3107 fix mention regex does not include dash

8 years ago#3076 detect invalid tag name git error
Unknwon [Sat, 23 Jul 2016 07:59:19 +0000 (15:59 +0800)]
#3076 detect invalid tag name git error

8 years agoAdded coding style modes to SimpleMDE (#3286)
Richard Mahn [Sat, 23 Jul 2016 05:29:20 +0000 (23:29 -0600)]
Added coding style modes to SimpleMDE (#3286)

* Added coding style modes to SimpleMDE

* Moved the CodeMirror addon from simplemd to codemirror directory

8 years agoadd IsSubmodule field to DiffFile and hide view file button on diff page for submodul...
Siarhei Navatski [Fri, 22 Jul 2016 18:18:56 +0000 (21:18 +0300)]
add IsSubmodule field to DiffFile and hide view file button on diff page for submodules (#3097)

8 years agoUpdate locales [CI SKIP]
Unknwon [Fri, 22 Jul 2016 14:21:26 +0000 (22:21 +0800)]
Update locales [CI SKIP]

8 years agoBump version
Unknwon [Fri, 22 Jul 2016 13:52:39 +0000 (21:52 +0800)]
Bump version

8 years agoFix GitHub wrong repo language detection
Unknwon [Thu, 21 Jul 2016 10:20:03 +0000 (18:20 +0800)]
Fix GitHub wrong repo language detection

8 years agoavatar: make custom and generated avatars equal (#3301)
Dennis Chen [Thu, 21 Jul 2016 07:31:14 +0000 (02:31 -0500)]
avatar: make custom and generated avatars equal (#3301)

Sets all avatars to use PNG image format.
Keeps avatars consistent at 290x290px resolution.

Signed-off-by: Dennis Chen <barracks510@gmail.com>
8 years ago#3299 don’t pop up confirm box when leave on signin page
Unknwon [Thu, 21 Jul 2016 06:36:26 +0000 (14:36 +0800)]
#3299 don’t pop up confirm box when leave on signin page

8 years ago#3291 fix SQLite3 session read/update conflict on create new issue
Unknwon [Thu, 21 Jul 2016 06:26:30 +0000 (14:26 +0800)]
#3291 fix SQLite3 session read/update conflict on create new issue

8 years ago#3295 fix wrong logic judgement
Unknwon [Thu, 21 Jul 2016 06:15:04 +0000 (14:15 +0800)]
#3295 fix wrong logic judgement

8 years agoUpdate dep revision
Unknwon [Sun, 17 Jul 2016 02:46:21 +0000 (10:46 +0800)]
Update dep revision

8 years agoRefresh repository mirror from database when the repository's name has changed. ...
lstahlman [Sun, 17 Jul 2016 01:30:43 +0000 (18:30 -0700)]
Refresh repository mirror from database when the repository's name has changed. (#3276)

8 years agoUpdate locales and .gopmfile
Unknwon [Sun, 17 Jul 2016 01:25:30 +0000 (09:25 +0800)]
Update locales and .gopmfile

8 years agoFix misselection of issues view type
Unknwon [Sun, 17 Jul 2016 01:25:24 +0000 (09:25 +0800)]
Fix misselection of issues view type

8 years agoUpdated Issues and Issues Stats functions to include table aliases. This addresses...
lstahlman [Sun, 17 Jul 2016 01:18:35 +0000 (18:18 -0700)]
Updated Issues and Issues Stats functions to include table aliases. This addresses errors involving ambiguous column references when filtering issues by the view type "Mentioning you". (#3269)

8 years agomodels/webhook: restrict deletion to be explicitly with repo and org ID
Unknwon [Sun, 17 Jul 2016 00:33:59 +0000 (08:33 +0800)]
models/webhook: restrict deletion to be explicitly with repo and org ID

8 years agoapi: delete repository webhooks (#3275)
Dennis Chen [Sun, 17 Jul 2016 00:08:38 +0000 (19:08 -0500)]
api: delete repository webhooks (#3275)

Allows the deletion of a webhook from a repository at the
/:user/:repo/hooks/:id endpoint.

Solves drone/drone issue #1603.

Signed-off-by: Dennis Chen <barracks510@gmail.com>
8 years agotemplates/org/home: minor UI fix
Unknwon [Sat, 16 Jul 2016 07:54:43 +0000 (15:54 +0800)]
templates/org/home: minor UI fix

8 years agoMinor fix for go vet
Unknwon [Sat, 16 Jul 2016 07:15:00 +0000 (15:15 +0800)]
Minor fix for go vet

8 years agoUpgrade octicon to 4.3.0
Unknwon [Sat, 16 Jul 2016 04:45:13 +0000 (12:45 +0800)]
Upgrade octicon to 4.3.0

8 years ago#2937 able to prohibit user login
Unknwon [Sat, 16 Jul 2016 02:22:16 +0000 (10:22 +0800)]
#2937 able to prohibit user login

8 years agomodels/user_mail: refactor EmailAddress
Unknwon [Sat, 16 Jul 2016 02:08:04 +0000 (10:08 +0800)]
models/user_mail: refactor EmailAddress

8 years agoReturn avatar link as absolute url (#3235)
Sandro Santilli [Sat, 16 Jul 2016 00:19:30 +0000 (02:19 +0200)]
Return avatar link as absolute url (#3235)

Fixes relative urls coming from api/v1

See https://github.com/drone/drone/issues/1701

8 years ago#3274 fix can't get webhook detail of organization
Unknwon [Fri, 15 Jul 2016 17:02:55 +0000 (01:02 +0800)]
#3274 fix can't get webhook detail of organization

8 years agoBump version
Unknwon [Fri, 15 Jul 2016 16:37:21 +0000 (00:37 +0800)]
Bump version

8 years ago#2854 fix no mail notification when issue is closed/reopened
Unknwon [Fri, 15 Jul 2016 16:36:39 +0000 (00:36 +0800)]
#2854 fix no mail notification when issue is closed/reopened

8 years agomodels/repo: remove redundant info for some repo methods
Unknwon [Fri, 15 Jul 2016 13:53:43 +0000 (21:53 +0800)]
models/repo: remove redundant info for some repo methods

RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink

8 years ago#2798 fix assign operation not take effect
Unknwon [Fri, 15 Jul 2016 09:06:17 +0000 (17:06 +0800)]
#2798 fix assign operation not take effect

8 years agoUpdate Docker README
Unknwon [Fri, 15 Jul 2016 06:32:42 +0000 (14:32 +0800)]
Update Docker README

8 years agoUpdate bindata and CSS
Unknwon [Fri, 15 Jul 2016 06:13:30 +0000 (14:13 +0800)]
Update bindata and CSS

8 years agoIgnore Response Body for Slack Hooks #3169 (#3256)
Kim Carlbäcker [Fri, 15 Jul 2016 06:02:19 +0000 (08:02 +0200)]
Ignore Response Body for Slack Hooks #3169 (#3256)

8 years agoFixes #3263 - Change for Fontawesome icons to not conflict withs semantic-ui (#3267)
Richard Mahn [Fri, 15 Jul 2016 05:57:28 +0000 (23:57 -0600)]
Fixes #3263 - Change for Fontawesome icons to not conflict withs semantic-ui (#3267)

8 years agoApply font for Japanese / Chinese (more) (#3266)
Laica Lunasys [Fri, 15 Jul 2016 05:52:37 +0000 (14:52 +0900)]
Apply font for Japanese / Chinese (more) (#3266)

8 years agoChanged Turkish language name to 'Türkçe' (#3268)
Atakan Goktepe [Fri, 15 Jul 2016 05:44:49 +0000 (08:44 +0300)]
Changed Turkish language name to 'Türkçe' (#3268)

8 years agodocker: Support timezones (#3262)
Andrey Arapov [Fri, 15 Jul 2016 02:55:05 +0000 (04:55 +0200)]
docker: Support timezones (#3262)

8 years ago#2709 validate username attribute fetched from LDAP
Unknwon [Mon, 11 Jul 2016 23:07:57 +0000 (07:07 +0800)]
#2709 validate username attribute fetched from LDAP

8 years agoAdd timestamps to repository api response (#3255)
lstahlman [Mon, 11 Jul 2016 22:28:51 +0000 (15:28 -0700)]
Add timestamps to repository api response (#3255)

Additional properties: created_at, updated_at

8 years ago[Fix] Don't display way too large files #1513 (#3253)
Kim Carlbäcker [Mon, 11 Jul 2016 22:21:26 +0000 (00:21 +0200)]
[Fix] Don't display way too large files #1513 (#3253)

* Add MaxDisplayFileSize setting

* Don't show files that are too large

* Localized FileTooLarge

* Change IsFileTooBig => IsFileTooLarge

8 years ago#2586 bump git-module requirement
Unknwon [Mon, 11 Jul 2016 22:20:09 +0000 (06:20 +0800)]
#2586 bump git-module requirement

8 years agoUpdate glide.lock
Unknwon [Sun, 10 Jul 2016 23:57:15 +0000 (07:57 +0800)]
Update glide.lock

8 years agoExtend the API to include more repository properties (#3249)
lstahlman [Sun, 10 Jul 2016 23:56:15 +0000 (16:56 -0700)]
Extend the API to include more repository properties (#3249)

Adds description, stars_count, forks_count, watchers_count and
open_issues_count.

8 years ago#2458 fix emoji been rendered inside raw content area
Unknwon [Sun, 10 Jul 2016 21:28:56 +0000 (05:28 +0800)]
#2458 fix emoji been rendered inside raw content area

8 years agoUpdate locale
Unknwon [Sat, 9 Jul 2016 15:59:13 +0000 (23:59 +0800)]
Update locale

8 years ago#2375 preserve cases for action content
Unknwon [Sat, 9 Jul 2016 15:37:32 +0000 (23:37 +0800)]
#2375 preserve cases for action content

8 years agoMinor fix for #3246
Unknwon [Sat, 9 Jul 2016 05:42:05 +0000 (13:42 +0800)]
Minor fix for #3246

8 years agoThe pruning for the synchronized mirrors is a option now. Default value: enable_prune...
Pablo Saavedra [Sat, 9 Jul 2016 05:22:28 +0000 (07:22 +0200)]
The pruning for the synchronized mirrors is a option now. Default value: enable_prune = true (#3246)

Executed go fmt

getEngine() not handles DB parameters (#2972) (#2974)

Uses .AllCols() for Update in updateMirror()

Spanish traslation removed

Fixed a wrong way to ommit the --prune option in process.ExecDir() for MirrorUpdate function

8 years agoModify behaviour of repo-delete. (#3232)
Pheng Heong TAN [Sat, 9 Jul 2016 05:13:57 +0000 (13:13 +0800)]
Modify behaviour of repo-delete. (#3232)

Re: issues gogits/gogs#2863 and gogits/gogs#3231

As a result of modifications to the contents of the conf folder, `make bindata`
was run, causing an update to bindata.go.

Meta
-----
This commit will be rebased onto the 'develop' branch.

8 years ago#3057 retrieve webhook with repo_id
Unknwon [Fri, 8 Jul 2016 05:57:09 +0000 (13:57 +0800)]
#3057 retrieve webhook with repo_id

This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.

8 years ago#3229 disallow repository name . and ..
Unknwon [Thu, 7 Jul 2016 23:34:05 +0000 (07:34 +0800)]
#3229 disallow repository name . and ..

Since . and .. has browser automatical behaviors, we need to disallow those names.

8 years agoUse SecurityProtocol to replace UseSSL in LDAP config
Unknwon [Thu, 7 Jul 2016 23:25:09 +0000 (07:25 +0800)]
Use SecurityProtocol to replace UseSSL in LDAP config

Initially proposed by #2376 and fixes #3068 as well.

8 years agoUpgrade frontend assets
Unknwon [Wed, 6 Jul 2016 22:04:55 +0000 (06:04 +0800)]
Upgrade frontend assets

8 years ago#3058 #3059 support correct page size and link header
Unknwon [Mon, 4 Jul 2016 09:27:06 +0000 (17:27 +0800)]
#3058 #3059 support correct page size and link header

8 years agogetEngine() not handles DB parameters (#2972) (#2974)
Tom [Sat, 2 Jul 2016 14:39:39 +0000 (10:39 -0400)]
getEngine() not handles DB parameters (#2972) (#2974)

8 years ago#2968 use HTTP_ADDR to replace localhost
Unknwon [Sat, 2 Jul 2016 10:54:48 +0000 (18:54 +0800)]
#2968 use HTTP_ADDR to replace localhost

8 years ago#2947 fix inapproriate comment
Unknwon [Sat, 2 Jul 2016 10:23:15 +0000 (18:23 +0800)]
#2947 fix inapproriate comment

8 years ago#3078 update default app.ini
Unknwon [Fri, 1 Jul 2016 14:27:52 +0000 (22:27 +0800)]
#3078 update default app.ini

8 years ago change setting.go -> LocalUrl default value to (#3078)
j.yao.SUSE [Fri, 1 Jul 2016 14:26:15 +0000 (09:26 -0500)]
 change setting.go -> LocalUrl default   value to (#3078)

8 years agoAdd an OpenBSD daemon control script (#3060)
Vasily Mikhaylichenko [Fri, 1 Jul 2016 14:24:41 +0000 (00:24 +1000)]
Add an OpenBSD daemon control script (#3060)

8 years agoDo not show filename not have suffifx .md
Unknwon [Fri, 1 Jul 2016 07:34:03 +0000 (15:34 +0800)]
Do not show filename not have suffifx .md

8 years agoFix wiki vulnerabilities
Unknwon [Fri, 1 Jul 2016 07:33:35 +0000 (15:33 +0800)]
Fix wiki vulnerabilities

- Arbitrary file creation leading to command execution
- .md file creation/deletion

Reported by Gabriel Campana.

8 years ago#2959 update README version description
Unknwon [Thu, 30 Jun 2016 07:16:29 +0000 (15:16 +0800)]
#2959 update README version description

8 years agoport 25 do not work, and port 465 is right (#3145)
wanglinzhizhi [Wed, 29 Jun 2016 20:04:15 +0000 (04:04 +0800)]
port 25 do not work, and port 465 is right (#3145)

QQ STMP host port is 465

host = smtp.qq.com:465

and need the Authorized

8 years ago#518 update git-module require version
Unknwon [Wed, 29 Jun 2016 18:21:23 +0000 (02:21 +0800)]
#518 update git-module require version

8 years ago#3174 genetate bindata
Unknwon [Wed, 29 Jun 2016 15:25:41 +0000 (23:25 +0800)]
#3174 genetate bindata

8 years agoRe-work MAX_DIFF_LINES: supress diff per file, not the whole diff (#3174)
Andrey Nering [Wed, 29 Jun 2016 15:11:00 +0000 (12:11 -0300)]
Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff (#3174)

8 years agoStricter parsing of issue URLs and commit URLs. (#3121)
Cosmin Stroe [Wed, 29 Jun 2016 15:07:39 +0000 (10:07 -0500)]
Stricter parsing of issue URLs and commit URLs. (#3121)

8 years agoUpdate locale bindata
Unknwon [Mon, 27 Jun 2016 16:26:18 +0000 (00:26 +0800)]
Update locale bindata

8 years agoFix typo in english/US message (#2938)
Sandro Santilli [Mon, 27 Jun 2016 16:24:06 +0000 (18:24 +0200)]
Fix typo in english/US message (#2938)

"is activate" -> "is activated"

8 years agoLocalize collaboration settings. (#3100)
Andrey Nering [Mon, 27 Jun 2016 16:22:30 +0000 (13:22 -0300)]
Localize collaboration settings. (#3100)

Closes #2764

8 years agoUpdate glide.yaml
Unknwon [Mon, 27 Jun 2016 15:40:36 +0000 (23:40 +0800)]
Update glide.yaml

8 years agoUse a gopher as default avatar (rather than the gravatar logo) (#3208)
Sandro Santilli [Mon, 27 Jun 2016 10:12:30 +0000 (12:12 +0200)]
Use a gopher as default avatar (rather than the gravatar logo) (#3208)

Also changes the avatar from a jpeg to a png, to allow for
transparent background. The indexed png is also smaller in size.

Note that at the moment the default avatar is only used when
the user requested a custom avatar and the custom avatar file
is not found (should never happen).

In the future the default avatar could be used as a default
return when by-mail avatar lookups fail too (both gravatar
and libravatar support passing a default)

8 years agoFixes #3110 (#3136)
Franz Schmidt [Mon, 27 Jun 2016 09:02:39 +0000 (11:02 +0200)]
Fixes #3110 (#3136)

8 years agoFix #3154 (#3155)
Robin Lambertz [Mon, 27 Jun 2016 08:58:53 +0000 (10:58 +0200)]
Fix #3154 (#3155)

8 years agoMinor fix for #3194
Unknwon [Mon, 27 Jun 2016 08:38:35 +0000 (16:38 +0800)]
Minor fix for #3194

- Update locale bindata

8 years agoInclude repository owner name and description in html title (#3194)
Sandro Santilli [Mon, 27 Jun 2016 08:32:35 +0000 (10:32 +0200)]
Include repository owner name and description in html title (#3194)

Closes #3192

8 years agoFix capitalisation of repo-name in news (#3203)
SjonHortensius [Mon, 27 Jun 2016 08:10:12 +0000 (10:10 +0200)]
Fix capitalisation of repo-name in news (#3203)

use 'official' repo.Name instead of incoming repoName; to enforce
correct capitalisation

8 years agoAdding myself (#3084)
Richard Bukovansky [Mon, 27 Jun 2016 07:59:33 +0000 (09:59 +0200)]
Adding myself (#3084)

As you included Czech translation to official distribution, I think I'm missing here.
I know, selfish as hell... ;)

8 years agoFix negative issue count (#3207)
Robin Lambertz [Sun, 26 Jun 2016 17:53:30 +0000 (19:53 +0200)]
Fix negative issue count (#3207)

8 years agoDo not assume avatar needs be changed from gravatar.com (#3209)
Sandro Santilli [Sun, 26 Jun 2016 17:51:09 +0000 (19:51 +0200)]
Do not assume avatar needs be changed from gravatar.com (#3209)

Always send user to settings screen to change avatar.
Drops "change_custom_avatar" localized message, keeps "change_avatar"
for the generic one.

NOTE: only changes the en-US locale, as per
https://github.com/gogits/gogs/wiki/Contributing-Code#those-we-do-not-accept

NOTE: requires rebuild of bindata.go to fully see effects

8 years agoFix empty space surrounding hidden issue labels (#3200)
chriswatt [Fri, 24 Jun 2016 15:38:25 +0000 (16:38 +0100)]
Fix empty space surrounding hidden issue labels (#3200)

8 years agoUpdate locale
Unknwon [Sun, 12 Jun 2016 10:03:51 +0000 (18:03 +0800)]
Update locale

8 years ago#2958 Update dep version
Unknwon [Sun, 12 Jun 2016 09:54:22 +0000 (17:54 +0800)]
#2958 Update dep version

8 years agorepo/http: clean code
Unknwon [Wed, 1 Jun 2016 11:19:01 +0000 (04:19 -0700)]
repo/http: clean code

8 years agoAdd ServerName to tls.Config in LDAP auth (#3104)
Paul Tötterman [Wed, 1 Jun 2016 08:11:28 +0000 (11:11 +0300)]
Add ServerName to tls.Config in LDAP auth (#3104)

From https://godoc.org/crypto/tls#Config

    ServerName is used to verify the hostname on the returned
    certificates unless InsecureSkipVerify is given. It is also included
    in the client's handshake to support virtual hosting unless it is
    an IP address.

This is needed for certificate validation without InsecureSkipVerify.

8 years ago#2954 minor fix for when to set HTML alternative
Unknwon [Mon, 30 May 2016 08:50:20 +0000 (01:50 -0700)]
#2954 minor fix for when to set HTML alternative

8 years agoUpdate glide.lock
Unknwon [Mon, 30 May 2016 08:39:49 +0000 (01:39 -0700)]
Update glide.lock

8 years ago#2954 use text/plain as default email content format
Unknwon [Mon, 30 May 2016 08:32:01 +0000 (01:32 -0700)]
#2954 use text/plain as default email content format

8 years agoDo not write HTML in text/plain mail part (#2954)
Sandro Santilli [Mon, 30 May 2016 08:18:49 +0000 (10:18 +0200)]
Do not write HTML in text/plain mail part (#2954)

* Do not write HTML in text/plain mail part

Fixes #2928

* Pass text/plain first, text/html second

* Do not send plain/text email if html2text failed (untested)

8 years ago#809 fix wrong closed issue count when create closed issue via API
Unknwon [Sat, 28 May 2016 01:23:39 +0000 (18:23 -0700)]
#809 fix wrong closed issue count when create closed issue via API

Add start count corrector for Repository.NumClosedIssues

8 years agoUpdate .gopmfile (#3133)
Thomas Fanninger [Fri, 27 May 2016 02:05:50 +0000 (04:05 +0200)]
Update .gopmfile (#3133)

Build only work with the current master of the package. Otherwise, I get this error.
```
...
# github.com/gogits/gogs/routers/api/v1/convert
routers/api/v1/convert/convert.go:200: undefined: gogs.Team
routers/api/v1/convert/convert.go:201: undefined: gogs.Team
...
```

8 years agogogs dump tempdir flag (#3086)
Alex Myasoedov [Tue, 24 May 2016 00:10:05 +0000 (03:10 +0300)]
gogs dump tempdir flag (#3086)

8 years agoAdd comment note (#3093)
Andrey Nering [Mon, 23 May 2016 20:24:40 +0000 (17:24 -0300)]
Add comment note (#3093)

8 years ago#3045 fix DEPRECATED Action signature erorr
Unknwon [Thu, 12 May 2016 18:32:28 +0000 (14:32 -0400)]
#3045 fix DEPRECATED Action signature erorr

8 years agolocale: update Czech
Unknwon [Thu, 12 May 2016 18:31:06 +0000 (14:31 -0400)]
locale: update Czech

8 years agoUpdate docker/build.sh script to use glide & make (#3079)
Jean-Philippe Roemer [Wed, 11 May 2016 17:11:59 +0000 (18:11 +0100)]
Update docker/build.sh script to use glide & make (#3079)

* docker: update build script to use glide + make

- docker/build.sh will now use glide to fetch dependencies
- glide is built from source to keep compatibility with arm
  (no pre-prebuilt binary for arm)
- docker/build.sh will also now use the provided Makefile
  It will generate an error when trying to get git build has as we do
  not ship the 88mo .git directory during the build (should not cause
  any problem as the variable it sets was not set previously)

* docker: fix docker arm build

- drop gosu version back to 1.7 as gosu binary for armhf is broken
- see tianon/gosu#19

* docker: update gosu to 1.9

Signed-off-by: Jean-Philippe Roemer <jp@roemer.im>
8 years ago#809 able to set issue state to closed when create
Unknwon [Wed, 11 May 2016 16:19:26 +0000 (12:19 -0400)]
#809 able to set issue state to closed when create