gitea

Development moved to Codeberg

Commits at 496acbe9e5fb02b6c9ad1a85c328220d4db51a6b

  1. 496acbe9 Require codereview to have content (#18156) - Report a validityError when the codeReview have no comment. - Resolves #18151 - Refactor Gusted authored at GitHub comitted at
  2. 948949f4 chore(lint): use golangci-lint to call revive and misspell checker. (#18145) replace revive and misspell with golangci-lint Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> Bo-Yi Wu authored at GitHub comitted at
  3. 766cb481 Update owners for 2022 (#18155) 6543 authored at GitHub comitted at
  4. de8e3948 Refactor auth package (#17962) Lunny Xiao authored at GitHub comitted at
  5. e61b390d Unify and simplify TrN for i18n (#18141) Refer: https://github.com/go-gitea/gitea/pull/18135#issuecomment-1003246099 Now we have a unique and simple `TrN`, and make the fix of PR #18135 also use the better `TrN` logic. wxiaoguang authored at GitHub comitted at
  6. 88da7a71 Use correct user when determining max repo limits for error messages (#18153) - Use the correct user(`owner` instead of `ctx.User`) to get the maxCreationLimit. Gusted authored at GitHub comitted at
  7. 5d4ee44e Add singuliere to MAINTAINERS (#18148) Signed-off-by: singuliere <singuliere@autistici.org> singuliere authored at GitHub comitted at
  8. 6a3611cc [skip ci] Updated licenses and gitignores GiteaBot authored at GiteaBot comitted at
  9. 7db2f110 Add API to get issue/pull comments and events (timeline) (#17403) * Add API to get issue/pull comments and events (timeline) Adds an API to get both comments and events in one endpoint with all required data. Closes go-gitea/gitea#13250 * Fix swagger * Don't show code comments (use review api instead) * fmt * Fix comment * Time -> TrackedTime * Use var directly * Add logger * Fix lint * Fix test * Add comments * fmt * [test] get issue directly by ID * Update test * Add description for changed refs * Fix build issues + lint * Fix build * Use string enums * Update swagger * Support `page` and `limit` params * fmt + swagger * Use global slices Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> qwerty287 authored at GitHub comitted at
  10. 549fd03c Upgrade certmagic from v0.14.1 to v0.15.2 (#18138) Lunny Xiao authored at GitHub comitted at
  11. e9c9a35a Upgrade certmagic from v0.14.1 to v0.15.2 (#18138) Lunny Xiao authored at GitHub comitted at
  12. 385dc6a9 Allow admin to associate missing LFS objects for repositories (#18143) This PR reworked the Find pointer files feature in Settings -> LFS page. When a LFS object is missing from database but exists in LFS content store, admin can associate it to the repository by clicking the Associate button. This PR is not perfect (because the LFS module itself should be improved too), it's just a nice-to-have feature to help users recover their LFS repositories (eg: database was lost / table was truncated) wxiaoguang authored at GitHub comitted at
  13. 25a290e3 Upgrade bleve from v2.0.6 to v2.3.0 (#18132) Lunny Xiao authored at GitHub comitted at
  14. 1a4e2bfc tests: s/GITEA_UNIT_TESTS_VERBOSE/GITEA_UNIT_TESTS_LOG_SQL/ (#18142) The GITEA_UNIT_TESTS_VERBOSE variable is an undocumented variable introduced in 2017 (see 1028ef2defd94a64f2433b07fe5d93681864cebb) whose sole purpose has been to log SQL statements when running unit tests. It is renamed for clarity and a warning is displayed for backward compatibility for people and scripts that know about it. The documentation is updated to reflect this change. singuliere authored at GitHub comitted at
  15. fb2dc956 services/repository: fix ListUnadoptedRepositories incorrect total count (#17865) The total count returned by ListUnadoptedRepositories is incorrectly calculated. The code snippet within ListUnadoptedRepositories used to verify unadopted repositories is repeated three times in the function. It is moved in the checkUnadoptedRepositories function and a unit test is added to verify it works as expected. A unit test is added to verify the total count returned by ListUnadoptedRepositories is as expected. Signed-off-by: singuliere <singuliere@autistici.org> singuliere authored at GitHub comitted at
  16. c99b8efb Improve document for developers: Windows CGO, unit test option (#18140) wxiaoguang authored at GitHub comitted at
  17. 431e482e Reset the conflicted files list in testpatch (#18139) Although #18004 will seriously reduce the likelihood of finding conflicts in the first place - one bug was introduced whereby the conflicted files status was not being reset properly. This leads to conflicted PRs remaining conflicted when the conflict has been resolved. Signed-off-by: Andrew Thornton <art27@cantab.net> zeripath authored at GitHub comitted at
  18. 7eb380ba Use correct translation key (#18135) - Resolves #18122 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Gusted authored at GitHub comitted at
  19. a3d68507 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  20. 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
  21. 67d7ad68 Fix wrong redirect on org labels (#18128) KN4CK3R authored at GitHub comitted at
  22. 626b1079 Fix performance regression when user has many organization (#18125) Lunny Xiao authored at GitHub comitted at
  23. 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
  24. 658a636a Removed unused method. (#18129) Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> KN4CK3R authored at GitHub comitted at
  25. ccb79785 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  26. 211f0c32 Removed unused endpoint. (#18127) KN4CK3R authored at GitHub comitted at
  27. 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
  28. 8fa97a25 Set HeadCommit when creating tags. (#18116) Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> KN4CK3R authored at GitHub comitted at
  29. 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
  30. 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