gitea

Development moved to Codeberg

Commits at 713985b1a4c5d2faf997b5e96885e9d1a31250db

  1. 713985b1 Prevent deadlocks in persistable channel pause test (#18410) * Prevent deadlocks in persistable channel pause test Because of reuse of the old paused/resumed channels in this test there was a potential for deadlock. This PR ensures that the channels are always reobtained. It further adds some control code to detect hangs in future - and it ensures that the pausing warning is not shown on shutdown. Signed-off-by: Andrew Thornton <art27@cantab.net> * do not warn but do pause Signed-off-by: Andrew Thornton <art27@cantab.net> zeripath authored at GitHub comitted at
  2. b53fd5ff Bump golangci-lint version (#18411) - Bump golangci-lint version to v1.44.0 (no new linter errors detected) Gusted authored at GitHub comitted at
  3. 80adbebb Unexport git.GlobalCommandArgs (#18376) Unexport the git.GlobalCommandArgs variable. 6543 authored at GitHub comitted at
  4. 93250bfe Place inline diff comment dialogs on split diff in 4th and 8th columns (#18403) Fix #18391 Fix #18320 Signed-off-by: Andrew Thornton <art27@cantab.net> zeripath authored at GitHub comitted at
  5. 6392f469 API: Return primary language and repository language stats API URL (#18396) Lauris BH authored at GitHub comitted at
  6. 9628a76c Update to work with latest VS Code go debugger (#18397) Lauris BH authored at GitHub comitted at
  7. a717265e Fix restore without topic failure (#18387) Co-authored-by: zeripath <art27@cantab.net> Lunny Xiao authored at GitHub comitted at
  8. 8053b60b [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  9. ab7f7016 Make WrappedQueues and PersistableChannelUniqueQueues Pausable (#18393) Implements the Pausable interface on WrappedQueues and PersistableChannelUniqueQueues Reference #15928 Signed-off-by: Andrew Thornton art27@cantab.net zeripath authored at GitHub comitted at
  10. 43c6b277 Fix commit's time (#18375) * Fix commit's time - Use the Committer's `when` as the CommitDate will be modified when the commit is being moved around in the git tree(e.g. being rebased on top of newer commits). The Author's `when` is created once and never touched again. * Update templates/repo/view_list.tmpl * Commmt unstaged * Add fallback Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Gusted authored at GitHub comitted at
  11. 9837773f Prevent showing webauthn error for every time visiting `/user/settings/security` (#18385) wxiaoguang authored at GitHub comitted at
  12. 5506cb92 Refactor webhooks i18n (#18380) wxiaoguang authored at GitHub comitted at
  13. 4bfd749f [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  14. 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
  15. 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
  16. 8472884c Update the SSH passthrough documentation (#18366) zeripath authored at GitHub comitted at
  17. 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
  18. 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
  19. 87141b90 Fix mime-type detection for HTTP server (#18370) Bypass the unstable behavior of Golang's mime.TypeByExtension wxiaoguang authored at GitHub comitted at
  20. 35fdefc1 Always use git command but not os.Command (#18363) Lunny Xiao authored at GitHub comitted at
  21. 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
  22. e040eca7 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  23. 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
  24. 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
  25. 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
  26. 6ad7a537 Update github.com/duo-labs/webauthn (#18357) 6543 authored at GitHub comitted at
  27. 5ff899d5 Fix route wrap (#18360) wxiaoguang authored at GitHub comitted at
  28. f9109245 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  29. 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
  30. 108f1aab Add js vendor directory to .gitattributes (#18350) silverwind authored at GitHub comitted at