summaryrefslogtreecommitdiffstats
path: root/options
Commit message (Collapse)AuthorAgeFilesLines
* [skip ci] Updated translations via CrowdinGiteaBot2020-10-0125-25/+0
|
* Copy missing things from app.example.ini to Cheat Sheet (#12988)zeripath2020-10-011-1/+0
| | | Signed-off-by: Andrew Thornton <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2020-10-011-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-301-16/+25
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-301-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-301-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-292-2/+20
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-282-15/+60
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-271-0/+11
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-271-0/+3
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-261-2/+13
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-251-2/+17
|
* Adopt repositories (#12920)zeripath2020-09-251-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Don't automatically delete repository files if they are present Prior to this PR Gitea would delete any repository files if they are present during creation or migration. This can in certain circumstances lead to data-loss and is slightly unpleasant. This PR provides a mechanism for Gitea to adopt repositories on creation and otherwise requires an explicit flag for deletion. PushCreate is slightly different - the create will cause adoption if that is allowed otherwise it will delete the data if that is allowed. Signed-off-by: Andrew Thornton <art27@cantab.net> * Update swagger Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix tests and migrate overwrite Signed-off-by: Andrew Thornton <art27@cantab.net> * as per @lunny Only offer to adopt or overwrite if the user can do that. Allow the site administrator to adopt or overwrite in all circumstances Signed-off-by: Andrew Thornton <art27@cantab.net> * Use setting.Repository.DefaultBranch for the default branch Signed-off-by: Andrew Thornton <art27@cantab.net> * Always set setting.Repository.DefaultBranch Signed-off-by: Andrew Thornton <art27@cantab.net> * update swagger Signed-off-by: Andrew Thornton <art27@cantab.net> * update templates Signed-off-by: Andrew Thornton <art27@cantab.net> * ensure repo closed Signed-off-by: Andrew Thornton <art27@cantab.net> * Rewrite of adoption as per @6543 and @lunny Signed-off-by: Andrew Thornton <art27@cantab.net> * Apply suggestions from code review * update swagger Signed-off-by: Andrew Thornton <art27@cantab.net> * missing not Signed-off-by: Andrew Thornton <art27@cantab.net> * add modals and flash reporting Signed-off-by: Andrew Thornton <art27@cantab.net> * Make the unadopted page searchable Signed-off-by: Andrew Thornton <art27@cantab.net> * Add API Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix swagger Signed-off-by: Andrew Thornton <art27@cantab.net> * fix swagger Signed-off-by: Andrew Thornton <art27@cantab.net> * Handle empty and non-master branched repositories Signed-off-by: Andrew Thornton <art27@cantab.net> * placate lint Signed-off-by: Andrew Thornton <art27@cantab.net> * remove commented out code Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-241-23/+76
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-232-12/+30
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-223-13/+43
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-212-4/+16
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-201-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-201-13/+24
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-201-0/+5
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-191-0/+3
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-191-24/+85
|
* Add configurable Trust Models (#11712)zeripath2020-09-201-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add configurable Trust Models Gitea's default signature verification model differs from GitHub. GitHub uses signatures to verify that the committer is who they say they are - meaning that when GitHub makes a signed commit it must be the committer. The GitHub model prevents re-publishing of commits after revocation of a key and prevents re-signing of other people's commits to create a completely trusted repository signed by one key or a set of trusted keys. The default behaviour of Gitea in contrast is to always display the avatar and information related to a signature. This allows signatures to be decoupled from the committer. That being said, allowing arbitary users to present other peoples commits as theirs is not necessarily desired therefore we have a trust model whereby signatures from collaborators are marked trusted, signatures matching the commit line are marked untrusted and signatures that match a user in the db but not the committer line are marked unmatched. The problem with this model is that this conflicts with Github therefore we need to provide an option to allow users to choose the Github model should they wish to. Signed-off-by: Andrew Thornton <art27@cantab.net> * Adjust locale strings Signed-off-by: Andrew Thornton <art27@cantab.net> * as per @6543 Co-authored-by: 6543 <6543@obermui.de> * Update models/gpg_key.go * Add migration for repository Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-181-0/+2
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-181-0/+17
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-178-9/+37
|
* Add ui style for "Open a blank issue" button (#12824)赵智超2020-09-161-1/+2
| | | | | | | | | | | | | | | | * Add ui style for "Open a blank issue" button Signed-off-by: a1012112796 <1012112796@qq.com> * Apply review suggestion @silverwind * format * format 2 * fix message Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-151-5/+8
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-151-15/+30
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-153-1/+20
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-141-62/+99
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-141-0/+4
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-148-1/+454
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-131-0/+2
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-121-1/+25
|
* Translate two small lables on commit statuse list (#12821)赵智超2020-09-121-0/+2
| | | | | | * Requested * Details Signed-off-by: a1012112796 <1012112796@qq.com>
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-113-16/+106
|
* Issue templates directory (#11450)John Olheiser2020-09-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Issue templates Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add some comments, appease the linter Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add docs and re-use dir candidates Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add default labels to issue templates Signed-off-by: jolheiser <john.olheiser@gmail.com> * Generate swagger Signed-off-by: jolheiser <john.olheiser@gmail.com> * Suggested changes Signed-off-by: jolheiser <john.olheiser@gmail.com> * Update issue.go * Suggestions Signed-off-by: jolheiser <john.olheiser@gmail.com> * Extract metadata from legacy if possible Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-112-0/+18
|
* Disable watch and star if not signed in (#12807)zeripath2020-09-111-0/+2
| | | | | Fix #12070 Signed-off-by: Andrew Thornton <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-111-0/+15
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-101-0/+6
|
* Add check for LDAP group membership (#10869)John Olheiser2020-09-101-0/+5
| | | | | | | | | | | | | | This is a port of gogs/gogs#4398 The only changes made by myself are: Add locales Add some JS to the UI Otherwise all code credit goes to @aboron Resolves #10829 Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: zeripath <art27@cantab.net>
* Add placeholder text for bio profile text form (#12792)Bagas Sanjaya2020-09-101-0/+1
| | | | | * Add placeholder text * Localize
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-101-5/+17
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-104-0/+27
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-098-8/+0
|
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-091-6/+20
|
* Add a migrate service type switch page (#12697)Lunny Xiao2020-09-091-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add a migrat service type switch page * Improve translations * remove images * Fix images * remove extra create repo button on dashboard * Follow reviewers' opinions * Fix frontend lint * Remove wrong submit file * Fix tests * Adjust the size of image * Apply suggestions from code review Co-authored-by: 赵智超 <1012112796@qq.com> * Remove username and password from migration of github/gitlab * Improve docs * Improve interface docs Co-authored-by: 赵智超 <1012112796@qq.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [skip ci] Updated translations via CrowdinGiteaBot2020-09-091-3/+11
|