Commit Graph

178 Commits

Author SHA1 Message Date
Jeremy Stretch
21dfda12f2 Closes #11541: Support for limiting tag assignments by object type (#12982)
* Initial work on #11541

* Merge migrations

* Limit tags by object type during assignment

* Add tests for object type validation

* Fix form field parameters
2023-06-23 14:08:14 -04:00
Arthur Hanson
a21bf5b3c1 11305 Add GPS coordinates to device (#12782)
* 11305 add lat/long to devices

* 11305 update docs

* 11305 update tests
2023-06-14 14:18:50 -04:00
Abhimanyu Saharan
b47bfdcf08 Adds hide-if-unset to custom field (#12723)
* adds hide-if-unset to custom field #12597

* moved hide logic from template to python

* fix indentation

* Update logic for omit_hidden under get_custom_fields()

* Update docs

* Account for False values

---------

Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-05-30 09:42:37 -04:00
jeremystretch
546a263704 Fix broken links 2023-05-04 08:43:17 -04:00
jeremystretch
fc9d3270e9 #10520: Remove obsolete NAPALM documentation 2023-04-21 11:22:38 -04:00
jeremystretch
560145a98f Docs cleanup for v3.5 2023-04-18 16:58:53 -04:00
Daniel Sheppard
1413e2f77d Closes: #9047 - Add Provider Accounts (#12057)
* #9047 - ProviderAccount

* #9047 - Move to new selector types

* #9047 - Re-introduce provider FK to Circuit model

* #9047 - Fix broken tests

* Misc cleanup

* Revert errant change

* Fix tests

* Update circuit filter form

---------

Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-03-29 08:27:11 -04:00
jeremystretch
6a8ffd9fac Rename JobResult to Job and move to core 2023-03-27 14:20:13 -04:00
jeremystretch
e672146a43 #11559: Add device config API endpoint & cleanup 2023-03-21 17:00:06 -04:00
jeremystretch
a74027fe30 Documentation cleanup 2023-03-20 16:37:47 -04:00
jeremystretch
7db15e9b32 #9653: Cleanup 2023-03-20 16:00:08 -04:00
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
jeremystretch
696bd9b8d8 Cleanup & docs 2023-03-14 15:44:16 -04:00
jeremystretch
9388a7370c Add type_job_start & type_job_end to Webhook 2023-03-07 18:01:32 -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
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
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
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
Jonathan Senecal
af396678d6 Update ipaddress.md
Missing `ipam` before `IPAddress.status`
2023-01-11 09:45:28 -05:00
jeremystretch
05319c589d Closes #11406: Correct example JSON 2023-01-05 16:38:29 -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
9065ec80b6 Closes #10371: Add operational status field for modules 2022-12-09 10:43:29 -05:00
jeremystretch
2dd94435bd Fix typo 2022-11-16 16:38:29 -05:00
jeremystretch
a2517a7ee7 Add missing model documentation 2022-11-15 10:50:26 -05:00
Jeremy Stretch
af1398c64f Closes #10851: New staging mechanism (#10890)
* WIP

* Convert checkout() context manager to a class

* Misc cleanup

* Drop unique constraint from Change model

* Extend staging tests

* Misc cleanup

* Incorporate M2M changes

* Don't cancel wipe out creation records when an object is deleted

* Rename Change to StagedChange

* Add documentation for change staging
2022-11-14 13:55:03 -05:00
jeremystretch
8a6143efdb Changelog & documentation for #7854 2022-11-11 08:25:44 -05:00
jeremystretch
79a1c99f4e Closes #10710: Add status field to WirelessLAN 2022-11-04 13:40:39 -04:00
jeremystretch
5ef76f2b2a Closes #10820: Switch timezone library from pytz to zoneinfo 2022-11-02 15:54:41 -04:00
jeremystretch
e09958486d Closes #9832: Add mounting_depth field to rack model 2022-10-27 10:50:54 -04:00
Arthur Hanson
57cbd5243d 9654 device weight (#10448)
* 9654 add weight fields to devices

* 9654 changes from code review

* 9654 change _abs_weight to grams

* Resolve migrations conflict

* 9654 code-review changes

* 9654 total weight on devices

* Misc cleanup

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-09-30 16:31:04 -04:00
jeremystretch
ecb31214cb Changelog & cleanup for #9892 2022-09-27 09:55:35 -04:00
Arthur
055dd4ce6d 9892 add supporting tests, form fields 2022-09-26 11:39:43 -07:00
jeremystretch
cd8268ade9 Closes #10032: Remove unique constraint from L2VPN identifier 2022-08-17 10:47:42 -04:00
jeremystretch
b680b4f65f Add model documentation for JournalEntry 2022-08-16 16:06:48 -04:00
jeremystretch
d2a400c24e Update virtualization models documentation 2022-08-16 15:57:29 -04:00
jeremystretch
61b853c835 Update IPAM models documentation 2022-08-16 15:32:00 -04:00
jeremystretch
68831c3a40 Finish refreshing DCIM models documentation 2022-08-15 15:16:02 -04:00
jeremystretch
8bbfdf538b Update model docs for device components 2022-08-15 11:57:38 -04:00
jeremystretch
4957193743 Refreshed wireless model documentation 2022-08-12 16:37:47 -04:00
jeremystretch
6db2ef2a83 Refreshed tenancy model documentation 2022-08-12 16:19:34 -04:00
jeremystretch
c697e2fbe1 Refreshed extras model documentation 2022-08-12 16:00:04 -04:00
jeremystretch
bbf716ac35 Refreshed circuits model documentation 2022-08-12 15:00:45 -04:00
jeremystretch
00098ac3ff Merge branch 'feature' into docs-refresh 2022-08-12 10:19:38 -04:00
jeremystretch
23bbdeeda1 Merge branch 'develop' into feature 2022-08-12 10:18:57 -04:00
jeremystretch
e3e71a20d1 Finish customization docs 2022-08-11 16:14:06 -04:00
jeremystretch
5bff60dc30 Split webhooks documentation 2022-08-11 11:55:45 -04:00