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

Release v3.7.0 #14636

Merged
merged 85 commits into from
Dec 29, 2023
Merged

Release v3.7.0 #14636

merged 85 commits into from
Dec 29, 2023

Commits on Oct 20, 2023

  1. Closes #14036: Move extras.plugins to netbox.plugins (#14086)

    * Move extras.plugins to netbox.plugins & add deprecation warnings
    
    * Move plugin template tags from extras to utilities
    
    * Move plugins tests from extras to netbox
    
    * Add TODO reminders for v4.0
    jeremystretch authored Oct 20, 2023
    Configuration menu
    Copy the full SHA
    3f40ee5 View commit details
    Browse the repository at this point in the history
  2. Closes #13550: Refactor view action mappings (#14062)

    * Merge actions and action_perms into a single mapping
    
    * Update obsolete permission maps
    
    * Update obsolete action lists
    
    * Normalize empty permission mappings
    
    * Cleanup
    
    * Add deprecation warnings
    
    * Introduce DEFAULT_ACTION_PERMISSIONS constant
    jeremystretch authored Oct 20, 2023
    Configuration menu
    Copy the full SHA
    450790a View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2023

  1. 12216 Add color to circuit-type and add to SVG rendering (#14098)

    * 12216 add color to model
    
    * 12216 add forms, serializers for color
    
    * 12216 color to detail view, add type to svg
    
    * 12216 add color to svg
    
    * 12216 review changes
    arthanson authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    ae447bd View commit details
    Browse the repository at this point in the history
  2. 13230 Allow Devices to be excluded from Rack utilization (#14099)

    * 13230 add exclusion flag to device type
    
    * 13230 forms, detail views
    
    * 13230 add tests
    
    * 13230 extraneous model field
    
    * 13230 extraneous form field
    
    * Update netbox/dcim/forms/bulk_edit.py
    
    Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
    
    * 13230 review feedback
    
    ---------
    
    Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
    arthanson and jeremystretch authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    7274e75 View commit details
    Browse the repository at this point in the history
  3. Closes #13381: Enable plugins to register custom data backends (#14095)

    * Initial work on #13381
    
    * Fix backend type display in table column
    
    * Fix data source type choices during bulk edit
    
    * Misc cleanup
    
    * Move backend utils from core app to netbox
    
    * Move backend type validation from serializer to model
    jeremystretch authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    30ce9ed View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. Closes #14141: translation cleanup (#14143)

    * Translations cleanup
    
    * Tweak variable names; misc string cleanup
    
    * Misc cleanup
    jeremystretch authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    c4e765c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    edc4a35 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Configuration menu
    Copy the full SHA
    7323668 View commit details
    Browse the repository at this point in the history
  2. Fix migrations

    jeremystretch committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    77208bf View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

  1. Configuration menu
    Copy the full SHA
    c2d1988 View commit details
    Browse the repository at this point in the history
  2. Closes #12135: Prevent the deletion of interfaces with children (#14091)

    * Closes #12135: Prevent the deletion of interfaces with children
    
    * Change PROTECT to RESTRICT
    
    * Extend handle_protectederror() to also handle RestrictedError
    
    * Fix string translation
    
    * Update migrations
    
    * Support bulk removal of parent interfaces via UI if all children are included
    
    * Add support for the bulk deletion of restricted objects via REST API
    jeremystretch authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    944008d View commit details
    Browse the repository at this point in the history
  3. Closes #13690: List all objects to be deleted (#14089)

    * show objects that would be deleted by cascade
    
    * some items were not showing (eg ips on devices)
    
    * dont include the item being deleted in the list of related items
    
    * Revert "dont include the item being deleted in the list of related items"
    
    This reverts commit 298a786.
    
    * cleanup
    
    - migrate code to use collector directly instead of the NestedObjects wrapper from admin.utils
    
    - adjust object names and text output
    
    * requested adjustments
    
    * remove comma from end of list
    
    * linting
    
    * refactor, add accordion
    
    * migrate to defaultdict, use title for capitalisation of accordian titles
    
    * Misc cleanup
    
    ---------
    
    Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
    ITJamie and jeremystretch authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    f6338ab View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. Closes #13427: Public model registration (#14152)

    * Initial work on #13427
    
    * Clarify documentation
    
    * Reference public models registry when populating models for ConfigTemplate context
    jeremystretch authored Nov 3, 2023
    Configuration menu
    Copy the full SHA
    8dcbd66 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2023

  1. Configuration menu
    Copy the full SHA
    ac91d4e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2562c87 View commit details
    Browse the repository at this point in the history
  3. Closes #14134: Display additional object attributes in global search …

    …results (#14154)
    
    * WIP
    
    * Add display_attrs for all indexers
    
    * Linkify object attributes
    
    * Clean up prefetch logic
    
    * Use tooltips for display attributes
    
    * Simplify template code
    
    * Introduce get_indexer() utility function
    
    * Add  to examples in docs
    
    * Use tooltips to display long strings
    jeremystretch authored Nov 9, 2023
    Configuration menu
    Copy the full SHA
    3d20276 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    840b7d8 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. Closes #13794: Dynamically populate related objects list under tenant…

    … view (#14196)
    
    * Closes #13794: Dynamically populate related objects list under tenant view
    
    * get_related_models() should sort models alphabetically by default
    
    * Reference Meta.related_objects instead of calling get_fields()
    jeremystretch authored Nov 16, 2023
    Configuration menu
    Copy the full SHA
    69a4c31 View commit details
    Browse the repository at this point in the history
  2. Closes #14153: Filter ContentTypes by supported feature (#14191)

    * WIP
    
    * Remove FeatureQuery
    
    * Standardize use of proxy ContentType for models
    
    * Remove TODO
    
    * Correctly filter BookmarksWidget object_types choices
    
    * Add feature-specific object type validation
    jeremystretch authored Nov 16, 2023
    Configuration menu
    Copy the full SHA
    e15647a View commit details
    Browse the repository at this point in the history
  3. Closes #14173: Enable plugins to register columns on core tables (#14265

    )
    
    * Closes #14173: Enable plugins to register columns on core tables
    
    * Support translation for column name
    
    * Document new registry store
    jeremystretch authored Nov 16, 2023
    Configuration menu
    Copy the full SHA
    e767fec View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2023

  1. Add /api/virtualization/virtual-machines/{id}/render-config/ endpoint (

    …#14287)
    
    * Add /api/virtualization/virtual-machines/{id}/render-config/ endpoint
    
    * Update Docstring "Device" -> "Virtual Machine"
    
    Docstring should mention "..this Virtual Machine" instead of "...this Device", thanks @LuPo!
    
    * Move config rendering logic to new RenderConfigMixin
    
    * Add tests for render-config API endpoint
    
    ---------
    
    Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
    pkorovin and jeremystretch authored Nov 17, 2023
    Configuration menu
    Copy the full SHA
    e13bf48 View commit details
    Browse the repository at this point in the history
  2. Closes #8356: Add virtual disk to Virtual Machines (#14087)

    * 8356 add virtual disk model
    
    * 8356 add supplemental forms
    
    * 8356 add menu
    
    * 8356 cleanup views
    
    * 8356 virtual machine tab
    
    * 8356 migrations
    
    * 8356 vm disk tables
    
    * 8356 cleanup
    
    * 8356 graphql
    
    * 8356 graphql
    
    * 8356 add components button
    
    * 8356 bulk add on virtualmachine
    
    * 8356 bulk add fixes
    
    * 8356 api tests
    
    * 8356 news tests add rename
    
    * 8356 VirtualDiskCreateForm
    
    * 8356 fix test
    
    * 8356 add todo to remove disk from vm
    
    * 8356 review changes
    
    * 8356 fix test
    
    * 8356 deprecate disk field
    
    * 8356 review changes
    
    * 8356 fix test
    
    * 8356 fix test
    
    * Simplify view actions
    
    * 8356 review changes
    
    * 8356 split trans tag
    
    * 8356 add total virtual disk size to api
    
    * 8356 add virtual disk list to virtual machine detail view
    
    * 8356 move virtual disk size to property
    
    * 8356 revert property
    
    * Tweak display of deprecated disk field
    
    * 8356 render single disk field
    
    * 8356 update serializer
    
    * 8356 model property
    
    * 8356 fix test
    
    * 8356 review changes
    
    * Revert disk space annotation
    
    * Use existing disk field to store aggregate virtual disk size
    
    * Introduce abstract ComponentModel for VM components
    
    * Add search index for VirtualDisk
    
    * Misc cleanup
    
    ---------
    
    Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
    arthanson and jeremystretch authored Nov 17, 2023
    Configuration menu
    Copy the full SHA
    549b0ea View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2023

  1. Closes #13299: Improve options for controlling custom field visibility (

    #14289)
    
    * Add ui_visible and ui_editable fields
    
    * Extend migration to map new visible/editable values
    
    * Remove ui_visibility field
    
    * Update docs
    jeremystretch authored Nov 20, 2023
    Configuration menu
    Copy the full SHA
    a73ba00 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2023

  1. Closes #14326: Move form mixins (#14327)

    * Move form mixins from extras app to netbox app
    
    * Remove obsolete extras/admin.py
    jeremystretch authored Nov 22, 2023
    Configuration menu
    Copy the full SHA
    18422e1 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2023

  1. Closes #14312: Move ConfigRevision to core (#14328)

    * Move ConfigRevision model & write migrations
    
    * Move ConfigRevision resources from extras to core
    
    * Extend migration to update original content type for ConfigRevision
    jeremystretch authored Nov 27, 2023
    Configuration menu
    Copy the full SHA
    975a647 View commit details
    Browse the repository at this point in the history
  2. Closes #9816: VPN tunnel support (#14276)

    - Introduces a new `vpn` app with the following models:
        - Tunnel
        - TunnelTermination
        - IKEProposal
        - IKEPolicy
        - IPSecProposal
        - IPSecPolicy
        - IPSecProfile
    jeremystretch authored Nov 27, 2023
    Configuration menu
    Copy the full SHA
    6678880 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2023

  1. Configuration menu
    Copy the full SHA
    e498930 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8e7146c View commit details
    Browse the repository at this point in the history
  3. Closes #14311: Move L2VPN models from ipam to vpn (#14358)

    * Move L2VPN and L2VPNTermination models from ipam to vpn
    
    * Move L2VPN resources from ipam to vpn
    
    * Extend migration to update content types
    
    * Misc cleanup
    jeremystretch authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    d2fea4e View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2023

  1. Configuration menu
    Copy the full SHA
    b83fcc6 View commit details
    Browse the repository at this point in the history
  2. 14132 Add EventRule - change webhook and add in script processing to …

    …events (#14267)
    
    
    ---------
    
    Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
    arthanson and jeremystretch authored Nov 30, 2023
    Configuration menu
    Copy the full SHA
    a38a382 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b812a50 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2023

  1. Closes #14365: Introduce job_start and job_end signals (#14393)

    * Introduce job_start and job_end signals, and receivers to process event rules
    
    * Complete signals documentation
    jeremystretch authored Dec 1, 2023
    Configuration menu
    Copy the full SHA
    4fc0a99 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    85ab7ad View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dea5f94 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2ed261e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e4824db View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7cec4e9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    dcd3f09 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7a63e11 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0340a5e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    0c9919a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e893ffc View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    bf18215 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    42ab8ee View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2023

  1. #9816: Misc cleanup

    jeremystretch committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    3faf485 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5b0b366 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c0512e2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    625825d View commit details
    Browse the repository at this point in the history
  5. #14132: Fix migration

    jeremystretch committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    cfc20f9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5d57e98 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    deadde8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    115111d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2b7cc1e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9f1283f View commit details
    Browse the repository at this point in the history
  11. #9816: Add TunnelGroup

    jeremystretch committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    8db1093 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2023

  1. Documentation cleanup

    jeremystretch committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    1afac47 View commit details
    Browse the repository at this point in the history
  2. Release v3.7-beta1

    jeremystretch committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    f58d806 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2023

  1. Configuration menu
    Copy the full SHA
    5d2f499 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2d1f882 View commit details
    Browse the repository at this point in the history
  3. Closes #14436: Add indexes for all GenericForeignKey fields (#14463)

    * Closes #14436: Add PostgreSQL indexes for all GenericForeignKeys
    
    * Add note about GFK indexes to developer docs
    jeremystretch authored Dec 7, 2023
    Configuration menu
    Copy the full SHA
    b532435 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2023

  1. Configuration menu
    Copy the full SHA
    d428dd1 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2023

  1. 14424 Remove ChangeLoggedModel from StagedChange (#14476)

    * 14424 remove ChangeLoggedModel from StagedChange
    
    * 14424 rename migration
    arthanson authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    965f2de View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2023

  1. 14147 Prevent logging to Change Log when no changes are made (#14477)

    * 14147 Prevent logging to Change Log when no changes are made
    
    * 14147 add test
    
    * 14147 add exclude_fields to serialize_object
    
    * 14147 make skip empty default to True
    
    * 14147 remove override of to_objectchange
    
    * Misc cleanup
    
    ---------
    
    Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
    arthanson and jeremystretch authored Dec 15, 2023
    Configuration menu
    Copy the full SHA
    224d640 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3068f2a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    25e67eb View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2023

  1. Configuration menu
    Copy the full SHA
    96878cf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b794bd6 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2023

  1. Configuration menu
    Copy the full SHA
    a233dc9 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2023

  1. Rebuild source messages

    jeremystretch committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    3cd2432 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3905ddf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    326b54b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    58f925c View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2023

  1. Fixes #14550: Fix changing event rule action type from webhook to scr…

    …ipt (#14571)
    
    * Fixes #14550: Fix changing event rule action type from webhook to script
    
    * Remove action_parameters from form; set on instance under save()
    jeremystretch authored Dec 22, 2023
    Configuration menu
    Copy the full SHA
    00807d1 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2023

  1. Configuration menu
    Copy the full SHA
    4eadc8c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1f2f086 View commit details
    Browse the repository at this point in the history
  3. Update release notes

    jeremystretch committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    11bc460 View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2023

  1. Configuration menu
    Copy the full SHA
    d5c1cb0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d930c4e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d9c1ba8 View commit details
    Browse the repository at this point in the history
  4. Closes #14434: Add termination object filters for cables (#14617)

    * Add termination object filters for cables
    
    * Add tests for new filters
    jeremystretch authored Dec 28, 2023
    Configuration menu
    Copy the full SHA
    224484e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    33af942 View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2023

  1. Configuration menu
    Copy the full SHA
    c1ff748 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7c4b939 View commit details
    Browse the repository at this point in the history
  3. Release v3.7.0

    jeremystretch committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    d99e651 View commit details
    Browse the repository at this point in the history