gitea

Development moved to Codeberg

Commits at 246902cd635339e914a074b678f8ec6f6b954b59

  1. 246902cd use next gen codecov uploader (#18443) 6543 authored at GitHub comitted at
  2. 74dcdadf [skip ci] Updated licenses and gitignores GiteaBot authored at GiteaBot comitted at
  3. be77ede9 Change some logging levels (#18421) * Change some logging levels * PlainTextWithBytes - 4xx/5xx this should just be TRACE * notFoundInternal - the "error" here is too noisy and should be DEBUG * WorkerPool - Worker pool scaling messages are normal and should be DEBUG Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> zeripath authored at GitHub comitted at
  4. e19b9653 GitLab reviews may not have the updated_at field set (#18450) * GitLab reviews may not have the updated_at field set Fallback to created_at if that the case and to time.Now() if it is also missing. Fixes: 18434 * use assert.WithinDuration Co-authored-by: Loïc Dachary <loic@dachary.org> Aravinth Manivannan authored at GitHub comitted at
  5. 2ad74a50 Attempt to prevent intermittent failure TestGit/xxx/BranchProtectMerge/MergePR (#18451) One of the repeated intermittent failures we see in testing is a failure due to branches not being ready to merge. Prior to the immediate queue implementation we would attempt to flush all the queues and this would prevent the issue. However, the immediate queue is not flushable so the flushall is not successful at preventing this. This PR proposes an alternative solution - wait some time and try again up to 5 times. If this fails then there is a genuine issue and we should fail. Related #17719 Signed-off-by: Andrew Thornton <art27@cantab.net> zeripath authored at GitHub comitted at
  6. b34923d9 Update Goldmark to Goldmark 1.4.4 (#18420) * Update Goldmark to Goldmark 1.4.4 * nolint the deprecation Signed-off-by: Andrew Thornton <art27@cantab.net> zeripath authored at GitHub comitted at
  7. f7b152f1 Ensure git tag tests and others create test repos in tmpdir (#18447) * Ensure git tag tests and other create test repos in tmpdir There are a few places where tests appear to reuse testing repos which causes random CI failures. This PR simply changes these tests to ensure that cloning always happens into new temporary directories. Fix #18444 * Change log root for integration tests to use the REPO_TEST_DIR There is a potential race in the drone integration tests whereby test-mysql etc will start writing to log files causing make test-check fail. Fix #18077 Signed-off-by: Andrew Thornton <art27@cantab.net> zeripath authored at GitHub comitted at
  8. 92b715e0 Attempt to prevent the deadlock in the QueueDiskChannel Test again (#18415) * Attempt to prevent the deadlock in the QueueDiskChannel Test again This time we're going to adjust the pause tests to only test the right flag. * Only switch off pushback once we know that we are not pushing anything else * Ensure full redirection occurs * More nicely handle a closed datachan * And handle similar problems in queue_channel_test Signed-off-by: Andrew Thornton <art27@cantab.net> zeripath authored at GitHub comitted at
  9. 726715fc [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  10. 19b017f3 Use explicit jQuery import, remove unused eslint globals (#18435) - Don't rely on globals (window.$) for jQuery import - Remove eslint globals no longer in use silverwind authored at GitHub comitted at
  11. 7b04c97b Fix typo (#18436) As title Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv> Gusted authored at GitHub comitted at
  12. 604ce776 Allow to filter repositories by language in explore, user and organization repositories lists (#18430) Lauris BH authored at GitHub comitted at
  13. 401e5c81 Fix broken when no commits and default branch is not master (#18422) * Fix broken when no commits and default branch is not master * Fix IsEmpty check * Improve codes * Add timeout Lunny Xiao authored at GitHub comitted at
  14. 668718c6 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  15. 8038610a Automatically pause queue if index service is unavailable (#15066) * Handle keyword search error when issue indexer service is not available * Implement automatic disabling and resume of code indexer queue Lauris BH authored at GitHub comitted at
  16. 2649eddc [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  17. 9a75c274 Only view milestones from current repo (#18414) The endpoint /{username}/{reponame}/milestone/{id} is not currently restricted to the repo. This PR restricts the milestones to those within the repo. Signed-off-by: Andrew Thornton <art27@cantab.net> zeripath authored at GitHub comitted at
  18. 3bb028cc Validate migration files (#18203) JSON Schema validation for data used by Gitea during migrations Discussion at https://forum.forgefriends.org/t/common-json-schema-for-repository-information/563 Co-authored-by: Loïc Dachary <loic@dachary.org> Aravinth Manivannan authored at GitHub comitted at
  19. 49dd9067 Use base32 for 2FA scratch token (#18384) * Use base32 for 2FA scratch token * rename Secure* to Crypto*, add comments wxiaoguang authored at GitHub comitted at
  20. 4889ab52 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  21. de61e5f9 Fix broken oauth2 authentication source edit page (#18412) It appears that there was a broken merge of the edit.tmpl page during the merge of #16594 - I am not entirely sure how this happened as the PR was correct. This PR fixes the broken template. Fix #18388 Signed-off-by: Andrew Thornton <art27@cantab.net> zeripath authored at GitHub comitted at
  22. 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
  23. 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
  24. 80adbebb Unexport git.GlobalCommandArgs (#18376) Unexport the git.GlobalCommandArgs variable. 6543 authored at GitHub comitted at
  25. 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
  26. 6392f469 API: Return primary language and repository language stats API URL (#18396) Lauris BH authored at GitHub comitted at
  27. 9628a76c Update to work with latest VS Code go debugger (#18397) Lauris BH authored at GitHub comitted at
  28. a717265e Fix restore without topic failure (#18387) Co-authored-by: zeripath <art27@cantab.net> Lunny Xiao authored at GitHub comitted at
  29. 8053b60b [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  30. 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