gitea

Development moved to Codeberg

Commits at 03eba32bd91533f090a82b62bd9cffd9e448aaa7

  1. 03eba32b Add a new menu in file view to open blame view and fix blame view select range bug (#19500) Lunny Xiao authored at GitHub comitted at
  2. fef26c15 Fix two UI bugs: JS error in imagediff.js, 500 error in diff/compare.tmpl Co-authored-by: 6543 <6543@obermui.de> wxiaoguang authored at GitHub comitted at
  3. 741c55b4 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  4. 4e912a61 Improve Stopwatch behavior (#18930) - Don't send empty stopwatch over and over again, only send once. - Stop interval to update stopwatch's timer when there is no more stopwatch. Gusted authored at GitHub comitted at
  5. 1ebb30e4 Pass gitRepo down to GetRawDiff, since its used for main repo and wiki (#19461) as per https://github.com/go-gitea/gitea/pull/19449#issuecomment-1105283931 pass gitRepo down to GetRawDiff, since its used for main repo and wiki 6543 authored at GitHub comitted at
  6. 7c164d5a Use queue instead of memory queue in webhook send service (#19390) Lunny Xiao authored at GitHub comitted at
  7. 257cea65 add a directory prefix `gitea-src-VERSION` to release-tar-file (#19396) Use a directory prefix instead on creating the tar file. Fixes: #19066 jklippel authored at GitHub comitted at
  8. ddbbe6e1 User specific repoID or xorm builder conditions for issue search (#19475) * extend models.IssuesOptions to have more specific repo filter options * use new options * unrelated refactor * rm RepoIDs 6543 authored at GitHub comitted at
  9. fe274c14 Add notags to fetch (#19487) 6543 authored at GitHub comitted at
  10. fc002860 Simplify the code to get issue count (#19380) * Simple the code to get issue count * Improve codes Lunny Xiao authored at GitHub comitted at
  11. 2ec2baf2 use IsLoopback (#19477) Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> 6543 authored at GitHub comitted at
  12. 5e4134b1 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  13. ef164d33 Add RSS Feed buttons to Repo, User and Org pages (#19370) ktprograms authored at GitHub comitted at
  14. ebb23967 [doctor] authorized-keys: fix displayed check name (#19464) The registered check name is authorized-keys, not authorized_keys. Pilou authored at GitHub comitted at
  15. 0abd8b0a [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  16. 1f054178 Use horizontal tabs for repo header on mobile (#19468) * Use horizontal tabs for repo header on mobile - The current behavior of the repo header on mobile is to display them vertically column-by-column. I've only experience annoyance due to this while trying to visit gitea instanced on mobile. This commit changes this behavior to use horizontal tabs, it uses less tabs and doesn't bloat 60% of your mobile screen with the repo headers. - A small fix added in this commit is to give some space around the repo buttons, current behavior is that they are too "close" to the repo title. * Fix lint Gusted authored at GitHub comitted at
  17. 9550e5a2 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  18. 240b3aa2 Mark TemplateLoading error as "UnprocessableEntity" (#19445) - Don't return Internal Server error if the user provide incorrect label template, instead return UnprocessableEntity. - Resolves #19399 Gusted authored at GitHub comitted at
  19. 0dcc74a8 Prevent dangling cat-file calls (goroutine alternative) (#19454) If an `os/exec.Command` is passed non `*os.File` as an input/output, go will create `os.Pipe`s and wait for their closure in `cmd.Wait()`. If the code following this is responsible for closing `io.Pipe`s or other handlers then on process death from context cancellation the `Wait` can hang. There are two possible solutions: 1. use `os.Pipe` as the input/output as `cmd.Wait` does not wait for these. 2. create a goroutine waiting on the context cancellation that will close the inputs. This PR provides the second option - which is a simpler change that can be more easily backported. Closes #19448 Signed-off-by: Andrew Thornton <art27@cantab.net> zeripath authored at GitHub comitted at
  20. 0dfc2e55 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  21. ebe569a2 Set correct PR status on 3way on conflict checking (#19457) * Set correct PR status on 3way on conflict checking - When 3-way merge is enabled for conflict checking, it has a new interesting behavior that it doesn't return any error when it found a conflict, so we change the condition to not check for the error, but instead check if conflictedfiles is populated, this fixes a issue whereby PR status wasn't correctly on conflicted PR's. - Refactor the mergeable property(which was incorrectly set and lead me this bug) to be more maintainable. - Add a dedicated test for conflicting checking, so it should prevent future issues with this. * Fix linter Gusted authored at GitHub comitted at
  22. 3ec1b6c2 Fix logging of Transfer API (#19456) - Use the correct fullname's in tracing calls. - Return correct function name in error. Co-authored-by: 6543 <6543@obermui.de> Gusted authored at GitHub comitted at
  23. c7643556 RepoAssignment ensure to close before overwrite (#19449) * check if GitRepo already open and close if * only run RepoAssignment once * refactor context helper for api to open GitRepo 6543 authored at GitHub comitted at
  24. 225044e6 node12 is EOL (#19451) * node12 is EOL * fix lockfile techknowlogick authored at GitHub comitted at
  25. 725731cb Add Changelog v1.16.6 (#19339) (#19450) * Add Changelog v1.16.6 (#19339) Co-authored-by: delvh <dev.lh@web.de> Co-authored-by: techknowlogick <matti@mdranta.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: zeripath <art27@cantab.net> * bump version Co-authored-by: delvh <dev.lh@web.de> Co-authored-by: techknowlogick <matti@mdranta.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: zeripath <art27@cantab.net> 6543 authored at GitHub comitted at
  26. f4c1aa75 Fix DELETE request for non-existent public key (#19443) - Add a return for the first "block" of errors, which fixes the double error messages. - Add a return for `externallyManaged`. - Resolves #19398 Gusted authored at GitHub comitted at
  27. f7a8e5c8 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  28. 23d37673 Don't panic on `ErrEmailInvalid` (#19441) - Don't panic on `ErrEmailInvalid`, this was caused due that we were trying to force `ErrEmailCharIsNotSupported` interface, which panics. - Resolves #19397 Gusted authored at GitHub comitted at
  29. 1e319ba4 When dumping trim the standard suffices instead of a random suffix (#19440) * When dumping trim the standard suffices instead of a random suffix Instead of using the `path.Ext()` to trim the last "extension" suffix, just iterate through the supported suffices and trim those. Fix #19424 Signed-off-by: Andrew Thornton <art27@cantab.net> * fix enum with to have correct supported types only Co-authored-by: 6543 <6543@obermui.de> zeripath authored at GitHub comitted at
  30. a7f0ce62 Add uploadpack.allowAnySHA1InWant to allow --filter=blob:none with older git clients (#19430) Older git clients need uploadpack.allowAnySHA1InWant if partial cloning is allowed. Fix #19118 Signed-off-by: Andrew Thornton <art27@cantab.net> zeripath authored at GitHub comitted at