gitea

Development moved to Codeberg

Commits at 1f8f9c3826643b8c3a0c3da1dc15090af736f5a6

  1. 1f8f9c38 Remove tab/TabName usage where it's not needed (#19973) `tab` query argument and `TabName` in context is used only in profile so remove it from all other places where it's not used anymore. Lauris BH authored at GitHub comitted at
  2. 9f87b60b Fix cli command restore-repo: "units" should be parsed as StringSlice (#19953) * Fix cli command restore-repo: "units" should be parsed as StringSlice because after #15790 it's read by c.StringSlice("units"). Before, the "units" were processed by strings.Split * Add checking for invalid unit names Co-authored-by: 6543 <6543@obermui.de> wxiaoguang authored at GitHub comitted at
  3. 97548d27 Uppercase first languages letters (#19965) AHOHNMYC authored at GitHub comitted at
  4. d91d4db3 Move tests as seperate sub packages to reduce duplicated file names (#19951) Lunny Xiao authored at GitHub comitted at
  5. b4d420d8 Replace unstyled meter with progress (#19968) Replace the only `<meter>` element in use with a `<progress>` which is styled properly. Also slightly adjust colors on it for better contrast. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> silverwind authored at GitHub comitted at
  6. f6e2dbaf [skip ci] Updated translations via Crowdin singuliere authored at singuliere comitted at
  7. 460c03ca [skip ci] Updated translations via Crowdin singuliere authored at singuliere comitted at
  8. 1fef9a2d Remove singuliere from MAINTAINERS (#19883) singuliere authored at GitHub comitted at
  9. 0d7eda51 Fix aria for logo (#19955) Co-authored-by: 6543 <6543@obermui.de> wxiaoguang authored at GitHub comitted at
  10. ff82a183 Fix mirror template bug (#19959) * Fix mirror template bug Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: delvh <dev.lh@web.de> Lunny Xiao authored at GitHub comitted at
  11. 3c6c1507 Add deprecated log when using MySQL with utf8 charset (#19952) Lunny Xiao authored at GitHub comitted at
  12. 1a9821f5 Move issues related files into models/issues (#19931) * Move access and repo permission to models/perm/access * fix test * fix git test * Move functions sequence * Some improvements per @KN4CK3R and @delvh * Move issues related code to models/issues * Move some issues related sub package * Merge * Fix test * Fix test * Fix test * Fix test * Rename some files Lunny Xiao authored at GitHub comitted at
  13. 3708ca8e fix: some typos (#19956) yutotnh authored at GitHub comitted at
  14. 5f136783 [skip ci] Updated translations via Crowdin Lunny Xiao authored at Lunny Xiao comitted at
  15. 110fc57c Move some code into models/git (#19879) * Move access and repo permission to models/perm/access * fix test * Move some git related files into sub package models/git * Fix build * fix git test * move lfs to sub package * move more git related functions to models/git * Move functions sequence * Some improvements per @KN4CK3R and @delvh Lunny Xiao authored at GitHub comitted at
  16. a9dc9b06 Fix signal loop in graceful manager (#19943) wxiaoguang authored at GitHub comitted at
  17. 796c4eca Prettify number of issues (#17760) * Prettify number of issues - Use the PrettyNumber function to add commas in large amount of issues. * Use client-side formatting * prettify on both server and client * remove unused i18n entries * handle more cases, support other int types in PrettyNumber * specify locale to avoid issues with node default locale * remove superfluos argument * introduce template helper, octicon tweaks, js refactor * Update modules/templates/helper.go * Apply some suggestions. * Add comment * Update templates/user/dashboard/issues.tmpl Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Gusted authored at GitHub comitted at
  18. 0097fbc2 Improve file header on mobile (#19945) - File headers can become quite width, so ensure the file size is not being wrapped into itself(width + padding-right) and allow the overflow to be scrolled(overflow-x). Gusted authored at GitHub comitted at
  19. edf14202 Unify repo settings & show better error (#19828) * Unify context data * Actually show invalid url in error Gusted authored at GitHub comitted at
  20. 3898fc5b [skip ci] Updated translations via Crowdin xkcdstickfigure authored at xkcdstickfigure comitted at
  21. 47bb0623 fixed comment typo (#19944) xkcdstickfigure authored at GitHub comitted at
  22. a9cc9c0f Auto merge pull requests when all checks succeeded via WebUI (#19648) Add WebUI part of Auto merge feature close #19621 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: delvh <dev.lh@web.de> 6543 authored at GitHub comitted at
  23. ce3dd04c Fix some mirror bugs (#18649) * Fix some mirror bugs * Remove unnecessary code * Fix lint * rename stdard url * Allow more charactors in git ssh protocol url * improve the detection * support ipv6 for git url parse * Fix bug * Fix template * Fix bug * fix template * Fix tmpl * Fix tmpl * Fix parse ssh with interface * Rename functions name Co-authored-by: zeripath <art27@cantab.net> Lunny Xiao authored at GitHub comitted at
  24. 88f2e457 Fix data-race problems in git module (quick patch) (#19934) * Fix data-race problems in git module * use HomeDir instead of setting.RepoRootPath Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> wxiaoguang authored at GitHub comitted at
  25. 23422f99 [skip ci] Updated translations via Crowdin silverwind authored at silverwind comitted at
  26. 527e5bd1 Fix copy/paste of empty lines (#19798) * Fix copy/paste of empty newlines again Fixes: https://github.com/go-gitea/gitea/issues/19331 Regressed by: https://github.com/go-gitea/gitea/pull/18270 Needed to do another newline addition to the Chroma output HTML to get copy/paste work again. The previous replacement conditions are probably obsolete, but as I'm not 100% sure, I opted to keep them. Specifically, the Chroma HTML change mentioned in https://github.com/go-gitea/gitea/pull/18270#issuecomment-1013350246 broke our previous newline replacement for such empty lines. Also included are a few changes to make the test more pleasant to work with. * run go mod tidy * add util.Dedent * copy in the code Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv> silverwind authored at GitHub comitted at
  27. 4d8e9f3b Normalize line endings in fomantic build files (#19932) Ensures consistent line endings to avoid useless diffs because there is somthing platform-dependant in that build. Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> silverwind authored at GitHub comitted at
  28. 4f1fb0f6 Make user profile image show full image on mobile (#19840) * Make user profile image show full image on mobile Eekle authored at GitHub comitted at
  29. 52c2e828 Custom regexp external issues (#17624) * Implement custom regular expression for external issue tracking. Signed-off-by: Alexander Beyn <malex@fatelectrons.org> * Fix syntax/style * Update repo.go * Set metas['regexp'] * gofmt * fix some tests * fix more tests * refactor frontend * use LRU cache for regexp * Update modules/markup/html_internal_test.go Co-authored-by: Alexander Beyn <malex@fatelectrons.org> Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Sandro Santilli authored at GitHub comitted at
  30. 5f618248 Use Golang 1.18 for Gitea 1.17 release (#19918) Use Golang 1.18 (as minimal requirement) for Gitea 1.17 release, make sure the Golang version is still actively supported during Gitea 1.17 lifecycle. Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: 6543 <6543@obermui.de> wxiaoguang authored at GitHub comitted at