Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for corporate WeChat webhooks #15910

Merged
merged 83 commits into from
Jul 23, 2021
Merged

Add support for corporate WeChat webhooks #15910

merged 83 commits into from
Jul 23, 2021

Commits on May 17, 2021

  1. 企业微信webhook

    lengyuqu committed May 17, 2021
    Configuration menu
    Copy the full SHA
    12c9224 View commit details
    Browse the repository at this point in the history
  2. 企业微信webhook

    lengyuqu committed May 17, 2021
    Configuration menu
    Copy the full SHA
    75f0f17 View commit details
    Browse the repository at this point in the history
  3. 企业微信webhook

    lengyuqu committed May 17, 2021
    Configuration menu
    Copy the full SHA
    5112a6e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    49c9678 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2021

  1. Configuration menu
    Copy the full SHA
    254aaa6 View commit details
    Browse the repository at this point in the history
  2. Update templates/admin/hook_new.tmpl

    Co-authored-by: a1012112796 <1012112796@qq.com>
    lengyuqu and a1012112796 authored May 18, 2021
    Configuration menu
    Copy the full SHA
    701cee8 View commit details
    Browse the repository at this point in the history
  3. Update services/webhook/wechatwork.go

    Co-authored-by: a1012112796 <1012112796@qq.com>
    lengyuqu and a1012112796 authored May 18, 2021
    Configuration menu
    Copy the full SHA
    2ede040 View commit details
    Browse the repository at this point in the history
  4. 修善wechatwork

    myheavily committed May 18, 2021
    Configuration menu
    Copy the full SHA
    dd25990 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2021

  1. 修善wechatwork

    myheavily committed May 19, 2021
    Configuration menu
    Copy the full SHA
    84fd130 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2021

  1. Configuration menu
    Copy the full SHA
    40763c2 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2021

  1. Configuration menu
    Copy the full SHA
    b6166e5 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2021

  1. Configuration menu
    Copy the full SHA
    eda8b88 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2021

  1. fix

    zhaoxin committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    4fc7d6c View commit details
    Browse the repository at this point in the history
  2. Update locale_cs-CZ.ini

    fix
    lengyuqu authored Jun 1, 2021
    Configuration menu
    Copy the full SHA
    b17eeb1 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2021

  1. Configuration menu
    Copy the full SHA
    6242c08 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2021

  1. Configuration menu
    Copy the full SHA
    d161fc3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    302c5ec View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2021

  1. Configuration menu
    Copy the full SHA
    c42ae73 View commit details
    Browse the repository at this point in the history
  2. fix build

    zhaoxin committed Jun 10, 2021
    Configuration menu
    Copy the full SHA
    639a929 View commit details
    Browse the repository at this point in the history
  3. fix

    zhaoxin committed Jun 10, 2021
    Configuration menu
    Copy the full SHA
    646d8de View commit details
    Browse the repository at this point in the history
  4. fix build

    zhaoxin committed Jun 10, 2021
    Configuration menu
    Copy the full SHA
    a891430 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b90fc28 View commit details
    Browse the repository at this point in the history
  6. make webhooks.zh-cn.md

    lengyuqu committed Jun 10, 2021
    Configuration menu
    Copy the full SHA
    f91fb27 View commit details
    Browse the repository at this point in the history
  7. delet unnecessary blank line

    lengyuqu committed Jun 10, 2021
    Configuration menu
    Copy the full SHA
    1148054 View commit details
    Browse the repository at this point in the history
  8. delet unnecessary blank line

    lengyuqu committed Jun 10, 2021
    Configuration menu
    Copy the full SHA
    51ea36a View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2021

  1. Configuration menu
    Copy the full SHA
    475091d View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2021

  1. Configuration menu
    Copy the full SHA
    ccf9a15 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2021

  1. Configuration menu
    Copy the full SHA
    2c39f37 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2021

  1. 企业微信webhook

    lengyuqu committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    6a6c50a View commit details
    Browse the repository at this point in the history
  2. 企业微信webhook

    lengyuqu committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    59c5426 View commit details
    Browse the repository at this point in the history
  3. 企业微信webhook

    lengyuqu committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    1386ce8 View commit details
    Browse the repository at this point in the history
  4. Update templates/admin/hook_new.tmpl

    Co-authored-by: a1012112796 <1012112796@qq.com>
    lengyuqu and a1012112796 committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    657c0c9 View commit details
    Browse the repository at this point in the history
  5. Update services/webhook/wechatwork.go

    Co-authored-by: a1012112796 <1012112796@qq.com>
    lengyuqu and a1012112796 committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    7b0c404 View commit details
    Browse the repository at this point in the history
  6. 修善wechatwork

    myheavily authored and lengyuqu committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    d603dd4 View commit details
    Browse the repository at this point in the history
  7. 修善wechatwork

    myheavily authored and lengyuqu committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    c5a9858 View commit details
    Browse the repository at this point in the history
  8. fix

    zhaoxin authored and lengyuqu committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    20f9d45 View commit details
    Browse the repository at this point in the history
  9. fix build

    zhaoxin authored and lengyuqu committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    c891c28 View commit details
    Browse the repository at this point in the history
  10. fix

    zhaoxin authored and lengyuqu committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    a371851 View commit details
    Browse the repository at this point in the history
  11. fix build

    zhaoxin authored and lengyuqu committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    ae944ff View commit details
    Browse the repository at this point in the history
  12. make webhooks.zh-cn.md

    lengyuqu committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    bf9aa2e View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    83a68a1 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    cdac829 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    66614aa View commit details
    Browse the repository at this point in the history
  16. 企业微信webhook

    lengyuqu committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    03c353c View commit details
    Browse the repository at this point in the history
  17. 企业微信webhook

    lengyuqu committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    eea9001 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2021

  1. 企业微信webhook

    lengyuqu committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    1e026c8 View commit details
    Browse the repository at this point in the history
  2. 企业微信webhook

    lengyuqu committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    23c16a5 View commit details
    Browse the repository at this point in the history
  3. 企业微信webhook

    lengyuqu committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    760914f View commit details
    Browse the repository at this point in the history
  4. fix

    zhaoxin authored and lengyuqu committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    c064b01 View commit details
    Browse the repository at this point in the history
  5. fix

    zhaoxin authored and lengyuqu committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    98318c8 View commit details
    Browse the repository at this point in the history
  6. 企业微信webhook

    lengyuqu committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    a538aa0 View commit details
    Browse the repository at this point in the history
  7. 企业微信webhook

    lengyuqu committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    ea9b3da View commit details
    Browse the repository at this point in the history
  8. 企业微信webhook

    lengyuqu committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    d93d821 View commit details
    Browse the repository at this point in the history
  9. fix wechat

    lengyuqu committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    d69d628 View commit details
    Browse the repository at this point in the history
  10. Merge remote-tracking branch 'origin/master'

    # Conflicts:
    #	routers/web/web.go
    lengyuqu committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    cbf6319 View commit details
    Browse the repository at this point in the history
  11. fix wechat

    lengyuqu committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    8b6f467 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    6983469 View commit details
    Browse the repository at this point in the history
  13. fix wechat

    lengyuqu committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    ec3e72a View commit details
    Browse the repository at this point in the history
  14. fix wechat

    lengyuqu committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    b26728e View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2021

  1. Fix invalid params and typo of email templates (go-gitea#16394)

    Signed-off-by: Meano <meanocat@gmail.com>
    Meano authored and zhaoxin committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    118cfbc View commit details
    Browse the repository at this point in the history
  2. Add LRU mem cache implementation (go-gitea#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>
    zeripath authored and zhaoxin committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    8d3b1fd View commit details
    Browse the repository at this point in the history
  3. [skip ci] Updated translations via Crowdin

    GiteaBot authored and zhaoxin committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    f6f4a08 View commit details
    Browse the repository at this point in the history
  4. Replace plugins/docker with techknowlogick/drone-dockerin ci (go-…

    …gitea#16407)
    
    * plugins/docker -> techknowlogick/drone-docker
    
    * It is multi-arch
    6543 authored and zhaoxin committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    2e048f5 View commit details
    Browse the repository at this point in the history
  5. docs: rewrite email setup (go-gitea#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>
    bagasme authored and zhaoxin committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    bc5da3f View commit details
    Browse the repository at this point in the history
  6. Validate Issue Index before querying DB (go-gitea#16406)

    noerw authored and zhaoxin committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    370d1d1 View commit details
    Browse the repository at this point in the history
  7. Fix external renderer (go-gitea#16401)

    * fix external renderer
    
    * use GBackground context as fallback
    
    * no fallback, return error
    
    Co-authored-by: Lauris BH <lauris@nix.lv>
    2 people authored and zhaoxin committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    815fa0e View commit details
    Browse the repository at this point in the history
  8. Add checkbox to delete pull branch after successful merge (go-gitea#1…

    …6049)
    
    * 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>
    2 people authored and zhaoxin committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    c039ecc View commit details
    Browse the repository at this point in the history
  9. [skip ci] Updated translations via Crowdin

    GiteaBot authored and zhaoxin committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    b04748d View commit details
    Browse the repository at this point in the history
  10. Detect encoding changes while parsing diff (go-gitea#16330)

    * Detect encoding changes while parsing diff
    jpraet authored and zhaoxin committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    a748490 View commit details
    Browse the repository at this point in the history
  11. Let branch/tag name be a valid ref to get CI status (go-gitea#16400)

    * fix go-gitea#16384#
    
    * refactor: move shared helper func to utils package
    
    * extend Tests
    
    * use ctx.Repo.GitRepo if not nil
    6543 authored and zhaoxin committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    5fa390a View commit details
    Browse the repository at this point in the history
  12. fix

    zhaoxin committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    14ddbc8 View commit details
    Browse the repository at this point in the history
  13. fix

    zhaoxin committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    47a8e0e View commit details
    Browse the repository at this point in the history
  14. 企业微信webhook

    lengyuqu authored and zhaoxin committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    75855d5 View commit details
    Browse the repository at this point in the history
  15. 企业微信webhook

    lengyuqu authored and zhaoxin committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    f1fbdd1 View commit details
    Browse the repository at this point in the history
  16. 企业微信webhook

    lengyuqu authored and zhaoxin committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    f53d723 View commit details
    Browse the repository at this point in the history
  17. fix build

    zhaoxin committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    dffb2af View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    fdc4633 View commit details
    Browse the repository at this point in the history
  19. fix build

    zhaoxin committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    4861d91 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2021

  1. Configuration menu
    Copy the full SHA
    6b3f71c View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2021

  1. Configuration menu
    Copy the full SHA
    2fe8e10 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2021

  1. Merge branch 'main' into master

    6543 authored Jul 21, 2021
    Configuration menu
    Copy the full SHA
    9d0ef12 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b1e45aa View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2021

  1. Configuration menu
    Copy the full SHA
    e5b6888 View commit details
    Browse the repository at this point in the history