1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-10-10 19:32:02 +00:00
forgejo/routers/api/v1/repo
Earl Warren 79e5e20bea [v11.0/forgejo] fix: don't allow credentials in migrate/push mirror URL (#9065)
**Backport: https://codeberg.org/forgejo/forgejo/pulls/9064**

It is no longer possible to specify the user and password when providing a URL for migrating a repository, the fields dedicated to that purpose on the form must be used instead. This is to prevent that those credentials are displayed in the repository settings that are visible by the repository admins, in the case where the migration is a mirror.

Co-authored-by: Gergely Nagy <forgejo@gergo.csillger.hu>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9065
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
2025-08-30 18:53:14 +02:00
..
action.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
avatar.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
blob.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
branch.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
collaborators.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
commits.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
compare.go [v11.0/forgejo] fix: make API /repos/{owner}/{repo}/compare/{basehead} work with forks (#8333) 2025-06-29 07:33:03 +02:00
download.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
file.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
flags.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
fork.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
git_hook.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
git_ref.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
hook.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
hook_test.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
issue.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
issue_attachment.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
issue_comment.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
issue_comment_attachment.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
issue_dependency.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
issue_label.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
issue_pin.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
issue_reaction.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
issue_stopwatch.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
issue_subscription.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
issue_tracked_time.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
key.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
label.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
language.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
main_test.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
migrate.go [v11.0/forgejo] fix: don't allow credentials in migrate/push mirror URL (#9065) 2025-08-30 18:53:14 +02:00
milestone.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
mirror.go [v11.0/forgejo] fix: don't allow credentials in migrate/push mirror URL (#9065) 2025-08-30 18:53:14 +02:00
notes.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
patch.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
pull.go [v11.0/forgejo] fix: make API /repos/{owner}/{repo}/compare/{basehead} work with forks (#8333) 2025-06-29 07:33:03 +02:00
pull_review.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
release.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
release_attachment.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
release_tags.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
repo.go [v11.0/forgejo] fix: corrupted wiki unit default permission (#8234 follow-up) (#8258) (#8445) 2025-07-08 18:52:59 +02:00
repo_test.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
star.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
status.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
subscriber.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
tag.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
teams.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
topic.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
transfer.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
tree.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
wiki.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00