gitea/models
wxiaoguang 6cee3bfa96
Refactor markup render to fix various path problems ()
* Fix 
    * Use consistent path resolving for links and medias.
* No need to make the markup renders to resolve the paths, instead, the
paths are all correctly resolved in the "post process" step.
* Fix 
* Since 1.23, all paths starting with "/" are relative to current render
context (for example: the current repo branch)
* Introduce `/:root/path-relative-to-root`, then the path will be
rendered as relative to "ROOT_URL"
2025-04-04 23:45:23 +08:00
..
actions Enable addtional linters () 2025-04-01 10:14:01 +00:00
activities Enable addtional linters () 2025-04-01 10:14:01 +00:00
admin Fix omitempty bug () 2025-02-20 12:39:21 -08:00
asymkey Move ParseCommitWithSSHSignature to service layer () 2025-04-01 16:30:53 +00:00
auth Add new CLI flags to set name and scopes when creating a user with access token () 2025-04-02 22:00:54 +08:00
avatars Replace 10 more gt- classes with tw- () 2024-03-22 13:45:10 +00:00
db Enable addtional linters () 2025-04-01 10:14:01 +00:00
dbfs Enable testifylint rules () 2025-03-31 01:53:48 -04:00
fixtures Refactor Branch struct in package modules/git () 2025-04-02 17:31:32 +00:00
git Enable addtional linters () 2025-04-01 10:14:01 +00:00
issues Enable addtional linters () 2025-04-01 10:14:01 +00:00
migrations Enable addtional linters () 2025-04-01 10:14:01 +00:00
organization Enable testifylint rules () 2025-03-31 01:53:48 -04:00
packages Enable addtional linters () 2025-04-01 10:14:01 +00:00
perm Add anonymous access support for private/unlisted repositories () 2025-03-29 13:26:41 +08:00
project Enable addtional linters () 2025-04-01 10:14:01 +00:00
pull Automerge supports deleting branch automatically after merging () 2025-01-10 03:51:03 +08:00
renderhelper Refactor markup render to fix various path problems () 2025-04-04 23:45:23 +08:00
repo Enable addtional linters () 2025-04-01 10:14:01 +00:00
secret Added Description Field for Secrets and Variables () 2025-03-17 19:24:54 +00:00
shared/types Refactor locale&string&template related code () 2024-02-14 21:48:45 +00:00
system Enable testifylint rules () 2025-03-31 01:53:48 -04:00
unit Add `DEFAULT_MIRROR_REPO_UNITS` and `DEFAULT_TEMPLATE_REPO_UNITS` options () 2024-11-11 00:11:00 +00:00
unittest Enable addtional linters () 2025-04-01 10:14:01 +00:00
user Return default avatar url when user id is zero rather than updating database () 2025-04-02 01:03:27 +00:00
webhook Enable testifylint rules () 2025-03-31 01:53:48 -04:00
main_test.go make writing main test easier () 2023-09-28 01:38:53 +00:00
repo.go Fix issue comment number () 2024-12-30 14:35:46 -08:00
repo_test.go Enable testifylint rules () 2025-03-31 01:53:48 -04:00