Skip to content

822 bulk import of device components #3711

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

Merged
merged 32 commits into from
Dec 5, 2019
Merged

822 bulk import of device components #3711

merged 32 commits into from
Dec 5, 2019

Conversation

steffann
Copy link
Contributor

Fixes: #822

This PR implements bulk import forms for device components. The only thing missing is a decent place to link to/from these import forms. I suggest adding those links after #3564 has been implemented. Those pages would be the perfect place for a link to the import.

steffann and others added 30 commits November 3, 2019 16:05
3457 Display cable colors in device interface list
…nge-if-come-in-with-ldap-auth

Hide password change page when user is logged in using LDAP
P3P is obsolete (https://www.w3.org/TR/P3P11/), therefore the HTTP header
should be removed from the recommended config in the installation docs.
Docs: Remove obsolete P3P policy
Closes #3663: API filter by created, last_updated
@lampwins
Copy link
Contributor

lampwins commented Dec 5, 2019

This is looking good. I noticed several of your init methods have some duplicated logic. Do you think there is any way we can reduce some of that to make it more DRY?

Also, you have some TODOs for URLs, should we wait to merge this until after that is complete and added here?

@steffann
Copy link
Contributor Author

steffann commented Dec 5, 2019

I have thought about abstracting the logic in the init methods a bit, but although they are similar they are not identical. Creating a helper function/method would make the code more compact but possibly harder to read (although that is very personal). In short: i have a slight preference for leaving it as it is, but don't mind either way.

I think it's ready to merge. One of the merges has to go first, and I don't think the order really matters as long as the URLs are put in place before 2.7 is released.

@jeremystretch jeremystretch changed the base branch from develop to develop-2.7 December 5, 2019 20:24
@jeremystretch jeremystretch merged commit adb25fd into netbox-community:develop-2.7 Dec 5, 2019
@steffann steffann deleted the 822-bulk-import-of-device-components branch January 23, 2020 14:42
@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants