Commit Graph

100 Commits

Author SHA1 Message Date
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
jeremystretch
77168de155 Closes #9075: Introduce AbortRequest exception for cleanly interrupting object mutations 2022-06-30 15:15:07 -04:00
jeremystretch
54ba135f50 Document support for ObjectChildrenView 2022-06-29 14:30:47 -04:00
jeremystretch
565270ea75 Closes #9414: Add clone() method to NetBoxModel for copying instance attributes 2022-06-23 15:21:10 -04:00
jeremystretch
d18d9c5575 Closes #9451: Add export_raw argument for TemplateColumn 2022-05-31 12:20:39 -04:00
jeremystretch
df880c4fe6 Add form examples to plugin dev docs 2022-03-23 12:12:31 -04:00
jeremystretch
e1841e613c Introduce linkify template filter 2022-03-22 14:51:20 -04:00
jeremystretch
9038e7a5bc Closes #8794: Support dynamic configuration for JournalEntry kinds 2022-03-21 16:35:24 -04:00
jeremystretch
78e3dfe42b Document the use of WritableNestedSerializer 2022-03-21 15:22:45 -04:00
jeremystretch
59d50f26a6 Introduce local ChoiceField and MultipleChoiceField classes 2022-03-21 15:08:05 -04:00
jeremystretch
862568a2f7 Link to plugin tutorial in development docs 2022-03-18 13:43:58 -04:00
jeremystretch
46fb20c2d0 Rename OrderedDefaultRouter to NetBoxRouter & document for plugins 2022-03-11 15:59:03 -05:00
jeremystretch
a0aef91c89 Update plugins documentation 2022-03-11 15:47:52 -05:00
jeremystretch
c5579e4de8 Document support for NetBoxModelSerializer, NetBoxModelViewSet 2022-03-09 11:52:14 -05:00
jeremystretch
454e6c9675 Revise plugins documentation 2022-03-08 15:44:35 -05:00
jeremystretch
89f4d1c59f Support the direct use of TagFilter 2022-03-02 12:06:07 -05:00
jeremystretch
1402a9097b Closes #8779: Enable the use of ChoiceSet by plugins 2022-03-02 11:43:28 -05:00
jeremystretch
79ac649746 Closes #8747: Rename ObjectListView action_buttons to actions 2022-02-24 16:33:51 -05:00
jeremystretch
d8610ccec4 Improve ChoiceFieldColumn to not rely on model method to derive label color 2022-02-10 16:29:19 -05:00
jeremystretch
fa165df5fd #8334: Move object changelog & journaling to generic views 2022-02-09 16:24:10 -05:00
jeremystretch
9b4327e5d3 Closes #8600: Document built-in template tags & filters 2022-02-09 16:01:58 -05:00
jeremystretch
81964caa73 Document supported table columns 2022-02-09 14:31:40 -05:00
jeremystretch
02f4b84512 Move configure_table() logic to NetBoxTable.configure() 2022-02-09 14:10:54 -05:00
jeremystretch
f9894e7688 Document templates supported for plugin use 2022-02-08 12:14:37 -05:00
jeremystretch
8adc4c7fa2 Expose BaseObjectType and NetBoxObjectType for plugins 2022-02-04 15:07:35 -05:00
jeremystretch
41b804d350 Initial work on GraphQL 2022-02-04 15:06:58 -05:00
jeremystretch
510a5fbb69 Merge v3.1.7 2022-02-03 12:55:34 -05:00
jeremystretch
38afe6016f Refactor & document supported form fields 2022-01-31 14:10:13 -05:00
jeremystretch
ab6f19cf0c Establish 4 core forms in netbox.forms.base 2022-01-28 15:48:15 -05:00
jeremystretch
1623838945 Closes #8470: Expose NetBoxTable in the plugins framework 2022-01-27 16:14:02 -05:00
jeremystretch
32d2caf639 Closes #8453: Rename PrimaryModelFilterSet to NetBoxModelFilterSet & expose for plugins 2022-01-27 09:27:33 -05:00
jeremystretch
515c7f56a3 Rename PrimaryModel to NetBoxModel 2022-01-26 20:57:14 -05:00
jeremystretch
566b1b148b Closes #8451: Include ChangeLoggingMixin in BaseModel 2022-01-26 20:41:41 -05:00