Skip to content
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] Added page to show OpenWISP versions #237 #363

Merged
merged 2 commits into from
Nov 29, 2023

Conversation

pandafy
Copy link
Member

@pandafy pandafy commented Nov 24, 2023

Closes #273

Changes

#Please explain changes made in your PR#

Screenshots

#For UI changes, please share a screenshot#

Checklist

  • I have read the contributing guidelines.
  • I have manually tested the proposed changes.
  • I have written new test cases to avoid regressions. (if necessary)
  • I have updated the documentation. (e.g. README.rst)
  • I have added [change!] to commit title to indicate a backward incompatible change. (if required)
  • I have checked the links added / modified in the documentation.

#Closes #(issue-number)#

@pandafy pandafy force-pushed the issues/273-openwisp-version branch from 1375385 to 4f3672c Compare November 24, 2023 16:12
@coveralls
Copy link

coveralls commented Nov 24, 2023

Coverage Status

coverage: 98.243% (+0.07%) from 98.175%
when pulling a1ab1b6 on issues/273-openwisp-version
into 746b146 on master.

@pandafy pandafy force-pushed the issues/273-openwisp-version branch from 4f3672c to 49ac68b Compare November 24, 2023 16:26
@pandafy pandafy force-pushed the issues/273-openwisp-version branch from 49ac68b to 5db88c1 Compare November 27, 2023 09:37
Copy link
Member

@nemesifier nemesifier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, see my comments below for minor improvements.

@@ -38,6 +55,11 @@ def get_urls(self):
self.admin_view(autocomplete_view.as_view(admin_site=self)),
name='ow-auto-filter',
),
path(
'ow-info/',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not something more readable? Eg:

Suggested change
'ow-info/',
'openwisp-system-info/',

if package in EXTRA_OPENWISP_PACKAGES:
extra_packages[package] = version
continue
package_name = package.replace("-", "_")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are you using double quotes here? We generally use single quotes around the codebase.

@nemesifier nemesifier merged commit 61ac1b0 into master Nov 29, 2023
10 checks passed
@nemesifier nemesifier deleted the issues/273-openwisp-version branch November 29, 2023 21:26
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.

[feature] Add way to see version of OpenWISP modules enabled and installed
3 participants