gitea

Development moved to Codeberg

Commits at 69a28299e2e3a8e40023581c27a5a2193949efa0

  1. 69a28299 migrations: a deadline at January 1st, 1970 is valid (#18237) * migrations: a deadline at January 1st, 1970 is valid Do not change the deadline value if it is set to January 1st, 1970. Setting the deadline to year 9999 when it is zero (which is equal to January 1st, 1970) modifies a deadline set to January 1st, 1970 which is a valid date. In addition, setting a date in year 9999 will be converted to a null date in some cases. Signed-off-by: Loïc Dachary <loic@dachary.org> * tests: set milestone.deadline_unix in fixtures The value of deadline_unix must be set to 253370764800 (i.e. 9999-01-01) in fixtures, otherwise it will be inserted as null which leads to unexpected errors. For instance, DumpRepository will store a null deadline_unix as 0 (i.e. 1970-01-01) and RestoreRepository will change it to 9999-01-01. Signed-off-by: Loïc Dachary <loic@dachary.org> Co-authored-by: Loïc Dachary <loic@dachary.org> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Aravinth Manivannan authored at GitHub comitted at
  2. eaf09a53 Fix documents for development and bug report (#18249) wxiaoguang authored at GitHub comitted at
  3. 17b2079f Add/update SMTP auth providers via cli (#18197) Allow adding/updating SMTP authentication source via CLI using: - gitea admin auth add-smtp - gitea admin auth update-smtp Signed-off-by: Zoran Peričić <zpericic@netst.org> Zoran Peričić authored at GitHub comitted at
  4. ff00b868 Fix NPE on try to get tag reference via API (#18245) * fix npe * rm gitRepo from Tag 6543 authored at GitHub comitted at
  5. 67d73882 Fix update user bug (#18250) Lunny Xiao authored at GitHub comitted at
  6. ba9e4e25 [doc] https-setup: explain relative paths for {CERT,KEY}_FILE fields. (#18244) Closes: https://github.com/go-gitea/gitea/issues/14401 M. Zhou authored at GitHub comitted at
  7. ee8718e4 chore: remove unnecessary section (#18209) Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de> Bo-Yi Wu authored at GitHub comitted at
  8. 72cced1f Fix purple color in suggested label colors (#18241) This looks like a typo that was introduced when these colors were added, causing what is supposed to be purple show up as green. silverwind authored at GitHub comitted at
  9. 09d2029b Prevent NPE when viewing non-rendered files (#18234) Fix #18231 Signed-off-by: Andrew Thornton <art27@cantab.net> zeripath authored at GitHub comitted at
  10. 0857c197 Fix collobration template (#18232) Lunny Xiao authored at GitHub comitted at
  11. c0ed869e Fix identation typo in doc installation with Docker (#18233) Andrey Esin authored at GitHub comitted at
  12. ed6757ec [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  13. af924739 Fix source typos (#18227) Follow-up to #18219 luzpaz authored at GitHub comitted at
  14. 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
  15. 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
  16. 60b94556 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  17. 79791ba4 Fix typos in docs/content (#18215) Greg Myers authored at GitHub comitted at
  18. de578bff [skip ci] Updated licenses and gitignores GiteaBot authored at GiteaBot comitted at
  19. 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
  20. 23f5a34c Fix new team (#18212) fix regression from #17811 Lunny Xiao authored at GitHub comitted at
  21. 70d74753 Fix EasyMDE image paste bug during refactoring (#18207) wxiaoguang authored at GitHub comitted at
  22. 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
  23. 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
  24. 69a4bd02 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  25. 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
  26. 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
  27. 80705cf4 Fix mermaid rendering in milestone dashboard (#18202) Fixes: https://github.com/go-gitea/gitea/issues/18200 silverwind authored at GitHub comitted at
  28. a1c12fb0 Don't store assets modified time into generated files (#18193) Lunny Xiao authored at GitHub comitted at
  29. 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
  30. ee60f27a [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at