-
-
Notifications
You must be signed in to change notification settings - Fork 180
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
[feature] Implemented device deactivation and reactivation #625 #840
Open
pandafy
wants to merge
41
commits into
master
Choose a base branch
from
issues/625-device-deactivation
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
d0ee324
[feature] Implemented device deactivation and reactivation #625
pandafy a8aa0b5
[feature] Do not delete related Certs when device is deactivated
pandafy 6bdffdc
[feature] Set device status to deactivated if current status is deact…
pandafy 259f31f
[fix] Fixed readonlyfields for ConfigInline
pandafy f47edd2
[feature] Return 404 checksum for deactivated devices
pandafy 8c60f7d
[tests] Added test for device controller views
pandafy 778a729
[feature] Added activate and deactivate button on the device page
pandafy a08c85e
[chores] Added migrations for Config.status
pandafy 0af9d2d
[chores] Added migrations for sample app
pandafy 834c822
[tests] Fixed tests
pandafy df822ce
[qa] Fixed QA issues
pandafy 5f2a0a3
[fix] Fixed issues with DeviceAdmin.get_extra_context
pandafy 318b169
[feature] Added "config_deactivating" signal
pandafy 02395be
[admin] Added error handling to activate and deactivate actions
pandafy 332cf50
[change] Show delete action after deactivate action
pandafy 8bc75f1
[feature] Emit device_deactivated signal when device is deactivated
pandafy eb363d1
[fix] Fixed activate button on top submitting device-form
pandafy b2e8325
[req-changes] Added deactivated warning message to device's change page
pandafy 091de5e
[change] Upadted Config.status helptext
pandafy 6da3756
[fix] Don't show any extra form on deactivated devices
pandafy eb6c36d
[tests] Added admin tests for device change page
pandafy 7b6ab6b
[refactor] Refactored logic for sending activate/deactivate message t…
pandafy 8dc6096
[tests] Added test for device changelist admin action
pandafy acde704
[temp] Upgraded openwisp-utils
pandafy 8df3e0b
[chores] Added migrations
pandafy a6148b4
[chores] Upgraded openwisp-utils
pandafy 5339254
[chores] Fixed formatting
pandafy 2710b46
[req-changes] Updated config status on device admin
pandafy b6b3fac
[req-changes] Refactored code for device status message
pandafy 6942cac
[req-changes] Display warning when user delete active devices from ad…
pandafy 3e8bcf7
[chores] Miscellaneous uppdates
pandafy 3c6b551
[fix] Fixed selenium test
pandafy de5a90a
WIP: 6eea7bc2 [fix] Fixed selenium test
pandafy bdb4485
[fix] Fixed implementation of submit inline buttons
pandafy 26f058a
[tests] Fixed tests
pandafy e2edfb6
[req-changes] Formatted code and updated docs
pandafy ecccf77
[change] Clear management IP when device is deactivated
pandafy 1d43fb5
[change] Added API endpoints for activating/deactivating device
pandafy 56e801c
[change] Updated device delete API endpoint
pandafy 5d7f122
[change] Disable API operations on deactivated devices
pandafy 13c6783
[tests] Fixed tests
pandafy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
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.
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 emitted right when the device is flagged for deactivation or when the deactivation is complete?
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.
It is sent when the device is flagged for deactivation.
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.
Ok, please clarify this in the text when you can.