0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-26 15:56:10 -05:00
forgejo/routers/web/repo
Denys Konovalov 275d4b7e3f
API endpoint for changing/creating/deleting multiple files (#24887)
This PR creates an API endpoint for creating/updating/deleting multiple
files in one API call similar to the solution provided by
[GitLab](https://docs.gitlab.com/ee/api/commits.html#create-a-commit-with-multiple-files-and-actions).

To archive this, the CreateOrUpdateRepoFile and DeleteRepoFIle functions
in files service are unified into one function supporting multiple files
and actions.

Resolves #14619
2023-05-29 17:41:35 +08:00
..
actions Add step start time to ViewStepLog (#24980) 2023-05-29 08:18:36 +00:00
setting
activity.go
attachment.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
blame.go
branch.go Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2023-05-26 01:04:48 +00:00
cherry_pick.go
commit.go
compare.go
download.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
editor.go API endpoint for changing/creating/deleting multiple files (#24887) 2023-05-29 17:41:35 +08:00
editor_test.go
find.go
helper.go
helper_test.go
http.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
http_test.go
issue.go Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2023-05-26 01:04:48 +00:00
issue_content_history.go
issue_dependency.go
issue_label.go
issue_label_test.go
issue_lock.go
issue_pin.go Add the ability to pin Issues (#24406) 2023-05-25 15:17:19 +02:00
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
lfs.go
main_test.go
middlewares.go
migrate.go
milestone.go
packages.go
patch.go
projects.go
projects_test.go
pull.go Add IsErrRepoFilesAlreadyExist check when fork repo (#24678) 2023-05-22 18:21:46 +08:00
pull_review.go
release.go
release_test.go
render.go
repo.go
search.go
setting.go Refactor Pull Mirror and fix out-of-sync bugs (#24732) 2023-05-15 19:02:10 +00:00
setting_protected_branch.go Support for status check pattern (#24633) 2023-05-17 16:11:13 +08:00
settings_test.go
tag.go
topic.go
treelist.go
view.go
view_test.go
webhook.go New webhook trigger for receiving Pull Request review requests (#24481) 2023-05-24 22:06:27 -04:00
wiki.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
wiki_test.go