Commit Graph

4489 Commits (2381fe72cbacf8a375ec1a2f291ec3292bb52334)

Author SHA1 Message Date
Dennis Chen c98aa0e895 api: display repository forks (#3252)
Lists the forks of a repository at the /:user/:repo/forks endpoint.

Signed-off-by: Dennis Chen <barracks510@gmail.com>
2017-01-28 17:59:21 -05:00
Aaron Wood 263203ec28 Produce a position independent executable (#4011)
* Produce a position independent executable

* Add OS detection to the main Makefile so we don't apply -pie on OS X
2017-01-28 17:16:34 -05:00
Denis Denisov 84f28fc5d6 Safe compare password (timing attack) (#4064) 2017-01-28 13:28:52 -05:00
Unknwon 9144ea2b1d
Fix inappropriate CSS rule for Markdown on wiki page (#3766) 2017-01-28 09:47:16 -05:00
Unknwon 0d73dcaf0f
Fix cross-repository reference link error (#4025) 2017-01-28 09:40:32 -05:00
Unknwon a6a3afd130
Update locales 2017-01-28 05:54:05 -05:00
Unknwon 7aa53635fe
Add 'Organizations' page to user settings (#3587)
User is now able to view full list of organizations belongs to.
2017-01-27 22:36:45 -05:00
Rémy Boulanouar 2ee0c61e62 Setting orgs (#3587)
* Implement organizations listing in setting and allow user to create new organization.

* Implement organizations listing in setting and allow user to create new organization.

* Add space remove by mistake

* Remove unused part of the template

* Update display and behavior according to @Unknown remarks
2017-01-27 22:02:27 -05:00
Unknwon 3d23c13160
Add AppVeyor badge to README 2017-01-27 19:42:41 -05:00
Unknwon e2afd886fd
Update appveyor.yml 2017-01-27 19:33:40 -05:00
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