Commit Graph

13322 Commits

Author SHA1 Message Date
Jeremy Stretch
1275c55e1b Misc cleanup 2024-10-30 16:25:27 -04:00
Brian Tiemann
a7fbb986bb Merge branch 'feature' into 7336-vlan-translation-feature 2024-10-29 10:27:12 -04:00
Brian Tiemann
572aad0e20 Update adding-models.md to reflect changes to get_absolute_url 2024-10-29 09:15:24 -04:00
Brian Tiemann
6be8cf91b9 Dynamic table for linked rules in vlantranslationpolicy.html 2024-10-28 17:40:22 -04:00
Arthur Hanson
99904c1518 Merge branch 'develop' into feature 2024-10-28 14:29:48 -07:00
Jeremy Stretch
813347121e Release v4.1.5 2024-10-28 16:59:44 -04:00
transifex-integration[bot]
c383086aac
Updates for project NetBox (#17875)
* Translate django.po in cs

100% translated source file: 'django.po'
on 'cs'.

* Translate django.po in de

100% translated source file: 'django.po'
on 'de'.

* Translate django.po in es

100% translated source file: 'django.po'
on 'es'.

* Translate django.po in it

100% translated source file: 'django.po'
on 'it'.

* Translate django.po in tr

100% translated source file: 'django.po'
on 'tr'.

* Translate django.po in fr

100% translated source file: 'django.po'
on 'fr'.

* Translate django.po in ja

100% translated source file: 'django.po'
on 'ja'.

* Translate django.po in pt

100% translated source file: 'django.po'
on 'pt'.

* Translate django.po in da

100% translated source file: 'django.po'
on 'da'.

* Translate django.po in nl

100% translated source file: 'django.po'
on 'nl'.

* Translate django.po in zh

100% translated source file: 'django.po'
on 'zh'.

* Translate django.po in ru

100% translated source file: 'django.po'
on 'ru'.

* Translate django.po in uk

100% translated source file: 'django.po'
on 'uk'.

* Translate django.po in pl

100% translated source file: 'django.po'
on 'pl'.

---------

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2024-10-28 16:50:34 -04:00
Jeremy Stretch
dba6e532c4 Pin django-rq to <3.0 2024-10-28 16:18:11 -04:00
Jeremy Stretch
f0eb8b9c64 Pin rq to LESS THAN v2.0 2024-10-28 16:13:34 -04:00
Jeremy Stretch
f56843333d Pin rq to <2.0 2024-10-28 16:07:50 -04:00
Brian Tiemann
39e30e5e15 Revert changes to adding-models.md (moved to another PR) 2024-10-28 15:57:13 -04:00
Brian Tiemann
94d7015c5e Add policy (name) filter to VLANTranslationRuleFilterSet 2024-10-28 15:45:08 -04:00
Brian Tiemann
04fb92fa98 Define vlan_translation_table conditionally 2024-10-28 15:37:54 -04:00
Brian Tiemann
722c7ba6af Add description field to VLANTranslationRule 2024-10-28 15:31:36 -04:00
Jeremy Stretch
8279eaff5b Update source translation strings 2024-10-28 15:22:19 -04:00
Brian Tiemann
d9dde5c4f4 Conditionally include vlan_translation_table in interface.html and vminterface.html 2024-10-28 15:11:16 -04:00
bctiemann
ca210168df
Fixes: #17358 - Ensure correct comparison of overlapping IPRanges (#17391)
* Add new INET lookups for net_host_lt/gt/lte/gte comparisons irrespective of subnet inclusion

* Refactor Lookup subclasses to be more DRY

* Move comparison_sql to class attribute

* Add HostAsInet(Transform) to perform cast

* Remove unnecessary Lookup comparison classes

* Chain Host and Inet instead of making a new transform
2024-10-28 15:07:59 -04:00
Brian Tiemann
79fbf64f86 Remove redundant InterfaceVLANTranslationTable 2024-10-28 15:04:55 -04:00
Arthur Hanson
476194f0aa
17460 make ModuleType / DeviceType bulk buttons consistent (#17463)
* 17460 make ModuleType / DeviceType bulk buttons consistent

* 17460 refactor moduletype/devicetype to use standardized object_children

* 17460 refactor moduletype/devicetype to use standardized object_children

* 17460 refactor moduletype/devicetype to use standardized object_children
2024-10-28 15:04:45 -04:00
Brian Tiemann
e0f5fd048b Move vlan_translation_policy into 802.1Q Switching fieldset 2024-10-28 14:28:01 -04:00
Brian Tiemann
3a50d9f024 Rework policy/rule documentation 2024-10-28 14:20:14 -04:00
Alexander Haase
69e1394fef Fix job field validation
Previously, fields in the Job model were not validated when the job was
created. Now 'full_clean()' is called before saving the job to ensure
valid data.
2024-10-28 13:40:20 -04:00
Jeremy Stretch
ac12eae0b7 Fix issue templates 2024-10-24 16:41:14 -04:00
xee8ai
ce67d2c13b Fix ambiguous shebang in netbox/manage.py. 2024-10-24 09:04:49 -04:00
Jeremy Stretch
97eb5bda50 Closes #17832: Don't validate terminations on Cable instance when importing from serialzied data 2024-10-24 08:28:30 -04:00
Jeremy Stretch
6251296776 Remove subjective priority reasons 2024-10-24 08:27:01 -04:00
Brian Tiemann
d3cb4c92e4 Add note about select_related in graphql 2024-10-23 10:16:09 -04:00
Brian Tiemann
5e8654e0bf Documentation of new and affected models 2024-10-22 19:08:23 -04:00
Brian Tiemann
ae93ce848b Explicitly prefetch policy in graphql 2024-10-22 18:42:33 -04:00
Brian Tiemann
24caa3bf1f Revert nullability 2024-10-22 11:54:39 -04:00
Brian Tiemann
b90829197e Revert "Make VLANTranslationRule.policy nullable (but still required)"
This reverts commit 4c1bb437ef.
2024-10-22 11:46:36 -04:00
Brian Tiemann
4c1bb437ef Make VLANTranslationRule.policy nullable (but still required) 2024-10-22 08:36:20 -04:00
Brian Tiemann
25c8aca1fb Complete viewset tests for VLANTranslationRule 2024-10-21 22:41:21 -04:00
Brian Tiemann
0d5961bf6e Add tags to VLANTranslationRuleForm 2024-10-21 22:01:21 -04:00
Brian Tiemann
eece55b212 API and viewset tests (incomplete) 2024-10-21 21:54:17 -04:00
Brian Tiemann
0985ef43d3 View tests 2024-10-21 19:40:31 -04:00
Brian Tiemann
b75f142ce4 Filterset tests 2024-10-21 19:24:39 -04:00
Brian Tiemann
9da0191b09 Add graphql types/filters/schema for VLANTranslationRule 2024-10-21 16:16:19 -04:00
Brian Tiemann
a94fe018ac Ensure 'id' column is present by default 2024-10-21 16:06:59 -04:00
Brian Tiemann
5a92975eab Search methods and registration 2024-10-21 15:35:31 -04:00
Brian Tiemann
f30b54dae1 Rebuild migrations 2024-10-21 14:00:56 -04:00
Brian Tiemann
38fe3d319f Merge branch 'feature' into 7336-vlan-translation-feature 2024-10-21 13:58:07 -04:00
Brian Tiemann
375b5aaef9 Remove unnecessary ordering column 2024-10-21 13:53:46 -04:00
Jeremy Stretch
ef1fdf0a01 Closes #17761: Store empty CharField choices as null 2024-10-21 13:12:05 -04:00
Jeremy Stretch
5940f5fa61 Changelog for #17374, #17635, #17774, #17802, #17789 2024-10-21 10:35:59 -04:00
Brian Tiemann
9a911f8317 Cleanup indentation 2024-10-20 19:05:24 -04:00
Brian Tiemann
0984e84bc5 Add vlan_translation_policy to fields in VMInterfaceSerializer 2024-10-20 19:01:26 -04:00
Brian Tiemann
a2942475b9 Protect in-use policies against deletion 2024-10-20 18:58:20 -04:00
Brian Tiemann
5da38ec5db Move vlan_translation_policy fields to model and filterset mixins 2024-10-20 18:54:23 -04:00
Brian Tiemann
3861e5b5ef Add vlan_translation_policy to VMInterfaceSerializer 2024-10-20 18:48:48 -04:00