gitea

Development moved to Codeberg

Commits at 7eb380baa49e76e8fc396872f943b5396019a9bd

  1. 7eb380ba Use correct translation key (#18135) - Resolves #18122 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Gusted authored at GitHub comitted at
  2. a3d68507 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  3. ffaebb1a [Frontport] Changelog v1.15.9 (#18136) * Changelog ## [1.15.9](https://github.com/go-gitea/gitea/releases/tag/v1.15.9) - 2021-12-30 * docs: bump version 6543 authored at GitHub comitted at
  4. 67d7ad68 Fix wrong redirect on org labels (#18128) KN4CK3R authored at GitHub comitted at
  5. 626b1079 Fix performance regression when user has many organization (#18125) Lunny Xiao authored at GitHub comitted at
  6. e0b41f8c docs: add various ways to install from package (#18120) zh-cn Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Tony authored at GitHub comitted at
  7. 658a636a Removed unused method. (#18129) Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> KN4CK3R authored at GitHub comitted at
  8. ccb79785 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  9. 211f0c32 Removed unused endpoint. (#18127) KN4CK3R authored at GitHub comitted at
  10. 8ce1b539 Use conditions but not repo ids as query condition (#16839) * Use conditions but not repo ids as query condition * Improve the performance of pulls/issue * Remove duplicated code * fix lint * Fix bug * Fix stats * More fixes * Fix build * Fix lint * Fix test * Fix build * Adjust the logic * Merge * Fix conflicts * improve the performance * Add comments for the query conditions functions * Some improvements Lunny Xiao authored at GitHub comitted at
  11. 8fa97a25 Set HeadCommit when creating tags. (#18116) Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> KN4CK3R authored at GitHub comitted at
  12. 72f90506 Fix: unstable sort skips/duplicates issues across pages (#18094) When viewing issues in sorted order, some issues are duplicated across pages and some are missing. This is caused by the lack of tie-breakers in database queries, making pagination inconsistent. DuckDuckWhale authored at GitHub comitted at
  13. e4e3df6c Handle invalid issues (#18111) * Handle invalid issues - When you hover over a issue reference, and the issue doesn't exist, it will just hang on the loading animation. - This patch fixes that by showing them the pop-up with a "Error occured" message. * Add I18N * refactor * fix comment for lint * fix unit test for i18n * fix unit test for i18n * add comments Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Gusted authored at GitHub comitted at
  14. d2fac636 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  15. 38d81cdd Fix documents for Windows development (#18109) * Fix documents for Windows development wxiaoguang authored at GitHub comitted at
  16. a2afd38f Enable linter [rule.modifies-value-receiver] and refactor RoleDescriptor (#18093) Gusted authored at GitHub comitted at
  17. 4da2eabd doc: clarify INSTALL_LOCK behavior (#17945) Rolf Kaiser authored at GitHub comitted at
  18. 13d002a7 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  19. e34632bb Add issue hyperlinks in the webhook of wechatwork (#18102) Co-authored-by: zjj <2031381130@qq.com> zjjhot authored at GitHub comitted at
  20. 31a2bf29 Fix a navbar UI bug in Safari (#18092) wxiaoguang authored at GitHub comitted at
  21. 16adaaea Instead of using routerCtx just escape the url before routing (#18086) A consequence of forcibly setting the RoutePath to the escaped url is that the auto routing to endpoints without terminal slashes fails (Causing #18060.) This failure raises the possibility that forcibly setting the RoutePath causes other unexpected behaviors too. Therefore, instead we should simply pre-escape the URL in the process registering handler. Then the request URL will be properly escaped for all the following calls. Fix #17938 Fix #18060 Replace #18062 Replace #17997 Signed-off-by: Andrew Thornton <art27@cantab.net> zeripath authored at GitHub comitted at
  22. 26070eb8 When the git repository on storage is changed, the repository modal should also be updated (#18088) User would keep seeing an empty repo if: * An error occurs during the first git pushing/receiving * A user replaces the Gitea's empty repository manually Fix: when a user is viewing the repository web page, if the repoModal.IsEmpty is true, we check the git repository again to detect whether it is really empty. However: the IsEmpty flag is deeply broken and should be removed. For example it's possible for a repository to be non-empty by that flag but still 500 because there are no branches - only tags -or the default branch is non-extant as it has been 0-pushed. wxiaoguang authored at GitHub comitted at
  23. c7151c2f - name: new parameter in CreateForkOption to give the forked repository (#18066) a custom name, intended to be used when there's a name conflict - When a fork request results in a name conflict, HTTP 409: Conflict is returned instead of 500 - API documentation for the above mentioned changes Signed-off-by: realaravinth <realaravinth@batsense.net> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: zeripath <art27@cantab.net> Aravinth Manivannan authored at GitHub comitted at
  24. 532383d7 When attempting to subscribe other user to issue report why access denied (#18091) Fix #18090 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> zeripath authored at GitHub comitted at
  25. d7770539 Improve interface when comparing a branch which has created a pull request (#17911) * Improve interface when comparing a branch which has created a pull request * Take the note back Lunny Xiao authored at GitHub comitted at
  26. 7cc44491 Add API to manage repo tranfers (#17963) qwerty287 authored at GitHub comitted at
  27. 5754080e Fix various typos of software names (#18083) * `git` -> `Git` * `Github` and `github` -> `GitHub` * `crowdin` -> `Crowdin` * `git-lfs` -> `Git LFS` * `githooks`, `git hooks`, `git-hooks` -> `Git Hooks` * `discord` -> `Discord` * `2fa` -> `2FA` * `gitlab` and `Gitlab` -> `GitLab` * `web hook` -> `webhook` * `linux` -> `Linux` * `sqlite` -> `SQLite` * `MYSQL` and `mysql` -> `MySQL` * rename refs to `master` branch -> `main` * Fix English grammar qwerty287 authored at GitHub comitted at
  28. a5df7ba6 Prevent NPE if gitea uploader fails to open url (#18080) If http.Get() returns an error return nil and err before attempting to use the broken file. Thanks to walker xiong for spotting this bug. Signed-off-by: Andrew Thornton <art27@cantab.net> zeripath authored at GitHub comitted at
  29. ffc08c19 Do not read or write git reference files directly (#18079) Git will and can pack references into packfiles and therefore if you write/read the files directly you will get false results. Instead you should use update-ref and show-ref. To that end I have created three new functions in git/repo_commit.go that will do this correctly. Related #17191 Signed-off-by: Andrew Thornton <art27@cantab.net> zeripath authored at GitHub comitted at
  30. e0cf3d86 Migrated Repository will show modifications when possible (#17191) * Read patches to get history 99rgosse authored at GitHub comitted at