gitea

Development moved to Codeberg

Commits at 0a7e8327a017c5dd43e552bbcd0d0f056bc1671b

  1. 0a7e8327 [skip ci] Updated licenses and gitignores GiteaBot authored at GiteaBot comitted at
  2. 6d417298 Fix markdown URL parsing (#17924) Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: zeripath <art27@cantab.net> wxiaoguang authored at GitHub comitted at
  3. 379a5241 Fix overflow in commit graph (#17947) * Fix overflow in commit graph Limit commit message to 50% width. This is rather crude but should work for common use cases with not too-long author names. Fixes: https://github.com/go-gitea/gitea/issues/17944 * Make it work with dynamic width * use span * use explicit none Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> silverwind authored at GitHub comitted at
  4. f550e356 Prevent services/mailer/mailer_test.go tests from deleteing data directory (#17941) Running `make test-backend` will delete `data/` due to reloading the configuration and resetting the appdatapath. This PR removes this unnecessary config reload but also adds extra code in to the unittest main to prevent its cleanup from deleting the wrong directory. Signed-off-by: Andrew Thornton <art27@cantab.net> zeripath authored at GitHub comitted at
  5. 3ca5dc7e Move keys to models/asymkey (#17917) * Move keys to models/keys * Rename models/keys -> models/asymkey * change the missed package name * Fix package alias * Fix test * Fix docs * Fix test * Fix test * merge Lunny Xiao authored at GitHub comitted at
  6. 0a9fcf63 Clean legacy SimpleMDE code (#17926) Since we are using EasyMDE now, we do not need to keep the SimpleMDE code anymore. This PR removes all legacy SimpleMDE code, and makes some related changes: * `createCommentEasyMDE` can accept native DOM element, and it doesn't need `jQuery.data` to store EasyMDE editor object (as discussed about the frontend guideline). * introduce `getAttachedEasyMDE` to get the attached EasyMDE editor object, it's easier to find all the usage of EasyMDE. * rename variable names from `$simplemde` to `easyMDE`, the `$` was incorrect because it is a EasyMDE editor, not a jQuery object. With this PR, it will be easier to do more refactoring or replacing EasyMDE with other editors. wxiaoguang authored at GitHub comitted at
  7. 719bddcd Move repository model into models/repo (#17933) * Some refactors related repository model * Move more methods out of repository * Move repository into models/repo * Fix test * Fix test * some improvements * Remove unnecessary function Lunny Xiao authored at GitHub comitted at
  8. fb8166c6 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  9. c7e23401 Fix a panic in NotifyCreateIssueComment (caused by string truncation) (#17928) * Fix a panic in NotifyCreateIssueComment (caused by string truncation) * more unit tests * refactor * fix some edge cases * use SplitStringAtByteN for comment content wxiaoguang authored at GitHub comitted at
  10. 18317526 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  11. d2d9bc84 Use disable_form_autofill on Codebase and Gitbucket (#17936) Removes the old fake input on the Codebase migration screen, and adds the disable_form_autofill qwerty287 authored at GitHub comitted at
  12. 9e6e1dc9 Improve checkBranchName (#17901) The current implementation of checkBranchName is highly inefficient involving opening the repository, the listing all of the branch names checking them individually before then using using opened repo to get the tags. This PR avoids this by simply walking the references from show-ref instead of opening the repository (in the nogogit case). Signed-off-by: Andrew Thornton <art27@cantab.net> zeripath authored at GitHub comitted at
  13. b59875aa allways set a message-id on mails (#17900) * allways set a message-id on mails * Add unit tests for mailer & Message-ID Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Garionion authored at GitHub comitted at
  14. 0ff18a80 Support sorting for project board issuses (#17152) Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Anbraten authored at GitHub comitted at
  15. 4cbe7925 Remove unnecessary `X-Remote` HTTP header in AJAX request (#17932) wxiaoguang authored at GitHub comitted at
  16. a6f961fb Refactor install page (db type) (#17919) * Refactor install page (db type) * set correct default DB HOST for different DB TYPE * remove legacy TiDB from documents * unify the usage of DB TYPE, in code we only use "mysql". "MySQL" is only shown to users for friendly name. * Gitea can use TiDB via MySQL protocol Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> wxiaoguang authored at GitHub comitted at
  17. b30870ef [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  18. eb69c7ec Allow default branch to be inferred on compare page (#17908) * Allow default branch to be inferred Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add test for inferred default branch Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> John Olheiser authored at GitHub comitted at
  19. 12a42baa Apply CSS Variables to all message elements (#17920) Fixes #17918. Applies color variables to all ui message on both themes. The colorization on .segment is a customization not present in fomantic ui, only used on user/repo/org delete pages. silverwind authored at GitHub comitted at
  20. dcdb4873 Move repo archiver to models/repo (#17913) * Move repo archiver to models/repo * Move archiver service into services/repository/ * Fix imports * Fix test * Fix test Lunny Xiao authored at GitHub comitted at
  21. f49d1604 Replace "unix" by "http+unix" for PROTOCOL (#17771) mscherer authored at GitHub comitted at
  22. 9d620896 Fix loading content history on show more (#17819) * Fix loading content history on show more - Call `initRepoIssueContentHistory` so that the newly loaded issues also get their content history. - Resolves #17767 * apply history to show diff too Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de> Gusted authored at GitHub comitted at
  23. 6255ff8c update xgo to use 1.17 (#17915) techknowlogick authored at GitHub comitted at
  24. 6c34f6b9 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  25. 11d519b3 Test cache during init (#17852) wxiaoguang authored at GitHub comitted at
  26. b4a32afe Display issue/comment role even if repo archived (#17907) Lunny Xiao authored at GitHub comitted at
  27. 98d903a3 [skip ci] Updated licenses and gitignores GiteaBot authored at GiteaBot comitted at
  28. a1dca009 fix i18n (#17906) wxiaoguang authored at GitHub comitted at
  29. 8d85a62e Fix svg colors in file list table (#17903) * Fix svg colors in file list table Turns out this can be fixed by just removing rules. Directory and file icons have other rules that still make them color correctly. * tweak color on file icons Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> silverwind authored at GitHub comitted at
  30. f7094c81 Update JS dependencies, adjust eslint config (#17904) - Update all JS dependencies to latest versions - Add new lint rules, enable es2022 eslint parser features - Disable github/no-then, I feel the rule was too restricting silverwind authored at GitHub comitted at