Commit Graph

11010 Commits

Author SHA1 Message Date
kkthxbye-code
ce166b12ce Proof of concept for showing containing prefixes when searching for ip-addresses. 2023-02-19 18:50:24 -05:00
jeremystretch
315371bf7c Fixes #11786: List only applicable object types in form widget when filtering custom fields 2023-02-19 16:17:57 -05:00
jeremystretch
afc752b4ce Fixes #11723: Circuit terminations should link to their associated circuits (rather than site or provider network) 2023-02-17 21:31:19 -05:00
Arthur
7e68cb9fda 10520 update docs 2023-02-17 16:49:34 -08:00
jeremystretch
126f9ba05f Raise stale timers from 60/30 to 90/30 2023-02-17 16:57:52 -05:00
jeremystretch
c031951f4b Closes #11110: Add start_address and end_address filters for IP ranges 2023-02-17 16:50:10 -05:00
Arthur
c279cfc720 10520 re-add serializer 2023-02-17 10:41:36 -08:00
Arthur
b2f7f05cbe 10520 re-add config parameters 2023-02-17 08:37:39 -08:00
Arthur
5dcd16b1cf 10520 fix merge conflicts 2023-02-17 08:32:22 -08:00
jeremystretch
c36e7a1d0b Update introduction doc 2023-02-17 10:11:39 -05:00
jeremystretch
422d5dbf8d Add index for (source, path) to DataFile 2023-02-17 08:49:00 -05:00
Jeremy Stretch
e442bb900f
Closes #11559: Implement config template rendering (#11769)
* WIP

* Add config_template field to Device

* Pre-fetch referenced templates

* Correct up_to_date callable

* Add config_template FK to Device

* Update & merge migrations

* Add config_template FK to Platform

* Add tagging support for ConfigTemplate

* Catch exceptions when rendering device templates in UI

* Refactor ConfigTemplate.render()

* Add support for returning plain text content

* Add ConfigTemplate model documentation

* Add feature documentation for config rendering
2023-02-17 08:33:08 -05:00
jeremystretch
3a4fee4e6e Changelog for #11226, #11335, #11473, #11592 2023-02-16 20:15:48 -05:00
jeremystretch
30c945a890 #11765: Avoid setting netbox-static-select on SelectMultiple with size 2023-02-16 11:40:09 -05:00
Arthur
48f65fa84a 10520 remove config, status - rebuild js 2023-02-16 08:27:23 -08:00
Aron Bergur Jóhannsson
2db181ea49
Closes #11592: Expose FILE_UPLOAD_MAX_MEMORY_SIZE as a setting (#11742)
* Closes #11592: Expose FILE_UPLOAD_MAX_MEMOMORY_SIZE as a setting

* change configuration settings to alphabetic order

* Small example and documentation

---------

Co-authored-by: aron bergur jóhannsson <aronnemi@gmail.com>
2023-02-16 11:26:22 -05:00
Arthur
d885e1599d 10520 remove lldp 2023-02-16 08:21:07 -08:00
Arthur
5982da4a86 10520 merge feature 2023-02-16 08:15:43 -08:00
aron bergur jóhannsson
eee1a0e10a change empty list to qs.none() 2023-02-16 11:06:57 -05:00
aron bergur jóhannsson
9594049804 Fixes #11473 graphql invalid tag filter returns all devices/interfaces 2023-02-16 11:06:57 -05:00
kkthxbye-code
c78022a74c Change the way we invalidate the module cache to support reloading code from subpackages 2023-02-16 10:50:38 -05:00
Jeremy Stretch
d6c41fb45f
Closes #11765: Remove StaticSelect & StaticSelectMultiple (#11767)
* Remove StaticSelect, StaticSelectMultiple form widgets

* Tag custom ChoiceField, MultipleChoiceField classes for removal in v3.6
2023-02-16 10:25:51 -05:00
kkthxbye-code
959a2ab2c4 Fix issues with the ContactAssignmentListView 2023-02-16 10:21:54 -05:00
Jeremy Stretch
3150c1f8b3 Changelog for #11459, #11711 2023-02-13 17:58:41 -05:00
Jeremy Stretch
9f91b89467 #11711: Use CSVModelChoiceField for custom object fields during CSV import 2023-02-13 17:53:01 -05:00
kkthxbye
d748851027
Fixes #11711 - Use CSVModelMultipleChoiceField when importing custom multiple object fields (#11712)
* Fixes #11711 - Use CSVModelMultipleChoiceField when importing custom multiple object fields

* Fix pep8

---------

Co-authored-by: kkthxbye-code <>
2023-02-13 17:49:08 -05:00
kkthxbye
df499ea8ac
Fixes #11459 - Allow using null in conditions (#11722)
* Fixes #11459 - Allow using null in conditions
- Update docs to reflect this
- Change docs example from primary_ip to primary_ip4 as computed properties are not serialized when queuing webhooks

* Update netbox/extras/conditions.py

---------

Co-authored-by: Simon Toft <SITO@telenor.dk>
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-02-13 17:44:35 -05:00
kkthxbye-code
944bda5990 Fixes #9653 - Add default_platform to DeviceType 2023-02-13 14:30:30 -05:00
jeremystretch
fa6cad1b2c DataFile should not inherit from ChangeLoggingMixin 2023-02-11 16:31:00 -05:00
jeremystretch
40ad9bfb8c Check for change records only if objects being deleted support change logging 2023-02-11 16:30:17 -05:00
jeremystretch
c99ecc2885 Closes #11737: ChangeLoggedModel should inherit WebhooksMixin 2023-02-11 16:16:06 -05:00
kkthxbye-code
a9e58bc80f Fixes #11694 - Remove obsolete SmallTextarea widget 2023-02-10 20:08:53 -05:00
jeremystretch
4c4020655d Changelog for #11693 2023-02-09 09:22:43 -05:00
jeremystretch
653edc3953 Merge migrations 2023-02-09 09:08:18 -05:00
jeremystretch
9862888a34 Closes #11693: Enable remote data synchronization for export templates 2023-02-09 09:08:18 -05:00
jeremystretch
b5da383a17 Changelog for #11032, #11582, #11601 2023-02-08 14:56:14 -05:00
kkthxbye-code
f9237285fd Fixes #11601 - Add partial lookup to IPRangeFilterSet 2023-02-08 14:50:22 -05:00
kkthxbye-code
3c970c331c Fixes #11582: Fix missing VC form errors
### Fixes: #11582

Not sure if this is the correct fix or not. The reason that the custom field errors were not shown is that messages.html only shows non_field_errors if the form passed to the context is named form. This is probably an issue in more places, but not sure how to make it generic. A change to messages.html would also need to support formsets.

Any input appreciated @jeremystretch or @arthanson
2023-02-08 14:40:46 -05:00
kkthxbye
91705aa9fd
Fixes #11032 - Replication fields broken in custom validation (#11698)
* Fixes #11032 - Replication fields broken in custom validation

* Use getattr instead of hasattr to make sure custom validation is triggered as normal

---------

Co-authored-by: kkthxbye-code <>
2023-02-08 14:36:20 -05:00
jeremystretch
56c7a238a4 Fixes #11683: Fix CSV header attribute detection when auto-detecting import format 2023-02-07 17:24:26 -05:00
jeremystretch
3f28d6aef3 Add step for creating search index 2023-02-07 16:55:50 -05:00
jeremystretch
edbd597bf2 Update housekeeping command docs 2023-02-07 16:52:54 -05:00
jeremystretch
5e1bb20f32 Display login message as success 2023-02-07 16:49:07 -05:00
Jeremy Stretch
2c35c53f77
Closes #9073: Remote data support for config contexts (#11692)
* WIP

* Add bulk sync view for config contexts

* Introduce 'sync' permission for synced data models

* Docs & cleanup

* Remove unused method

* Add a REST API endpoint to synchronize config context data
2023-02-07 16:44:05 -05:00
jeremystretch
1f11cd095c Fixes #11659: Include all relevant DataFile attributes during bulk update 2023-02-03 14:57:24 -05:00
jeremystretch
a461123336 Merge branch 'develop' into feature 2023-02-02 15:46:52 -05:00
jeremystretch
7ebfa4c1d1 PRVB 2023-02-02 15:41:24 -05:00
Jeremy Stretch
65417dbf9e
Merge pull request #11655 from netbox-community/develop
Release v3.4.4
2023-02-02 15:39:38 -05:00
jeremystretch
37d0135cab Release v3.4.4 2023-02-02 15:24:54 -05:00
Maximilian Wilhelm
699edd049c
Closes #11152: Add support to abort custom script gracefully (#11621)
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2023-02-02 15:22:55 -05:00