gitea

Development moved to Codeberg

Commits at f034ee6cf0ab0806ef0b8edb5f38e6a5c37f2f7c

  1. f034ee6c PullService lock via pullID (#19520) * lock pull on git&db actions ... * add TODO notes * rename prQueue 2 prPatchCheckerQueue * fmt 6543 authored at GitHub comitted at
  2. e933f314 Add health check endpoint (#18465) * chore: add health check endpoint docs: update document about health check fix: fix up Sqlite3 ping. current ping will success even if the db file is missing fix: do not expose privacy information in output field * refactor: remove HealthChecker struct * Added `/api/healthz` to install routes. This was needed for using /api/healthz endpoint in Docker healthchecks, otherwise, Docker would never become healthy if using healthz endpoint and users would not be able to complete the installation of Gitea. * Update modules/cache/cache.go * fine tune * Remove unnecessary test code. Now there are 2 routes for installation (and maybe more in future) Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Marcos de Oliveira <marcossantos@furb.br> ttys3 authored at GitHub comitted at
  3. 3114cd30 Only check for non-finished migrating task (#19601) * Only check for non-finished migrating task - Only check if a non-finished migrating task exists for a mirror before fetching the mirror details from the database. - Resolves #19600 - Regression: #19588 * Clarify function Gusted authored at GitHub comitted at
  4. 9c04da37 Make .cs highlighting legible on dark themes. (#19604) Eekle authored at GitHub comitted at
  5. 2d40a4a4 Fix broken TR on cherrypick page (#19599) - `repo.filter_branch` isn't a translation key so use `repo.pulls.filter_branch` which has the correct translation. Gusted authored at GitHub comitted at
  6. cc3016f7 Use correct context in `routers/web` (#19597) - Don't use the `APIContext` in the web routers. Gusted authored at GitHub comitted at
  7. 92f139d0 Use for a repo action one database transaction (#19576) ... more context (part of #9307) 6543 authored at GitHub comitted at
  8. 730420b6 Only set CanColorStdout / CanColorStderr to true if the stdout/stderr is a terminal (#19581) wxiaoguang authored at GitHub comitted at
  9. 982b726b Don't fetch Mirror when it's migrating (#19588) - When a repository is still being migrated, don't try to fetch the Mirror from the database. Instead skip it. This allows to visit repositories that are still being migrated and were configured to be mirrored. - Resolves #19585 - Regression: #19295 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Gusted authored at GitHub comitted at
  10. b7abb31b Move user password verification after checking his groups on ldap auth (#19587) In case the binded user can not access its own attributes. Signed-off-by: Gwilherm Folliot <gwilherm55fo@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Gwilherm Folliot authored at GitHub comitted at
  11. 772ad761 Fix some slice problems (incorrect slice length) (#19592) Lunny Xiao authored at GitHub comitted at
  12. c8ec2261 Fix sending empty notifications (#19589) - Don't send empty notifications on read notifications API. Gusted authored at GitHub comitted at
  13. 438646e0 Handle the error of a missing blob object fix #19530 (#19552) * Handle the error of a missing blob object * Show error in logs * as per @zeripath * Add missing error check * Add missing error check * Update compare.go * Use formal code * Update compare.go Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: techknowlogick <techknowlogick@gitea.io> 99rgosse authored at GitHub comitted at
  14. c18d8d69 Remove legacy `+build:` constraint (#19582) Go 1.17 and later use modern `//go:build` constraints, the old `// +build:` constraints should be removed. wxiaoguang authored at GitHub comitted at
  15. e2a3f3d2 Federation: return useful statistic information for nodeinfo (#19561) Add statistic information for total user count, active user count, issue count and comment count for `/nodeinfo` 6543 authored at GitHub comitted at
  16. 509d8112 Upgrade required git version to 2.0 (#19577) * Upgrade required git version to 2.0 * update document wxiaoguang authored at GitHub comitted at
  17. 0ba3ada8 add smtp password to install page (#17564) * add smtp password to install page * Update routers/install/install.go Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Vladimir Smagin authored at GitHub comitted at
  18. 71bafa02 ignore DNS error when doing migration allow/block check (#19566) Co-authored-by: 6543 <6543@obermui.de> wxiaoguang authored at GitHub comitted at
  19. 05234adf [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  20. d8905cb6 Dont overwrite err with nil & rename PullCheckingFuncs to reflect there usage (#19572) - dont overwrite err with nil unintentionaly - rename CheckPRReadyToMerge to CheckPullBranchProtections - rename prQueue to prPatchCheckerQueue from #9307 Co-authored-by: delvh <dev.lh@web.de> 6543 authored at GitHub comitted at
  21. 3725fa28 Improve UI on mobile (#19546) Start making the mobile experience not painful and be actually usable. This contains a few smaller changes to enhance this experience. - Submit buttons on the review forms aren't columns anymore and are now allowed to be displayed on one row. - The label/milestone & New Issue buttons were given each own row even tough, there's enough place to do it one the same row. This commit fixes that. - The issues+Pull tab on repo's has a third item besides the label/milestone & New Issue buttons, the search bar. On desktop there's enough place to do this on one row, for mobile it isn't, currently it was using for each item a new row. This commits fixes that by only giving the searchbar a new row and have the other two buttons on the same row. - The notification table will now be show a scrollbar instead of overflow. - The repo buttons(Watch, Star, Fork) on mobile were showing quite big and the SVG wasn't even displayed on the same line, if the count of those numbers were too high it would even overflow. This commit removes the SVG, as there isn't any place to show them on the same row and allows them to have a new row if the counts of those buttons are high. - The admin page can show you a lot of interesting information, on mobile the System Status + Configuration weren't properly displayed as the margin's were too high. This commit fixes that by reducing the margin to a number that makes sense on mobile. - Fixes to not overflow the tables but instead force them to be scrollable. - When viewing a issue or pull request, the comments aren't full-width but instead 80% and aligned to right, on mobile this is a annoyance as there isn't much width to begin with. This commits fixes that by forcing full-width and removing the avatars on the left side and instead including them inline in the comment header. Gusted authored at GitHub comitted at
  22. ac6c3384 Add API to check if team has repo access (#19540) * Add API to check if team has repo access * Add test case qwerty287 authored at GitHub comitted at
  23. edff571a Avoid MoreThanOne Error (#19557) 99rgosse authored at GitHub comitted at
  24. 094c8fdc [skip ci] Updated licenses and gitignores GiteaBot authored at GiteaBot comitted at
  25. c0a6309a Simplify loops to copy (#19569) - Simplify two loops into `copy` statements. Gusted authored at GitHub comitted at
  26. 1597e2da Use middleware to open gitRepo (#19559) 6543 authored at GitHub comitted at
  27. d23f2203 Added X-Mailer header to outgoing emails (#19562) - It's a non-standard mentioned in https://www.ietf.org/rfc/rfc2076.html#section-3.4 - This header makes emails filtering easier Ivan Fedorov authored at GitHub comitted at
  28. 8d34c2fa fix #19545 (#19563) 6543 authored at GitHub comitted at
  29. bf7258be [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  30. 5aebc4f0 Respect DefaultUserIsRestricted system default when creating new user (#19310) * Apply DefaultUserIsRestricted in CreateUser * Enforce system defaults in CreateUser Allow for overwrites with CreateUserOverwriteOptions * Fix compilation errors * Add "restricted" option to create user command * Add "restricted" option to create user admin api * Respect default setting.Service.RegisterEmailConfirm and setting.Service.RegisterManualConfirm where needed * Revert "Respect default setting.Service.RegisterEmailConfirm and setting.Service.RegisterManualConfirm where needed" This reverts commit ee95d3e8dc9e9fff4fa66a5111e4d3930280e033. Jimmy Praet authored at GitHub comitted at