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
Unknwon
79a2745b4a
Set ProdMode in the correct place
...
Closes #3696 , #3611
Previously, ProdMode can only be true for web server,
which always prints dev mode log message to incoming SSH
connections and leaks unexpected information.
2016-12-22 00:27:45 -05:00
Unknwon
6cc992ea54
Minor fix for PR #3687
2016-12-21 23:52:11 -05:00
Stefan Grönke
3376354ed8
Check if file is a symlink with web editor ( #3687 )
...
* editor checks for symlinks
* translate file_is_a_symlink message
* credit translation author
2016-12-21 23:49:56 -05:00
Unknwon
c2e1370588
Update README
...
[CI SKIP]
2016-12-21 22:47:55 -05:00
Thibault Meyer
93616fe776
Fix regex on route file ( #3851 )
2016-12-21 19:46:43 -05:00
Najeeb R
e5972bbcde
#3480 Fix new ssh key adding issues ( #3565 )
...
* #3480 Fix new ssh key adding issues
Added regular exp match (108) and remove training new line (111) that cause system to think its an ssh2 key.
* #3480 Fix new ssh key adding issues
-Sanitizate new lines (windows format) in posted key
-Edit sanitization implementation to use string replace for code readability and maintenability.
2016-12-21 19:35:48 -05:00
Flare
952e510dfa
Added public entries to reserved keywords list
...
Closes #3728
2016-12-21 19:24:23 -05:00
Unknwon
8f442dde03
Dirty hack for #3905
...
I beileve this is a bug in XORM which wrongly identifies a struct
to inappropriate table name. Also seems to be random.
2016-12-21 05:11:52 -05:00
Unknwon
c1e53cdc72
Minor fix for PR #3822
2016-12-21 04:18:23 -05:00
stroucki
e9f6a43073
Fix database write context interleaving bug ( #3822 )
...
* UpdateIssueUsersByMentions was calling database write operations while
a transaction session was in progress. MailParticipants was failing
silently because of the SQLITE_LOCKED error. Make sure failures in
MailParticipants enter the log, and pass on the transaction context.
issue: let caller pass in database context, and use it
issue_comment: obtain database context to pass to UpdateIssueMentions
issue_comment: log any error from call to MailParticipants
issue_mail: pass on database context to UpdateIssueMentions
* issue: forgot debug statement
2016-12-21 04:11:07 -05:00
Unknwon
67380cf47b
Minor code fix
2016-12-21 04:08:23 -05:00
LefsFlare
39fdb0f9c4
Fixed 404 caused by unexpected question mark ( #3668 )
...
This fixes 404 caused when creating new files or wiki pages with question marks.
2016-12-21 04:05:49 -05:00
imilo
85fbd6e9c6
New settings option for a custom SSH host ( #3763 )
2016-12-21 03:46:54 -05:00
Mateusz Hromada
2cfdce88e0
Check for zero length passwords in LDAP module. ( #3827 )
2016-12-21 03:43:37 -05:00
Саша Иванов
ca6cbb95cc
#3791 update LDAP username check ( #3906 )
2016-12-21 03:43:22 -05:00
leonklingele
7cb440273c
Don't use custom PBKDF2 function ( #3952 )
...
Instead, use golang.org/x/crypto/pbkdf2
2016-12-21 03:42:44 -05:00
leonklingele
d96f2a7184
Fix random string generator ( #3953 )
...
* Remove unused custom-alphabet feature of random string generator
* Fix modulo-biased random string generator
* Random string generator should return error if it fails to read random data via crypto/rand
2016-12-21 03:41:37 -05:00
Nico Mandery
adcb1d7c65
serve video files using the HTML5 video tag ( #3967 )
2016-12-21 03:40:23 -05:00
afilippov1985
04fbfad2d4
init script for gentoo ( #3761 )
2016-12-21 03:38:07 -05:00
SeongAhJo
bab051a8c1
Fix Typo Errors ( #3885 )
...
* Fix typos
* Fix typos
2016-12-21 03:33:30 -05:00
leonklingele
ad6de46ce4
Fix typo: 'passowrd' -> 'password' ( #3951 )
2016-12-21 03:31:40 -05:00
Bo Zhang
282f7fb8fa
Fix typos ( #3852 )
2016-12-21 03:13:11 -05:00
M5oul
5034ef787c
[mod] readme: update YunoHost package link. ( #3881 )
2016-12-21 03:12:53 -05:00
Sandro Santilli
3925166d31
Add support for using "libravatar" as the GravatarSource ( #3969 )
...
Just to make it easier for administrator to configure libre avatar,
as it is done for "duoshuo" and "gravatar"
2016-12-21 03:10:15 -05:00
Alexander Lunegov
7358e46815
Fix string format verbs ( #3637 )
2016-12-21 02:09:43 -05:00
Unknwon
8f09fc64bd
Minor fix for PR #3624
2016-12-21 01:48:11 -05:00
Kim "BKC" Carlbäcker
b2de3d71c5
More Issue-Comments API-endpoints ( #3624 )
...
* ListAllInRepo & Delete Issue-Comments
* Moar data in issue-comments
2016-12-21 01:21:15 -05:00
Unknwon
44ed991726
Merge branch 'develop' of https://github.com/tanapoln/gogs into develop
2016-12-21 00:49:44 -05:00