mirror of
https://github.com/go-gitea/gitea
synced 2024-12-26 21:34:32 +01:00
dfa7291f8f
* [Enhancement] Allow admin to merge pr with protected file changes As tilte, show protected message in diff page and merge box. Signed-off-by: a1012112796 <1012112796@qq.com> * remove unused ver * Update options/locale/locale_en-US.ini Co-authored-by: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com> * Add TrN * Apply suggestions from code review * fix lint * Update options/locale/locale_en-US.ini Co-authored-by: zeripath <art27@cantab.net> * Apply suggestions from code review * move pr proteced files check to TestPatch * Call TestPatch when protected branches settings changed * Apply review suggestion @CirnoT * move to service @lunny * slightly restructure routers/private/hook.go Adds a lot of comments and simplifies the logic Signed-off-by: Andrew Thornton <art27@cantab.net> * placate lint Signed-off-by: Andrew Thornton <art27@cantab.net> * skip duplicate protected files check * fix check logic * slight refactor of TestPatch Signed-off-by: Andrew Thornton <art27@cantab.net> * When checking for protected files changes in TestPatch use the temporary repository Signed-off-by: Andrew Thornton <art27@cantab.net> * fix introduced issue with hook Signed-off-by: Andrew Thornton <art27@cantab.net> * Remove the check on PR index being greater than 0 as it unnecessary Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: techknowlogick <matti@mdranta.net> Co-authored-by: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io> |
||
---|---|---|
.. | ||
migrations.go | ||
v70.go | ||
v71.go | ||
v72.go | ||
v73.go | ||
v74.go | ||
v75.go | ||
v76.go | ||
v77.go | ||
v78.go | ||
v79.go | ||
v80.go | ||
v81.go | ||
v82.go | ||
v83.go | ||
v84.go | ||
v85.go | ||
v86.go | ||
v87.go | ||
v88.go | ||
v89.go | ||
v90.go | ||
v91.go | ||
v92.go | ||
v93.go | ||
v94.go | ||
v95.go | ||
v96.go | ||
v97.go | ||
v98.go | ||
v99.go | ||
v100.go | ||
v101.go | ||
v102.go | ||
v103.go | ||
v104.go | ||
v105.go | ||
v106.go | ||
v107.go | ||
v108.go | ||
v109.go | ||
v110.go | ||
v111.go | ||
v112.go | ||
v113.go | ||
v114.go | ||
v115.go | ||
v116.go | ||
v117.go | ||
v118.go | ||
v119.go | ||
v120.go | ||
v121.go | ||
v122.go | ||
v123.go | ||
v124.go | ||
v125.go | ||
v126.go | ||
v127.go | ||
v128.go | ||
v129.go | ||
v130.go | ||
v131.go | ||
v132.go | ||
v133.go | ||
v134.go | ||
v135.go | ||
v136.go | ||
v137.go | ||
v138.go | ||
v139.go | ||
v140.go | ||
v141.go | ||
v142.go | ||
v143.go | ||
v144.go | ||
v145.go | ||
v146.go | ||
v147.go | ||
v148.go | ||
v149.go | ||
v150.go | ||
v151.go | ||
v152.go | ||
v153.go | ||
v154.go | ||
v155.go |