Commit Graph

4279 Commits (aa682b3b7e42b198df0fba346989bc10bd7f70bd)

Author SHA1 Message Date
Unknwon aa682b3b7e
Add appveyor.yml 2017-01-27 19:25:00 -05:00
Unknwon e43479d948
Fix changed branch is not reflected when creating PR (#3604) 2017-01-27 18:56:32 -05:00
Unknwon a2f2f7717a
Fix template error when rendering non-README markdown (#4063) 2017-01-27 16:52:19 -05:00
cybe 740192564b Verify repository is not bare before retrieving blob. (#3996) 2017-01-27 07:09:25 -05:00
Unknwon 8bcc0e392e
Update XORM required version and 'go fmt' 2017-01-26 17:49:29 -05:00
Unknwon ae319da5fd
Disable local path migration by default (#4033)
Site admin now has to enable manually by config option
[repository] ENABLE_LOCAL_PATH_MIGRATION = true.
Site admin always grants this permission, but regulars users have
to be allowed by site admins in admin user panel.
2017-01-26 17:43:37 -05:00
Unknwon 6d6848af5c
Fix log depth of AvatarLink 2017-01-26 17:22:25 -05:00
Unknwon 0d60b58434
templates/repo: rename 'Code' to 'Files' 2017-01-25 18:15:37 -05:00
Unknwon ad57f18894
modules/sync: minor field refactor 2017-01-25 18:10:27 -05:00
Óscar García Amor 80cd8f6a29 Fix #3714 (#4060) 2017-01-25 17:48:31 -05:00
Unknwon 8cb903fbbb
Fix unexpected rendering of README when it is not in Markdown
This patch also handles case when a file name looks like README
but is not a text file (e.g. image, PDF).
2017-01-25 07:10:52 -05:00
Unknwon d1c327d508
repo/home.tmpl: only ellipsis on repository name
File name could contain non-ASCII characters.
See details on https://discuss.gogs.io/t/topic/758.
2017-01-24 21:15:44 -05:00
Óscar García Amor eaf57229d3 Fix notification email issues (#4055) 2017-01-24 08:18:14 -05:00
atzoum 4e967bc765 Dockerfile for aarch64 (odroid c2 & pine64) (#4018) 2017-01-23 18:31:24 -05:00
Aaron Wood 64788ffff6 Remove call to set GOMAXPROCS (#4010)
* Remove call to set GOMAXPROCS

* Remove runtime import
2017-01-23 18:30:40 -05:00
Joakim Fremstad 3143e35d83 Reword README.md (#4047) 2017-01-23 18:30:29 -05:00
Unknwon 8d5a693382
locale: remove unused locale string 2017-01-23 14:33:25 -05:00
Sandro Santilli 1e185787a9 Enable federated avatars by default (#3997) 2017-01-22 06:03:38 -05:00
Unknwon 1b2ecde1c9
Update locales 2017-01-21 20:12:19 -05:00
Unknwon e8c3e9bcf8
Improve code for fix of #4006 2017-01-03 11:02:14 +08:00
Unknwon cdfcef04a1
Fix incorrect logic check for fork repo action 2017-01-03 10:39:05 +08:00
Unknwon 8aa35577b3
Fix vulnerability reported in #4006 2017-01-03 10:36:27 +08:00
Unknwon c4086d43db
Update locales 2017-01-01 13:33:24 +08:00
Unknwon 8059175a5c
Fix dashboard issues/pull request counting 2016-12-27 22:01:18 +08:00
Unknwon f8fd084bd2
Fix dashboard issue/pull request scoping 2016-12-27 20:32:27 +08:00
Unknwon d528704503
Minor code fix for PR #3560 2016-12-27 20:26:35 +08:00
Unknwon 98076ee72d
Upgrade Sematic UI to 2.2.7 2016-12-27 18:56:21 +08:00
hgaiser e6ef75204b Fix assigned/created issues in dashboard. (#3560)
* Fix assigned/created issues in dashboard.

* Use GetUserIssueStats for getting all Dashboard stats.

* Use gofmt to format the file properly.

* Replace &Issue{} with new(Issue).

* Check if user has access to given repository.

* Remove unnecessary filtering of issues.

* Return 404 error if invalid repository is given.

* Use correct number of issues in paginater.
2016-12-27 18:54:24 +08:00
Joel-Liang d674cb7f20 Fix wrong anchors for non-latin headings (#3981)
Change Javascript regular expression to match non-latin characters
The regex comes from here: http://stackoverflow.com/questions/150033/regular-expression-to-match-non-english-characters#comment22322603_150078

And this patch should fixed these two issues: #3919 #3843
2016-12-26 22:37:20 -05:00
Unknwon 114c179e5a
Update .gopmfile and glide.lock 2016-12-23 21:53:30 -05:00
Unknwon 598e062241
Add Galician support
- Update locales
2016-12-23 21:06:15 -05:00
David A. Lareo bf70082c22 New locale "galician" (#3917) 2016-12-23 20:53:24 -05:00
Unknwon 2994272e91
Code fix for PR #3748 2016-12-23 20:44:27 -05:00
typeless cdedc2d188 Use temporary file to avoid out-of-memory when receiving big chunks. (#3748)
* Use temporary file to avoid out-of-memory when receiving big chunk.

Not perfect but I think it's a reasonable solution.
For small request bodies, I suppose performance wouldn't be an issue.
For large ones, this seems to be a necessary evil.

* Must close the open file to avoid fd leaks
2016-12-23 19:50:12 -05:00
Unknwon 42a3bbb0f4
Fetch before Checkout when create pull request (#3699) 2016-12-23 19:36:16 -05:00
Unknwon eb79532812
Minor fix for PR #3436 2016-12-23 19:00:24 -05:00
lstahlman 5feb68a589 Improve issue references in markdown. (#3436) 2016-12-23 18:49:53 -05:00
Unknwon 03f7f3ee67
Some code renaming 2016-12-22 19:58:30 -05:00
Unknwon 6383bf7480
Fix reported vulnerability
Ability to use labels from arbitrary repositories.

Reported by Miguel Ángel Jimeno.
2016-12-22 19:44:59 -05:00
Unknwon f471ef1bc7
Fix vulnerability reported in #3962 2016-12-22 19:35:06 -05:00
Unknwon 7ebe0a9916
Fix vulnerabilities reported in #3959 2016-12-22 19:19:56 -05:00
Unknwon 89e93fe01e
Minor code fix for PR #3602
Closes #1122
2016-12-22 03:49:50 -05:00
raphael10241024 0f8a5fdf49 fix bug #1122 log.smtp receiver configure error (#3602) 2016-12-22 03:45:51 -05:00
Gian Perrone 3c91c9063b Enable Ubuntu 16.04 build at packager.io (#3617) 2016-12-22 03:41:54 -05:00
Unknwon e629c7583b
Fix #3675
Closes #3676
2016-12-22 03:35:53 -05:00
ipavl 539b07e205 Pluralize "Statistic" (#3665)
Other locales appear to use the plural version, and the text is being associated with more than one statistic.
2016-12-22 03:26:33 -05:00
Unknwon 16d3e7085e
Minor fix for PR #3667 2016-12-22 01:51:49 -05:00
Thibault Meyer c47fbc629b Feature #2583: Disable HTTP cloning (#3667)
* Can disable GIT interactions by HTTP protocol

* rename variable + fix wiki link

* missing space
2016-12-22 01:42:04 -05:00
Unknwon d04b19545d
Code fix for PR #3547 2016-12-22 01:28:06 -05:00
Kurt Madel 3b0e2c1c3f PR Webhook - Add base/head info (#3547)
* messing with getting local go-gogs-client

* coding style fix

* added comments for required fields
2016-12-22 01:01:15 -05:00