77f6ee63ef
Don't set meta theme-color by default ( #24340 ) ( #24346 )
...
Backport #24340 by @silverwind
Fixes https://github.com/go-gitea/gitea/issues/24321 . By not setting
this meta tag, Safari will use body color for chrome and out-of-viewport
areas, which looks much better then static mismatching green.
As per
[MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name/theme-color )
it's really only Apple browsers who still support this tag, most others
have dropped support.
Before:
<img width="347" alt="Screenshot 2023-04-25 at 19 59 13"
src="https://user-images.githubusercontent.com/115237/234363180-0fe667ef-5469-4f5f-b31a-c9d73aff10ac.png ">
After:
<img width="361" alt="Screenshot 2023-04-25 at 20 00 00"
src="https://user-images.githubusercontent.com/115237/234363185-e2d2b62f-0133-4316-944d-b614ffb84eb0.png ">
Co-authored-by: silverwind <me@silverwind.io >
2023-04-26 01:33:15 -04:00
3b5d7f8d06
Update documentation to explain which projects allow Gitea to host static pages ( #23993 ) ( #24058 )
...
Backport #23993 by @6543
close #23521
Signed-off-by: 6543 <6543@obermui.de >
Co-authored-by: 6543 <6543@obermui.de >
Co-authored-by: delvh <dev.lh@web.de >
Co-authored-by: a1012112796 <1012112796@qq.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2023-04-11 18:43:35 +02:00
364adca848
docs: make the required backticks in email password more explicit ( #23923 ) ( #23926 )
...
Backport #23923 by @teauxfu
updated the example config to make the needed backticks around the
password more obvious
Co-authored-by: alex <alexmw777@gmail.com >
2023-04-04 15:06:54 -04:00
dd7dafa72e
docs: fix typo ( #23924 ) ( #23925 )
...
Backport #23924 by @teauxfu
fixes a minor typo in the email templates page
Co-authored-by: alex <alexmw777@gmail.com >
2023-04-04 18:13:09 +02:00
dc192247ad
Rename actions unit to repo.actions and add docs for it ( #23733 ) ( #23881 )
...
Backport #23733 by @wolfogre
I neglected that the `NameKey` of `Unit` is not only for translation,
but also configuration. So it should be `repo.actions` to maintain
consistency.
## ⚠️ BREAKING ⚠️
If users already use `actions.actions` in `DISABLED_REPO_UNITS` or
`DEFAULT_REPO_UNITS`, it will be treated as an invalid unit key.
Co-authored-by: Jason Song <i@wolfogre.com >
2023-04-03 12:54:36 +02:00
Giteabot and GitHub
f75ed6b167
Describe Gitea's purpose more accurately ( #23698 ) ( #23710 )
2023-03-26 17:33:32 +08:00
0e6875c888
Fix codeblocks in the cheat sheet ( #23664 ) ( #23669 )
...
Backport #23664 by @SuperSandro2000
Conflicts fixed by Andrew Thornton <art27@cantab.net >
Co-authored-by: Sandro <sandro.jaeckel@gmail.com >
Co-authored-by: Andrew Thornton <art27@cantab.net >
2023-03-23 16:50:56 -04:00
b94e932ec9
Add .patch to attachment.ALLOWED_TYPES ( #23580 ) ( #23582 )
...
Backport #23580 by @silverwind
Updated this default to GitHub's latest, adding the `.patch` file
extension to allowed types.
Co-authored-by: silverwind <me@silverwind.io >
2023-03-19 16:48:44 -04:00
47e1119416
Scoped label display and documentation tweaks ( #23430 ) ( #23433 )
...
Backport #23430 by @brechtvl
* Fix scoped label left and right part breaking across lines.
* Remove slanted divider in scoped label display, make it straight.
After using this for a while, this feels more visually noisy than
helpful.
* Reduce contrast between scope and item to reduce probability of
unreadable text on background.
* Change documentation to remove mention of non-exclusive scoped labels.
Co-authored-by: Brecht Van Lommel <brecht@blender.org >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: John Olheiser <john.olheiser@gmail.com >
2023-03-15 07:58:38 +08:00
f9339a190f
Support reflogs ( #22451 ) ( #23438 )
...
Backport #22451 by @philip-peterson
This PR adds support for reflogs on all repositories. It does this by
adding a global configuration entry.
Implements #14865
Signed-off-by: Philip Peterson <philip.c.peterson@gmail.com >
Co-authored-by: Philip Peterson <philip-peterson@users.noreply.github.com >
2023-03-13 12:20:10 +00:00
923ed995cd
Update documentation for the new YAML label file format ( #23020 ) ( #23341 )
...
Backport #23020
update documentation to include an overview of the yaml label template
that is part of PR #22976
Signed-off-by: Jon Roadley-Battin <jon.roadleybattin@gmail.com >
Co-authored-by: JonRB <4564448+eeyrjmr@users.noreply.github.com >
Co-authored-by: Yarden Shoham <hrsi88@gmail.com >
Co-authored-by: Lauris BH <lauris@nix.lv >
Co-authored-by: John Olheiser <john.olheiser@gmail.com >
Co-authored-by: delvh <dev.lh@web.de >
2023-03-06 17:52:29 -06:00
7ce7128fb3
Update hacking-on-gitea-zh_cn documentation ( #23315 ) ( #23323 )
...
Backport #23315
This PR fix outdated hacking-on-gitea-zh_cn documentation.
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Jason Song <i@wolfogre.com >
2023-03-06 18:44:02 +08:00
bcb3c229f8
Add basic documentation for labels, including scoped labels ( #23304 ) ( #23309 )
...
Backport #23304
Part of #22974
Co-authored-by: Brecht Van Lommel <brecht@blender.org >
Co-authored-by: delvh <dev.lh@web.de >
2023-03-05 20:38:46 +08:00
Giteabot and GitHub
e539b056b5
Re-add accidentally removed hacking-on-gitea.zh-cn.md ( #23297 ) ( #23305 )
2023-03-04 20:09:58 -05:00