Commit Graph

226 Commits

Author SHA1 Message Date
Jeremy Stretch 646d52d498 Misc docs cleanup for v3.6 2023-08-09 10:12:40 -04:00
Jeremy Stretch 6e222f8dce
Closes #8248: User bookmarks (#13035)
* Initial work on #8248

* Add tests

* Fix tests

* Add feature query for bookmarks

* Add BookmarksWidget

* Correct generic relation name

* Add docs for bookmarks

* Remove inheritance from ChangeLoggedModel
2023-06-29 14:36:11 -04:00
jeremystretch 02db0bcc2e Closes #11766: Remove obsolete custom ChoiceField and MultipleChoiceField classes 2023-05-12 16:27:50 -04:00
jeremystretch d5c4b1e27c #10520: Remove obsolete NAPALM documentation 2023-04-21 11:22:38 -04:00
jeremystretch 08017c51f6 Merge branch 'develop' into feature 2023-04-07 13:00:00 -04:00
jeremystretch 0676ed45c7 Closes #12107: Document support for plugin-provided dashboard widgets 2023-04-03 14:15:18 -04:00
jeremystretch 0ac8419005 Fixes #12104: Restore copy-to-clipboard & footer navigation in docs 2023-03-30 16:29:54 -04:00
jeremystretch b0f6cea4f3 Documentation cleanup 2023-03-30 15:45:32 -04:00
jeremystretch 40572b543f Rename JobResult to Job and move to core 2023-03-27 14:20:13 -04:00
jeremystretch 2fc79af4c7 #11558: Cleanup & docs 2023-03-22 09:20:44 -04:00
Jeremy Stretch 7994073687
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 574b5551a0 Clean up model & registry documentation 2023-02-19 20:09:52 -05:00
Jeremy Stretch 73a7a2d27a 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 e19ce69238 Closes #10923: Remove unused NetBoxModelCSVForm class 2023-02-19 20:09:51 -05:00
jeremystretch db77e9428f Update features docs for v3.4 2022-11-16 09:11:03 -05:00
jeremystretch 0c0c848597 Clean up plugins documentation 2022-11-15 16:55:18 -05:00
jeremystretch 4230162294 Add missing model documentation 2022-11-15 10:50:26 -05:00
Jeremy Stretch a5308ea28e
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
Jeremy Stretch 9628dead07
Closes #10560: New global search (#10676)
* Initial work on new search backend

* Clean up search backends

* Return only the most relevant result per object

* Clear any pre-existing cached entries on cache()

* #6003: Implement global search functionality for custom field values

* Tweak field weights & document guidance

* Extend search() to accept a lookup type

* Move get_registry() out of SearchBackend

* Enforce object permissions when returning search results

* Add indexers for remaining models

* Avoid calling remove() on non-cacheable objects

* Use new search backend by default

* Extend search backend to filter by object type

* Clean up search view form

* Enable specifying lookup logic

* Add indexes for value field

* Remove object type selector from search bar

* Introduce SearchTable and enable HTMX for results

* Enable pagination

* Remove legacy search backend

* Cleanup

* Use a UUID for CachedValue primary key

* Refactoring search methods

* Define max search results limit

* Extend reindex command to support specifying particular models

* Add clear() and size to SearchBackend

* Optimize bulk caching performance

* Highlight matched portion of field value

* Performance improvements for reindexing

* Started on search tests

* Cleanup & docs

* Documentation updates

* Clean up SearchIndex

* Flatten search registry to register by app_label.model_name

* Clean up search backend classes

* Clean up RestrictedGenericForeignKey and RestrictedPrefetch

* Resolve migrations conflict
2022-10-21 13:16:16 -04:00
jeremystretch bd79a27e4d Merge branch 'develop' into feature 2022-10-20 16:07:03 -04:00
Arthur Hanson bb150379a2
10571 replace deprecated mkdoc settings (#10622)
* 10571 replace deprecated mkdoc settings

* Omit landing page from docs nav menu

Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-10-12 08:36:02 -04:00
Arthur Hanson ffce5d968d
8927 plugin search (#10489)
* #7016 base search classes

* 7016 add search indexes

* 7016 add search indexes

* 7016 add search indexes

* 7016 add search indexes

* 7016 add search indexes

* 7016 add search indexes

* 8927 refactor search

* 8927 refactor search

* 8927 refactor search

* 8927 refactor search

* 8927 get search choices working

* 8927 cleanup - optimize

* 8927 use backend search function

* 8927 fix for plugin search

* 8927 add docs

* Move search app to a module under netbox/

* Utilize global registry to register model search classes

* Build search form options from registry

* Determine search categories from model app by default

* Enable dynamic search registration for plugins

* Update docs & improve plugin support

* Clean up search backend class

* Docs for #8927

Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-10-10 14:00:59 -04:00
jeremystretch 10352ff5ad Merge branch 'develop' into feature 2022-09-30 17:17:18 -04:00
jeremystretch 3c32c09a5a Fixes #10496: Use page.canonical_url to identify ReadTheDocs builds 2022-09-28 09:30:38 -04:00
jeremystretch 6a9274a95f Closes #10314: Move clone() method from NetBoxModel to CloningMixin 2022-09-13 14:36:37 -04:00
jeremystretch 152dcbe522 Initial draft of git cheat sheet 2022-08-26 16:52:00 -04:00
jeremystretch e6c69127e4 Add model documentation for JournalEntry 2022-08-16 16:06:48 -04:00
jeremystretch 8c5779c864 Add feature docs for virtualization 2022-08-12 14:11:58 -04:00
jeremystretch 150c3d3a97 Merge branch 'feature' into docs-refresh 2022-08-12 10:19:38 -04:00
jeremystretch c635f09e05 Closes #9994: Disable search indexing for local documentation builds 2022-08-12 09:21:28 -04:00
jeremystretch f9fb2cc698 Finish features documentation 2022-08-11 15:29:26 -04:00
jeremystretch 5f15f550c9 Restore model documentation for all models under extras 2022-08-11 11:37:07 -04:00
jeremystretch 9733cee3d2 Continued work on feature docs 2022-08-10 14:07:51 -04:00
jeremystretch e69be8f9a6 Continued work on feature docs 2022-08-10 12:51:21 -04:00
jeremystretch 4c899f151c Drop markdown-include 2022-08-04 14:12:51 -04:00
jeremystretch 5da3cab4de Reorganize documentation 2022-08-04 14:11:52 -04:00
jeremystretch 1cd4075488 Add mermaid flowcharts showing rough data model dependencies 2022-07-29 16:23:45 -04:00
jeremystretch a6c431f3ba Reorganize configuration docs 2022-07-29 15:10:50 -04:00
jeremystretch b1ce8bd222 Started "getting started" guide 2022-07-29 13:45:59 -04:00
jeremystretch 18acac18e0 Move data model definitions to separate hierarchy 2022-07-29 10:30:47 -04:00
jeremystretch c582d7459f Rearrange introductory content 2022-07-29 10:06:26 -04:00
jeremystretch 868e94fb73 Release v3.3-beta1 2022-07-14 12:04:53 -04:00
jeremystretch 1ddb219a0c Documentation cleanup 2022-07-11 17:29:25 -04:00
jeremystretch 3a6f46bf38 Closes #9075: Introduce AbortRequest exception for cleanly interrupting object mutations 2022-06-30 15:15:07 -04:00
kkthxbye-code cf76d5c46a Move markdown documentation to docs 2022-06-16 22:26:37 +02:00
jeremystretch 72b2ab03cc #9340: Introduce config parameters for Sentry sampling rates 2022-05-12 10:00:57 -04:00
jeremystretch 6f5c2f1e29 Enable & document Sentry integration 2022-05-11 14:13:50 -04:00
jeremystretch a6a1bec437 Closes #9218: Update documentation links with docs.netbox.dev 2022-04-25 09:48:39 -04:00
jeremystretch c21db0ff6a Closes #9137: Add SSO configuration guide for Okta 2022-04-15 16:03:36 -04:00
jeremystretch 10c7fdb618 Closes #9136: Add SSO configuration guide for Microsoft Azure AD 2022-04-14 21:42:47 -04:00
jeremystretch 7463c40c40 Restore documentation search function 2022-04-14 14:24:34 -04:00
jeremystretch 28f7b411ed Revise plugins documentation 2022-03-08 15:44:35 -05:00
jeremystretch cd29293dd6 Merge v3.1.9 2022-03-07 10:55:30 -05:00
jeremystretch dadd8cb93a Support the direct use of TagFilter 2022-03-02 12:06:07 -05:00
Jason Yates e3258bcf5a Updating mkdocs to automatically adjust theme
Automatically adjusts documentation theme between default/slate based on users preference for dark mode.
2022-03-02 08:45:22 +00:00
jeremystretch fab4d95156 Merge branch 'develop' into feature 2022-02-25 14:06:45 -05:00
jeremystretch b343035060 Fixes #8674: Fix rendering of tabbed content in documentation 2022-02-16 16:21:32 -05:00
jeremystretch b40afd1006 Create custom RTD configuration 2022-02-11 14:49:45 -05:00
jeremystretch af01122f33 Fix mkdocs requirements specification 2022-02-11 14:43:43 -05:00
jeremystretch 189e835499 Use project requirements to build docs 2022-02-11 14:36:03 -05:00
jeremystretch 9cf9f1bdba Update documentation for v3.2 2022-02-11 12:57:08 -05:00
jeremystretch d9b7c012a6 Document templates supported for plugin use 2022-02-08 12:14:37 -05:00
jeremystretch 03ea257711 Initial work on GraphQL 2022-02-04 15:06:58 -05:00
jeremystretch f4776731ec Establish 4 core forms in netbox.forms.base 2022-01-28 15:48:15 -05:00
jeremystretch 3c1ea5d0fb Closes #8470: Expose NetBoxTable in the plugins framework 2022-01-27 16:14:02 -05:00
jeremystretch 083d1acb81 Closes #8453: Rename PrimaryModelFilterSet to NetBoxModelFilterSet & expose for plugins 2022-01-27 09:27:33 -05:00
jeremystretch 497afcc1e4 Rearrange plugins documentation 2022-01-25 13:53:31 -05:00
jeremystretch a74ed33b0e Move get_object() to BaseObjectView 2022-01-21 14:41:37 -05:00
jeremystretch 54834c47f8 Refactor generic views; add plugins dev documentation 2022-01-20 16:31:55 -05:00
jeremystretch 1a8f144f5c Include custom validation in BaseModel 2022-01-20 10:53:00 -05:00
jeremystretch b7682ca9e8 Fix documentation build 2022-01-20 09:27:37 -05:00
jeremystretch dd55226455 Draft documentation for model features 2022-01-19 16:47:41 -05:00
jeremystretch e35aa4bd1e Add documentation for modules 2021-12-20 10:31:18 -05:00
jeremystretch 93772e7265 Move remote authentication config parameters to a separate page 2021-11-04 15:41:46 -04:00
jeremystretch 04d145d6d8 Add summary page to release notes 2021-11-03 11:47:11 -04:00
jeremystretch b2dc6c5d3d Changelog & initial docs for #7649 2021-11-02 11:49:10 -04:00
jeremystretch 626a446c3d Docs & changelog for #5883 2021-10-26 15:40:34 -04:00
jeremystretch 2423e0872f Documentation & changelog for #6238 2021-10-25 09:52:08 -04:00
jeremystretch 3a3ed8bf64 Merge branch 'feature' into 3979-wireless 2021-10-21 13:19:52 -04:00
jeremystretch 4a7159389e Add wireless documentation 2021-10-20 11:22:56 -04:00
jeremystretch efb41b7433 Merge branch 'develop' into feature 2021-10-20 10:10:10 -04:00
jeremystretch 96015aa590 Fixes #7582: Fix rendering of CustomLink context data table 2021-10-19 15:31:07 -04:00
jeremystretch 487d67768b Cleanup and documentation for #1344 2021-10-18 16:20:31 -04:00
jeremystretch baf045aed6 Clean up documentation build warnings 2021-09-15 11:46:58 -04:00
Matt c221b9b4d4 Add UI development docs & update front-end scripts 2021-08-24 00:30:04 -07:00
Matt 82a209bc5b Remove screenshots from docs 2021-08-23 18:24:39 -07:00
jeremystretch c7e0abc3fb Merge v2.11.10 2021-07-28 16:26:04 -04:00
jeremystretch 78ebf04be0 Shrink NetBox logo on docs main page 2021-07-28 15:12:17 -04:00
jeremystretch 49a596073e Tweak GitHub repo icon & name in docs 2021-07-28 15:07:46 -04:00
jeremystretch 04d6a4a371 Introduce "adding models" section to development docs 2021-07-23 13:43:33 -04:00
Jeremy Stretch 7058d6ca5a
Closes #6328: Local docs build (#6769)
* Incorporate local documentation build in upgrade script

* Add docs build to CI

* Include docs build path in revision control

* Update footer dcos link

* Changelog for #6328

* Clean up errant links
2021-07-19 14:18:08 -04:00
jeremystretch 0d7309cb19 Add documentation for GraphQL API 2021-06-30 09:35:50 -04:00
jeremystretch 036a068b83 Update extras documentation 2021-06-24 08:37:06 -04:00
jeremystretch d87ec82fe3 Closes #6590: Introduce a nightly housekeeping command to clear expired sessions and change records 2021-06-11 10:44:17 -04:00
Jeremy Stretch 9839885198
Merge pull request #6576 from netbox-community/5963-custom-validation
Closes #5963: Custom model validation
2021-06-09 13:21:38 -04:00
jeremystretch 18472188b9 Renumber docs from v2.12 to v3.0 2021-06-09 13:20:46 -04:00
jeremystretch c69ef95c6a Document the custom validation feature 2021-06-09 12:09:30 -04:00
jeremystretch dfd42c9896 Document the new post_clean signal 2021-06-09 12:08:50 -04:00
Daniel Sheppard 744792452f
Closes: #5278 - Remove Secrets (#6397)
* Remove Secrets

* #5278: Remove secrets javascript from netbox core

* Remove userkey references

* Fix PEP8

* Remove a few more instances of secrets.  Rebundle

* Remove Secrets

Co-authored-by: checktheroads <matt@allroads.io>
2021-05-17 16:26:02 -04:00
checktheroads eea26d7ece add dark mode, screenshots, and social icons to docs 2021-04-26 01:16:23 -07:00