You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/services
wxiaoguang ce9dee5a1e
Introduce path Clean/Join helper functions (#23495)
Since #23493 has conflicts with latest commits, this PR is my proposal
for fixing #23371

Details are in the comments

And refactor the `modules/options` module, to make it always use
"filepath" to access local files.

Benefits:

* No need to do `util.CleanPath(strings.ReplaceAll(p, "\\", "/"))),
"/")` any more (not only one before)
* The function behaviors are clearly defined
1 year ago
..
actions Fix missing commit status in PR which from forked repo (#23351) 1 year ago
agit add user rename endpoint to admin api (#22789) 1 year ago
asymkey Add context cache as a request level cache (#22294) 1 year ago
attachment Preserve file size when creating attachments (#23406) 1 year ago
auth Handle OpenID discovery URL errors a little nicer when creating/editing sources (#23397) 1 year ago
automerge Add force_merge to merge request and fix checking mergable (#23010) 1 year ago
context Add missing tabs to org projects page (#22705) 1 year ago
convert Add absent repounits to create/edit repo API (#23500) 1 year ago
cron Add Cargo package registry (#21888) 1 year ago
externalaccount Implement FSFE REUSE for golang files (#21840) 2 years ago
forms Add Swift package registry (#22404) 1 year ago
gitdiff Fix broken code editor diff preview (#23307) 1 year ago
issue Webhooks: for issue close/reopen action, add commit ID that caused it (#22583) 2 years ago
lfs Use minio/sha256-simd for accelerated SHA256 (#23052) 1 year ago
mailer Preserve file size when creating attachments (#23406) 1 year ago
markup Implement FSFE REUSE for golang files (#21840) 2 years ago
migrations Introduce path Clean/Join helper functions (#23495) 1 year ago
mirror Fill head commit to in payload when notifying push commits for mirroring (#23215) 1 year ago
org Implement FSFE REUSE for golang files (#21840) 2 years ago
packages Introduce path Clean/Join helper functions (#23495) 1 year ago
pull Disable sending email after push a commit to a closed PR (#23462) 1 year ago
release Preserve file size when creating attachments (#23406) 1 year ago
repository Introduce path Clean/Join helper functions (#23495) 1 year ago
task Implement FSFE REUSE for golang files (#21840) 2 years ago
user add user rename endpoint to admin api (#22789) 1 year ago
webhook Add user webhooks (#21563) 1 year ago
wiki Improve utils of slices (#22379) 2 years ago