gitea/modules
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
2023-03-21 16:02:49 -04:00
..
actions Convert GitHub event on actions and fix some pull_request events. (#23037) 2023-03-14 20:50:51 +08:00
activitypub
analyze
auth
avatar
base
cache
charset
container
context Improve template error reporting (#23396) 2023-03-20 15:56:48 -05:00
csv
doctor add path prefix to ObjectStorage.Iterator (#23332) 2023-03-13 18:23:51 +08:00
emoji
eventsource
generate
git Handle files starting with colons in WalkGitLog (#22935) 2023-03-16 11:03:04 -05:00
gitgraph
graceful
hcaptcha
highlight
hostmatcher
html
httpcache
httplib
indexer
issue/template
json
label
lfs
log
markup
mcaptcha
metrics
migration
mirror
nosql
notification
options Introduce path Clean/Join helper functions (#23495) 2023-03-21 16:02:49 -04:00
packages Return `repository` in npm package metadata endpoint (#23539) 2023-03-17 14:39:19 -04:00
paginator
pprof
private
process
proxy
proxyprotocol
public Introduce path Clean/Join helper functions (#23495) 2023-03-21 16:02:49 -04:00
queue
recaptcha
references
regexplru
repository Fix pull request update showing too many commits with multiple branches (#22856) 2023-03-09 12:14:22 -06:00
secret
session
setting Add `.patch` to `attachment.ALLOWED_TYPES` (#23580) 2023-03-19 15:58:43 -04:00
sitemap
ssh
storage Introduce path Clean/Join helper functions (#23495) 2023-03-21 16:02:49 -04:00
structs Add absent repounits to create/edit repo API (#23500) 2023-03-16 12:30:42 -05:00
svg Keep (add if not existing) xmlns attribute for generated SVG images (#23410) 2023-03-21 13:39:27 +08:00
sync
system
templates Improve template error reporting (#23396) 2023-03-20 15:56:48 -05:00
test
timeutil Make time tooltips interactive (#23526) 2023-03-16 15:40:56 -05:00
translation Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
turnstile
typesniffer
updatechecker
upload
uri
user
util Introduce path Clean/Join helper functions (#23495) 2023-03-21 16:02:49 -04:00
validation
watcher
web
webhook