 
|
b244ceebfa
|
Add htmx guidelines (#28993)
To make sure we don't abuse it.
---------
Signed-off-by: Yarden Shoham <[email protected]>
Co-authored-by: wxiaoguang <[email protected]>
Co-authored-by: delvh <[email protected]>
|
2024-01-31 23:36:23 +01:00 |
|
 Yarden Shohamanddelvh
|
9384b5b310
|
Add global setting how timestamps should be rendered (#28657)
- Resolves https://github.com/go-gitea/gitea/issues/22493
- Related to https://github.com/go-gitea/gitea/issues/4520
Some admins prefer all timestamps to display the full date instead of
relative time. They can do that now by setting
```ini
[ui]
PREFERRED_TIMESTAMP_TENSE = absolute
```
This setting is set to `mixed` by default, allowing dates to render as
"5 hours ago". Here are some screenshots of the UI with this setting set
to `absolute`:



---------
Signed-off-by: Yarden Shoham <[email protected]>
Co-authored-by: delvh <[email protected]>
|
2024-01-02 09:25:30 +08:00 |
|
 Yarden ShohamandGiteabot
|
1c6728200d
|
Allow all URL schemes in Markdown links by default (#24805)
- Closes #21146
- Closes #16721
## ⚠️ BREAKING ⚠️
This changes the default behavior to now create links for any URL scheme
when the user uses the markdown form for links (`[label](URL)`), this
doesn't affect the rendering of inline links. To opt-out set the
`markdown.CUSTOM_URL_SCHEMES` setting to a list of allowed schemes, all
other schemes (except `http` and `https`) won't be allowed.
# Before

# After

---------
Signed-off-by: Yarden Shoham <[email protected]>
Co-authored-by: Giteabot <[email protected]>
|
2023-05-19 17:17:07 +02:00 |
|
 Yarden ShohamandGiteabot
|
296bea1f2b
|
Fix docs documenting invalid @every for OLDER_THAN cron settings (#24695)
Looks like a copy-paste leftover
- Fixes #20868
Co-authored-by: Giteabot <[email protected]>
|
2023-05-13 15:22:31 +00:00 |
|
Yarden Shoham
|
4a1b7a8065
|
Fix docs failing the build on main (#24561)
Regression from https://github.com/go-gitea/gitea/pull/23380
First failing build: https://drone.gitea.io/go-gitea/gitea/74565
https://github.com/go-gitea/gitea/actions/runs/4897332409/jobs/8745242395
Signed-off-by: Yarden Shoham <[email protected]>
|
2023-05-06 11:52:44 +00:00 |
|
 Yarden ShohamandGiteabot
|
0a6f9a5ac5
|
Remove unused setting time.FORMAT (#24430)
It's loaded and then never used.
---------
Co-authored-by: Giteabot <[email protected]>
|
2023-04-29 22:51:43 +02:00 |
|
Yarden Shoham
|
dd549aa8fe
|
Revert "Add Debian package registry" (#24412)
Reverts go-gitea/gitea#22854
|
2023-04-28 18:06:41 -04:00 |
|
Yarden Shoham
|
3905657dbe
|
Reference the zh-CN version of reverse-proxies in https-support (#24016)
|
2023-04-09 17:31:31 +08:00 |
|
Yarden Shoham
|
8a37f39816
|
Fix lint problem in https-support.zh-cn.md (#24014)
https://github.com/DavidAnson/markdownlint/blob/v0.26.2/doc/Rules.md#md051
|
2023-04-09 17:06:31 +08:00 |
|