Skip to content
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

Fix delete button + add view button + refacto urls + support Netbox 4.2 #51

Merged
merged 3 commits into from
Jan 27, 2025

Conversation

a-belhadj
Copy link
Contributor

@a-belhadj a-belhadj commented Nov 22, 2024

Remove IP addresses id from URL not required to read, modify and delete, changes:

  • Create: /plugins/ddns/ip-addresses/<int:ipaddress_pk>/extra-dns-name/create/
  • Edit: /plugins/ddns/extra-dns-name/<int:pk>/edit/
  • Delete: /plugins/ddns/extra-dns-name/<int:pk>/delete/
  • View: /plugins/ddns/extra-dns-name/<int:pk>/delete/

Drop support for Netbox version prior to 4.0

Code cleanup to use GenericView

Add view button list view

image

@YWatchman
Copy link
Member

This contains breaking changes requiring a major release, please update your description aswell for proper changelog information.

@a-belhadj
Copy link
Contributor Author

This contains breaking changes requiring a major release, please update your description aswell for proper changelog information.

It's not really breaking as the minimum version of the plugin is 4.0.0

URLs changes:
- Create: /plugins/ddns/ip-addresses/<int:ipaddress_pk>/extra-dns-name/create/
- Edit: /plugins/ddns/extra-dns-name/<int:pk>/edit/
- Delete: /plugins/ddns/extra-dns-name/<int:pk>/delete/
- View: /plugins/ddns/extra-dns-name/<int:pk>/delete/
Drop support for Netbox version prior to 4.0
Code cleanup to use GenericView
@a-belhadj
Copy link
Contributor Author

I use it on our production Netbox since 2 weeks and it works well

@a-belhadj a-belhadj changed the title Fix delete button + add view button + refacto urls Fix delete button + add view button + refacto urls + support Netbox 4.2 Jan 9, 2025
@a-belhadj a-belhadj marked this pull request as draft January 9, 2025 13:20
@a-belhadj a-belhadj force-pushed the fix_delete branch 4 times, most recently from f5b369f to 97e042e Compare January 9, 2025 14:44
@a-belhadj a-belhadj marked this pull request as ready for review January 9, 2025 15:01
@a-belhadj
Copy link
Contributor Author

Any update ?

@YWatchman YWatchman merged commit ac6ddb5 into Xyphen-IT:main Jan 27, 2025
@YWatchman
Copy link
Member

Released with version v1.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants