openwisp-utils
openwisp-utils copied to clipboard
Python and Django utilities shared between different openwisp modules
The `openwisp_utils.admin_theme.send_email` function does not allow passing `attachments` or other arguments to `EmailMultiAlternatives` (which is a subclass of `EmailMessage`). Let's make it more flexible by allowing to pass `**kwargs` so...
Remove the following workaround added in static file storage https://github.com/openwisp/openwisp-utils/blob/afa8f7bfa7a4532aab7c1c4fa4d76e55eea635c7/openwisp_utils/storage.py#L10-L23
Same as https://github.com/openwisp/openwisp-monitoring/commit/cf67548393162a00e3773ecca8e99605cba185fd here: https://github.com/openwisp/openwisp-utils/blob/7a86dffbcc72c72392a283a3db3fca9a0e021ce7/openwisp_utils/admin_theme/templates/admin/edit_inline/help_text_stacked.html#L30
It would be good to have an option like `--ignore ` or `--i ` to ignore running QA checks on files specified in the pattern while running `openwisp-qa-check`. This feature...
There's pretty much almost the same logic scattered around in different openwisp modules: https://github.com/search?q=org%3Aopenwisp+ProtectedApiMixin&type=code. We should create a reusable class here.
We should look for a way to turn this into a reusable solution: https://github.com/openwisp/openwisp-firmware-upgrader/pull/158. It is possible that there are already some solutions out there, we should investigate.
This will need a bit of thought and discussion before we can proceed. We need a way to display the current OpenWISP version in the UI, however, right now there...
Read OpenWISP Commit conventions: https://github.com/openwisp/openwisp2-docs/issues/109 I still think we should keep consistency with what we've done until now, so I would use "feature" instead of "feat. The prefix can be...
Performing migration checks on user's database sometimes leads to tests failing for sample app of the module. Here is an example of running migration checks on openwisp-controller ``` $ SAMPLE_APP=1...
It would be great to add the capability of performing grammar checks on restructured text or markdown files (eg: README.rst, README.md or any text file in `docs/` directory). A quick...