aboutsummaryrefslogtreecommitdiffstats
path: root/options
Commit message (Collapse)AuthorAgeFilesLines
* [skip ci] Updated translations via CrowdinGiteaBot2021-08-294-0/+28
|
* Add modals to Organization and Team remove/leave (#16471)zeripath2021-08-261-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | * Add modals to Organization and Team remove/leave Add confirmation modals to Organization and Team remove and leave. Fix #16215 Signed-off-by: Andrew Thornton <art27@cantab.net> * avoid for-in Signed-off-by: Andrew Thornton <art27@cantab.net> * Revert "avoid for-in" This reverts commit 2af9a6f9d46ed31b6fc6e3a29e695577dcf09f75. * Apply suggestions from code review Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [skip ci] Updated translations via CrowdinGiteaBot2021-08-2716-193/+284
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-08-262-0/+2
|
* Unify migration descriptions (#16781)delvh2021-08-251-6/+6
| | | | | | | | | | | | * Unify migration descriptions * Clarify that pure Git migration differs from other migrations Co-authored-by: Norwin <noerw@users.noreply.github.com> * Use Pull Requests for Gitea migration Co-authored-by: Norwin <noerw@users.noreply.github.com> Co-authored-by: zeripath <art27@cantab.net>
* Add bundle download for repository (#14538)John Olheiser2021-08-241-0/+1
| | | | | | | | | | | | | | | | | * Add bundle download Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix fmt Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix build tags Signed-off-by: jolheiser <john.olheiser@gmail.com> * Download specific commit Signed-off-by: jolheiser <john.olheiser@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2021-08-245-2/+7
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-08-2320-39/+26
|
* [skip ci] Updated licenses and gitignoresGiteaBot2021-08-2218-10/+1173
|
* Add migrate from OneDev (#16356)KN4CK3R2021-08-221-0/+1
| | | | | | | | | | | | | | * Use context to simplify logic. * Added migration from OneDev. This PR adds [OneDev](https://code.onedev.io/) as migration source. Supported: - [x] Milestones - [x] Issues - [x] Pull Requests - [x] Comments - [x] Reviews - [x] Labels
* Fix dependency translations (#16753)Steven2021-08-211-2/+2
| | | | Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
* [skip ci] Updated translations via CrowdinGiteaBot2021-08-181-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-08-171-0/+39
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-08-163-3/+2
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-08-153-119/+141
|
* Improve resource string (#16691)delvh2021-08-141-1/+1
| | | | | * Improve resource string Co-authored-by: zeripath <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2021-08-141-0/+3
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-08-1325-25/+5
|
* Add link to vscode to repo header (#16664)a10121127962021-08-121-0/+3
| | | | | add link to vscode to repo header Signed-off-by: a1012112796 <1012112796@qq.com>
* Improve SMTP authentication and Fix user creation bugs (#16612)zeripath2021-08-111-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve SMTP authentication, Fix user creation bugs and add LDAP cert/key options This PR has two parts: Improvements for SMTP authentication: * Default to use SMTPS if port is 465, and allow setting of force SMTPS. * Always use STARTTLS if available * Provide CRAM-MD5 mechanism * Add options for HELO hostname disabling * Add options for providing certificates and keys * Handle application specific password response as a failed user login instead of as a 500. Close #16104 Fix creation of new users: * A bug was introduced when allowing users to change usernames which prevents the creation of external users. * The LoginSource refactor also broke this page. Close #16104 Signed-off-by: Andrew Thornton <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2021-08-111-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-08-091-0/+6
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-08-081-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-08-071-0/+4
|
* Add microsoft oauth2 providers (#16544)zeripath2021-08-051-0/+1
| | | | | | | | | | | | | | | | | * Clean up oauth2 providers Signed-off-by: Andrew Thornton <art27@cantab.net> * Add AzureAD, AzureADv2, MicrosoftOnline OAuth2 providers Signed-off-by: Andrew Thornton <art27@cantab.net> * Apply suggestions from code review * remove unused Scopes Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* [skip ci] Updated translations via CrowdinGiteaBot2021-08-061-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-08-0425-86/+8
|
* Make PR merge options more intuitive (#5863) (#16582)Albert ARIBAUD2021-08-021-4/+4
| | | | Reword options making clear whether the PRed branch is rebased or not, and which type of commit will be created if any.
* [skip ci] Updated translations via CrowdinGiteaBot2021-08-021-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-08-011-2/+3
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-311-0/+1
|
* Show correct text when comparing commits on empty pull request (#16569)Marty2021-07-291-0/+1
| | | | | | | | | | | * fix * use own text * Update templates/repo/commits_table.tmpl Co-authored-by: marty <m.karkossa@ultraware.nl> Co-authored-by: zeripath <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-272-0/+43
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-264-4/+25
|
* [skip ci] Updated licenses and gitignoresGiteaBot2021-07-254-2/+117
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-243-3/+0
|
* Add support for corporate WeChat webhooks (#15910)lengyuqu2021-07-234-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 企业微信webhook * 企业微信webhook * 企业微信webhook * Update templates/admin/hook_new.tmpl Co-authored-by: a1012112796 <1012112796@qq.com> * Update services/webhook/wechatwork.go Co-authored-by: a1012112796 <1012112796@qq.com> * 修善wechatwork * 修善wechatwork * fix * Update locale_cs-CZ.ini fix * fix build * fix * fix build * make webhooks.zh-cn.md * delet unnecessary blank line * delet unnecessary blank line * 企业微信webhook * 企业微信webhook * 企业微信webhook * Update templates/admin/hook_new.tmpl Co-authored-by: a1012112796 <1012112796@qq.com> * Update services/webhook/wechatwork.go Co-authored-by: a1012112796 <1012112796@qq.com> * 修善wechatwork * 修善wechatwork * fix * fix build * fix * fix build * make webhooks.zh-cn.md * delet unnecessary blank line * delet unnecessary blank line * 企业微信webhook * 企业微信webhook * 企业微信webhook * 企业微信webhook * 企业微信webhook * fix * fix * 企业微信webhook * 企业微信webhook * 企业微信webhook * fix wechat * fix wechat * fix wechat * fix wechat * Fix invalid params and typo of email templates (#16394) Signed-off-by: Meano <meanocat@gmail.com> * Add LRU mem cache implementation (#16226) The current default memory cache implementation is unbounded in size and number of objects cached. This is hardly ideal. This PR proposes creating a TwoQueue LRU cache as the underlying cache for Gitea. The cache is limited by the number of objects stored in the cache (rather than size) for simplicity. The default number of objects is 50000 - which is perhaps too small as most of our objects cached are going to be much less than 1kB. It may be worth considering using a different LRU implementation that actively limits sizes or avoids GC - however, this is just a beginning implementation. Signed-off-by: Andrew Thornton <art27@cantab.net> * [skip ci] Updated translations via Crowdin * Replace `plugins/docker` with `techknowlogick/drone-docker`in ci (#16407) * plugins/docker -> techknowlogick/drone-docker * It is multi-arch * docs: rewrite email setup (#16404) * Add intro for both the docs page and mailer methods * Fix numbering level in SMTP section * Recommends implicit TLS Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com> * Validate Issue Index before querying DB (#16406) * Fix external renderer (#16401) * fix external renderer * use GBackground context as fallback * no fallback, return error Co-authored-by: Lauris BH <lauris@nix.lv> * Add checkbox to delete pull branch after successful merge (#16049) * Add checkbox to delete pull branch after successful merge * Omit DeleteBranchAfterMerge field in json * Log a warning instead of error when PR head branch deleted * Add DefaultDeleteBranchAfterMerge to PullRequestConfig * Add support for delete_branch_after_merge via API * Fix for API: the branch should be deleted from the HEAD repo If head and base repo are the same, reuse the already opened ctx.Repo.GitRepo * Don't delegate to CleanupBranch, only reuse branch deletion code CleanupBranch contains too much logic that has already been performed by the Merge * Reuse gitrepo in MergePullRequest Co-authored-by: Andrew Thornton <art27@cantab.net> * [skip ci] Updated translations via Crowdin * Detect encoding changes while parsing diff (#16330) * Detect encoding changes while parsing diff * Let branch/tag name be a valid ref to get CI status (#16400) * fix #16384# * refactor: move shared helper func to utils package * extend Tests * use ctx.Repo.GitRepo if not nil * fix * fix * 企业微信webhook * 企业微信webhook * 企业微信webhook * fix build * fix build * Apply suggestions from code review Co-authored-by: a1012112796 <1012112796@qq.com> Co-authored-by: myheavily <myheavily> Co-authored-by: zhaoxin <gitea@fake.local> Co-authored-by: Meano <Meano@foxmail.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: GiteaBot <teabot@gitea.io> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Bagas Sanjaya <bagasdotme@gmail.com> Co-authored-by: Norwin <noerw@users.noreply.github.com> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Jimmy Praet <jimmy.praet@telenet.be> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-232-3/+8
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-221-2/+2
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-1917-31/+16
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-183-12/+27
|
* show tag name on dashboard items list (#16466)a10121127962021-07-171-1/+1
| | | | | fix #16458 Signed-off-by: a1012112796 <1012112796@qq.com>
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-161-17/+17
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-151-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-151-0/+3
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-151-0/+8
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-141-22/+22
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-141-0/+15
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-148-11/+4
|
* [skip ci] Updated translations via CrowdinGiteaBot2021-07-1423-36/+720
|