gitea

Development moved to Codeberg

Commits at c0ed869e0f440e5d18c101fccbb4ff5516aaa13b

  1. c0ed869e Fix identation typo in doc installation with Docker (#18233) Andrey Esin authored at GitHub comitted at
  2. ed6757ec [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  3. af924739 Fix source typos (#18227) Follow-up to #18219 luzpaz authored at GitHub comitted at
  4. 8c647bf0 Fix various typos (#18219) Found via `codespell -q 3 -S ./options/locale,./vendor -L ba,pullrequest,pullrequests,readby,te,unknwon` Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> luzpaz authored at GitHub comitted at
  5. 242dddfc Remove `ioutil` (#18222) - Don't use `ioutil` package anymore as it doesn't anything special anymore since Go 1.16: ``` // As of Go 1.16, the same functionality is now provided // by package io or package os, and those implementations // should be preferred in new code. ``` Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Gusted authored at GitHub comitted at
  6. 60b94556 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  7. 79791ba4 Fix typos in docs/content (#18215) Greg Myers authored at GitHub comitted at
  8. de578bff [skip ci] Updated licenses and gitignores GiteaBot authored at GiteaBot comitted at
  9. 3a0dee01 In the Organization member page, 2fa column is too narrow for Simplified Chinese and Chinese Traditional. (#18213) Expand 2fa column and Narrow the last column. capvor authored at GitHub comitted at
  10. 23f5a34c Fix new team (#18212) fix regression from #17811 Lunny Xiao authored at GitHub comitted at
  11. 70d74753 Fix EasyMDE image paste bug during refactoring (#18207) wxiaoguang authored at GitHub comitted at
  12. 4f776456 Sort locales according to their names (#18211) * Sort locales according to their names * Fix documentation and sort case insensitive delvh authored at GitHub comitted at
  13. 832f987d Restore setting of ctx.Repo.Mirror (#18205) In #17933 repoAssignment no longer sets the ctx.Repo.Mirror field meaning that attempting change mirror settings results in an NPE. This PR simply restores this. Either we should remove this field or, we should set it. At present it seems simplest to set it instead of going looking in the Data for the value although converting the context to a bag of things may be the correct approach in the future. Fix #18204 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> zeripath authored at GitHub comitted at
  14. 69a4bd02 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  15. e30b20dc Show OAuth callback error message (#18185) * Show callback error message. * lint * Use error code to display a message. Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> KN4CK3R authored at GitHub comitted at
  16. 3dbdf36d Fix CSS specificity issue with easymde's css (#18201) * Fix CSS specificity issue with easymde's css PR #18069 introduced a regression in certain overwritten editor styles because the dynamic loading of easymde.min.css causes its's style to apply after our supposed override styles. Solve this by bundling the styles into index.css. We should later aim to completely replace easymde.min.css completely with our own styles so there are no more conflicts. * Update web_src/js/features/comp/EasyMDE.js Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> silverwind authored at GitHub comitted at
  17. 80705cf4 Fix mermaid rendering in milestone dashboard (#18202) Fixes: https://github.com/go-gitea/gitea/issues/18200 silverwind authored at GitHub comitted at
  18. a1c12fb0 Don't store assets modified time into generated files (#18193) Lunny Xiao authored at GitHub comitted at
  19. 21ed4fd8 Add warning for BIDI characters in page renders and in diffs (#17562) Fix #17514 Given the comments I've adjusted this somewhat. The numbers of characters detected are increased and include things like the use of U+300 to make à instead of à and non-breaking spaces. There is a button which can be used to escape the content to show it. Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Gwyneth Morgan <gwymor@tilde.club> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> zeripath authored at GitHub comitted at
  20. ee60f27a [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  21. 36a0f4e4 Bump mermaid from 8.13.4 to 8.13.8 (#18198) Bumps [mermaid](https://github.com/knsv/mermaid) from 8.13.4 to 8.13.8. - [Release notes](https://github.com/knsv/mermaid/releases) - [Changelog](https://github.com/mermaid-js/mermaid/blob/develop/docs/CHANGELOG.md) - [Commits](https://github.com/knsv/mermaid/compare/8.13.4...8.13.8) --- updated-dependencies: - dependency-name: mermaid dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> dependabot[bot] authored at GitHub comitted at
  22. 0acc6a4e fix location for custom/options/license (#18194) yearski authored at GitHub comitted at
  23. 4b3bfd7e Enable partial clone by default (#18195) - Enable partial clones(which are by default disabled from git) by default, unless configured otherwise. - Resolves #18190 Gusted authored at GitHub comitted at
  24. 1514e13b Add option to convert CRLF to LF line endings for sendmail (#18075) It appears that several versions of sendmail require that the mail is sent to them with LF line endings instead of CRLF endings - which of course they will then convert back to CRLF line endings to comply with the SMTP standard. This PR adds another setting SENDMAIL_CONVERT_CRLF which will pass the message writer through a filter. This will filter out and convert CRLFs to LFs before writing them out to sendmail. Fix #18024 Signed-off-by: Andrew Thornton <art27@cantab.net> zeripath authored at GitHub comitted at
  25. bf7b083c Add replay of webhooks. (#18191) KN4CK3R authored at GitHub comitted at
  26. a38ba634 Load EasyMDE/CodeMirror dynamically, remove RequireEasyMDE (#18069) This PR makes frontend load EasyMDE/CodeMirror dynamically, and removes `RequireEasyMDE`. wxiaoguang authored at GitHub comitted at
  27. 0572c789 refactoring nits (#18188) * no octal for time values * rm artifact from refactoring Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> 6543 authored at GitHub comitted at
  28. 6da078d6 slight optimization for default avatar (#18187) * slight optimization * Update comment Co-authored-by: 6543 <6543@obermui.de> Lunny Xiao authored at GitHub comitted at
  29. ec6cc38c code.gitea.io/sdk/gitea v0.14.0 -> v0.15.1 (#18186) 6543 authored at GitHub comitted at
  30. 8760af75 Team permission allow different unit has different permission (#17811) * Team permission allow different unit has different permission * Finish the interface and the logic * Fix lint * Fix translation * align center for table cell content * Fix fixture * merge * Fix test * Add deprecated * Improve code * Add tooltip * Fix swagger * Fix newline * Fix tests * Fix tests * Fix test * Fix test * Max permission of external wiki and issues should be read * Move team units with limited max level below units table * Update label and column names * Some improvements * Fix lint * Some improvements * Fix template variables * Add permission docs * improve doc * Fix fixture * Fix bug * Fix some bug * fix * gofumpt * Integration test for migration (#18124) integrations: basic test for Gitea {dump,restore}-repo This is a first step for integration testing of DumpRepository and RestoreRepository. It: runs a Gitea server, dumps a repo via DumpRepository to the filesystem, restores the repo via RestoreRepository from the filesystem, dumps the restored repository to the filesystem, compares the first and second dump and expects them to be identical The verification is trivial and the goal is to add more tests for each topic of the dump. Signed-off-by: Loïc Dachary <loic@dachary.org> * Team permission allow different unit has different permission * Finish the interface and the logic * Fix lint * Fix translation * align center for table cell content * Fix fixture * merge * Fix test * Add deprecated * Improve code * Add tooltip * Fix swagger * Fix newline * Fix tests * Fix tests * Fix test * Fix test * Max permission of external wiki and issues should be read * Move team units with limited max level below units table * Update label and column names * Some improvements * Fix lint * Some improvements * Fix template variables * Add permission docs * improve doc * Fix fixture * Fix bug * Fix some bug * Fix bug Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Aravinth Manivannan <realaravinth@batsense.net> Lunny Xiao authored at GitHub comitted at