• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openwisp / openwisp-firmware-upgrader
94%

Build:
DEFAULT BRANCH: master
Repo Added 02 Mar 2020 10:07AM UTC
Files 48
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 1.1
  • 1.2
  • add-tiny
  • api
  • backport/404-to-1.2-1779209331
  • browser-error-helper
  • bump-version
  • celery-stubs-cleanup
  • change_mock_patch_decorator_in_test_models
  • changelog-bot-change-bang
  • changelog/1.1.2
  • changes/allow-deleton-of-upgrades
  • chore/port-changelog-1.2.1
  • chores/add-ci-failure-bot
  • chores/add-gsoc26-branch-to-ci
  • chores/add-gsoc26-persistent-scheduled-upgrades-branch-to-ci
  • ci/changelog_bot
  • ci/update-pr-validation-workflow
  • config_app_label_test_admin
  • css-fixes
  • custom_group_model_migrations
  • debug-ci
  • dependabot/github_actions/actions/cache-5
  • dependabot/github_actions/actions/cache-6
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/checkout-7
  • dependabot/github_actions/actions/setup-python-6
  • dependabot/github_actions/actions/setup-python-7
  • dependabot/github_actions/pypa/gh-action-pypi-publish-1.12.3
  • dependabot/github_actions/pypa/gh-action-pypi-publish-1.12.4
  • dependabot/github_actions/pypa/gh-action-pypi-publish-1.14.0
  • dependabot/github_actions/pypa/gh-action-pypi-publish-1.14.2
  • dependabot/pip/django-redis-approx-eq-6.0.0
  • dependabot/pip/django-redis-approx-eq-7.0.0
  • dependabot/pip/psycopg2-binary-approx-eq-2.9.11
  • dependabot/pip/psycopg2-binary-approx-eq-2.9.12
  • dependabot/pip/responses-approx-eq-0.25.6
  • dependabot/pip/responses-approx-eq-0.25.7
  • dependabot/pip/responses-approx-eq-0.25.8
  • dependabot/pip/responses-approx-eq-0.26.0
  • dependabot/pip/responses-approx-eq-0.26.1
  • dependabot/pip/responses-approx-eq-0.26.2
  • dev
  • drop-python3.9
  • extended_controller_app_tests_part_one
  • feature/backport-workflow
  • feature/bot-autoassign
  • fix-302-mass-upgrade-credentials
  • fix-flaky-selenium-tests
  • fix-mass-upgrade-docs
  • fix-openwrt-syntaxwarning-escapes
  • fix-put-assert-num-queries
  • fix-restoring-device-test
  • fix/302-mass-upgrade-credentialless-devices
  • fix/api-url-guard
  • fix_test_selenium_device_change_url
  • format-by-prettier
  • gsoc/firmware-docs
  • gsoc25
  • gsoc25-tidy-up-tests
  • gsoc26-metadata-extraction
  • gsoc26-persistent-scheduled-upgrades
  • issue/208-enable-cancellation-of-upgrades
  • issue/224-show-real-time-upgrade-progress
  • issue/301-fw-image-not-deleting
  • issue/318-update-developer-docs-to-install-libsqlite3-mod-spatialite
  • issue/349-multicolor-progressBar
  • issue/358-identifier-change-crash
  • issue/366-allow-upgrade-options
  • issue/382-fix-deactivated-upgrader
  • issue/69-improve-endpoints
  • issue/mass-upgrade-by-group-location
  • issue/show-mass-upgrade-progress
  • issue/upgrade-by-group
  • issue/upgrade-options-fix
  • issues/165-add-device-recognition-mechanism
  • issues/204-shared-firmware
  • issues/249-add-support-for-django-5.x
  • issues/250-fix-http500-missing-credentials
  • issues/256-delete-org-blocked
  • issues/291-sysupgrade
  • issues/338-empty-image-submission
  • issues/360-use-theme-color-variables
  • issues/376-updated-upgrade-op-breadcrumb
  • issues/412-model-fields-state-machine
  • issues/417-persistence-schema-fields
  • issues/418-core-architecture-with-validation
  • master
  • mock_decorators_as_ctxmgr
  • refactor_test_admin_TestAdminTransaction
  • release-1.1.1
  • release/1.1.2
  • release/1.2.0
  • remove-main
  • replicate-version-branch
  • separate-session-storage
  • switch-to-prettier
  • utils-pagination
  • uuid-fix

03 Aug 2026 04:29PM UTC coverage: 94.074% (+0.02%) from 94.057%
30832389744

push

github

web-flow
[change] Improved handling of cascade deletion #256

This change addresses an issue where deleting an organization was
blocked due to `UpgradeOperation` and `BatchUpgradeOperation` records.
The `BlockDeleteAllowCascadeMixin` from `openwisp_utils.admin` is now
used to correctly handle cascade deletions, allowing them when triggered
by a parent object or bulk actions, while still preventing deletion of
in-progress operations with a clear error message.

This change mirrors the implementation in openwisp-utils and
includes new unit tests to verify the permission logic for various
deletion scenarios.

Closes #256

---------

Co-authored-by: Federico Capoano <f.capoano@openwisp.io>

2270 of 2413 relevant lines covered (94.07%)

11.29 hits per line

Relevant lines Covered
Build:
Build:
2413 RELEVANT LINES 2270 COVERED LINES
11.29 HITS PER LINE
Source Files on master
  • Tree
  • List 48
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
30832389744 master [change] Improved handling of cascade deletion #256 This change addresses an issue where deleting an organization was blocked due to `UpgradeOperation` and `BatchUpgradeOperation` records. The `BlockDeleteAllowCascadeMixin` from `openwisp_utils.a... push 03 Aug 2026 04:35PM UTC web-flow github
94.07
30831121267 issues/256-delete-org-blocked Merge 18dc771b4 into a1871e866 Pull #391 03 Aug 2026 04:19PM UTC web-flow github
94.07
30719960574 issues/256-delete-org-blocked Merge 713b6862a into a1871e866 Pull #391 01 Aug 2026 09:56PM UTC web-flow github
94.06
30703672752 dependabot/github_actions/pypa/gh-action-pypi-publish-1.14.2 [ci] Bump pypa/gh-action-pypi-publish from 1.14.0 to 1.14.2 Pull #470 01 Aug 2026 02:35PM UTC GitHub github
94.06
30703667552 dependabot/github_actions/actions/setup-python-7 [ci] Bump actions/setup-python from 6 to 7 Pull #469 01 Aug 2026 02:28PM UTC GitHub github
94.06
30703642614 dependabot/pip/responses-approx-eq-0.26.2 [deps] Update responses requirement from ~=0.26.1 to ~=0.26.2 Pull #468 01 Aug 2026 02:28PM UTC GitHub github
94.06
30590240913 master [ci] Update PR validation workflow push 30 Jul 2026 11:30PM UTC nemesifier github
94.06
30550758499 issues/412-model-fields-state-machine [tests] Address review comments #413 Pull #437 30 Jul 2026 02:21PM UTC atif09 github
91.04
30546667978 issues/412-model-fields-state-machine [chores] Add comments, reuse variables, rename test, fix hardcoded filename, drop unused alias Pull #437 30 Jul 2026 01:29PM UTC atif09 github
90.86
30545960111 issues/412-model-fields-state-machine [fix] Address review comments #414 Pull #437 30 Jul 2026 01:19PM UTC atif09 github
90.86
See All Builds (982)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc