Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 01:44:24 +01:00
forgejo/routers/common
Nirmal Kumar R 1527ece6cc Extend API MarkupOptions to contain branch and relative path
The api.MarkupOptions{} struct will have a RelativePath which depicts
the relative path to the repository root + BranchPath which contains the
current branch. The RenderMarkup function utilizes a struct since there
are too many variables passed as arguments and that is not a good sign
for readability.
2024-11-20 18:27:05 +05:30
..
auth.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
compare.go feat(api): implement branch/commit comparison API (#30349) 2024-04-21 11:58:18 +02:00
db.go [PORT] Refactor the DB migration system slightly (gitea#32344) 2024-11-03 17:00:48 +01:00
errpage.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
errpage_test.go Clean up template locale usage (#27856) 2023-10-31 22:11:48 +08:00
markup.go Extend API MarkupOptions to contain branch and relative path 2024-11-20 18:27:05 +05:30
middleware.go [CHORE] Move to new sessioner library 2024-08-25 03:47:08 +02:00
middleware_test.go Support sanitising the URL by removing extra slashes in the URL (#21333) 2023-03-04 21:31:24 +08:00
redirect.go Use fetch to send requests to create issues/comments (#25258) 2023-06-16 06:32:43 +00:00
serve.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00