4382 Commits

Author SHA1 Message Date
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
Unknwon
34b92cdb44
Fix #3905 2016-12-20 23:23:57 -05:00
Unknwon
d3b2ff17d6
Update locales 2016-12-20 22:35:55 -05:00
Unknwon
cc45a8ab06
cmd: new command 'import locale'
Quickly import locale files downloaded from Crowdin.
2016-12-20 22:34:58 -05:00
Unknwon
105c528369
Add Korean support 2016-12-20 21:59:59 -05:00
Unknwon
5d0b334d56
Update git-module required version 2016-12-20 21:28:32 -05:00
Unknwon
b092733c2e
Update git-module version to support back Git 1.7.1 2016-12-08 11:44:45 -05:00
Unknwon
baeccdb161
Add github.com/go-xorm/builder to dependency 2016-11-23 21:04:16 -05:00
Unknwon
394fc61129
Update glide.lock and .gopmfile for XORM 2016-11-23 20:58:45 -05:00
Unknwon
55dc9d898f
Drop Go 1.4 support
Due to golang.org/x/crypto/ssh requires a method from STD in Go 1.5.

And Go 1.4 is fairly old version for now.
2016-11-23 20:23:18 -05:00
Unknwon
552d5c7ceb
Update glide.lock and .gopmfile
Closes #3690 #3727
2016-11-23 20:06:41 -05:00
Unknwon
95065de39a
Fork go-libravatar to remove import path check
To use GitHub import path as much as possible.
2016-11-19 21:55:21 -05:00
Unknwon
a3ea4b8802
Update locales and add Swedish 2016-11-19 21:40:13 -05:00
Rémy Boulanouar
6bcff7828f Fix mention in comments like (@dblk) (#3655)
* Fix mention in comments like (@dblk)

* Better fix to avoid making link for "Hello@DblK"
2016-10-16 22:17:59 -04:00
LefsFlare
2cb5ec5983 Prevented user enumeration of valid users through HTTP status codes of login (#3639) (#3654) 2016-10-16 22:08:40 -04:00
LefsFlare
2bec8a4f1e Changed interface (#3685) 2016-09-22 19:38:12 -04:00
Unknwon
7e15ff9486
Update locales
Add new locale Serbian (Cyrillic)
2016-09-15 20:03:36 -04:00
Unknwon
12445fe2ed
Add build system link to README [CI SKIP] 2016-09-08 20:56:05 -04:00
Unknwon
491407ddf8
#3590 fix 404 for release draft edition
Closes #3591
2016-09-03 06:00:59 -04:00
Unknwon
6da55159a2
#3589 LoadRepoConfig after ORM is initialized 2016-09-02 23:18:37 -04:00