Commit Graph

3255 Commits

Author SHA1 Message Date
Jeremy Stretch
5787e9dcfd Closes: #11781: Add support for Amazon S3 remote data sources (#11986)
* Add boto3 as a dependency

* Add Amazon S3 backend for remote data sources

* Update docs to include Amazon S3 support
2023-03-15 12:11:52 -04:00
Ryan Merolle
213c8cc5fb Add fieldsets functionality to scripts to allow for form field groupings (#11880)
* update script template

* update docs

* introduce default_fieldset

* correct custom script docs

* default to use fieldsets in scripts

* update scripts docs for new behavior

* Misc cleanup

---------

Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-03-14 15:50:49 -04:00
jeremystretch
696bd9b8d8 Cleanup & docs 2023-03-14 15:44:16 -04:00
jeremystretch
9b3651bd35 Closes #11780: Enable loading import data from remote sources 2023-03-14 14:53:26 -04:00
jeremystretch
f061817423 Closes #11968: Add navigation menu buttons to create device & VM components 2023-03-13 15:15:38 -04:00
jeremystretch
5cc8650199 PRVB 2023-03-13 11:59:57 -04:00
jeremystretch
6acc947c65 Merge branch 'develop' into feature 2023-03-13 11:58:37 -04:00
jeremystretch
3a38fceb49 Release v3.4.6 2023-03-13 11:16:31 -04:00
jeremystretch
654bb4becd Fixes #11631: Fix filtering changelog & journal entries by multiple content type IDs 2023-03-13 10:00:05 -04:00
jeremystretch
076338ea2f Fixes #11927: Correct loading of plugin resources with custom paths 2023-03-13 08:52:38 -04:00
jeremystretch
0041123644 Changelog for #11850, #11851 2023-03-13 08:38:57 -04:00
rganascim
94961a521b Closes #11638: add http redirect to apache 2023-03-10 09:55:22 -05:00
jeremystretch
b0767b3aef Changelog for #8272, #8958 2023-03-10 09:00:28 -05:00
Jeremy Stretch
c4b41a7282 Changelog for #11294, #11819 2023-03-09 08:37:03 -05:00
jeremystretch
9388a7370c Add type_job_start & type_job_end to Webhook 2023-03-07 18:01:32 -05:00
jeremystretch
8fce469fba Fixes #11903: Fix escaping of return URL values for action buttons in tables 2023-03-07 09:34:25 -05:00
jeremystretch
ffdb1b4c08 Changelog for #11470, #11871 2023-03-01 17:34:57 -05:00
jeremystretch
70c7959ccf Add mark_utilized to IPRange 2023-03-01 09:27:06 -05:00
jeremystretch
846ff92424 Closes #10374: Require unique tenant names & slugs per group (not globally) 2023-02-28 20:03:41 -05:00
Jeremy Stretch
177843b5e5 Closes #10729: Add date & time custom field type (#11857)
* Add datetime custom field type

* Update custom field tests
2023-02-28 13:33:40 -05:00
Jeremy Stretch
2b8c41f3d6 Closes #8550: Implement ASN ranges (#11835)
* Move ASN to a separate module

* Move ASNField from dcim to ipam

* Introduce ASNRange model

* Add relationship from ASN to ASNRange

* Add an available-asns API endpoint

* Add RIR assignment for ASNRange

* Add standard tests

* Move child ASNs to a tabbed view

* Remove FK on ASN to ASNRange

* Add tests for provisioning available ASNs

* Add docs for ASNRange
2023-02-27 16:36:05 -05:00
jeremystretch
92bdf8a6f4 Changelog for #11011 2023-02-27 15:38:21 -05:00
jeremystretch
b7463d8346 Changelog for #10058, #11565, #11758, #11817 2023-02-27 14:46:03 -05:00
jeremystretch
b94f906f2f Closes #11807: Restore default page size when navigating between views 2023-02-27 09:22:48 -05:00
jeremystretch
251d7f13ce Fixes #11796: When importing devices, restrict rack by location only if the location field is specified 2023-02-27 08:26:32 -05:00
jeremystretch
28cc39c54c Update change log 2023-02-24 16:46:01 -05:00
Arthur Hanson
eb923e080e 10520 remove Napalm code references (#11768)
* 10520 remove all Napalm code references

* 10520 remove lldp

* 10520 remove config, status - rebuild js

* 10520 re-add config parameters

* 10520 re-add serializer

* 10520 update docs
2023-02-24 15:38:50 -05:00
jeremystretch
96466caa69 PRVB 2023-02-21 09:03:19 -05:00
jeremystretch
4329e0eb92 Release v3.4.5 2023-02-21 08:45:52 -05:00
jeremystretch
de8029d9d1 Closes #11787: Rebuild any missing search cache entires after upgrade 2023-02-20 09:49:13 -05:00
jeremystretch
f4ab37c234 Clean up model & registry documentation 2023-02-19 20:09:52 -05:00
Jeremy Stretch
86690d83a1 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-19 20:09:52 -05:00
Jeremy Stretch
0e40cb0a1b Closes #11765: Remove StaticSelect & StaticSelectMultiple (#11767)
* Remove StaticSelect, StaticSelectMultiple form widgets

* Tag custom ChoiceField, MultipleChoiceField classes for removal in v3.6
2023-02-19 20:09:51 -05:00
jeremystretch
530c7434ed Changelog for #11693 2023-02-19 20:09:51 -05:00
jeremystretch
b11e9ce39b Closes #11693: Enable remote data synchronization for export templates 2023-02-19 20:09:51 -05:00
Jeremy Stretch
164bdeee68 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-19 20:09:51 -05:00
Jeremy Stretch
39286ef513 Closes #11558: Add support for remote data sources (#11646)
* WIP

* WIP

* Add git sync

* Fix file hashing

* Add last_synced to DataSource

* Build out UI & API resources

* Add status field to DataSource

* Add UI control to sync data source

* Add API endpoint to sync data sources

* Fix display of DataSource job results

* DataSource password should be write-only

* General cleanup

* Add data file UI view

* Punt on HTTP, FTP support for now

* Add DataSource URL validation

* Add HTTP proxy support to git fetcher

* Add management command to sync data sources

* DataFile REST API endpoints should be read-only

* Refactor fetch methods into backend classes

* Replace auth & git branch fields with general-purpose parameters

* Fix last_synced time

* Render discrete form fields for backend parameters

* Enable dynamic edit form for DataSource

* Register DataBackend classes in application registry

* Add search indexers for DataSource, DataFile

* Add single & bulk delete views for DataFile

* Add model documentation

* Convert DataSource to a primary model

* Introduce pre_sync & post_sync signals

* Clean up migrations

* Rename url to source_url

* Clean up filtersets

* Add API & filterset tests

* Add view tests

* Add initSelect() to HTMX refresh handler

* Render DataSourceForm fieldsets dynamically

* Update compiled static resources
2023-02-19 20:09:51 -05:00
jeremystretch
0601f3fa45 Closes #11625: Add HTMX support to ObjectEditView 2023-02-19 20:09:51 -05:00
jeremystretch
81aee65ede Closes #11611: Refactor API viewset classes and introduce NetBoxReadOnlyModelViewSet 2023-02-19 20:09:51 -05:00
jeremystretch
7d9d15b37f #11517: Standardize display of contact assignments 2023-02-19 20:09:51 -05:00
jeremystretch
cb608591b4 Closes #11584: Add a list view for contact assignments 2023-02-19 20:09:51 -05:00
jeremystretch
ff2693bd54 Changelog for #11440 2023-02-19 20:09:51 -05:00
jeremystretch
3e129e71bc Closes #11254: Introduce the X-Request-ID HTTP header to annotate the unique ID of each request for change logging 2023-02-19 20:09:51 -05:00
jeremystretch
2a1eceba4e Remove old feature version notices 2023-02-19 20:09:51 -05:00
jeremystretch
39e47952ce Closes #10604: Remove unused extra_tabs block from object.html generic template 2023-02-19 20:09:51 -05:00
jeremystretch
89a4f7cd36 Closes #10923: Remove unused NetBoxModelCSVForm class 2023-02-19 20:09:51 -05:00
jeremystretch
cf20d04cbe Changelog for #11685 2023-02-19 18:57:27 -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
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
Jeremy Stretch
ddb019ce7a Changelog for #11459, #11711 2023-02-13 17:58:41 -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
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
ae999c1760 PRVB 2023-02-02 15:41:24 -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
f9486dc50f Fixes #11635: Pre-populate assigned VRF when following "first available IP" link from prefix view 2023-02-01 12:28:54 -05:00
jeremystretch
f402851177 Fix rendering of example code 2023-01-30 10:25:20 -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
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
a10b2abbad Fixes #11562: Correct ordering of virtual chassis interfaces with duplicate names 2023-01-24 15:44:02 -05:00
jeremystretch
c71dc97591 Closes #10888, #10889: Add supplementary notes to installation docs 2023-01-24 14:40:09 -05:00
jeremystretch
5de439627f Changelog for #11487 2023-01-23 10:21:11 -05:00
jeremystretch
2bc0d8f03c Changelog for #11537 2023-01-20 16:48:22 -05:00
jeremystretch
0f56c35549 Fixes #11555: Avoid inadvertent interpretation of search query as regular expression under global search 2023-01-20 16:47:19 -05:00
jeremystretch
36e14a19e9 PRVB 2023-01-20 14:21:03 -05:00
jeremystretch
fa3799227d Release v3.4.3 2023-01-20 13:10:21 -05:00
jeremystretch
a2c7fd0ca4 Fixes #11544: Catch ValidationError exception when filtering by invalid MAC address 2023-01-20 12:06:34 -05:00
jeremystretch
e8a5634436 Changelog for #11118, #11227, #11228 2023-01-20 10:24:57 -05:00
Jeremy Stretch
8fa2960106 Changelog for #11433, #11516 2023-01-17 21:22:02 -05:00
jeremystretch
3ea55783a3 Fixes #11522: Correct tag links under contact & tenant list views 2023-01-17 10:32:22 -05:00
jeremystretch
fb20443825 Changelog for #11488, #11497 2023-01-17 10:27:53 -05:00
jeremystretch
1bb6032b95 Fixes #11483: Apply configured formatting to custom date fields 2023-01-13 08:23:57 -05:00
jeremystretch
efc7ad190e Changelog for #11416 2023-01-12 09:37:52 -05:00
jeremystretch
0fb1db6ed7 Fixes #11467: Correct count on interfaces tab when viewing a VC master device 2023-01-12 09:05:55 -05:00
jeremystretch
ad83318ef8 Fixes #10201: Fix AssertionError exception when removing some terminations from an existing cable 2023-01-11 14:42:25 -05:00
Jonathan Senecal
af396678d6 Update ipaddress.md
Missing `ipam` before `IPAddress.status`
2023-01-11 09:45:28 -05:00
jeremystretch
7053ffc0ed Changelog for #11438, #11444 2023-01-09 10:58:23 -05:00
jeremystretch
c5d4ede153 Fixes #11402: Avoid LookupError exception when running scripts with commit disabled 2023-01-09 10:57:13 -05:00
jeremystretch
d7c38a5225 Changelog for #10486, #11210, #11340, #11379 2023-01-06 16:25:41 -05:00
Robin Schneider
271fd13641 Add summary release notes for v3.4 2023-01-06 10:07:21 -05:00
jeremystretch
8c161ecbb9 Fixes #11384: Correct current time display on script & report forms 2023-01-06 09:42:13 -05:00
jeremystretch
05319c589d Closes #11406: Correct example JSON 2023-01-05 16:38:29 -05:00
jeremystretch
c55b2ea5c1 Changelog for #9996, #11150, #11245, #11371, #11403 2023-01-05 16:29:17 -05:00
Robin Schneider
b16bf80082 NetBox should always be referred to as NetBox [DATALAD RUNCMD]
=== Do not change lines below ===
{
 "chain": [],
 "cmd": "git ls-files -z . | xargs --null -I '()' find './()' -type f -not -name 'style-guide.md' -print0 | xargs --null sed --in-place --regexp-extended 's/\\bNetbox\\b/NetBox/g;'",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
2023-01-05 16:06:00 -05:00
jeremystretch
899ccad296 PRVB 2023-01-03 16:30:17 -05:00
jeremystretch
e6acd17954 Release v3.4.2 2023-01-03 16:13:11 -05:00
jeremystretch
c681a8a86a Changelog for #11156, #11259, #11342, #11345 2023-01-03 10:21:19 -05:00
Christian Harendt
245c0f9a6b add username for redis authentication 2023-01-03 09:42:18 -05:00
Arthur Hanson
6a0baede0f 11271 flag to disable localization (#11323)
* 11271 flag to disable localization

* 11271 change to remove middleware

* 11271 update docs for new var

* Update docs/configuration/system.md

Co-authored-by: kkthxbye <400797+kkthxbye-code@users.noreply.github.com>

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
Co-authored-by: kkthxbye <400797+kkthxbye-code@users.noreply.github.com>
2022-12-29 09:04:35 -05:00
jeremystretch
4b5742484c Changelog for #11223, #11244, #11248 2022-12-28 16:58:04 -05:00
jeremystretch
d1c8b740b9 Changelog for #11121, #11280 2022-12-27 16:07:02 -05:00
jeremystretch
8810817557 Changelog for #9285, #10700, #11290 2022-12-22 10:14:38 -05:00
jeremystretch
2018e16e7f Fixes #11232: Enable partial & regex matching for non-string types in global search 2022-12-22 09:14:57 -05:00
jeremystretch
790bcc9cb8 PRVB 2022-12-16 17:18:06 -05:00
jeremystretch
c112dfde55 Release v3.4.1 2022-12-16 17:03:40 -05:00
jeremystretch
449e9fca00 Fixes #11184: Correct visualization of cable path which splits across multiple circuit terminations 2022-12-16 16:45:51 -05:00
jeremystretch
234d17b3f1 Closes #11214: Introduce the DEFAULT_LANGUAGE configuration parameter 2022-12-16 08:56:14 -05:00
jeremystretch
91030f21cf Fixes #11189: Fix localization of dates & numbers 2022-12-16 08:43:05 -05:00
jeremystretch
2885656c99 Closes #9971: Enable ordering of nested group models by name 2022-12-15 16:21:30 -05:00
jeremystretch
6c08d73fa9 Changelog for #11175, #11178 2022-12-15 16:05:43 -05:00
jeremystretch
bd5d08fed8 Fixes #11205: Correct cloning behavior for recursively-nested models 2022-12-15 16:04:29 -05:00
jeremystretch
16587255cf Fixes #11185: Fix TemplateSyntaxError when viewing custom script results 2022-12-15 12:55:09 -05:00
jeremystretch
3e24689149 PRVB 2022-12-14 14:24:46 -05:00
jeremystretch
a24429311c Release v3.4.0 2022-12-14 13:10:22 -05:00
jeremystretch
78f0bb3004 Closes #11163: Auto-detect data format during bulk import 2022-12-14 10:09:59 -05:00
jeremystretch
d007a829fc Merge branch 'develop' into feature 2022-12-13 17:17:05 -05:00
jeremystretch
0d0f0b0e74 Release v3.3.10 2022-12-13 15:29:07 -05:00
jeremystretch
4a507643e2 Fixes #11109: Fix nullification of custom object & multi-object fields via REST API 2022-12-13 14:48:40 -05:00
jeremystretch
7efb25a5b5 Fixes #11173: Enable missing tags columns for contact, L2VPN lists 2022-12-13 14:04:50 -05:00
jeremystretch
ef8778e928 Fixes #10981: Fix release notes formatting 2022-12-13 13:26:41 -05:00
jeremystretch
a690073dbd Changelog for #9361, #10447, #11077 2022-12-13 13:24:07 -05:00
jeremystretch
cb583a3b96 Fixes #11168: Honor RQ_DEFAULT_TIMEOUT config parameter when using Redis Sentinel 2022-12-13 13:22:28 -05:00
jeremystretch
0b409e3540 Clean up v3.4 release notes 2022-12-12 16:49:00 -05:00
jeremystretch
ab20470b69 Fixes #11154: Index VM interface MAC address and MTU for global search 2022-12-12 10:43:48 -05:00
jeremystretch
a216f47748 Closes #10255: Introduce LOGOUT_REDIRECT_URL config parameter to control redirection of user after logout 2022-12-09 17:08:07 -05:00
jeremystretch
97f586fa0a Closes #10516: Add vertical frame & cabinet rack types 2022-12-09 16:35:37 -05:00
jeremystretch
c11b5a588d Fixes #11142: Correct available choices for status under IP range filter form 2022-12-09 16:04:46 -05:00
jeremystretch
6c2df1a6d3 Closes #11089: Permit whitespace in MAC addresses 2022-12-09 16:00:11 -05:00
jeremystretch
6c955b5e2a Closes #10675: Add max_weight field to track maximum load capacity for racks 2022-12-09 12:45:02 -05:00
jeremystretch
8815706137 Fix configuration key for WirelessLANStatusChoices 2022-12-09 10:45:02 -05:00
jeremystretch
9065ec80b6 Closes #10371: Add operational status field for modules 2022-12-09 10:43:29 -05:00
jeremystretch
d6b6cb51c9 Fixes #10950: Fix validation of VDC primary IPs 2022-12-09 09:49:01 -05:00
jeremystretch
8ec9422555 Changelog for #10945 2022-12-08 18:18:51 -05:00
jeremystretch
084b6ac4a1 Changelog for #11022 2022-12-08 10:00:21 -05:00
kkthxbye-code
97825a7238 Allow redefining internally used queues 2022-12-08 09:45:21 -05:00
jeremystretch
c999b73314 Merge branch 'develop' into feature 2022-12-08 09:31:22 -05:00
jeremystretch
08869bdd83 Fixes #11128: Disable ordering changelog table by object to avoid exception 2022-12-08 09:00:02 -05:00
jeremystretch
1e2b28b3a8 Closes #10806: Add warning to run deactivate prior to upgrade script 2022-12-08 09:00:02 -05:00
Jeremy Stretch
25bff12150 Closes #11119: Enable filtering L2VPNs by slug 2022-12-06 15:48:22 -05:00
Jeremy Stretch
702a7db579 Fixes #11087: Fix background color of bottom banner content 2022-12-06 15:40:59 -05:00
jeremystretch
481241a77d Changelog for #11000, #11046 2022-12-02 13:02:13 -05:00
jeremystretch
8697fe71e2 Closes #11090: Add regular expression support to global search engine 2022-12-02 12:54:35 -05:00
jeremystretch
bdfb89af0a Changelog for #10748, #11041 2022-12-02 09:30:44 -05:00
jeremystretch
4bb8499ba2 Merge branch 'develop' into feature 2022-11-30 16:21:20 -05:00
jeremystretch
3213d2db10 PRVB 2022-11-30 16:18:03 -05:00
jeremystretch
2f9ea04b78 Release v3.3.9 2022-11-30 15:51:37 -05:00
jeremystretch
6731b6a384 Fixes #11047: Cloning a rack reservation should replicate rack & user 2022-11-30 15:37:50 -05:00