-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Allow-/Block-List for Migrate & Mirrors (#13610) #13776
Merged
techknowlogick
merged 1 commit into
go-gitea:release/v1.13
from
6543-forks:backport_ALLOW_LOCALNETWORKS
Dec 2, 2020
Merged
Add Allow-/Block-List for Migrate & Mirrors (#13610) #13776
techknowlogick
merged 1 commit into
go-gitea:release/v1.13
from
6543-forks:backport_ALLOW_LOCALNETWORKS
Dec 2, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6543
added
the
topic/security
Something leaks user information or is otherwise vulnerable. Should be fixed!
label
Dec 1, 2020
zeripath
approved these changes
Dec 1, 2020
GiteaBot
added
the
lgtm/need 1
This PR needs approval from one additional maintainer to be merged.
label
Dec 1, 2020
gary-kim
approved these changes
Dec 1, 2020
GiteaBot
added
lgtm/done
This PR has enough approvals to get merged. There are no important open reservations anymore.
and removed
lgtm/need 1
This PR needs approval from one additional maintainer to be merged.
labels
Dec 1, 2020
6543
changed the title
Deny Migration from private/local addresses by default
Add Allow-/Block-List for Migrate & Mirrors (#13610)
Dec 1, 2020
6543
added
type/feature
Completely new functionality. Can only be merged if feature freeze is not active.
topic/repo-migration
Migrate repos from other platforms to Gitea, or from Gitea to them
pr/wip
This PR is not ready for review
labels
Dec 1, 2020
* add black list and white list support for migrating repositories * specify log message * use blocklist/allowlist * allways use lowercase to match url * Apply allow/block * Settings: use existing "migrations" section * convert domains lower case * dont store unused value * Block private addresses for migration by default * use proposed-upstream func to detect private IP addr * add own error for blocked migration, add tests, imprufe api * fix test * fix-if-localhost-is-ipv4 * rename error & error message * rename setting options * Apply suggestions from code review Co-authored-by: Lunny Xiao <[email protected]> Co-authored-by: zeripath <[email protected]> Co-authored-by: techknowlogick <[email protected]>
6543
force-pushed
the
backport_ALLOW_LOCALNETWORKS
branch
from
December 1, 2020 22:06
85712fc
to
e88ea03
Compare
zeripath
approved these changes
Dec 1, 2020
gary-kim
approved these changes
Dec 1, 2020
Thanks for the reping |
🚀 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
lgtm/done
This PR has enough approvals to get merged. There are no important open reservations anymore.
topic/repo-migration
Migrate repos from other platforms to Gitea, or from Gitea to them
topic/security
Something leaks user information or is otherwise vulnerable. Should be fixed!
type/feature
Completely new functionality. Can only be merged if feature freeze is not active.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport #13610