aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/netbox
Commit message (Collapse)AuthorAgeFilesLines
* net-mgmt/netbox: Update to 2.10.10Kai Knoblich2021-04-183-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | Changelog: Enhancements: * Add DC terminal power port, outlet types * Add Saf-D-Grid power port, outlet types * Support Markdown rendering for report logs * Add F connector port type * Add SFP56 50GE interface type Bug Fixes: * Update parent device/VM when deleting a primary IP * Fix VLAN assignment when editing VM interfaces in bulk * Update object data when renaming a custom field * Optimize change log cleanup * Fix MAC address field display in VM interfaces search form * Fix custom field filtering for cables, virtual chassis * Fix choice field filters (multiple models) https://github.com/netbox-community/netbox/releases/tag/v2.10.10 MFH: 2021Q2
* net-mgmt/netbox: Update to 2.10.9Kai Knoblich2021-04-153-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: Enhancements: * Add MAC address search field to VM interfaces list * Omit child devices from non-racked devices list under rack view * Add column to cable termination objects to display cable color * Display NAPALM-enabled device tabs only when relevant * Support disabling TLS certificate validation for Redis Bug Fixes: * Fix missing custom field filters for cables, rack reservations * Add missing count_ipaddresses attribute to VMInterface serializer * Permit users to manage their own REST API tokens without needing explicit permission * Fix interface connections REST API endpoint * Support colons in webhook header values * Do not infer tenant assignment from parent objects for prefixes, IP addresses * Handle exception when attempting to assign an MPTT-enabled model as its own parent * Correct handling of boolean fields when cloning objects https://github.com/netbox-community/netbox/releases/tag/v2.10.9 MFH: 2021Q2
* One more small cleanup, forgotten yesterday.Mathieu Arnold2021-04-071-1/+0
| | | | Reported by: lwhsu
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* net-mgmt/netbox: Update to 2.10.8Kai Knoblich2021-03-272-6/+6
| | | | | | | | | | | Changelog: * Fix exception on cable trace in UI (regression in 2.10.7) https://github.com/netbox-community/netbox/releases/tag/v2.10.8 Notes: svn path=/head/; revision=569318
* net-mgmt/netbox: Update to 2.10.7Kai Knoblich2021-03-262-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: Enhancements: * Allow filtering device components by label * Allow customization of the geographic mapping service via MAPS_URL config parameter * Allow changing site assignment when bulk editing devices * Support Markdown rendering for custom script descriptions * Add UI search fields for asset tag for devices and racks Bug Fixes: * Restore ability to delete an uploaded device type image * Denote when the total length of a cable trace may exceed the indicated value * Ensure consistent display of change log action labels * Skip Markdown reference link when tabbing through form fields * Correct validation of RELEASE_CHECK_URL config parameter * Fix VLAN group/site association for bulk prefix import * Eliminate duplicate virtual chassis search results * Pre-populate attributes when creating an available child prefix via the UI * Fix display of bottom banner with uBlock Origin enabled https://github.com/netbox-community/netbox/releases/tag/v2.10.7 Notes: svn path=/head/; revision=569268
* net-mgmt/netbox: Adjust RUN_DEPENDSKai Knoblich2021-03-111-2/+2
| | | | | | | * Relax the version ranges of a few dependencies that will soon be updated. Notes: svn path=/head/; revision=568121
* net-mgmt/netbox: Update to 2.10.6Kai Knoblich2021-03-112-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Changelog: Enhancements: * Add IP addresses count to VRF view * Add QSFP+ (64GFC) FibreChannel Interface option * Enable custom links for device components * Add edit/delete buttons for IP addresses on interface view * Add button to add a new IP address on interface view Bug Fixes: * Fix VRF and Tenant field population when adding IP addresses from prefix * Enable ordering of virtual machines by primary IP address * Ordering of devices by primary IP should respect PREFER_IPV4 configuration parameter * Fix options for filtering object permissions in admin UI * Fix filtering prefixes list by multiple prefix values * Invalidate cached queries when running renaturalize https://github.com/netbox-community/netbox/releases/tag/v2.10.6 Notes: svn path=/head/; revision=568082
* net-mgmt/netbox: Update to 2.10.5Kai Knoblich2021-02-262-4/+4
| | | | | | | | | | | | | | | | | | | | | Changelog: * Fix site unassignment from VLAN when using "None" option * Fix REST API representation for circuit terminations connected to non-interface endpoints * Fix filtering rack reservations by custom field * Fix bulk editing of services when no port(s) are defined * Ensure consistent treatment of duplicate IP addresses * Fix redirect to device components view after disconnecting a cable * Fix Redis Sentinel password application for caching * Allow setting null tenant group on tenant via REST API * Disallow the creation of available prefixes/IP addresses in violation of assigned permission constraints https://github.com/netbox-community/netbox/releases/tag/v2.10.5 Notes: svn path=/head/; revision=566599
* Update USES=python: math/py-pandas 1.2.0 requires Python 3.7+Sunpoet Po-Chuan Hsieh2021-01-301-1/+1
| | | | | | | PR: 250103 Notes: svn path=/head/; revision=563407
* net-mgmt/netbox: Update to 2.10.4Kai Knoblich2021-01-282-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: Enhancements: * Show cable trace lengths in both meters and feet * Add "management only" filter widget for interfaces list * Allow filtering virtual chassis by name and master * Add GG45 and TERA port types, and CAT7a and CAT8 cable types * Show available type choices for all device component import forms Bug Fixes: * Correct swagger definition for ip_prefixes_available-ips_create API * Restrict the creation of device bay templates on non-parent device types * Restore power utilization panel under device view * Fix ordering devices by primary IP address * Fix display of white cables in trace view * Fix filtering connection lists by device name * Fix permissions assessment when adding VM interfaces in bulk * Include VC member interfaces on interfaces tab count when viewing VC master * Validate rack group is assigned to same site when creating a rack * Correct rack elevation displayed when viewing a reservation https://github.com/netbox-community/netbox/releases/tag/v2.10.4 Notes: svn path=/head/; revision=563114
* net-mgmt/netbox: Update to 2.10.3Kai Knoblich2021-01-244-146/+146
| | | | | | | | | | | | | | | | | | | * Prune obsolete update instructions/notes for NetBox releases prior 2.7. Notable changes since 2.9.11: It contains many bugfixes/enhancements and the following new features: * Route Targets * REST API bulk deletion * REST API bulk update * Reimplementation of custom fields * Improved cable trace performance https://github.com/netbox-community/netbox/blob/v2.10.3/docs/release-notes/version-2.10.md Notes: svn path=/head/; revision=562467
* net-mgmt/netbox: Adjust RUN_DEPENDSKai Knoblich2021-01-211-5/+5
| | | | | | | | * Relax the version ranges of a few dependencies that will soon be updated to pave the way for NetBox 2.10. Notes: svn path=/head/; revision=562183
* net-mgmt/netbox: Update to 2.9.11Kai Knoblich2020-12-162-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove a superfluous dependency while I'm here. Changelog: Enhancements: * Allow passing Python code to nbshell using --command * Add CS and SN fiber port types Bug Fixes: * Fix setting user password via REST API * Fix uniqueness constraint for virtual machine names * Fix error when rendering config contexts when objects have multiple tags assigned * Add direct link to secret on secrets list * Fix updating secrets without setting new plaintext * Restore tags field on cable connection forms * Exclude SVG files from front/rear image upload for device types (currently unsupported) * Show assigned IP addresses in interfaces list * Fix validation for plugin version and required settings https://github.com/netbox-community/netbox/releases/tag/v2.9.11 Notes: svn path=/head/; revision=558210
* net-mgmt/netbox: Update to 2.9.10Kai Knoblich2020-11-303-5/+5
| | | | | | | | | | | | | | | | | | | | | | | Changelog: Enhancements: * Add USB types for power ports and outlets * Add "splice" type for pass-through ports Bug Fixes: * Fix exception when editing IP address with a NAT IP assigned to a non-racked device * Avoid extraneous database queries when manipulating objects * Fix non-deterministic ordering of prefixes and IP addresses * Filter available racks by selected group when creating a rack reservation * Limit rack groups by selected site when editing a rack * Populate manufacturer field when adding a device component template * Clear VLAN assignments when setting interface mode to none https://github.com/netbox-community/netbox/releases/tag/v2.9.10 Notes: svn path=/head/; revision=556636
* net-mgmt/netbox: Update to 2.9.9Kai Knoblich2020-11-205-5/+66
| | | | | | | | | | | | | | | | | | | | | | | | | * Add to the EXAMPLES options a few example configurations and a sample rc script to make use of the RQ background service. Changelog: Enhancements: * Return server error messages as JSON when handling REST API requests * Link to rack groups within rack list table * Be more strict when capturing anticipated ImportError exceptions Bug Fixes: * Fix auto-population of region field when editing a device * Fix config context rendering when multiple tags are assigned to an object * Dry running scripts should not trigger webhooks * Add missing template extension tags for plugins for VM interface view * Fix CreatedUpdatedFilterTest when running in non-UTC timezone * Fix filtering of sites by null region https://github.com/netbox-community/netbox/releases/tag/v2.9.9 Notes: svn path=/head/; revision=555752
* net-mgmt/netbox: Update to 2.9.8Kai Knoblich2020-11-104-775/+948
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Limit the version ranges of the required Python packages and use very narrow ranges for those ones, which often cause regressions. That is because upstream already uses fixed Python package dependencies for a while and had relaxed them for a short period of time. However, because it led to regressions when some Python packages were updated during that time, upstream has been using fixed package dependencies again since then. Changelog since 2.7.12: It contains many bugfixes/enhancements and the following new features: * Object-Based Permissions * Background Execution of Scripts & Reports * Named Virtual Chassis * Changes to Tag Creation * Dedicated Model for VM Interfaces * REST API Endpoints for Users and Groups * Remote Authentication Support * Plugins https://github.com/netbox-community/netbox/blob/v2.8.9/docs/release-notes/version-2.9.md https://github.com/netbox-community/netbox/blob/v2.8.9/docs/release-notes/version-2.8.md Notes: svn path=/head/; revision=554823
* net-mgmt/netbox: Change RUN_DEPENDSKai Knoblich2020-06-211-13/+14
| | | | | | | | | | * Switch the port from the repo-copied py-dj22-django* dependencies to the original ones as they're using Django 2.2 now. * Bump PORTREVISION due changed dependencies. Notes: svn path=/head/; revision=539757
* net-mgmt/netbox: Update to 2.7.12Kai Knoblich2020-04-163-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | Changelog: Enhancements: * Reference VRF by name rather than RD during IP/prefix import * Use absolute URLs in rack elevation SVG renderings * Allow connecting cables between two circuit terminations * Add the webhook_receiver management command to assist in troubleshooting outgoing webhooks Bug Fixes: * Fix typing of count_ipaddresses on interface serializer * Fail cleanly when trying to import multiple device types simultaneously * Fix exception when disconnecting a cable from a power feed * Tweak display of unset custom integer fields * Fix reservation edit/delete button URLs on rack view https://github.com/netbox-community/netbox/releases/tag/v2.7.12 MFH: 2020Q2 Notes: svn path=/head/; revision=531828
* net-mgmt/netbox: Update to 2.7.11Kai Knoblich2020-04-035-24/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve the sample rc script to allow passing of extra arguments, e.g. to listen on multiple interfaces/addresses [1] or use a configuration file instead using rc variables. Kudos to Thomas Kurschel for some extra testing of the updated rc script. Changelog: Enhancements: * Add ability to automatically check for new releases (must be enabled by setting RELEASE_CHECK_URL) * Custom script object variables now utilize dynamic form widgets * Add descriptive tooltip to custom fields on object views * Add a dedicated view for rack reservations * Enable webhooks for rack reservations * Enable export templates for rack reservations * Enable custom links for rack reservations * Update admin links for Django RQ to reflect multiple queues * Add a bulk edit view for device bays * Add cable trace button for circuit terminations Bug Fixes: * Improve prefix_length validation on available-prefixes API * Fix cable tracing across multiple rear ports * Enforce unique constraints for device and virtual machine names in the API * Fix Markdown support for tables * Fix exception raised on IP address bulk add view * Fix duplicate name validation on device model https://github.com/netbox-community/netbox/releases/tag/v2.7.11 PR: 244629 [1] Reported by: O. Hartmann <ohartmann@walstatt.org> [1] MFH: 2020Q2 Notes: svn path=/head/; revision=530515
* net-mgmt/netbox: Update to 2.7.10Kai Knoblich2020-03-294-17/+77
| | | | | | | | | | | | | | | | | | | | | | | | Changelog: Enhancements: * Embed model documentation within web UI * Add bulk edit view for power panels * Add CSV import view for services * Add CSV import view for rack reservations * Redirect to a user-friendly error page when CSS/JS resources fail to load Bug Fixes: * Exclude Python modules without Script classes from scripts list * Allow bulk editing/deletion of all device components matching a query * Catch AddrFormatError exception when filtering aggregates/prefixes by an invalid prefix https://github.com/netbox-community/netbox/releases/tag/v2.7.10 Notes: svn path=/head/; revision=529799
* Convert the tree to use PY_PILLOWAntoine Brodin2020-03-241-1/+1
| | | | | | | | With hat: portmgr Originally submitted by: kai Notes: svn path=/head/; revision=529063
* net-mgmt/netbox: Update to 2.7.9Kai Knoblich2020-03-114-11/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: Enhancements: * Enumerate ChoiceField type and value in API * Extend upgrade script to clear expired user sessions * Add dynamic lookup expressions for all filters * Allow negative voltage for DC power feeds * Allow filtering device component list views by type * Add MRJ21 port and cable types * Include device name in tooltip on rack elevations * Add 10-inch option for rack width Bug Fixes: * Fix incorrect schema definition of int type choicefields * Fix filtering of clusters by tenant * Fix label on export button for device types * Include A/Z termination sites in provider circuits table * Fix assignment of parent LAG during interface bulk edit * Fix bulk creation of objects with custom fields via REST API * Pass "commit" argument when executing scripts via REST API * Fix exception when deleting device type with components * Fix toggling of device images for all racks in elevations view https://github.com/netbox-community/netbox/releases/tag/v2.7.9 Notes: svn path=/head/; revision=528247
* net-mgmt/netbox: Update to 2.7.8Kai Knoblich2020-03-053-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: Enhancements: * Add a "decommissioning" cable status * Return graceful error message when webhook queuing fails * Omit internal fields from the change log data * Support Jinja2 templating for webhook payload and headers * Extend custom scripts to pass the commit value via run() * Denote rack role on rack elevations list Bug Fixes: * Fix exception when deleting a device with interface connections when an interfaces webhook is defined * Escape double quotes on encapsulated values during CSV export * Fix display of rear device image if front image is not defined * Improve fit of device images in rack elevations * Fix rack units filtering on elevation endpoint * Enforce consistent background striping in rack elevations * Fix API representation of content_type for export templates * Fix exception when selecting all filtered objects during bulk edit * Fix exception when filtering foreign keys by NULL * Correct IP address hyperlinks on interface view * Fix duplication of field attributes when multiple IPNetworkVars are present in a script * Fix power port assignment for power outlet templates created via REST API * Interface type should be required by API serializer https://github.com/netbox-community/netbox/releases/tag/v2.7.8 Notes: svn path=/head/; revision=527811
* Remove extra ].Mathieu Arnold2020-02-261-1/+0
| | | | Notes: svn path=/head/; revision=527155
* net-mgmt/netbox: Update to 2.7.7Kai Knoblich2020-02-254-147/+911
| | | | | | | | | | | | | | | | | | | | | | * Remove the "post-patch" target because the "requirements.txt" is only used for installations via devel/py-pip. Notable changes since 2.6.12: * Bulk import of device components via CSV files * External file storage support (FTP, S3, SFTP, etc.) * Rack elevations rendered by SVG (= Scalable Vector Graphics) * Separate configuration for Webhooks and Cache databases via Redis * Add ability to clone objects (pre-populate form fields) * Toggle config context display between JSON and YAML * Add support for Redis Sentinel * Further cable and port types * Many other enhancements and bugfixes https://github.com/netbox-community/netbox/blob/v2.7.7/docs/release-notes/version-2.7.md Notes: svn path=/head/; revision=527141
* net-mgmt/netbox: Update to 2.6.12Kai Knoblich2020-01-163-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: Enhancements: * Improved NAPALM method documentation in Swagger (OpenAPI) * Preview image attachments when hovering over the link * Allow NAPALM driver settings to be changed with request headers * Toggle the display of child prefixes/IP addresses * Search by description when assigning IP address to interfaces * Add tenant filter field for cables * Enable filtering of interfaces by name on the device view * Add rack selection field to rack elevations view * Paginate assigned circuits at the provider details view * Add total path length to cable trace * Include content of response on webhook error * Enable word expansion during interface creation * Enable searching by DNS name when assigning IP address * Allow passing initial data to custom script forms * Add local_context_data filter for virtual machines Bug Fixes: * Fix validation on tagged VLANs of an interface * Fix ordering of models when dumping data to JSON * Fix device role link on config context view * Allow filtering VM interfaces by multiple MAC addresses * Fix rendering of grouped custom links * Allow filtering device components by multiple device names * Disallow /0 masks for prefixes and IP addresses * Paginate related IPs on the IP address view * Fix minimum/maximum value rendering for site ASN field * Fix filtering of devices by rack group * Fix references to deleted cables without a label * Fix divide-by-zero on power feeds with low power values https://github.com/netbox-community/netbox/releases MFH: 2020Q1 Notes: svn path=/head/; revision=523242
* net-mgmt/netbox: Relax RUN_DEPENDSKai Knoblich2020-01-071-1/+1
| | | | | | | | | | | | | | * The 2020Q1 branch has 0.24.0 of www/py-dj22-django-taggit thus relax its version requirement of the RUN_DEPENDS to avoid a build failure there. Although net-mgmt/netbox requires the 1.1.0 release of www/py-dj22-django-taggit (pinned with "==" by upstream), it runs fine with either 0.24.0 (in 2020Q1) or 1.2.0 (since r521999). MFH: 2020Q1 (build fix blanket) Notes: svn path=/head/; revision=522343
* net-mgmt/netbox: Update to 2.6.11Kai Knoblich2020-01-064-23/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove the patch that fixed a regression when accessing the API documentation as it's no longer required. [1] Changelog since 2.6.9: Enhancements: * Add ability to move inventory items between devices * Extend admin UI to allow deleting old report results * Add assigned_to_interface filter for IP addresses * Fail gracefully on custom link rendering exception * Provide request context when executing custom scripts * Add date/time picker widgets * Enable partial search for inventory items * Optimize size of pages containing a dynamic selection field * Allow filtering console/power/interface connections by device ID Bug Fixes: * Restrict queryset of chained fields when form validation fails * Include A/Z termination sites for circuits in global search * Scrolling to target (hash) did not account for the header size * Fix AttributeError exception in API docs [1] * Filter platform by manufacturer when editing devices * Fix filtering of racks by group on device list * Fix exception when editing a device bay (regression since 2.6.7) * Fix API-driven filter field rendering (regression since 2.6.10) * Add missing region filters for multiple objects https://github.com/netbox-community/netbox/releases/tag/v2.6.11 https://github.com/netbox-community/netbox/releases/tag/v2.6.10 MFH: 2020Q1 Notes: svn path=/head/; revision=522268
* net-mgmt/netbox: Update to 2.6.9Kai Knoblich2020-01-016-42/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | * Remove two backported patches that are no longer required. [1] * Backport a patch from upstream that fixes a regression when accessing the API documentation. * Update the WWW field. Changelog: Enhancements: * Include direct link to rack elevations on site view * Move virtual machine results near devices in global search * Added copy button for API tokens Bug Fixes: * Prevent the deletion of a virtual chassis when a cross-member LAG is present * Respect custom field default values when creating objects via the REST API * Fix exception on password change page for local users [1] * Fix unable to assign IP to interface [1] MFH: 2020Q1 Notes: svn path=/head/; revision=521755
* net-mgmt/netbox: Fix assignment of IP addresses to interfacesKai Knoblich2019-12-152-0/+21
| | | | | | | | | | | | | | | * Backport a patch from upstream's repository which fixes the assignment of existing IP addresses to interfaces. Without that patch the assignment of an IP address gives no error but the interface doesn't contain the assigned IP address at the end. * Bump PORTREVISION for package change. MFH: 2019Q4 (blanket: bugfix) Notes: svn path=/head/; revision=520173
* net-mgmt/netbox: Update to 2.6.8Kai Knoblich2019-12-113-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Backport a patch from upstream that fixes an exception on password change page for local users. Changelog: Enhancements: * Disable password change form for LDAP-authenticated users * Display cable colors on device view * Remove obsolete P3P policy header * Add query filters for created and last_updated fields * Allow the underscore character in IPAddress DNS names Bug Fixes: * Fix validation error when editing power cables in bulk * Fix exception when connecting a cable to a RearPort with no corresponding FrontPort * Include weight field in prefix/VLAN role form * Include comments on PowerFeed view * Fix link for assigned ipaddress in interface page * Prevent exception when importing an invalid cable definition * Correctly indicate power feed terminations on cable list * Fix API filtering of interfaces by more than one device name * Enforce client validation for minimum service port number https://github.com/netbox-community/netbox/releases/tag/v2.6.8 MFH: 2019Q4 Notes: svn path=/head/; revision=519834
* net-mgmt/netbox: Update to 2.6.7Kai Knoblich2019-11-023-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Change GH_ACCOUNT as upstream's repository redirects to a new location. Changelog: Enhancements: * Add support for additional user defined headers to be added to webhook requests * Add ca_file_path to Webhook model to support user supplied CA certificate verification of webhook requests * Add ChoiceVar for custom scripts * Add 400GE OSFP interface type * Add filtering for objects in admin UI Bug Fixes: * Rewrite change logging middleware to resolve sporadic testing failures * Add missing options to connect front ports to console ports * Enable filter sites/devices/VMs by null region * Extend upgrade script to validate Python dependencies * Prevent server error when reassigning a device to a new device bay * Use get_lldp_neighors_detail to validate LLDP neighbors * Add missing cache support for the circuits app * Add missing rack_group field to PowerFeed CSV export * Limit next/previous rack by assigned rack group https://github.com/netbox-community/netbox/releases/tag/v2.6.7 MFH: 2019Q4 Notes: svn path=/head/; revision=516284
* net-mgmt/netbox: Update to 2.6.6Kai Knoblich2019-10-144-5/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: Enhancements: * Add InfiniBand interface types * Add rack and site filters for cables * Disallow raw HTML in Markdown-rendered fields * Add MultiObjectVar for custom scripts * Enable editing of individual DeviceType components * Render text and URL fields as textareas in the custom link form * Introduce commit_default custom script attribute to not commit changes by default Bug Fixes: * Prevent primary IP address for a device/VM from being reassigned * Correct CSV headers for exported power feeds * Fix device status page loading when NAPALM call fails * Prevent erroneous redirects when editing tags * Ensure consistent display of changelog retention period * Change device to parent in interface editing VLAN filtering logic * Restore label for comments field when bulk editing circuits * Enforce view permissions on global search results * Enforce object-form JSON for local context data on devices and VMs https://github.com/netbox-community/netbox/releases/tag/v2.6.6 MFH: 2019Q4 Notes: svn path=/head/; revision=514454
* net-mgmt/netbox: Update to 2.6.5Kai Knoblich2019-09-305-41/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Introduce EXAMPLES option which installs a sample rc script to the example location. Using the script will eliminate the need for sysutils/py-supervisor for those who run NetBox as a system service. [1] If there's a lot of interest it can also be installed in near future as regular rc script. * Consolidate keywords in pkg-message to avoid accidental deletion of these. Notable changes since 2.5.13: * Improved performance via Caching through Redis * Support for Power Panels and Feeds * Introduction of view-only permissions * Ability to create custom links under the admin UI * Support for Prometheus metrics * Many other enhancements and bug fixes https://github.com/netbox-community/netbox/blob/v2.6.5/CHANGELOG.md Submitted by: Thomas Kurschel (via private email) [1] Notes: svn path=/head/; revision=513395
* net-mgmt/netbox: Convert pkg-message to UCLKai Knoblich2019-08-021-17/+17
| | | | | | | | Modernize the pkg-message to display hints/instructions in the future that are specific to different upgrade paths. Notes: svn path=/head/; revision=507871
* Bump PORTREVISION for ports depending on the canonical version of GCCGerald Pfeifer2019-07-261-0/+1
| | | | | | | | | | | | | | | | | | as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330 Notes: svn path=/head/; revision=507372
* net-mgmt/netbox: Update to 2.5.13Kai Knoblich2019-06-023-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: Enhancements: * Add tenant group filters * Catch all exceptions during export template rendering * Add 2.5GE and 5GE interface form factors * Add inventory item count to manufacturers list * Add site link to rack reservations overview * Enable bulk deletion of sites * Improve performance for custom field access within templates * Add interface name filter for IP addresses Bug Fixes: * Fixed form field population of tags with spaces * Circuit termination missing from available cable termination types * Fix formatting of cable length during cable trace * Correctly display color block for white cables * Fix custom field rendering for Jinja2 export templates * Fix error handling when attempting to delete a protected object via API * Fix filtering devices by "has power outlets" * Fix exception when deleting a circuit with a termination(s) * Fixed login link retaining query parameters https://github.com/digitalocean/netbox/releases/tag/v2.5.13 Notes: svn path=/head/; revision=503337
* net-mgmt/netbox: Update to 2.5.12 and switch to Django 2.2Kai Knoblich2019-05-252-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upstream decided to switch from Django 2.1 to the 2.2 LTS release to fix a rather annoying bug that generated intermittent errors when objects were deleted/manipulated. Therefore the same procedure must be done in almost the same way as in r492690 to make NetBox compatible with Django 2.2 in the ports tree. That means to repocopy the required Django 1.11 ports, assign them to Django 2.2, limit them to Python 3.5+ and update all related CONFLICTS_INSTALL entries accordingly: * www/py-dj22-django-cors-headers [1] * www/py-dj22-django-debug-toolbar * www/py-dj22-django-filter * www/py-dj22-django-js-asset * www/py-dj22-django-mptt * www/py-dj22-django-tables2 * www/py-dj22-django-taggit-serializer * www/py-dj22-django-timezone-field * www/py-dj22-drf-yasg [1] www/py-django-cors-headers was repocopied from r500510 to keep on the 2.5.x branch as 3.x introduced some backward incompatibilities that haven't been fully tested, yet. Changelog since 2.5.10: Enhancements: * Improve natural ordering of device components * Add support for filtering cables by connected device * Add decommissioning status for devices Bug Fixes: * Fix natural ordering of device components (after it has been improved before) * Upgrade Django requirement to 2.2 to fix object deletion issue in the changelog middleware * Preserve multiselect filter values when updating per-page count for list views * Fix ordering of interface connections list by termination B name/device * Fix tagged_items count in tags API endpoint * Disable last_login update on login when maintenance mode is enabled Reviewed by: koobs, miwi Differential Revision: https://reviews.freebsd.org/D20103 Notes: svn path=/head/; revision=502550
* net-mgmt/netbox: Update to 2.5.10Kai Knoblich2019-04-103-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | Changelog: Enhancements: * Add Jinja2 support for export templates Bug Fixes: * Redirect to list view after editing an object from list view * DCIM interfaces API endpoint should not include VM interfaces * Fix exception when retrieving change object for a component template via API * Fix form widget for bulk cable label update * Ignore site/rack fields when connecting a new cable via device search * Fix exception at reports API endpoint * Fix exception when writing mac address for an interface via API https://github.com/digitalocean/netbox/blob/v2.5.10/CHANGELOG.md Approved by: mentors (implicit) Notes: svn path=/head/; revision=498533
* net-mgmt/netbox: Update to 2.5.9Kai Knoblich2019-04-042-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: Enhancements: * Add username to outbound webhook requests * Add SSL support for django-rq (requires django-rq v1.3.1+) * Add request ID to outbound webhook requests (for correlating all changes part of a single request) Bug Fixes: * Fixes deterministic ordering of interfaces * Clarification of wording in API regarding filtering * Add interface type for QSFP28 50GE * Fix device role selection showing duplicate first entry * Limit device query to non-racked devices if no rack selected when creating a cable * Fix API representation of ObjectChange action and add changed_object_type * Fixes VM Role filtering * Fix tag population when running NetBox within a path * Add missing cable termination types to DCIM _choices endpoint * Tweak prefix/IP filter forms to filter using VRF ID rather than route distinguisher * Ignore empty local context data when rendering config contexts * Save assigned tags when creating a new secret https://github.com/digitalocean/netbox/blob/v2.5.9/CHANGELOG.md Approved by: mentors (implicit) Notes: svn path=/head/; revision=497864
* net-mgmt/netbox: Update to 2.5.8Kai Knoblich2019-03-143-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: Enhancements: * Printer friendly CSS Bug Fixes: * Correct documentation for VM interface serializer * Fix endpoint grouping in API docs * Fix filtering of sites/devices/VMs by multiple regions * Provider filter form's site field should be blank by default * Enforce deterministic ordering of device components returned by API * Exclude circuit terminations from API interface connections endpoint * Allow CSV import of prefixes/IPs to VRF without an RD assigned * Record the deletion of an IP address in the changelog of its parent interface (if any) * Added the slug field to the Tenant filter for use in the API and search function * Remove trailing slashes to fix root/template paths on Windows * Prevent exception when exporting inventory items belonging to unnamed devices * Increase ExportTemplate mime_type field length * Accept null cable length_unit via API * Improve ContentTypeField serializer to elegantly handle invalid data * Add delete button to tag view * Improve rendering time for API docs * Correct CSS class assignment on color picker * Fix logging of unlabeled cable ID on cable deletion * Fix pagination page length for rack elevations https://github.com/digitalocean/netbox/blob/v2.5.8/CHANGELOG.md Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D19556 Notes: svn path=/head/; revision=495728
* net-mgmt/netbox: Update to 2.5.7Kai Knoblich2019-02-233-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enhancements: * Enable filtering of devices by rack face * Add button to copy unlocked secret to clipboard * Add Markdown rendering for provider NOC/admin contact fields * Add cable types for OS1/OS2 singlemode fiber * Add port types for APC fiber * Enable filtering cables list by connection status * Clarify purpose of tags field on interface edit form Bug Fixes: * Allow filtering devices by null rack position * Don't display connect button for wireless interfaces * Correct foreground color of device roles in rack elevations * Remove duplicate display of VRF RD on IP address view * Fix filtering of nullable character fields * Fix ordering regions by site count * Fix config context list and edit forms to use Select2 elements * Cable type in filter form should be blank by default * Fix assigned prefixes link on VRF view * Fix empty connected circuit link on device interfaces list * Fix bulk editing of pass-through ports The changelog is also available here: https://github.com/digitalocean/netbox/blob/v2.5.7/CHANGELOG.md Approved by: joneum (mentor) Differential Revision: https://reviews.freebsd.org/D19297 Notes: svn path=/head/; revision=493729
* net-mgmt/netbox: Update to 2.5.6Kai Knoblich2019-02-204-42/+122
| | | | | | | | | | | | | | | | | | | | | | | | While I'm here: * Pet portlint Notable changes since 2.4.9: * Switched from Django 1.11 to 2.1 * Dropped support for Python 2 * Modeling of patch panels and cables with introducion of new pass-through port component type * Removed deprecated User Activity log * Introduction of further interface types * Implemented Select2 for select fields in forms * Many more enhancements/bug fixes, for all changes see: https://github.com/digitalocean/netbox/blob/v2.5.6/CHANGELOG.md Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D19178 Notes: svn path=/head/; revision=493470
* Change my maintainer email address to my new one at the FreeBSD project.Kai Knoblich2019-02-011-1/+1
| | | | | | | | | Reviewed by: miwi (mentor) Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D19050 Notes: svn path=/head/; revision=491837
* Bump PORTREVISION for ports depending on the canonical version of GCCGerald Pfeifer2018-12-121-0/+1
| | | | | | | | | | | | | | | | | | defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590 Notes: svn path=/head/; revision=487272
* - Update to 2.4.9Martin Wilke2018-12-094-6/+13
| | | | | | | | | | | | | | | | | - Removed WANT_PGSQL to drop the dependency for the PostgreSQL server as suggested in bug #233775, because NetBox can also be used on a standalone client. - Updated pkg-message to inform users that a PostgreSQL server is required to store the NetBox's data. The page on the FreeBSD wiki contains already that info. Changes by upstream (since 2.4.7): - https://github.com/digitalocean/netbox/releases/tag/v2.4.9 - https://github.com/digitalocean/netbox/releases/tag/v2.4.8 PR: 233881 Submitted by: maintainer Notes: svn path=/head/; revision=487038
* - Update to 2.4.7Martin Wilke2018-11-132-6/+6
| | | | | | | | | | | | Changes by upstream: - https://github.com/digitalocean/netbox/releases/tag/v2.4.7 PR: 233191 Submitted by: maintainer Sponsored by: iXsystems Inc. Notes: svn path=/head/; revision=484863
* - Update to 2.4.6Martin Wilke2018-10-083-5/+7
| | | | | | | | | | | | Changes by upstream: - https://github.com/digitalocean/netbox/blob/v2.4.6/CHANGELOG.md PR: 232067 Submitted by: maintainer Sponsored by: iXsystems Inc. Notes: svn path=/head/; revision=481541
* - Update to 2.4.4Martin Wilke2018-09-304-165/+135
| | | | | | | | | | | | | | | | - Refined instructions for upgrading - Removed installation instructions. They are now accessible on the FreeBSD wiki. https://wiki.freebsd.org/Ports/net-mgmt/netbox Changes by upstream: - https://github.com/digitalocean/netbox/blob/v2.4.4/CHANGELOG.md PR: 231822 Submitted by: maintainer Sponsored by: iXsystems Inc. Notes: svn path=/head/; revision=480961