gitea

Development moved to Codeberg

Commits at 042cac5fedeec8af53080b9666fe043072f3a6be

  1. 042cac5f Improve install code to avoid low-level mistakes. (#17779) * Improve install code to avoid low-level mistakes. If a user tries to do a re-install in a Gitea database, they gets a warning and double check. When Gitea runs, it never create empty app.ini automatically. Also some small (related) refactoring: * Refactor db.InitEngine related logic make it more clean (especially for the install code) * Move some i18n strings out from setting.go to make the setting.go can be easily maintained. * Show errors in CLI code if an incorrect app.ini is used. * APP_DATA_PATH is created when installing, and checked when starting (no empty directory is created any more). wxiaoguang authored at GitHub comitted at
  2. a3517d86 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  3. 3fd502cc Rework commit page header (#17849) - Remove blue background and use regular header styling - Use flexbox on author and signature segments - Add shield-type icons besides gpg key, replacing icon font icons - Ensure author and signature line are same height - Remove erronous green background on arc-green signature line - Turn signing colors into CSS variables - Consolidate the two warning states into one Co-authored-by: zeripath <art27@cantab.net> silverwind authored at GitHub comitted at
  4. 01087e9e Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) This PR registers requests with the process manager and manages hierarchy within the processes. Git repos are then associated with a context, (usually the request's context) - with sub commands using this context as their base context. Signed-off-by: Andrew Thornton <art27@cantab.net> zeripath authored at GitHub comitted at
  5. d894c90b Fix position of label color picker colors (#17866) silverwind authored at GitHub comitted at
  6. 64b7d0de docs: modules do not rely on models, services do (#17861) services: provide some services for users, usually use database (models) modules: provide some basic functions without database, eg: code parser, etc The major difference is services use database, while modules don’t. Signed-off-by: singuliere <singuliere@autistici.org> singuliere authored at GitHub comitted at
  7. 9ecfc54a Refactor commit graph styling to use css variables (#17860) - Use common variables for colors and font - Alter graph color 5 to provide enough contrast on both themes silverwind authored at GitHub comitted at
  8. eb8513a6 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  9. 4a6bd60d Remove whitespace inside rendered code `<td>` (#17859) This extra whitespace caused isses in Firefox where it would copy a extra space character at the start and the end. Additionally, in Chrome, the text selection indicated a spaced on the end of the selection where there was none. Both issues are fixed with the removal of whitespace. silverwind authored at GitHub comitted at
  10. 830ab75c Switch archive URL code back to href attributes (#17796) * Add fallback href link * Switch async archive generation to use href links * Edit all templates to use href instead of data-url for archives * Add consistent rel="nofollow" as per wxiaoguang fnetX (aka fralix) authored at GitHub comitted at
  11. b5a9ee94 Make Co-committed-by and co-authored-by trailers optional (#17848) This PR adds another option to app.ini make co-committed-by and co-authored-by trailers optional on a per server basis. Fix #17194 Signed-off-by: Andrew Thornton <art27@cantab.net> zeripath authored at GitHub comitted at
  12. 3fec2cb3 Fix various typos in docs (#17844) qwerty287 authored at GitHub comitted at
  13. 9defddb2 Move more model into models/user (#17826) * Move more model into models/user * Remove unnecessary comment Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Lunny Xiao authored at GitHub comitted at
  14. b1df8909 Docs: replace `gitea` with `Gitea` (#17838) Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> qwerty287 authored at GitHub comitted at
  15. 1fee11d6 Move accessmode into models/perm (#17828) Lunny Xiao authored at GitHub comitted at
  16. 24a8d54b Disable ref selection dropdown if you don't have permissions to use it (#17837) Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> qwerty287 authored at GitHub comitted at
  17. fbadc1a1 Fix value of User.IsRestricted to default setting when oauth2 user auto registration; (#17839) Galen Suen authored at GitHub comitted at
  18. 72d82c5b Handle relative unix socket paths (#17836) Make relative unix sockets absolute by making them absolute against the AppWorkPath Fix #17833 ## :warning: BREAKING :warning: Prior to this PR relative unix sockets would have been asserted to be relative to the current working directory that gitea, gitea serv, hook and manager etc were running in. Hooks and Serv would have failed to work properly under this situation so we expect that although this is a technically breaking change the previous situation was already broken. Signed-off-by: Andrew Thornton <art27@cantab.net> zeripath authored at GitHub comitted at
  19. 04c55e97 Fix code formating (#17830) * fix formatter, format imports first, then go fmt mscherer authored at GitHub comitted at
  20. 2e8fc5b0 Replace regex usage for MIME parsing (#17831) MIME types can have multiple optional parameters, eg: video/webm; codecs="w/e codec"; charset="binary" This commit replaces the usage of regex for getting the "type/subtype" with mime.ParseMediaType. Gabriel Vasile authored at GitHub comitted at
  21. 789d251a [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  22. 1f0dab21 Implement Well-Known URL for password change (#17777) * Implement Well-Known URL for password change Fixes #11804 mscherer authored at GitHub comitted at
  23. fcc11253 Add archived label for code search results in archived repo's (#17817) * Add archived label for code search results in archived repo's * Remove trailing whitespace Co-authored-by: Lauris BH <lauris@nix.lv> Jimmy Praet authored at GitHub comitted at
  24. 371ebce2 Fix database inconsistent when admin change user email (#17549) Lunny Xiao authored at GitHub comitted at
  25. f23851f6 [skip ci] Updated translations via Crowdin GiteaBot authored at GiteaBot comitted at
  26. 6c219614 org settings -> webhook/labels/deletion should also active the menu (#17809) Lunny Xiao authored at GitHub comitted at
  27. e8f1f091 Fixed org styles. (#17807) Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> KN4CK3R authored at GitHub comitted at
  28. edd37e9d Fix org webchatwork webhook (#17810) wxiaoguang authored at GitHub comitted at
  29. af901a4c Detect dark theme via css variable (#17800) * detect dark theme via css variable * minor refactor, add documentation If your custom theme is considered a dark theme, set the global css variable `--is-dark-theme` to `true`. This allows gitea to adjust the Monaco code editor's theme accordingly. ThetaDev authored at GitHub comitted at
  30. e0f81b4e Allow forks to org if you can create repos (#17783) qwerty287 authored at GitHub comitted at