Commit Graph

10917 Commits

Author SHA1 Message Date
jeremystretch
1c4cb74fdb Fixes #11658: Remove reindex command call from search migration 2023-02-19 18:57:27 -05:00
jeremystretch
cf20d04cbe Changelog for #11685 2023-02-19 18:57:27 -05:00
kkthxbye-code
bead016544 Change Prefix and Aggregate search index weights to better order search results. 2023-02-19 18:50:24 -05:00
kkthxbye-code
9d110db41b Address feedback 2023-02-19 18:50:24 -05:00
kkthxbye-code
9cd30ac09b pep8 fixes 2023-02-19 18:50:24 -05:00
kkthxbye-code
3db48c069e Create CachedValueField to contain search specific lookups 2023-02-19 18:50:24 -05:00
kkthxbye-code
c7a6aa742a Fix typo in search query 2023-02-19 18:50:24 -05:00
kkthxbye-code
11a5905785 Proof of concept for showing containing prefixes when searching for ip-addresses. 2023-02-19 18:50:24 -05:00
jeremystretch
a12fb6f7c6 Fixes #11786: List only applicable object types in form widget when filtering custom fields 2023-02-19 16:17:57 -05:00
jeremystretch
10c8b74786 Fixes #11723: Circuit terminations should link to their associated circuits (rather than site or provider network) 2023-02-17 21:31:19 -05:00
jeremystretch
a91a6e721e Raise stale timers from 60/30 to 90/30 2023-02-17 16:57:52 -05:00
jeremystretch
2208956596 Closes #11110: Add start_address and end_address filters for IP ranges 2023-02-17 16:50:10 -05:00
jeremystretch
dcfbf799ed Update introduction doc 2023-02-17 10:11:39 -05:00
jeremystretch
3c3e3d0b4b Changelog for #11226, #11335, #11473, #11592 2023-02-16 20:15:48 -05:00
Aron Bergur Jóhannsson
567e353be2 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
aron bergur jóhannsson
a8dc285361 change empty list to qs.none() 2023-02-16 11:06:57 -05:00
aron bergur jóhannsson
e30a147712 Fixes #11473 graphql invalid tag filter returns all devices/interfaces 2023-02-16 11:06:57 -05:00
kkthxbye-code
dcc9dea6f9 Change the way we invalidate the module cache to support reloading code from subpackages 2023-02-16 10:50:38 -05:00
Jeremy Stretch
ddb019ce7a Changelog for #11459, #11711 2023-02-13 17:58:41 -05:00
Jeremy Stretch
46004b528e #11711: Use CSVModelChoiceField for custom object fields during CSV import 2023-02-13 17:53:01 -05:00
kkthxbye
f57a1577cf 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
5eeee728ef 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
jeremystretch
1b9fd1cf3a Changelog for #11032, #11582, #11601 2023-02-08 14:56:14 -05:00
kkthxbye-code
f870931e4f Fixes #11601 - Add partial lookup to IPRangeFilterSet 2023-02-08 14:50:22 -05:00
kkthxbye-code
a8b356a078 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
a881efbde1 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
77fa999c40 Fixes #11683: Fix CSV header attribute detection when auto-detecting import format 2023-02-07 17:24:26 -05:00
jeremystretch
35a218bd7a Add step for creating search index 2023-02-07 16:55:50 -05:00
jeremystretch
7d12b5ad88 Update housekeeping command docs 2023-02-07 16:52:54 -05:00
jeremystretch
d2cad0b87e Display login message as success 2023-02-07 16:49:07 -05:00
jeremystretch
ae999c1760 PRVB 2023-02-02 15:41:24 -05:00
Jeremy Stretch
a3f355b727 Merge pull request #11655 from netbox-community/develop
Release v3.4.4
2023-02-02 15:39:38 -05:00
jeremystretch
7da3f1d896 Release v3.4.4 2023-02-02 15:24:54 -05:00
Maximilian Wilhelm
b54f65ab96 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
jeremystretch
52233c6c79 Fixes #11650: Display error message when attempting to create device component with duplicate name 2023-02-02 14:59:16 -05:00
jeremystretch
6852685eac Refresh the README 2023-02-02 14:18:32 -05:00
Abhimanyu Saharan
7e19227d57 handled scripts error when only interval is used 2023-02-02 10:25:19 -05:00
jeremystretch
f9486dc50f Fixes #11635: Pre-populate assigned VRF when following "first available IP" link from prefix view 2023-02-01 12:28:54 -05:00
Arthur
c247b4b319 11620 fix interface poe type filter 2023-02-01 10:24:20 -05:00
jeremystretch
f402851177 Fix rendering of example code 2023-01-30 10:25:20 -05:00
jeremystretch
0340f05932 Fixes #11613: Correct plugin import logic fix from #11267 2023-01-27 19:56:12 -05:00
jeremystretch
928c5e1d5d Update NetBox Cloud link 2023-01-27 16:46:49 -05:00
jeremystretch
7b8066a8f5 Changelog for #11267 2023-01-27 16:45:20 -05:00
Jeremy Stretch
da63d5fb07 Fixes #11267: Avoid catching ImportError exceptions when loading plugins (#11566)
* Avoid catching ImportErrors when loading plugin URLs

* Avoid catching ImportErrors when loading plugin resources
2023-01-27 16:44:10 -05:00
jeremystretch
3c291bed2f Closes #11598: Add buttons to easily switch between rack list and elevations views 2023-01-26 10:53:59 -05:00
jeremystretch
7da05a817c Closes #11554: Add module types count to manufacturers list 2023-01-26 08:46:25 -05:00
jeremystretch
d3aa423ada Closes #11585: Add IP address filters for services 2023-01-25 21:25:25 -05:00
jeremystretch
1319a9abdb Closes #10762: Permit selection custom fields to have only one choice 2023-01-25 10:27:05 -05:00
jeremystretch
e6c26455a2 Fixes #11528: Show edit/delete buttons in user tokens table 2023-01-25 10:09:37 -05:00
jeremystretch
2392bb2d3a Fixes #11528: Permit import of devices using uploaded file 2023-01-25 09:55:45 -05:00