Nsot

Latest version: v1.4.6

Safety actively analyzes 675368 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 15 of 20

0.9

----------------

* Implemented top-level Interface resource object.
* Addresses are assigned to Interfaces by way of Assignment objects,
which are used to enforce relationship-level constraints on the
assignment of Network objects to Device Interfaces.
* A Device can zero or more Interfaces; an Interface can have multiple
addresses, and addresses are 'assigned' to Interfaces
* Networks are derived as the parent networks of the addresses for each
interface.
* Moved hard-coded variable data in models.py into module-global
constants.
* Renamed all model "choices" lists to end in "_CHOICES"
* New requirements: django-macaddress v1.3.2, Django v1.8.4
* Updated README.md to include IRC mention.
* All constants moved from ``nsot.constants`` to ``nsot.conf.settings`` and
``nsot.constants`` has been eliminiated. (fix 87)
* All data validators have been moved to ``nsot.validators`` and added new
validators for cidr and host addresses.
* Moved ``.to_representation()`` methods on all 'resource' serializers to
the top-level ``nsot.api.serializers.NsotSerializer``
* Fixed a crash when creating ``Network`` objects without the CIDR being
unicode.
* Fixed a bug when looking up a single object in API without providing
site_pk
* Moved IP_VERSIONS and HOST_PREFIXES into settings.py
* IP assignments must now be unique to a device/interface tuple.
* Addresses can now be explicitly assigned to an interface, or
overwritten
* Added a new ``nsot.serializers.JSONListField`` type to serialize JSON
<-> Python lists
* Added util for deriving attributes from custom model fields that
required custom serializer fields.
* Added ``tests.api_tests.util.filter_interfaces`` for simplifying
``Interface`` testing.
* Added 'ip_version' as a filter field for ``Network`` API lookups.

0.8.6

------------------

* Add remote IP address in request logger.

0.8.5

------------------

* Broke out media (css, etc.), nav, and scripts into their own include
files.
* Updated main FeView to inherit default template context
* Added a template context processor to globally modify template
context to inject app version.
* Added API and API Reference to dropdown "gear" menu
* Fix 77 - Only collect static files on ``nsot-server start`` if
``settings.SERVE_STATIC_FILES=True``.

0.8.4

------------------

* Fix including of static files in setup.py install.
* Also make sure that tests packages aren't included.

0.8.3

------------------

* Improvements to managing static files and other server mgmt fixups.
* The default ``STATIC_ROOT`` setting has been changed back to
``$BASE_DIR/staticfiles``
* Added 'staticfiles' to ``.gitignore``
* The 'nsot-server start' command has been updated to collect the static
files automatically. This can be disabled by passing
``--no-collectstatic``.
* Renamed ``nsot-server --noupgrade`` to ``--no-upgrade``
* Added help text to ``nsot-server start`` arguments.
* Added a URL redirect handler for ``favicon.ico`` (fixes 73) and
included a placeholder favicon and included a ``<link>`` in the web UI
template.
* Replaced package_data in ``setup.py`` with grafting files in
``MANIFEST.in``
* Updated the ``setup.py sdist`` command to *truly* include the built
static files prior to making the distribution.
* Updated Django requirement to v1.8.3

0.8.2

------------------

* Large update to FE build/dist!
* We're now using npm to manage our frontend dev dependencies and gulp to
manage our front end builds
* Add some node files and built assets to .gitignore
* Gulp added w/ tasks for linting, caching templates, annotating ng DI,
concat, minify, etc.
* Setup npm devDependencies and shrinkwrap them for consistent build
* Relocated js/css into src directory that isn't included with dist build
* Updated angular code to not explicitly put DI params twice since that
happens at build
* Angular templates are now compiled to javascript and added to the
template cache
* Fixed some lint errors (semicolons!)
* setup.py updated to support running all tests (python & javascript)
* setup.py updated to build static on develop/sdist commands
* Removed 3rd party deps from the checked in repo
* Fixed MANIFEST.in to not include pyc's under tests

Page 15 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.