1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
Commit Graph

4 Commits

Author SHA1 Message Date
Giteabot
6bf6fa8de0
Render embedded code preview by permlink in markdown () ()
Backport  by wxiaoguang

The permlink in markdown will be rendered as a code preview block, like GitHub

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
2024-04-03 02:20:16 +08:00
wxiaoguang
df1268ca08
Make "/user/login" page redirect if the current user has signed in ()
Fix  and maybe more.
Maybe fix 
2024-03-05 02:12:03 +00:00
wxiaoguang
8553b4600e
Add an trailing slash to dashboard links ()
Fix , and add some tests for "base/paginate.tmpl"
2024-03-04 01:02:51 +00:00
Lunny Xiao
29f149bd9f
Move context from modules to services ()
Since `modules/context` has to depend on `models` and many other
packages, it should be moved from `modules/context` to
`services/context` according to design principles. There is no logic
code change on this PR, only move packages.

- Move `code.gitea.io/gitea/modules/context` to
`code.gitea.io/gitea/services/context`
- Move `code.gitea.io/gitea/modules/contexttest` to
`code.gitea.io/gitea/services/contexttest` because of depending on
context
- Move `code.gitea.io/gitea/modules/upload` to
`code.gitea.io/gitea/services/context/upload` because of depending on
context
2024-02-27 08:12:22 +01:00