summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Migrate to use jsoniter instead of encoding/json (#14841)zeripath2021-03-0177-82/+264
| | | | | | | | | | * Migrate to use jsoniter * fix tests * update gitea.com/go-chi/binding Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de>
* When Deleting Repository only explicitly close PRs whose base is not this ↵zeripath2021-03-011-1/+6
| | | | | | | | | repository (#14823) When Deleting Repository only explicitly close PRs whose base is not this repository Fix #14775 Signed-off-by: Andrew Thornton <art27@cantab.net>
* Organization removal confirmation using name not password (#14738)Paweł Bogusławski2021-03-013-10/+7
| | | | | | | | | | | | | | | | | | | | | | | * Organization removal confirmation using name not password Gitea is asking for user password to confirm organization removal so this operation cannot be done in systems with SSO authentication (where no user passwords are used). This mod changes the way gitea confirms organization removal - user must enter organization name (not user password) to confirm operation (similar to repository removal confirmation). Author-Change-Id: IB#1107219 * Translation removed Translation removed from PR - will be restored using Crowdin after pull got merged. Fixes: 95ddcdd8bd8097a952894556d42641d5ec269288 Related: https://github.com/go-gitea/gitea/pull/14738 Author-Change-Id: IB#1107219
* remove duplicate define of CheckAttribute() (#14837)a10121127962021-03-013-57/+9
| | | Signed-off-by: a1012112796 <1012112796@qq.com>
* drone workspace pathtechknowlogick2021-02-281-4/+4
|
* drone workspace basetechknowlogick2021-02-281-0/+2
|
* use gomod support w/ xgo (#14836)techknowlogick2021-03-012-6/+12
|
* Repository transfer has to be confirmed, if user can not create repo for new ↵65432021-03-0132-167/+898
| | | | | | | owner (#14792) * make repo as "pending transfer" if on transfer start doer has no right to create repo in new destination * if new pending transfer ocured, create UI & Mail notifications
* [skip ci] Updated translations via CrowdinGiteaBot2021-03-013-1/+20
|
* go1.16 (#14783)techknowlogick2021-02-28947-7051/+26108
|
* Set HCaptchaSiteKey on Link Account pages (#14834)zeripath2021-02-281-0/+3
| | | | | | | | | | When using HCaptcha on link account pages the site key needs to be passed in. This PR ensures that HCaptchaSiteKey is set in the data. Fix #14766 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Create tag on ui (#13467)a10121127962021-02-2813-29/+149
| | | | | | | | | | Support create single tag directly support create tag with message from create release ui Signed-off-by: a1012112796 <1012112796@qq.com> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: zeripath <art27@cantab.net>
* All organization members should be assignable as reviewer (#14262)Jimmy Praet2021-02-281-8/+12
| | | | | | For public repos, all organization members should be assignable as reviewer Co-authored-by: zeripath <art27@cantab.net>
* add preview support for wiki editor when disable simpleMDE (#14757)a10121127962021-02-282-6/+28
| | | | Signed-off-by: a1012112796 <1012112796@qq.com>
* Fix issue/pul sidebar (#14826)65432021-02-281-192/+193
|
* Prevent use of double sub-path and incorrect asset path in manifest (#14827)zeripath2021-02-282-4/+7
| | | | | | | | | | MakeAbsoluteAssetURL should just url join the static url prefix on to appurl if it is not an absolute path - this is because StaticURLPrefix is an absolute prefix not a relative prefix to the app sub url. Fix #14422 Signed-off-by: Andrew Thornton <art27@cantab.net>
* Remove pt-pt from doc config file (#14830)a10121127962021-02-281-48/+1
| | | | | | Because it not has any content now. It's not necessary to show this link on the footer. Signed-off-by: a1012112796 <1012112796@qq.com>
* Fix missleading sentence (#14829)65432021-02-282-2/+2
|
* [skip ci] Updated licenses and gitignoresGiteaBot2021-02-281-0/+212
|
* Fix a couple of CommentAsPatch issues. (#14804)zeripath2021-02-276-41/+270
| | | | | | | | | | | | | | | | | | | | | | | | | | | * CutDiffAroundLine makes the incorrect assumption that `---` and `+++` always represent part of the header of a diff. This PR adds a flag to its parsing to prevent this problem and adds a streaming parsing technique to CutDiffAroundLine using an io.pipe instead of just sending data to an unbounded buffer. Fix #14711 Signed-off-by: Andrew Thornton <art27@cantab.net> * Handle unquoted comment patch files When making comment patches unfortunately the patch does not always quote the filename This makes the diff --git header ambiguous again. This PR finally adds handling for ambiguity in to parse patch Fix #14812 Signed-off-by: Andrew Thornton <art27@cantab.net> * Add in testing for no error There is no way currently for CutDiffAroundLine in this test to cause an error however, it should still be tested. Signed-off-by: Andrew Thornton <art27@cantab.net>
* Add Image Diff options in Pull Request Diff view (#14450)KN4CK3R2021-02-276-74/+421
| | | Implemented GitHub style image diff
* [skip ci] Updated translations via CrowdinGiteaBot2021-02-272-1/+30
|
* Disable broken OAuth2 providers at startup (#14802)zeripath2021-02-251-1/+7
| | | | | | | | | | Instead of causing a log.Fatal, we should handle broken OAuth2 providers by disabling them. Fix #8930 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [skip ci] Updated translations via CrowdinGiteaBot2021-02-261-1/+12
|
* Fix dashboard UI bugs and more (#14767)Mike L2021-02-255-30/+10
| | | | | | | | This PR fixes a few UI bugs I spontaneously encountered: - Fixes emojis in repo titles getting head-cut and tail-cut in dashboard feed due to introduction of 1.25 em emojis at 1 em line-height, by simply using the original 1 3/7 em value of `semantic.css` - Fixes regression (too long repo names should be capped to 70%) in #13828 due to flex children not respecting properties like `overflow: hidden;`, and removes a block of dead style code - Follow-up to #14761, removes extraneous code for top navbar and correct right margin for Font Awesome - Fixes color emphasis inversion in arc-green theme for top right buttons (edit, delete) on commit view boxes
* use gogs.ico to create a better svg for migration page (#14795)65432021-02-252-2/+61
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-02-251-0/+7
|
* Generate man pages (#13901)65432021-02-242-1/+13
| | | | | | | | | * extend gitignore * first working draft * use docs subcomand * rm config-sheet-sheet-2-man
* Add environment-to-ini to docker image (#14762)Kyle D2021-02-238-25/+65
| | | | | | | | | | | * Add environment-to-app.ini routine * Call environment-to-ini in docker setup scripts * Automatically convert section vars to lower case to match documentation * Remove git patch instructions * Add env variable documentation to Install Docker
* Exclude running docker build on cron tasks (#14778)techknowlogick2021-02-231-0/+10
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-02-231-0/+8
|
* CI: translation update as cron task (#14774)65432021-02-231-4/+4
|
* Add EasyMDE support for release content editor (#14744)a10121127962021-02-223-2/+34
| | | | | * Add easyMDE(simpleMDE) support for release content editor Signed-off-by: a1012112796 <1012112796@qq.com>
* fix a small nit (#14769)a10121127962021-02-221-0/+2
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-02-223-5/+101
|
* build for only available darwin target (#14771)techknowlogick2021-02-221-1/+1
|
* Make release-linux archtectures via envs (#14184)Lunny Xiao2021-02-221-1/+3
|
* Fix repo-restore bug with poster not replaced (#14759)Lunny Xiao2021-02-222-11/+28
| | | | | | | | | * Fix restore bug * Fix restore bug Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: John Olheiser <john.olheiser@gmail.com> Co-authored-by: 6543 <6543@obermui.de>
* Fix double alert in oauth2 application edit view (#14764)a10121127962021-02-221-1/+0
| | | Signed-off-by: a1012112796 <1012112796@qq.com>
* fix link account ui (#14763)a10121127962021-02-212-12/+41
| | | | | Signed-off-by: a1012112796 <1012112796@qq.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Only for direct descendants of items (#14761)Kyle D2021-02-211-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-02-211-0/+11
|
* Fix go get (#14758)Lunny Xiao2021-02-222-59/+65
| | | | | | | * Fix go get * Fix default branch Co-authored-by: 6543 <6543@obermui.de>
* [skip ci] Updated translations via CrowdinGiteaBot2021-02-211-0/+4
|
* Add helper descriptions on new repo page (#14591)Bagas Sanjaya2021-02-212-1/+28
| | | | | | | | | | | | | | | | | | | | | * Add helper descriptions on new repo page Add helpers for: * repo description * .gitignore * license * README * default branch * signature trust model Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com> * Oops, rename trust_model_helper To match similar helper. trust_model_helper_intro -> trust_model_helper Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
* [skip ci] Updated licenses and gitignoresGiteaBot2021-02-211-0/+28
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-02-201-1/+1
|
* Heatmap days clickable (#13935)gordon--2021-02-204-7/+41
| | | | | | | | | | | | | | | | * Heatmap days clickable * Error handling * Unselect filter * better dayclick handler * made linter happy * clickable heatmap for profiles Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Remove unused commit (#14741)Lunny Xiao2021-02-201-5/+3
| | | | | | | | | * Remove unused commit * a small nit Signed-off-by: a1012112796 <1012112796@qq.com> Co-authored-by: a1012112796 <1012112796@qq.com>
* [skip ci] Updated translations via CrowdinGiteaBot2021-02-201-0/+8
|