aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [skip ci] Updated licenses and gitignoresGiteaBot2021-01-24397-13257/+12501
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-01-231-0/+1
|
* just overload to not get it by mistake again ... (#14440)65432021-01-231-0/+5
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-01-2314-14/+0
|
* Add link to packages in openSUSE build service (#14439)Klaus Vink Slott2021-01-231-0/+5
| | | * Link to OpenSUSE build service
* Improve Description in new/ edit Project template (#14429)delvh2021-01-232-3/+4
| | | | | | Fixes #14358 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: 6543 <6543@obermui.de>
* Don't show "Reference in new issue" when issues unit is globally disabled ↵Jimmy Praet2021-01-231-1/+3
| | | | | (#14437) Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* CI: Update license & gitignore by cron (#14419)a10121127962021-01-231-0/+39
| | | | | | | do generate-license & generate-gitignore by cron close #12684 Signed-off-by: a1012112796 <1012112796@qq.com>
* Fix close/reopen with comment (#14436)Jimmy Praet2021-01-231-1/+1
| | | it previously only worked for the simple textarea, and not for the rich textarea
* Add german translation guidelines (#14283)kolaente2021-01-226-0/+187
| | | | | | | | | | * Add german translation guidelines * Add German Language to Docs * add Translation cateory & move guidelines into it Co-authored-by: kolaente <k@knt.li> Co-authored-by: 6543 <6543@obermui.de>
* [skip ci] Updated translations via CrowdinGiteaBot2021-01-221-3/+15
|
* Fix lfs preview bug (#14428)Lunny Xiao2021-01-221-1/+4
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-01-221-1/+0
|
* Bump gsap from 3.5.1 to 3.6.0 (#14410)dependabot[bot]2021-01-221-3/+3
| | | | | | | | | | | Bumps [gsap](https://github.com/greensock/GSAP) from 3.5.1 to 3.6.0. - [Release notes](https://github.com/greensock/GSAP/releases) - [Commits](https://github.com/greensock/GSAP/compare/3.5.1...3.6.0) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: Lauris BH <lauris@nix.lv>
* Enhance Ghost comment mitigation Settings (#14392)65432021-01-2114-41/+72
| | | | | | | | | | | | | | | | | | | | | | | | | * refactor models.DeleteComment and delete related reactions too * use deleteComment for UserDeleteWithCommentsMaxDays in DeleteUser * nits * Use time.Duration as other time settings have * docs * Resolve Fixme & fix potential deadlock * Disabled by Default * Update Config Value Description * switch args * Update models/issue_comment.go Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: zeripath <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2021-01-2223-23/+0
|
* ensure timeout error is shown on u2f timeout (#14417)zeripath2021-01-222-2/+2
| | | Signed-off-by: Andrew Thornton <art27@cantab.net>
* Add TrN for repository limit (#12492)EV3R42021-01-223-7/+12
| | | | | | | | | * Added TrN for repository limit * Removed form.reach_limit_of_creation_0 * disable Create Button if user can not create Co-authored-by: 6543 <6543@obermui.de>
* [skip ci] Updated translations via CrowdinGiteaBot2021-01-211-0/+6
|
* Update golangci-lint to 1.35.2 (#14418)techknowlogick2021-01-211-1/+1
|
* Allow ssh-keygen on Windows to detect ssh key type (#14413)Chester Liu2021-01-211-5/+0
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-01-2123-90/+21
|
* Add support to migrate from gogs (#14342)65432021-01-2155-353/+2782
| | | | | | | | | | | | | Add support to migrate gogs: * issues * comments * labels * milestones * wiki Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Andrew Thornton <art27@cantab.net>
* Display current stopwatch in navbar (#14122)Norwin2021-01-2115-15/+226
| | | | | | | | | | | | | | | | | * add notification about running stopwatch to header * serialize seconds, duration in stopwatches api * ajax update stopwatch i should get my testenv working locally... * new variant: hover dialog * noscript compatibility * js: live-update stopwatch time * js live update robustness
* Comment - Reference in new issue (#14366)KN4CK3R2021-01-216-6/+92
| | | | | | | | | | | | | | | | | | * Implemented "Reference in new issue" * Fixed menu style on "pulls/x/files" because "button" has a style. * Added context menu for PR file comments. * Use only a single modal for every comment. * Use current repository as default. Added search filter. * Added suggested changes. * Fixed assignment. Co-authored-by: Andrew Thornton <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de>
* update ssh passthrough (#14403)Patrick Schratz2021-01-201-7/+11
| | | Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2021-01-2015-15/+0
|
* load U2F js only on pages which need it (#11585)Kamil Domański2021-01-202-2/+1
| | | | | | * load U2F js only on pages which need it * Update templates/base/head.tmpl
* Add support for ed25519_sk and ecdsa_sk SSH keys (#13462)Artemis Tosini2021-01-204-19/+37
| | | | | | | | | | | | | | * Add support for ed25519_sk and ecdsa_sk SSH keys These start with sk-ssh-ed25519@openssh.com and sk-ecdsa-sha2-nistp256@openssh.com. They are supported in recent versions of go x/crypto/ssh and OpenSSH 8.2 or higher. * skip ssh-keygen Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Andrew Thornton <art27@cantab.net>
* Project: show referenced PRs in issue cards (#14183)Roberto Santalla2021-01-204-4/+38
| | | Co-authored-by: Lauris BH <lauris@nix.lv>
* Prevent panic on fuzzer provided string (#14405)zeripath2021-01-202-10/+53
| | | | | | | | | | | | | | | | | | | * Prevent panic on fuzzer provided string The fuzzer has found that providing a <body> tag with an attribute to PostProcess causes a panic. This PR removes any rendered html or body tags from the output. Signed-off-by: Andrew Thornton <art27@cantab.net> * Placate lint * placate lint again Signed-off-by: Andrew Thornton <art27@cantab.net> * minor cleanup Signed-off-by: Andrew Thornton <art27@cantab.net>
* upgrade to alpine 3.13 (#14343)techknowlogick2021-01-203-5/+5
|
* Fix log http status is always zero (#14400)Lunny Xiao2021-01-192-2/+72
| | | | | | | * Fix log http status is always zero * Fix lint Co-authored-by: 6543 <6543@obermui.de>
* Align dropdown right (#14406)Kyle D2021-01-203-3/+3
|
* Note that all template directories are relative to the `CustomPath` ↵Jake Howard2021-01-191-27/+28
| | | | | | | | | | | | | configuration, not a `custom` directory inside it (#14399) * Note that all template directories are relative to the `CustomPath` configuration, not a `custom` directory inside it. This is a minor clarification, which makes locating where the templates need to be much easier * Note that it's possible to read the `GITEA_CUSTOM` value from the admin * Use "$GITEA_CUSTOM" as placeholder It's more obvious it's a variable and not a typo
* Add pager to the branches page (#14202)Chester Liu2021-01-196-80/+152
| | | | | | | | | | | * Add pager to the branches page * override pageSize if bigger than max * Make branches commit range configurable Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: silverwind <me@silverwind.io>
* Removed invalid form tag (#14391)KN4CK3R2021-01-191-12/+9
| | | introduced by #5073
* Update back-up restore example for 1.13 changes (#14374)Daniel Vos2021-01-183-17/+49
| | | | | | Signed-off-by: Daniël Vos <danielvos@outlook.com> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* It seems vet on windows is unnecessary (#14302)Lunny Xiao2021-01-191-1/+1
| | | | | * It seems vet on windows is unnecessary * add vet back to drone but remove GOOS and GOARCH when build vet
* Use path not filepath in routers/editor (#14390)zeripath2021-01-191-4/+3
| | | | | | The incorrect use of filepath instead of path means that it is possible to cause a stackoverflow on Windows Signed-off-by: Andrew Thornton <art27@cantab.net>
* Display error if twofaSecret cannot be retrieved (#14372)Ash McKenzie2021-01-182-1/+9
|
* Check if label template exist first (#14384)65432021-01-185-33/+40
| | | | | | | * add check * refactor * rollback repo on error after session closed
* Allow passcode invalid error to appear (#14371)Ash McKenzie2021-01-181-1/+1
| | | Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* exclude authored PRs from Review Requested filter (#14368)Jimmy Praet2021-01-181-0/+1
| | | Co-authored-by: Lauris BH <lauris@nix.lv>
* [skip ci] Updated translations via CrowdinGiteaBot2021-01-181-0/+1
|
* Upgrade blevesearch dependency to v2.0.1 (#14346)Lauris BH2021-01-17459-4212/+7519
| | | | | | | * Upgrade blevesearch dependency to v2.0.1 * Update rupture to v1.0.0 * Fix test
* [skip ci] Updated translations via CrowdinGiteaBot2021-01-171-1/+2
|
* Implement ghost comment mitigation (#14349)65432021-01-177-1/+27
| | | | | | | | | | | | | * Implement ghost comment mitigation Adds a config option USER_DELETE_WITH_COMMENTS_MAX_DAYS to the [service] section. See https://codeberg.org/Codeberg/Discussion/issues/24 for the underlying issue. * cleanup * use setting module correctly * add to docs Co-authored-by: Moritz Marquardt <git@momar.de>
* Add edit, delete and reaction support to code review comments on issue page ↵Lauris BH2021-01-175-20/+101
| | | | (#14339)
* Add review requested filter on pull request overview (#13701)Jimmy Praet2021-01-179-88/+156
| | | | | | | | | | | | | * Add review requested filter on pull request overview #13682 fix formatting * add review_requested filter to /repos/issues/search API endpoint * only Approve and Reject status should supersede Request status * add support for team reviews * refactor: remove duplication of issue filtering conditions