Commit Graph

13301 Commits

Author SHA1 Message Date
Arthur Hanson
7fc0e4f2dd Merge branch 'feature' into 7699-cluster-location 2024-10-30 11:21:02 -07:00
Brian Tiemann
572aad0e20 Update adding-models.md to reflect changes to get_absolute_url 2024-10-29 09:15:24 -04:00
Arthur Hanson
69af847dd5 Merge branch 'feature' into 7699-cluster-location 2024-10-28 14:35:32 -07: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
Jeremy Stretch
8279eaff5b Update source translation strings 2024-10-28 15:22:19 -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
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
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
Arthur Hanson
effe9204af 7699 review changes 2024-10-28 09:08:17 -07:00
Arthur Hanson
c5005455f8 7699 move CachedScopeMixin 2024-10-28 08:45:03 -07:00
Arthur Hanson
c75bfe147d 7699 move ScopedFilterset 2024-10-28 07:55:43 -07:00
Arthur Hanson
62358f6ead 7699 review changes 2024-10-25 15:41:46 -07:00
Jeremy Stretch
ac12eae0b7 Fix issue templates 2024-10-24 16:41:14 -04:00
Arthur Hanson
277b175f9f 7699 scoped form, fitlerset 2024-10-24 12:53:52 -07:00
Arthur Hanson
8ca7cdd0ad 7699 scope form 2024-10-24 12:48:04 -07:00
Arthur Hanson
d7b204a83f 7699 scope form 2024-10-24 11:42:25 -07:00
Arthur Hanson
3525a3a02e 7699 change mixin name 2024-10-24 11:32:24 -07:00
Arthur Hanson
cfdab0e87f 7699 use mixin for model 2024-10-24 11:19:47 -07:00
Arthur Hanson
c73902c088 7699 fix tests 2024-10-24 09:38:04 -07:00
Arthur Hanson
9108915604 7699 fix ipam tests 2024-10-24 09:23:18 -07:00
Arthur Hanson
65295f6d79 7699 fix dcim tests 2024-10-24 08:58:07 -07:00
Arthur Hanson
4112af534d 7699 fix graphql tests for clusters reference 2024-10-24 08:39:12 -07:00
Arthur Hanson
071b960952 7699 fix tests 2024-10-24 07:33:31 -07:00
Arthur Hanson
ee990560c1 7699 fixes 2024-10-24 07:27:57 -07: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
Arthur Hanson
76e438dea9 7699 fixes 2024-10-23 14:59:13 -07:00
Arthur Hanson
be59775d56 7699 fixes 2024-10-23 14:48:17 -07:00
Arthur Hanson
8a63707386 7699 fixes 2024-10-23 14:17:24 -07:00
Arthur Hanson
7e6bb0e6bc 7699 graphql, tables 2024-10-23 13:16:39 -07:00
Arthur Hanson
d19cef4974 7699 model_form 2024-10-23 13:13:01 -07:00
Arthur Hanson
4c3d1ce95b 7699 bulk_import 2024-10-23 13:04:12 -07:00
Arthur Hanson
286f56bfc6 7699 bulk_edit 2024-10-23 13:01:13 -07:00
Arthur Hanson
33b4beba10 7699 filterset 2024-10-23 12:55:13 -07:00
Arthur Hanson
dcb3c7c113 7699 Serializer 2024-10-23 12:50:12 -07:00
Arthur Hanson
2bb49d7db6 7699 Add Scope to Cluster 2024-10-23 12:00:20 -07: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
github-actions
bb06b733c4 Update source translation strings 2024-10-19 05:02:04 +00:00
Jeremy Stretch
75270c1aef
Closes #6414: Enable assigning prefixes to various object types (#17692)
* Replace site FK on Prefix with scope GFK

* Add denormalized relations

* Update prefix filters

* Add generic relations for Prefix

* Update GraphQL type for Prefix model

* Fix tests; misc cleanup

* Remove prefix_count from SiteSerializer

* Remove site field from PrefixBulkEditForm

* Restore scope filters for prefixes

* Fix scope population on PrefixForm init

* Show scope type

* Assign scope during bulk import of prefixes

* Correct handling of GenericForeignKey in PrefixForm

* Add prefix counts to all scoped objects

* Fix migration; linter fix

* Add limit_choices_to on scope_type

* Clean up cache_related_objects()

* Enable bulk editing prefix scope
2024-10-18 15:45:22 -04:00
Ali Al-Ebrahim
1c4a1e075d Update README.md to point to NetBox logo URL
The NetBox logo is referenced at https://github.com/netbox-community/netbox/blob/develop/docs/netbox_logo.svg but that no longer exists as the logo has been changed to https://github.com/netbox-community/netbox/blob/develop/docs/netbox_logo_dark.svg (or _light.svg -- should add handling for that but seems like overkill)

Updated the README to reflect this to properly render the logo.
2024-10-18 14:54:07 -04:00
Jeremy Stretch
c78da79ce6 Merge branch 'develop' into feature 2024-10-18 13:18:11 -04:00
Jeremy Stretch
538f3255a7 Closes #17789: Use a single scope field for VLANGroup bulk edit 2024-10-18 13:16:24 -04:00
Arthur Hanson
b9c6def8ab
15093 Allow plugins to register events pipeline (#17717)
* 15093 add events_pipeline registration to plugins

* 15093 use list

* 15093 add documentation

* Update docs/configuration/index.md

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>

* Update docs/configuration/miscellaneous.md

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>

* 15093 review changes

* 15093 review changes

* Formatting & readability

* 15093 review changes

* 15093 add test

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-10-18 12:47:16 -04:00