Update#1
Open
ONL wants to merge 957 commits intoONL:masterfrom
Open
Conversation
0a9ec58 to
b8169d9
Compare
This task can take a long time to run, these changes will help to minimize run time and alleviate any pain if it still takes long to execute.
[skip ci]
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.0.4...v5.0.12) --- updated-dependencies: - dependency-name: django-reversion dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
But only if installation of dependencies goes well.
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@v4.1.0...v5.0.0) --- updated-dependencies: - dependency-name: pytest-cov dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Updates the requirements on [django-redis](https://github.com/jazzband/django-redis) to permit the latest version. - [Release notes](https://github.com/jazzband/django-redis/releases) - [Changelog](https://github.com/jazzband/django-redis/blob/master/CHANGELOG.rst) - [Commits](jazzband/django-redis@5.2.0...5.4.0) --- updated-dependencies: - dependency-name: django-redis dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Updates the requirements on [netaddr](https://github.com/netaddr/netaddr) to permit the latest version. - [Release notes](https://github.com/netaddr/netaddr/releases) - [Changelog](https://github.com/netaddr/netaddr/blob/master/CHANGELOG.rst) - [Commits](netaddr/netaddr@0.8.0...1.3.0) --- updated-dependencies: - dependency-name: netaddr dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update netaddr requirement from ~=0.8.0 to ~=1.3.0 Updates the requirements on [netaddr](https://github.com/netaddr/netaddr) to permit the latest version. - [Release notes](https://github.com/netaddr/netaddr/releases) - [Changelog](https://github.com/netaddr/netaddr/blob/master/CHANGELOG.rst) - [Commits](netaddr/netaddr@0.8.0...1.3.0) --- updated-dependencies: - dependency-name: netaddr dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update pytest-asyncio requirement from ~=0.21.0 to ~=0.23.7 Updates the requirements on [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) to permit the latest version. - [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) - [Commits](pytest-dev/pytest-asyncio@v0.21.0...v0.23.7) --- updated-dependencies: - dependency-name: pytest-asyncio dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
[skip ci]
Updates the requirements on [scp](https://github.com/jbardin/scp.py) to permit the latest version. - [Changelog](https://github.com/jbardin/scp.py/blob/master/CHANGELOG.md) - [Commits](jbardin/scp.py@v0.14.2...v0.15.0) --- updated-dependencies: - dependency-name: scp dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [shortuuid](https://github.com/skorokithakis/shortuuid) to permit the latest version. - [Release notes](https://github.com/skorokithakis/shortuuid/releases) - [Changelog](https://github.com/skorokithakis/shortuuid/blob/master/.gitchangelog.rc) - [Commits](skorokithakis/shortuuid@v1.0.1...v1.0.13) --- updated-dependencies: - dependency-name: shortuuid dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v2...v5) --- updated-dependencies: - dependency-name: actions/setup-python 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 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…ates Co-authored-by: Alexandre Vincent <alexandre.vincent@stellar.tc>
Closes #1026 Signed-off-by: DragnEmperor <dragnemperor@gmail.com>
- Estimated geographic location logic, closes #1034. - Added notification and admin warning, closes #1035. - Set location estimated flag to ``False`` on manual update, closes #1036. - Added admin and API filters for estimated locations, closes #1028. --------- Signed-off-by: DragnEmperor <dragnemperor@gmail.com>
Added required checks for ensuring WHOIS records older than a certain configurable threshold will be updated along with the coordinates. Closes #1058 Signed-off-by: DragnEmperor <dragnemperor@gmail.com>
Fixed multiple issues discovered during testing and review across WHOIS, estimated location, and device IP handling, and consolidated QA and maintenance changes. Key changes: - Ensure clear_last_ip command calls model save() to trigger signals and cache invalidation - Fix WHOIS and estimated location bugs, including shared location recreation and modified timestamp updates - Improve handling of unchanged IPs in DeviceChecksumView - Rename and adjust migrations for estimated location settings - Optimize queries and improve error handling (global HttpError handling) - Improve UI (CSS/JS/templates) and documentation - Improved efficiency of `manage_estimated_locations` - Resolved N+1 query issue in `LocationListCreateView` - Fixed HTTP request inside `transaction.atomic()` - Shifted to Celery `send_task` to retain dependency flow - Removed whois info from device list API to avoid N+1 - Simplified auto-naming of estimated locations - Updated location update description messages - Increased WHOIS refresh threshold to 90 days (~92% reduction in API calls) - WHOIS data refresh now executes on transaction commit - Skips `delete_whois_record` if `initial_ip_address` is None - Fixed late-binding closure issue with `_initial_last_ip` - Error notifications now only sent if `device_pk` is not None - CIDR field length increased to accommodate IPv6 - Added `is_estimated` filter and column to admin - Added `is_estimated` to `LocationSerializer` and API filter - Improved test coverage - Fixed parallel test 401 errors - Several other improvements and fixes for problems found during testing Co-authored-by: DragnEmperor <dragnemperor@gmail.com> Co-authored-by: Gagan Deep <pandafy.dev@gmail.com>
The previous help texts were confusing and too technical. [backport 1.2]
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.8...0.26.0) --- updated-dependencies: - dependency-name: responses dependency-version: 0.26.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [pytest-timeout](https://github.com/pytest-dev/pytest-timeout) to permit the latest version. - [Commits](pytest-dev/pytest-timeout@2.3.0...2.4.0) --- updated-dependencies: - dependency-name: pytest-timeout dependency-version: 2.4.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Yashika0724 <ssyashika1311@gmail.com>
Fixed a bug in the configuration update task that caused Celery workers to incorrectly skip execution. The task would sometimes falsely detect a collision with another worker, leading to missed configuration updates. [backport 1.2] Fixes #1204 Co-authored-by: Piyush Bafna <130243298+piyushdev04@users.noreply.github.com>
- Fixed PR author info - Scoped write permissions to the retry job, not the whole workflow.
Bug: Previously, the `post_provision_handler` in BaseSubnetDivisionRuleType did not update the associated Config checksum after subnets or IP addresses were provisioned. This could lead to inconsistent state where the Config's checksum and checksum_db diverged, especially when VPN templates were switched or updated, causing change detection and dependent logic to fail. Fix: - Converted `post_provision_handler` to a classmethod so subclasses can extend it safely. - Invalidate the backend instance cache for the Config. - Update `checksum_db` if the current checksum differs. - In VPNSubnetDivisionRuleType, call the superclass handler to ensure checksum and cache are updated automatically when a VPN template is provisioned. [backport 1.2]
Bug: The JS logic in relevant_templates.js assumed that the last `ul.sortedm2m-items` element belonged to the empty inline form used by Django admin formsets. This assumption breaks when the user does not have permission to add Config objects: in that case the ConfigInlineAdmin does not render the empty form. As a result, both selectors ended up referencing the same list and the script appended template elements twice to the same `sortedm2m` list, causing duplicate entries and issues when saving the form. Fix: Select the empty form container explicitly using `#config-empty ul.sortedm2m-items` instead of relying on the last occurrence of `ul.sortedm2m-items`. This ensures the logic works correctly regardless of whether the empty inline form is rendered. [backport 1.2]
Fixed incorrect initialization of `_initial_<field>` values when a Device instance is loaded with deferred fields, which could break change detection logic. [backport 1.2]
The new WHOIS and Estimated Location features were interwined and referenced each other, leading to maintainability issues. This patch resolved this problem and introduced more separation of responsibilities and decoupling. Closes #1224 --------- Co-authored-by: Federico Capoano <f.capoano@openwisp.io>
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@v7.0.0...v7.1.0) --- updated-dependencies: - dependency-name: pytest-cov dependency-version: 7.1.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Run the workflow only when pull requests are merged. Enabled auto-retry by adding write permissions to the action workflow. --------- Co-authored-by: Sarthak Tyagi <142912014+stktyagi@users.noreply.github.com> Co-authored-by: stktyagi <stktyagi2810@gmail.com>
Added test_launch_command_ssh_timeout to verify that when CommandTimeoutException is raised during command execution, the command status is set to 'failed' and the output contains the expected timeout message.
Updates the requirements on [geoip2](https://github.com/maxmind/GeoIP2-python) to permit the latest version. - [Release notes](https://github.com/maxmind/GeoIP2-python/releases) - [Changelog](https://github.com/maxmind/GeoIP2-python/blob/main/HISTORY.rst) - [Commits](maxmind/GeoIP2-python@v5.1.0...v5.2.0) --- updated-dependencies: - dependency-name: geoip2 dependency-version: 5.2.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.13.0 to 1.14.0. - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](pypa/gh-action-pypi-publish@v1.13.0...v1.14.0) --- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish dependency-version: 1.14.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.