gitea

Development moved to Codeberg

Commits at 70ce051f1a7e266dccdd7cfd42f88a2570448770

  1. 70ce051f [skip ci] Updated translations via Crowdin Gusted authored at Gusted comitted at
  2. 36127a33 Don't prevent overflow on y-as (#19978) - Fomantic tries to prevent overflowing on the `y/x`-as by default on stackable menu's on mobile screens. We already solve this issue by forcing overflow on x as and hide it on y as(due to some issues with other menu's), since https://github.com/go-gitea/gitea/pull/19486. - However this edge case does require a y-overflow to show the dropdown, because you cannot easily adjust this with CSS, once you're fiddling with overflow's (https://stackoverflow.com/a/6433475). However interesting behavior is noted https://css-tricks.com/popping-hidden-overflow/ when you remove the position: relative, it will suddenly work again. Well because this is the only solution without redesigning dropdowns, I think we can live with the side-effect of the dropdown items being full-width instead "relative" width to their parent. - Resolves #19976 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Gusted authored at GitHub comitted at
  3. d05fb6f6 [skip ci] Updated translations via Crowdin a1012112796 authored at a1012112796 comitted at
  4. a6b7c364 fix `go to file` link for mirror repository (#19983) the `BaseRepo` not always exit, should use `Repository`. Signed-off-by: a1012112796 <1012112796@qq.com> a1012112796 authored at GitHub comitted at
  5. e399f0f5 Don't buffer doctor logger (#19982) - We don't need to buffer the logger with a thousand capacity. It's not a high-throughput logger, this also caused issue whereby the logger can't keep up with repeated messages being send(somehow they are lost in the queue?). - Resolves #19969 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Gusted authored at GitHub comitted at
  6. b01dce2a Allow render HTML with css/js external links (#19017) * Allow render HTML with css/js external links * Fix bug because of filename escape chars * Fix lint * Update docs about new configuration item * Fix bug of render HTML in sub directory * Add CSP head for displaying iframe in rendering file * Fix test * Apply suggestions from code review Co-authored-by: delvh <dev.lh@web.de> * Some improvements * some improvement * revert change in SanitizerDisabled of external renderer * Add sandbox for iframe and support allow-scripts and allow-same-origin * refactor * fix * fix lint * fine tune * use single option RENDER_CONTENT_MODE, use sandbox=allow-scripts * fine tune CSP * Apply suggestions from code review Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: delvh <dev.lh@web.de> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Lunny Xiao authored at GitHub comitted at
  7. 7d1770cd Use correct count for `NumOpenIssues` (#19980) - Don't specify the field in `Count` instead use `Cols` for this. - Call `log.Error` when a error occur. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Gusted authored at GitHub comitted at
  8. 6473bd33 In code search, get code unit accessible repos in one (main) query (#19764) * When non-admin users use code search, get code unit accessible repos in one main query * Modified some comments to match the changes * Removed unnecessary check for Access Mode in Collaboration table Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv> Hugo Hoitink authored at GitHub comitted at
  9. 88164652 [skip ci] Updated translations via Crowdin Gusted authored at Gusted comitted at
  10. f0ce5470 Always try to fetch repo for mirrors (#19975) - Always give a best-effort to fetching the repositories, if even that fails indeed give a disconnected mirror found error. - *Partially* resolves #19928 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Gusted authored at GitHub comitted at
  11. 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
  12. 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
  13. 97548d27 Uppercase first languages letters (#19965) AHOHNMYC authored at GitHub comitted at
  14. d91d4db3 Move tests as seperate sub packages to reduce duplicated file names (#19951) Lunny Xiao authored at GitHub comitted at
  15. 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
  16. f6e2dbaf [skip ci] Updated translations via Crowdin singuliere authored at singuliere comitted at
  17. 460c03ca [skip ci] Updated translations via Crowdin singuliere authored at singuliere comitted at
  18. 1fef9a2d Remove singuliere from MAINTAINERS (#19883) singuliere authored at GitHub comitted at
  19. 0d7eda51 Fix aria for logo (#19955) Co-authored-by: 6543 <6543@obermui.de> wxiaoguang authored at GitHub comitted at
  20. 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
  21. 3c6c1507 Add deprecated log when using MySQL with utf8 charset (#19952) Lunny Xiao authored at GitHub comitted at
  22. 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
  23. 3708ca8e fix: some typos (#19956) yutotnh authored at GitHub comitted at
  24. 5f136783 [skip ci] Updated translations via Crowdin Lunny Xiao authored at Lunny Xiao comitted at
  25. 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
  26. a9dc9b06 Fix signal loop in graceful manager (#19943) wxiaoguang authored at GitHub comitted at
  27. 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
  28. 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
  29. edf14202 Unify repo settings & show better error (#19828) * Unify context data * Actually show invalid url in error Gusted authored at GitHub comitted at
  30. 3898fc5b [skip ci] Updated translations via Crowdin xkcdstickfigure authored at xkcdstickfigure comitted at