Skip to content

Conversation

@ONL
Copy link
Owner

@ONL ONL commented Oct 1, 2021

No description provided.

pandafy and others added 25 commits June 20, 2023 10:14
- Command APIs inherits "ProtectedAPIMixin" for consistency with
  other API endpoints
- If an organization admin tries to access commands for a device
  of another organization, then the API would return 404 response.
  Earlier, the API returned 200 reponse with an empty list.

Fixes #754
- Fixed text alignment issue on Django 4.2
- Refactored code to use JS conventions
The status of Config objects will only be updated if
the checksum changes, whether it's because of a
change in the config, device or any related templates.

Closes #213
OpenWrt 21 introduced new property "band" for radio configuration
that deprecates the "hwmode" property.

Related to openwisp/netjsonconfig#236
Bug:
When a device has more than 1 Vpn templates applied, then removing
any one of the template deletes provisioned subnets for both
VpnClients.

Fix:
Only delete the related provisioned subnets when VpnClient is
deleted.
Added unique_together constraint in DeviceConnection, device
and credentials should be unique.

Fixes #795
pandafy and others added 3 commits September 24, 2025 10:05
…1113

The config checksum is now stored in the database
and the config status is changed to modified only
when the checksum changes.

Closes #1113
Replaced "Shared systemwide (no organization)" with "-" in the
device group filter dropdown of the device list view, while keeping
the original label unchanged elsewhere.

Fixes #1071
#1113

Bug:
Config.update_status_if_checksum_changed() sets the Config.status
to modified if the Config.checksum_db field is empty. In the migration
Config.checksum_db is empty, thus all Config.status is set to modified
to all devices.

Fix:
Use Config.objects.bulk_update() to populate the Config.checksum_db field.
It does not call save(), nor it sends pre_save and post_save signals.
Thus, it avoids any side-effects from the migration.

[skip changelog]

Related to #1113
dependabot bot and others added 26 commits October 1, 2025 13:54
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [django-import-export](https://github.com/django-import-export/django-import-export) to permit the latest version.
- [Release notes](https://github.com/django-import-export/django-import-export/releases)
- [Changelog](https://github.com/django-import-export/django-import-export/blob/main/docs/changelog.rst)
- [Commits](django-import-export/django-import-export@4.3.9...4.3.10)

---
updated-dependencies:
- dependency-name: django-import-export
  dependency-version: 4.3.10
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [responses](https://github.com/getsentry/responses) to permit the latest version.
- [Release notes](https://github.com/getsentry/responses/releases)
- [Changelog](https://github.com/getsentry/responses/blob/master/CHANGES)
- [Commits](getsentry/responses@0.25.7...0.25.8)

---
updated-dependencies:
- dependency-name: responses
  dependency-version: 0.25.8
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [pytest-cov](https://github.com/pytest-dev/pytest-cov) to permit the latest version.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](pytest-dev/pytest-cov@v6.2.1...v7.0.0)

---
updated-dependencies:
- dependency-name: pytest-cov
  dependency-version: 7.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
The SSH library Paramiko was not enforcing the command timeout setting,
a workaround was implemented to ensure the timeout is respected in OpenWISP Controller.

Addresses openwisp/openwisp-firmware-upgrader#244 (comment)

---------

Co-authored-by: Alexandre Vincent <alexandre.vincent@stellar.tc>
Co-authored-by: Federico Capoano <f.capoano@openwisp.io>
Updates the requirements on [django-reversion](https://github.com/etianen/django-reversion) to permit the latest version.
- [Release notes](https://github.com/etianen/django-reversion/releases)
- [Changelog](https://github.com/etianen/django-reversion/blob/master/CHANGELOG.rst)
- [Commits](etianen/django-reversion@v5.1.0...v6.0.0)

---
updated-dependencies:
- dependency-name: django-reversion
  dependency-version: 6.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Federico Capoano <f.capoano@openwisp.io>
…NTEXT #1097

Closes #1097

---------

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

Ensure that VPN clients are created or removed before
`templates_changed` is triggered. The VpnClient context can
affect the configuration checksum, so swapping the signal
connections preserves the correct order of operations.

Also added tests to verify that configuration checksums
correctly account for VPN client templates.
- Bumped ``netjsonconfig~=1.2.0``.
- Bumped ``django-x509~=1.3.0``.
- Bumped ``django-loci~=1.2.0``.
- Bumped ``django-flat-json-widget~=0.4.0``.
- Bumped ``openwisp-users~=1.2.0``.
- Bumped ``openwisp-utils[celery,channels]~=1.2.0``.
- Bumped ``openwisp-notifications~=1.2.0``.
- Bumped ``openwisp-ipam~=1.2.0``.
- Bumped ``djangorestframework-gis~=1.2.0``.
Signed-off-by: Gagan Deep <pandafy.dev@gmail.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pandafy <32094433+pandafy@users.noreply.github.com>
Co-authored-by: Gagan Deep <pandafy.dev@gmail.com>


Fixes #1057

---------

Co-authored-by: Gagan Deep <pandafy.dev@gmail.com>
Co-authored-by: Federico Capoano <f.capoano@openwisp.io>
Updates the requirements on [django-import-export](https://github.com/django-import-export/django-import-export) to permit the latest version.
- [Release notes](https://github.com/django-import-export/django-import-export/releases)
- [Changelog](https://github.com/django-import-export/django-import-export/blob/main/docs/changelog.rst)
- [Commits](django-import-export/django-import-export@4.3.10...4.3.13)

---
updated-dependencies:
- dependency-name: django-import-export
  dependency-version: 4.3.13
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
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.