gitea

Development moved to Codeberg

Commits at c2e13fb763ec4764f8ebbeb25b190b48ac7b99ad

  1. c2e13fb7 Fix partial cloning a repo (#18373) - Pass the Global command args into serviceRPC. - Fixes error with partial cloning. - Add partial clone test - Include diff Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Gusted authored at GitHub comitted at
  2. 5e5740af Switch to non-deprecation setting (#18358) * Switch to non-deprecation setting (Avoid by-default: "Deprecated fallback `[server]` `LFS_CONTENT_PATH` present. Use `[lfs]` `PATH` instead. This fallback will be removed in v1.18.0") * Update all references Gusted authored at GitHub comitted at
  3. 8472884c Update the SSH passthrough documentation (#18366) zeripath authored at GitHub comitted at
  4. e36f0b6a Don't underline commit status icon on hover (#18372) - Don't underline the commit status icon, as it isn't a link per-se. Gusted authored at GitHub comitted at
  5. 3349fd8f Add packagist webhook (#18224) Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Dr. Tobias Quathamer authored at GitHub comitted at
  6. 87141b90 Fix mime-type detection for HTTP server (#18370) Bypass the unstable behavior of Golang's mime.TypeByExtension wxiaoguang authored at GitHub comitted at
  7. 35fdefc1 Always use git command but not os.Command (#18363) Lunny Xiao authored at GitHub comitted at
  8. f066b293 Add deprecated for LFS_CONTENT_PATH on zh-cn docs (#18362) Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Lunny Xiao authored at GitHub comitted at
  9. e040eca7 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  10. 1ddfa596 Make gitea, gitea-vet future-proof (#18361) * Make gitea, gitea-vet future-proof - Ref: https://gitea.com/gitea/gitea-vet/pulls/18 * Correct order Co-authored-by: zeripath <art27@cantab.net> Gusted authored at GitHub comitted at
  11. a82fd98d Pause queues (#15928) * Start adding mechanism to return unhandled data Signed-off-by: Andrew Thornton <art27@cantab.net> * Create pushback interface Signed-off-by: Andrew Thornton <art27@cantab.net> * Add Pausable interface to WorkerPool and Manager Signed-off-by: Andrew Thornton <art27@cantab.net> * Implement Pausable and PushBack for the bytefifos Signed-off-by: Andrew Thornton <art27@cantab.net> * Implement Pausable and Pushback for ChannelQueues and ChannelUniqueQueues Signed-off-by: Andrew Thornton <art27@cantab.net> * Wire in UI for pausing Signed-off-by: Andrew Thornton <art27@cantab.net> * add testcases and fix a few issues Signed-off-by: Andrew Thornton <art27@cantab.net> * fix build Signed-off-by: Andrew Thornton <art27@cantab.net> * prevent "race" in the test Signed-off-by: Andrew Thornton <art27@cantab.net> * fix jsoniter mismerge Signed-off-by: Andrew Thornton <art27@cantab.net> * fix conflicts Signed-off-by: Andrew Thornton <art27@cantab.net> * fix format Signed-off-by: Andrew Thornton <art27@cantab.net> * Add warnings for no worker configurations and prevent data-loss with redis/levelqueue Signed-off-by: Andrew Thornton <art27@cantab.net> * Use StopTimer Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> zeripath authored at GitHub comitted at
  12. 27ee01e1 Disable content sniffing on `PlainTextBytes` (#18359) - Disable the browser's function to "sniff" for the content-type on the provided plain text, this will prevent the possible usage of user-controlled data being sent, which could be malicious. Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Gusted authored at GitHub comitted at
  13. 6ad7a537 Update github.com/duo-labs/webauthn (#18357) 6543 authored at GitHub comitted at
  14. 5ff899d5 Fix route wrap (#18360) wxiaoguang authored at GitHub comitted at
  15. f9109245 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  16. 1f40933d Add config options to hide issue events (#17414) * Add config option to hide issue events Adds a config option `HIDE_ISSUE_EVENTS` to hide most issue events (changed labels, milestones, projects...) on the issue detail page. If this is true, only the following events (comment types) are shown: * plain comments * closed/reopned/merged * reviews * Make configurable using a list * Add docs * Add missing newline * Fix merge issues * Allow changes per user settings * Fix lint * Rm old docs * Apply suggestions from code review * Use bitsets * Rm comment * fmt * Fix lint * Use variable/constant to provide key * fmt * fix lint * refactor * Add a prefix for user setting key * Add license comment * Add license comment * Update services/forms/user_form_hidden_comments.go Co-authored-by: Gusted <williamzijl7@hotmail.com> * check len == 0 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Gusted <williamzijl7@hotmail.com> Co-authored-by: 6543 <6543@obermui.de> qwerty287 authored at GitHub comitted at
  17. 108f1aab Add js vendor directory to .gitattributes (#18350) silverwind authored at GitHub comitted at
  18. 6c7084cb [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  19. 44deae8f Refactor jwt.StandardClaims to RegisteredClaims (#18344) * Refactor jwt.StandardClaims to RegisteredClaims go-jwt/jwt has deprecated the StandardClaims interface to use RegisteredClaims instead. This PR migrates to use this new format. Signed-off-by: Andrew Thornton <art27@cantab.net> * Apply suggestions from code review Co-authored-by: Gusted <williamzijl7@hotmail.com> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Gusted <williamzijl7@hotmail.com> zeripath authored at GitHub comitted at
  20. 54e9ee37 format with gofumpt (#18184) * gofumpt -w -l . * gofumpt -w -l -extra . * Add linter * manual fix * change make fmt 6543 authored at GitHub comitted at
  21. 1d98d205 Enable deprecation error for v1.17.0 (#18341) Co-authored-by: Andrew Thornton <art27@cantab.net> Gusted authored at GitHub comitted at
  22. 16d378fe Use correct translation key for errors (#18342) - Noted by: https://github.com/go-gitea/gitea/issues/17876#issuecomment-1017503614 Gusted authored at GitHub comitted at
  23. 5bf8d544 Refactor Router Logger (#17308) Make router logger more friendly, show the related function name/file/line. [BREAKING] This PR substantially changes the logging format of the router logger. If you use this logging for monitoring e.g. fail2ban you will need to update this to match the new format. wxiaoguang authored at GitHub comitted at
  24. bbd30787 Updated Chroma to v0.10.0 (#18270) Jelle Hulter authored at GitHub comitted at
  25. 7427b81f Change initial TrustModel to committer (#18335) zeripath authored at GitHub comitted at
  26. 6c0fe1f3 refactor httplib (#18338) - Remove a lot of unused code(most if not all were introduced in gogs for webhooks usages). Co-authored-by: techknowlogick <techknowlogick@gitea.io> Gusted authored at GitHub comitted at
  27. 5cb0c9aa Propagate context and ensure git commands run in request context (#17868) This PR continues the work in #17125 by progressively ensuring that git commands run within the request context. This now means that the if there is a git repo already open in the context it will be used instead of reopening it. Signed-off-by: Andrew Thornton <art27@cantab.net> zeripath authored at GitHub comitted at
  28. 4563148a Upgrade Alpine from 3.13 to 3.15 (#18050) * Upgrade alpine to 3.15 * Add executability test to entrypoint for too old dockers Signed-off-by: Andrew Thornton <art27@cantab.net> * Update docker/rootless/usr/local/bin/docker-entrypoint.sh Co-authored-by: zeripath <art27@cantab.net> Grzegorz Alibożek authored at GitHub comitted at
  29. b7c64576 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  30. 6b0a7123 Stop trimming preceding and suffixing spaces from editor filenames (#18334) * Stop trimming preceding and suffixing spaces from editor filenames In #5702 it was decided to trim preceding and suffixed spaces aswell as / from editing file filenames. This was because at this point in time the url-safety of Gitea was much poorer. We can now drop this requirement and file editing should work correctly. Fix #18176 Signed-off-by: Andrew Thornton <art27@cantab.net> zeripath authored at GitHub comitted at