2
0
Commit Graph

6074 Commits

Author SHA1 Message Date
Lauris BH
6fbd49a498 Use correct transaltion key for delete email button (#3422) 2018-01-31 00:31:06 +02:00
Antoine GIRARD
e4fb8feb18 Add sensitive headers (#3429)
* Add HeaderWithSensitiveCase methods to respect casing

* Update webhook.go
2018-01-31 00:09:16 +02:00
GiteaBot
478d929d9a [skip ci] Updated translations via Crowdin 2018-01-30 12:30:54 +00:00
Lauris BH
f9e99d760b Fix branch deletion for squash or rebase merged pull requests (#3425) 2018-01-30 14:29:39 +02:00
GiteaBot
0150b1e579 [skip ci] Updated translations via Crowdin 2018-01-29 17:50:28 +00:00
Lauris BH
d7802b5d96 Fix go-get content type (#3426) 2018-01-29 19:50:04 +02:00
GiteaBot
9ec2bb130f [skip ci] Updated translations via Crowdin 2018-01-29 11:15:41 +00:00
Ethan Koenig
df27fd2f14 Fix PR merge error (#3421) 2018-01-29 12:18:20 +02:00
Lauris BH
fb7d0088ae Add doctype to go-get=1 reponse (#3423) 2018-01-29 03:12:04 +02:00
Ethan Koenig
0d0a79bd75 Fix SQL type error for webhooks (#3424) 2018-01-29 02:26:01 +02:00
Lauris BH
06666b14b9 Add mising LOCAL_WIKI_PATH documentation (#3420) 2018-01-28 19:16:28 +02:00
GiteaBot
6e33aaae8f [skip ci] Updated translations via Crowdin 2018-01-28 12:25:26 +00:00
Ethan Koenig
c4c1762fe2 Fix race condition in repo renaming (#3418) 2018-01-28 14:24:59 +02:00
Ethan Koenig
47fe7eb2e8 Fix empty checkout bug (#3419) 2018-01-28 13:27:42 +02:00
Antoine GIRARD
bb5151295a doc: Improve integrations examples (#3416) 2018-01-27 20:52:41 +02:00
Timo Schindler
1bdb477b96 Added quoting for passwords in sample.app.ini and documentation (#3395) 2018-01-27 20:35:49 +02:00
Wendell Sun
04ef9911f5 Change local copy origin url after repository rename (#3399)
Fix #3378
2018-01-27 19:54:26 +02:00
Antoine GIRARD
73cc178040 Fix SSH auth lfs locks (#3152)
* Fix SSH auth LFS locks

* Activate SSH/lock test

* Remove debug

* Follow @lunny recommendation for AfterLoad method
2018-01-27 18:48:15 +02:00
Lunny Xiao
28ed7064e8 fix MSSQL bug on org (#3405) 2018-01-27 17:20:59 +02:00
Lauris BH
e08df21987 Recognize more characters in crossreferenced repo name (#3413) 2018-01-27 14:33:32 +02:00
GiteaBot
ce2eec3aaf [skip ci] Updated translations via Crowdin 2018-01-27 02:18:45 +00:00
Kazuki Sawada
1248472419 Add myself to TRANSLATORS (#3415) 2018-01-26 20:17:26 -06:00
GiteaBot
188260df27 [skip ci] Updated translations via Crowdin 2018-01-25 14:03:22 +00:00
Morgan Bazalgette
4b1acda37d HTML escape all lines of the search result (#3402)
Fixes #3383.
2018-01-22 23:28:16 +02:00
Sandro Santilli
d75aa71d32 Use GiteaServer as the user agent for http requests (#3404)
Otherwise we're still presenting ourselves as GogsServer...
2018-01-22 22:37:14 +02:00
Antoine GIRARD
44769ed9c5 Remove useless check (#3384)
In #3377, I put check inside all write key function. This one is useless no.
2018-01-19 21:45:53 +02:00
Sandro Santilli
dd4126aae3 Force-push to base repo's ref/pull/#/head (#3393)
* Force-push to base repo's ref/pull/#/head

Fixes force-pushing to pull request branches, otherwise failing with:

[...gitea/models/pull.go:1022 AddTestPullRequestTask()] [E] PushToBaseRepo: Push: exit status 1 - To /path/to/gitea-repositories/org/repo.git
 ! [rejected]        issue-fix -> refs/pull/20/head (non-fast-forward)

* format
2018-01-19 08:53:45 +02:00
Lauris BH
5b5327a0bf Change how merged PR commit info are prepared (#3368)
* Change how merged PR commits and diff are made

* Update code.gitea.io/git dependency

* Fix typo

* Remove unneeded local variable
2018-01-19 08:18:51 +02:00
Ethan Koenig
28f5a347fa Delete indexer DB entries when (re)creating index (#3385)
* comment
2018-01-17 23:51:07 +02:00
GiteaBot
fae9dc7f14 [skip ci] Updated translations via Crowdin 2018-01-16 21:27:57 +00:00
Kim "BKC" Carlbäcker
7628c6363c Update source installation requirements (#3124)
* Update source installation requirements

We require Golang 1.8 since we use `net/url.PathEscape` which was not introduced until then

* Use Golang 1.8 for build and test

If we state Golang 1.8 we should test using that version as well

* Use golang 1.8 only for single build to see if everything compiles

* Change back edge also for commented out sqlite test
2018-01-16 22:18:11 +01:00
Antoine GIRARD
f5f05c66b7 Add integrations tests from git cli (#3377)
* test: integration add git cli tests

Extracted form for easing review process and debug #3152

* test: integration add git cli big file commit

* fix:  Don't rewrite key if internal server
2018-01-16 13:07:47 +02:00
Marc Brückner
e8672dd76d Fix API-Endpoint release (#3012)
* Fixes API-Endpoint release (#3005)

* Using context.ReferencesGitRepo(); doing the same in the PATCH route.

* Add release create, get and update test
2018-01-16 10:54:13 +02:00
GiteaBot
08017b3cd8 [skip ci] Updated translations via Crowdin 2018-01-15 22:45:41 +00:00
Lauris BH
327a7ff1ef Change reserved avatar name to correct - avatars (#3375) 2018-01-16 00:45:13 +02:00
GiteaBot
32e5da25a3 [skip ci] Updated translations via Crowdin 2018-01-15 06:04:51 +00:00
muhfaris
777a048fe6 Fix Delete repository message (#3260) 2018-01-15 08:03:30 +02:00
Ethan Koenig
a72dd394a3 Fix en-US locale (#3371) 2018-01-15 00:27:57 +02:00
GiteaBot
bad37babeb [skip ci] Updated translations via Crowdin 2018-01-14 22:10:15 +00:00
viktike
fe6019e61e Add myself as a translator (#3370) 2018-01-15 00:09:30 +02:00
GiteaBot
2e69a23486 [skip ci] Updated translations via Crowdin 2018-01-14 17:35:34 +00:00
Ethan Koenig
f6fa33b77a Asynchronously populate the repo indexer (#3366)
* Populate repo indexer in background

* Check if no repos exist

* race cond
2018-01-14 19:34:41 +02:00
GiteaBot
1593172878 [skip ci] Updated translations via Crowdin 2018-01-13 09:46:18 +00:00
Bo-Yi Wu
b84da59476 refactor(model): update user method. (#3360) 2018-01-13 11:45:16 +02:00
GiteaBot
319cb2da3f [skip ci] Updated translations via Crowdin 2018-01-12 22:17:50 +00:00
Morgan Bazalgette
e45a300221 General refactor of the cmd package (#3328)
* General refactor of the cmd package

* Address breakage in runCreateUser

* Place "common" functions into cmd.go
2018-01-12 23:16:49 +01:00
Antoine GIRARD
8ff5505da1 Add MSSQL to supported database list of intall page (#3359) 2018-01-12 19:23:28 +02:00
Morgan Bazalgette
2fe2507dca Address issues pointed out by @lunny in #3339 (#3352) 2018-01-12 08:37:30 -06:00
GiteaBot
4967977332 [skip ci] Updated translations via Crowdin 2018-01-11 22:20:44 +00:00
Kim "BKC" Carlbäcker
54f635c8f5 Cleanup models.User.HashPassword (#3334) 2018-01-12 00:19:38 +02:00