gitea/models
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 Display the version of runner in the runner list (#23490) 2023-03-19 22:19:40 -04:00
activities
admin
asymkey Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
auth Add user webhooks (#21563) 2023-03-10 08:28:32 -06:00
avatars
db
dbfs
fixtures Replace `repo.namedBlob` by `git.TreeEntry`. (#22898) 2023-03-15 16:51:39 -05:00
git Introduce path Clean/Join helper functions (#23495) 2023-03-21 16:02:49 -04:00
issues add user rename endpoint to admin api (#22789) 2023-03-14 03:45:21 -04:00
migrations Display the version of runner in the runner list (#23490) 2023-03-19 22:19:40 -04:00
organization
packages
perm
project Use `project.IconName` instead of repeated unreadable `if-else` chains (#23538) 2023-03-19 14:44:48 +02:00
pull
repo Fix tags sort by creation time (descending) on branch/tag dropdowns (#23491) 2023-03-16 12:01:10 -05:00
secret
system
unit
unittest
user Add login name and source id for admin user searching API (#23376) 2023-03-15 19:53:01 +08:00
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
migrate.go
migrate_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_collaboration.go
repo_collaboration_test.go
repo_test.go
repo_transfer.go
repo_transfer_test.go