Commit Graph

88 Commits

Author SHA1 Message Date
Arthur Hanson
0602fea022 15803 localize help_text (#15804) 2024-04-22 11:42:20 -04:00
Jeff Gehlbach
99d707bfa5 Add link to plugin certification program details in Plugin module of docs. Fixes #15769 2024-04-19 08:49:13 -04:00
Markku Leiniö
4899561843 Closes #15727: Add tab template context variable in the plugin doc 2024-04-17 08:30:39 -04:00
Mattias L
928f77a747 Improved docs for how to register dashboard widgets (#14913) 2024-01-26 14:15:28 -05:00
Jeremy Stretch
faf0b98815 Closes #14889: Update source path for DataBackend class 2024-01-22 14:54:02 -05:00
Jeremy Stretch
e864b2cfeb #14036: Update import paths in example plugin code 2023-12-29 09:21:06 -05:00
Arthur Hanson
8cfb44fd4b 14132 Add EventRule - change webhook and add in script processing to events (#14267)
---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-11-30 16:36:33 -05:00
Jeremy Stretch
eeaa76226e v3.7 documentation updates 2023-11-28 13:11:30 -05:00
Jeremy Stretch
859bd6dc53 Closes #14173: Enable plugins to register columns on core tables (#14265)
* Closes #14173: Enable plugins to register columns on core tables

* Support translation for column name

* Document new registry store
2023-11-16 12:16:35 -05:00
Jeremy Stretch
1778437eb7 Closes #14134: Display additional object attributes in global search results (#14154)
* WIP

* Add display_attrs for all indexers

* Linkify object attributes

* Clean up prefetch logic

* Use tooltips for display attributes

* Simplify template code

* Introduce get_indexer() utility function

* Add  to examples in docs

* Use tooltips to display long strings
2023-11-09 16:21:09 -05:00
Jeremy Stretch
bbf9018b37 Closes #13381: Enable plugins to register custom data backends (#14095)
* Initial work on #13381

* Fix backend type display in table column

* Fix data source type choices during bulk edit

* Misc cleanup

* Move backend utils from core app to netbox

* Move backend type validation from serializer to model
2023-10-24 11:35:53 -04:00
Jeremy Stretch
3384aebce7 Closes #13638: Add optional staff_only attribute to MenuItem (#13639)
* Closes #13638: Add optional staff_only attribute to MenuItem

* Add missing file

* Add release note
2023-08-31 11:23:44 -04:00
Jeremy Stretch
87ed390c6a Misc docs cleanup for v3.6 2023-08-09 10:12:40 -04:00
Jeremy Stretch
3b3d813ab8 Update feature introduction flags 2023-08-01 14:25:25 -04:00
Jeremy Stretch
09795ead78 Merge branch 'develop' into feature 2023-07-11 10:09:26 -04:00
Arthur
8836074b5a 12809 document not to use underscores in model names 2023-06-29 15:49:47 -04:00
jeremystretch
43e7bfeb57 Closes #11766: Remove obsolete custom ChoiceField and MultipleChoiceField classes 2023-05-12 16:27:50 -04:00
jeremystretch
560145a98f Docs cleanup for v3.5 2023-04-18 16:58:53 -04:00
Jeremy Stretch
8e9ddd0189 Closes #12246: General cleanup of utilities modules
* Clean up base modules

* Clean up forms modules

* Clean up templatetags modules

* Replace custom simplify_decimal filter with floatformat

* Misc cleanup

* Merge ReturnURLForm into ConfirmationForm

* Clean up import statements for utilities.forms

* Fix field class references in docs
2023-04-14 10:33:53 -04:00
jeremystretch
6b54afddc3 Closes #12136: Extend object count & list widgets to support filters 2023-04-03 15:02:11 -04:00
jeremystretch
6f01eeb418 Closes #12107: Document support for plugin-provided dashboard widgets 2023-04-03 14:15:18 -04:00
jeremystretch
a74027fe30 Documentation cleanup 2023-03-20 16:37:47 -04: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
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
f402851177 Fix rendering of example code 2023-01-30 10:25:20 -05:00
jeremystretch
c4ca9e155f Document save_object() on BulkImportView 2022-11-16 08:47:45 -05:00
jeremystretch
3df5875a05 Clean up plugins documentation 2022-11-15 16:55:18 -05:00
jeremystretch
e5f3ff8ff9 #4347: Rename NetBoxModelCSVForm to NetBoxModelImportForm 2022-11-15 12:24:57 -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
Arthur Hanson
f7c8b37b69 4751 Enable plugins to inject content within object list views (#10901)
* 4751 add plugin buttons to list templates

* 4751 add plugin buttons to list templates

* 4751 add documentation

* 4751 fix object reference

* 4751 update docs
2022-11-14 13:51:58 -05:00
jeremystretch
980987e342 Closes #10543: Introduce get_plugin_config() utility function 2022-11-03 13:18:58 -04:00
jeremystretch
c18eb4f679 Closes #9887: Inspect docs_url property to determine link to model documentation 2022-10-27 09:44:09 -04:00
jeremystretch
2adc148744 Closes #10739: Introduce get_queryset() method on generic views 2022-10-25 11:33:20 -04:00
Jeremy Stretch
68cf700a3e 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
a8ec25d635 Merge branch 'develop' into feature 2022-10-20 16:07:03 -04:00
Arthur Hanson
597578f5c3 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
f63ee79a35 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
2a065f7603 Docs and test for #9072 2022-10-07 15:03:52 -04:00
jeremystretch
cd34f23465 Merge branch 'develop' into feature 2022-10-05 10:28:48 -04:00
jeremystretch
e3e3656a70 Closes #10346: Document how to access plugin config parameters 2022-10-03 13:56:46 -04:00
jeremystretch
be18d8e389 Docs cleanup 2022-09-30 17:18:12 -04:00
Jonathan Senecal
addd7fecfb Update plugins development docs 2022-09-30 17:18:12 -04:00
jeremystretch
222ee23c00 Add documentation for PluginMenu 2022-09-28 16:44:16 -04:00
Arthur
1baf35c9dc 9071 add documentation 2022-09-26 14:41:46 -07:00
jeremystretch
0bf0bf848f Closes #10314: Move clone() method from NetBoxModel to CloningMixin 2022-09-13 14:36:37 -04:00
itok
ff7b2ffa1a Update filtersets.md
corrected typos on the page,
an issue report has also been submitted at https://github.com/netbox-community/netbox/issues/10179
regards,
2022-08-28 13:53:53 +03:00
jeremystretch
31c2cd8301 Reorganize configuration docs 2022-07-29 15:10:50 -04:00
jeremystretch
6f95a14a0b Documentation cleanup 2022-07-11 17:29:25 -04:00
jeremystretch
3cd079c056 Closes #9647: Introduce customfield_value template tag 2022-07-01 14:45:22 -04:00