gitea/options/locale
Mario Lubenka 61db834904 Change target branch for pull request (#6488)
* Adds functionality to change target branch of created pull requests

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Use const instead of var in JavaScript additions

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Check if branches are equal and if PR already exists before changing target branch

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Make sure to check all commits

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Print error messages for user as error flash message

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Disallow changing target branch of closed or merged pull requests

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Resolve conflicts after merge of upstream/master

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Change order of branch select fields

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Removes duplicate check

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Use ctx.Tr for translations

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Recompile JS

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Use correct translation namespace

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Remove redundant if condition

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Moves most change branch logic into pull service

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Completes comment

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Add Ref to ChangesPayload for logging changed target branches
instead of creating a new struct

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Revert changes to go.mod

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Directly use createComment method

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Return 404 if pull request is not found. Move written check up

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Remove variable declaration

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Return client errors on change pull request target errors

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Return error in commit.HasPreviousCommit

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Adds blank line

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Test patch before persisting new target branch

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Update patch before testing (not working)

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Removes patch calls when changeing pull request target

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Removes unneeded check for base name

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Moves ChangeTargetBranch completely to pull service. Update patch status.

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Set webhook mode after errors were validated

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Update PR in one transaction

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Move logic for check if head is equal with branch to pull model

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Adds missing comment and simplify return

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Adjust CreateComment method call

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
2019-12-16 14:20:25 +08:00
..
locale_bg-BG.ini [skip ci] Updated translations via Crowdin 2019-11-23 15:05:14 +00:00
locale_cs-CZ.ini [skip ci] Updated translations via Crowdin 2019-12-04 01:42:09 +00:00
locale_de-DE.ini [skip ci] Updated translations via Crowdin 2019-12-07 15:54:45 +00:00
locale_en-US.ini Change target branch for pull request (#6488) 2019-12-16 14:20:25 +08:00
locale_es-ES.ini [skip ci] Updated translations via Crowdin 2019-12-04 01:42:09 +00:00
locale_fa-IR.ini [skip ci] Updated translations via Crowdin 2019-12-04 01:42:09 +00:00
locale_fi-FI.ini [skip ci] Updated translations via Crowdin 2019-11-23 15:05:14 +00:00
locale_fr-FR.ini [skip ci] Updated translations via Crowdin 2019-12-04 01:42:09 +00:00
locale_hu-HU.ini [skip ci] Updated translations via Crowdin 2019-11-23 15:05:14 +00:00
locale_id-ID.ini [skip ci] Updated translations via Crowdin 2019-11-23 15:05:14 +00:00
locale_it-IT.ini [skip ci] Updated translations via Crowdin 2019-12-04 01:42:09 +00:00
locale_ja-JP.ini [skip ci] Updated translations via Crowdin 2019-12-08 16:59:29 +00:00
locale_ko-KR.ini [skip ci] Updated translations via Crowdin 2019-11-23 15:05:14 +00:00
locale_lt-LT.ini [skip ci] Updated translations via Crowdin 2019-11-23 15:05:14 +00:00
locale_lv-LV.ini [skip ci] Updated translations via Crowdin 2019-12-04 01:42:09 +00:00
locale_ml-IN.ini [skip ci] Updated translations via Crowdin 2019-11-23 15:05:14 +00:00
locale_nb-NO.ini [skip ci] Updated translations via Crowdin 2019-11-23 15:05:14 +00:00
locale_nl-NL.ini [skip ci] Updated translations via Crowdin 2019-11-23 15:05:14 +00:00
locale_nn-NO.ini [skip ci] Updated translations via Crowdin 2019-11-23 15:05:14 +00:00
locale_no-NO.ini [skip ci] Updated translations via Crowdin 2019-11-23 15:05:14 +00:00
locale_pl-PL.ini [skip ci] Updated translations via Crowdin 2019-12-06 19:16:21 +00:00
locale_pt-BR.ini [skip ci] Updated translations via Crowdin 2019-12-06 19:16:21 +00:00
locale_ru-RU.ini [skip ci] Updated translations via Crowdin 2019-12-04 01:42:09 +00:00
locale_ru-UA.ini [skip ci] Updated translations via Crowdin 2018-05-19 14:58:24 +00:00
locale_sr-SP.ini [skip ci] Updated translations via Crowdin 2019-11-23 15:05:14 +00:00
locale_sv-SE.ini [skip ci] Updated translations via Crowdin 2019-12-04 01:42:09 +00:00
locale_tr-TR.ini [skip ci] Updated translations via Crowdin 2019-12-04 01:42:09 +00:00
locale_uk-UA.ini [skip ci] Updated translations via Crowdin 2019-12-04 01:42:09 +00:00
locale_vi-VN.ini [skip ci] Updated translations via Crowdin 2019-11-23 15:05:14 +00:00
locale_zh-CN.ini [skip ci] Updated translations via Crowdin 2019-12-14 17:32:24 +00:00
locale_zh-HK.ini [skip ci] Updated translations via Crowdin 2019-11-23 15:05:14 +00:00
locale_zh-TW.ini [skip ci] Updated translations via Crowdin 2019-11-23 15:05:14 +00:00
TRANSLATORS Add @yasarciv67 to TRANSLATORS file (#8451) 2019-10-10 15:47:38 +02:00