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

8 years agobindata: follow up data clean
Unknwon [Wed, 11 May 2016 16:17:52 +0000 (12:17 -0400)]
bindata: follow up data clean

8 years agoAdd Czech support
Unknwon [Wed, 11 May 2016 16:00:47 +0000 (12:00 -0400)]
Add Czech support

8 years agoFix listing team members (#3048)
Kim Carlbäcker [Sat, 7 May 2016 00:02:36 +0000 (02:02 +0200)]
Fix listing team members (#3048)

8 years agoUpdate glide.lock with latest go-gogs-client (#2939)
Siarhei Navatski [Fri, 6 May 2016 23:48:02 +0000 (02:48 +0300)]
Update glide.lock with latest go-gogs-client (#2939)

8 years agoAdd DPlatform as an installation way (#3044)
Julien Reichardt [Fri, 6 May 2016 23:44:05 +0000 (01:44 +0200)]
Add DPlatform as an installation way (#3044)

8 years agoFix remove folder issues, including initialization failling. (#2969)
Andrey Nering [Fri, 6 May 2016 19:48:18 +0000 (16:48 -0300)]
Fix remove folder issues, including initialization failling. (#2969)

- Prevent panic on creating notice if database is not available
- Prevent incorrect folder on Windows ("/" instead of "\")

8 years agomodels/release: filter input to prevent command line argument vulnerability
Unknwon [Fri, 6 May 2016 19:40:41 +0000 (15:40 -0400)]
models/release: filter input to prevent command line argument vulnerability

8 years agoPDF-Previews in file-lists now working (#3000)
Kim Carlbäcker [Wed, 27 Apr 2016 01:48:44 +0000 (03:48 +0200)]
PDF-Previews in file-lists now working (#3000)

8 years ago#2895 minor fix for bug of xorm
Unknwon [Tue, 26 Apr 2016 04:22:03 +0000 (00:22 -0400)]
#2895 minor fix for bug of xorm

8 years agoMade the issue stats query more secure with parameterized placeholders (#2895)
Thomas Boerger [Tue, 26 Apr 2016 04:07:49 +0000 (06:07 +0200)]
Made the issue stats query more secure with parameterized placeholders (#2895)

8 years agoAdd new language support
Unknwon [Mon, 25 Apr 2016 17:40:23 +0000 (13:40 -0400)]
Add new language support

- Update language choose dropdown to fit more languages

8 years ago#2992 set default style name when empty in AfterSet
Unknwon [Fri, 22 Apr 2016 22:36:05 +0000 (18:36 -0400)]
#2992 set default style name when empty in AfterSet

8 years agoSupport alphanumeric issue style (ABC-1234) for external issue tracker (#2992)
Cosmin Stroe [Fri, 22 Apr 2016 22:28:08 +0000 (17:28 -0500)]
Support alphanumeric issue style (ABC-1234) for external issue tracker (#2992)

8 years agoSet utf-8 charset for text files when serving raw content (#2898)
Tamás Molnár [Wed, 20 Apr 2016 23:38:11 +0000 (01:38 +0200)]
Set utf-8 charset for text files when serving raw content (#2898)

8 years ago[Feature/WIP] Confirm on editing forms (fixes #2881) (#2980)
Kim Carlbäcker [Tue, 19 Apr 2016 20:45:28 +0000 (22:45 +0200)]
[Feature/WIP] Confirm on editing forms (fixes #2881) (#2980)

* Add and start jQuery AreYouSure

* Update SimpleMDE to 1.10.1 for `forceSync` support

* Forgot to remove old version SimpleMDE 1.10.0

* formatting -.-

8 years agoFixed #2909 (#2979)
Kim Carlbäcker [Tue, 19 Apr 2016 20:35:36 +0000 (22:35 +0200)]
Fixed #2909 (#2979)

8 years agodocker: update documentation for container options (#2965)
Jean-Philippe Roemer [Tue, 12 Apr 2016 14:46:32 +0000 (16:46 +0200)]
docker: update documentation for container options (#2965)

- Created a Container options section in `docker/README.md`
- Add documentation for SOCAT_LINK
- Move CROND documentation to the new section

8 years agoUpdate locales
Unknwon [Mon, 11 Apr 2016 22:38:25 +0000 (18:38 -0400)]
Update locales

8 years agoMerge pull request #2920 from l2dy/patch-1
Unknwon [Tue, 5 Apr 2016 17:36:58 +0000 (13:36 -0400)]
Merge pull request #2920 from l2dy/patch-1

Update ISC license

8 years ago#2916 fix sort' field missing on issue pagination link
Unknwon [Mon, 4 Apr 2016 23:48:10 +0000 (19:48 -0400)]
#2916 fix sort' field missing on issue pagination link

8 years agoapi/admin: add/remove organization team repository
Unknwon [Mon, 4 Apr 2016 23:41:34 +0000 (19:41 -0400)]
api/admin: add/remove organization team repository

8 years agoMerge pull request #2914 from psychomario/linenumoptimize
Unknwon [Mon, 4 Apr 2016 23:33:52 +0000 (19:33 -0400)]
Merge pull request #2914 from psychomario/linenumoptimize

Reduce line number creation to one DOM manipulation

8 years agoUpdate ISC license
l2dy [Sun, 3 Apr 2016 01:56:48 +0000 (01:56 +0000)]
Update ISC license

8 years agoreduce line number creation to one DOM manipulation
PsychoMario [Wed, 30 Mar 2016 19:28:40 +0000 (20:28 +0100)]
reduce line number creation to one DOM manipulation

8 years agoFix XORM IN condition table name parse
Unknwon [Sun, 27 Mar 2016 22:21:37 +0000 (18:21 -0400)]
Fix XORM IN condition table name parse

8 years agoMerge pull request #2894 from tboerger/feature/join-condition
Unknwon [Sun, 27 Mar 2016 22:07:52 +0000 (18:07 -0400)]
Merge pull request #2894 from tboerger/feature/join-condition

Followup fix for previous query fix

8 years agoFollowup fix for previous query fix
Thomas Boerger [Sun, 27 Mar 2016 22:05:49 +0000 (00:05 +0200)]
Followup fix for previous query fix

8 years agoMerge pull request #2893 from tboerger/feature/sql-security
Unknwon [Sun, 27 Mar 2016 21:40:28 +0000 (17:40 -0400)]
Merge pull request #2893 from tboerger/feature/sql-security

Try to make the SQL queries cleaner and more secure

8 years agoMade the issues query more secure and simpler
Thomas Boerger [Sun, 27 Mar 2016 21:26:45 +0000 (23:26 +0200)]
Made the issues query more secure and simpler

8 years agoTry to make the SQL queries cleaner and more secure
Thomas Boerger [Sun, 27 Mar 2016 20:54:31 +0000 (22:54 +0200)]
Try to make the SQL queries cleaner and more secure

8 years ago#2878 print error of JSON unmarshal and always returns a valid object
Unknwon [Sat, 26 Mar 2016 20:42:20 +0000 (16:42 -0400)]
#2878 print error of JSON unmarshal and always returns a valid object

8 years ago#2842 add quotes to attachment file name
Unknwon [Sat, 26 Mar 2016 02:11:58 +0000 (22:11 -0400)]
#2842 add quotes to attachment file name

8 years ago#1692 add admin APIs to add/remove a user from teams
Unknwon [Fri, 25 Mar 2016 22:04:02 +0000 (18:04 -0400)]
#1692 add admin APIs to add/remove a user from teams

8 years agoMerge pull request #2883 from nikkomiu/develop
Unknwon [Fri, 25 Mar 2016 21:09:21 +0000 (17:09 -0400)]
Merge pull request #2883 from nikkomiu/develop

Fixes #2842 Parses URL through EscapePound template function

8 years agoChanged EscapePound function with string replace function
Nikko Miu [Fri, 25 Mar 2016 01:48:52 +0000 (20:48 -0500)]
Changed EscapePound function with string replace function

8 years agoUpdate locales
Unknwon [Wed, 23 Mar 2016 19:56:56 +0000 (15:56 -0400)]
Update locales