-
Notifications
You must be signed in to change notification settings - Fork 34
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
Release 3.0.0 #279
Release 3.0.0 #279
Conversation
Release v1.9.1
Prepare for Release v1.10.0
Release v1.11.0
Release v2.0.0
Release v2.0.2
Replace Device_role, ipam.Role with Role, and replace Region, Site with Location and Location Type.
These changes allow the app to load in alpha2.
Use Pre-Release version for testing Nautobot 2.0 support.
Release Candidate Prep
Fix access_grant_edit
Release 2.0.3
v3.0.0rc2
Match Python versions with Nautobot 2.0
Add NotesView to URLs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very clean. No gripes!
@@ -1,7 +1,7 @@ | |||
"""Administrative capabilities for nautobot_chatops plugin.""" | |||
|
|||
from django.contrib import admin | |||
from .models import CommandLog | |||
from .models import CommandLog, ChatOpsAccountLink |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from .models import CommandLog, ChatOpsAccountLink | |
from .models import ChatOpsAccountLink, CommandLog |
from nautobot_chatops.models import AccessGrant, CommandToken | ||
from nautobot_chatops.filters import AccessGrantFilterSet, CommandTokenFilterSet | ||
from nautobot_chatops.api.serializers import AccessGrantSerializer, CommandLogSerializer, CommandTokenSerializer | ||
from nautobot_chatops.models import AccessGrant, CommandToken, CommandLog |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from nautobot_chatops.models import AccessGrant, CommandToken, CommandLog | |
from nautobot_chatops.models import AccessGrant, CommandLog, CommandToken |
@@ -15,15 +15,23 @@ def get_view_name(self): | |||
return "Nautobot Chatops" | |||
|
|||
|
|||
class CommandTokenViewSet(ModelViewSet): # pylint: disable=too-many-ancestors | |||
class CommandTokenViewSet(NautobotModelViewSet): # pylint: disable=too-many-ancestors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
class CommandTokenViewSet(NautobotModelViewSet): # pylint: disable=too-many-ancestors | |
class CommandTokenViewSet(NautobotModelViewSet): |
filterset_class = CommandLogFilterSet | ||
|
||
|
||
class AccessGrantViewSet(NautobotModelViewSet): # pylint: disable=too-many-ancestors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
class AccessGrantViewSet(NautobotModelViewSet): # pylint: disable=too-many-ancestors | |
class AccessGrantViewSet(NautobotModelViewSet): |
|
||
|
||
class AccessGrantListView(PermissionRequiredMixin, ObjectListView): | ||
"""View for listing all extant AccessGrants.""" | ||
|
||
# Set the action buttons to correspond to what there are views. If import/export are added, this should be updated | ||
action_buttons = ("add",) | ||
permission_required = "nautobot_chatops.view_accessgrant" | ||
permission_required = "nautobot_chatops.view_commandlog" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change correct here? Seems like the old one is more correct.
permission_required = "nautobot_chatops.view_commandlog" | ||
http_method_names = ["get", "post"] | ||
class CommandLogListView(PermissionRequiredMixin, ObjectListView): | ||
"""View for listing all extant AccessGrants.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"""View for listing all extant AccessGrants.""" | |
"""View for listing all extant Command Logs.""" |
|
||
action_buttons = ("export",) | ||
permission_required = "nautobot_chatops.view_accessgrant" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
permission_required = "nautobot_chatops.view_accessgrant" | |
permission_required = "nautobot_chatops.view_commandlog" |
|
||
|
||
class AccessGrantListView(PermissionRequiredMixin, ObjectListView): | ||
"""View for listing all extant AccessGrants.""" | ||
|
||
# Set the action buttons to correspond to what there are views. If import/export are added, this should be updated | ||
action_buttons = ("add",) | ||
permission_required = "nautobot_chatops.view_accessgrant" | ||
permission_required = "nautobot_chatops.view_commandlog" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
permission_required = "nautobot_chatops.view_commandlog" | |
permission_required = "nautobot_chatops.view_accessgrant" |
What's Changed
Add support for Nautobot 2.0
Add ability to link Chat Platform User accounts to Nautobot User
TODO