Jeremy Stretch
1a2dae3471
Closes #8184 : Enable HTMX for embedded tables ( #11518 )
...
* Enable HTMX rendering for embedded tables
* Start converting embedded tables to use HTMX (WIP)
* Additional table conversions (WIP)
* Standardize HTMX usage for nested group models
* Enable HTMX for additional emebedded tables
* Fix HTMX table rendering for ObjectChildrenView
* Standardize usage of inc/panel_table.html
* Hide selection boxes in embedded tables
2023-02-19 20:09:51 -05:00
jeremystretch
56c7a238a4
Fixes #11683 : Fix CSV header attribute detection when auto-detecting import format
2023-02-07 17:24:26 -05:00
Maximilian Wilhelm
699edd049c
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
5f7e310305
Fixes #11555 : Avoid inadvertent interpretation of search query as regular expression under global search
2023-01-20 16:47:19 -05:00
jeremystretch
5911041777
#11516 : Tweak fix to ensure proper highlighting
2023-01-20 13:43:47 -05:00
jeremystretch
cc350165dd
Fixes #11544 : Catch ValidationError exception when filtering by invalid MAC address
2023-01-20 12:06:34 -05:00
Abhimanyu Saharan
426bc15065
fixed AttributeError: object of class Schema has no attribute fields
2023-01-17 21:12:06 -05:00
kkthxbye-code
df5febf6e7
Add re.escape to highlight_string
2023-01-17 20:42:17 -05:00
jeremystretch
d7c37d9dd6
Fixes #11483 : Apply configured formatting to custom date fields
2023-01-13 08:23:57 -05:00
jeremystretch
0669fda1fd
Fixes #11384 : Correct current time display on script & report forms
2023-01-06 09:42:13 -05:00
Arthur Hanson
f8685ad7aa
11175 fix cloning special chars in fields ( #11181 )
...
* 11175 fix cloning special chars in fields
* 11175 fix cloning special chars in fields
2022-12-15 13:07:55 -05:00
jeremystretch
80ced6b782
Closes #11163 : Auto-detect data format during bulk import
2022-12-14 10:09:59 -05:00
jeremystretch
47dfb89c52
Relocate ImportFormatChoices
2022-12-14 09:30:10 -05:00
jeremystretch
758030733c
#8366 : Misc cleanup
2022-12-12 15:27:37 -05:00
jeremystretch
83a0576ca4
#9072 : Add weight parameter to influence ViewTab ordering
2022-12-09 14:50:13 -05:00
jeremystretch
5a77791f9d
Merge branch 'develop' into feature
2022-12-08 09:31:22 -05:00
Arthur Hanson
2577f3a786
11000 improve yaml import ( #11075 )
...
* 11000 improve yaml import
* 11000 add commenting
* 11000 add commenting
2022-12-02 08:34:24 -05:00
Arthur
826a1714c3
11041 return power percentage with 1 decimal place
2022-12-01 15:41:15 -05:00
jeremystretch
d0e0c2ff8b
Merge branch 'develop' into feature
2022-11-30 16:21:20 -05:00
Arthur
f59c6699f6
11025 fix error tag toast
2022-11-29 09:36:48 -05:00
jeremystretch
39732fa861
Merge branch 'develop' into feature
2022-11-29 09:19:11 -05:00
jeremystretch
80f5eeacdd
Fix issues loading demo data
2022-11-29 09:18:03 -05:00
jeremystretch
f56e3eb784
Fixes #8058 : Display server-side form errors inline with fields
2022-11-22 12:02:21 -05:00
jeremystretch
c3dcd8937f
Merge branch 'develop' into feature
2022-11-22 10:08:23 -05:00
jeremystretch
90f15b8d55
Fixes #10938 : render_field template tag should respect label kwarg
2022-11-21 09:49:30 -05:00
jeremystretch
150cb772fe
Fixes #10984 : Fix navigation menu expansion for plugin menus comprising multiple words
2022-11-21 08:38:44 -05:00
jeremystretch
e494d7bb22
Fixes #10982 : Catch NoReverseMatch exception when rendering tabs with no registered URL
2022-11-21 08:06:12 -05:00
jeremystretch
84c0c45da9
Fixes #10980 : Fix view tabs for plugin objects
2022-11-18 16:26:08 -05:00
jeremystretch
0885333b11
Fixes #9223 : Fix serialization of array field values in change log
2022-11-18 11:24:14 -05:00
jeremystretch
d3911e2a4c
Fixes #9878 : Fix spurious error message when rendering REST API docs
2022-11-17 15:13:37 -05:00
jeremystretch
2f96fdd135
Merge branch 'develop' into feature
2022-11-16 11:42:32 -05:00
jeremystretch
540bba4544
Closes #10920 : Include request cookies when queuing a custom script
2022-11-16 10:37:06 -05:00
jeremystretch
87fd09ca8b
Cleanup for #9654
2022-11-15 15:30:39 -05:00
jeremystretch
23c0ca456f
#4347 : Rename NetBoxModelCSVForm to NetBoxModelImportForm
2022-11-15 12:24:57 -05:00
jeremystretch
355678274d
#9623 : Add slug field to SavedFilter
2022-11-15 10:44:12 -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
Arthur
6eba5d4d96
10300 initial translation support use gettext
2022-11-11 08:47:29 -05:00
Arthur Hanson
93e7457e0d
4347 Add JSON/YAML import support for all objects ( #10367 )
...
* 4347 initial code for json import
* 4347 initial code for json import
* Clean up form processing logic
* Consolidate import forms
* Consolidate object import/update logic
* Clean up bulk import view
Co-authored-by: jeremystretch <jstretch@ns1.com >
2022-11-10 11:01:52 -05:00
Arthur Hanson
cdeb65e2fb
7376 csv tags ( #10802 )
...
* 7376 add tags to CSV import
* 7376 change help text
* 7376 validate tags
* 7376 fix tests
* 7376 add tag validation tests
* Introduce CSVModelMultipleChoiceField for CSV import tag assignment
* Clean up CSVImportTestCase
Co-authored-by: jeremystretch <jstretch@ns1.com >
2022-11-04 10:50:43 -04:00
jeremystretch
0ad7ae2837
Closes #10698 : Omit app label from content type in table columns
2022-11-02 16:26:26 -04:00
jeremystretch
81c0dce5a3
Closes #10697 : Move application registry into core app
2022-11-02 15:25:22 -04:00
Jeremy Stretch
484efdaf75
Closes #9623 : Implement saved filters ( #10801 )
...
* Initial work on saved filters
* Return only enabled/shared filters
* Add tests
* Clean up filtering of usable SavedFilters
2022-11-02 12:27:53 -04:00
Arthur Hanson
cb815ede60
7961 CSV bulk update ( #10715 )
...
* 7961 add csv bulk update
* temp checkin - blocked
* 7961 bugfix and cleanup
* 7961 change to id, add docs
* 7961 add tests cases
* 7961 fix does not exist validation error
* 7961 fix does not exist validation error
* 7961 update tests
* 7961 update tests
* 7961 update tests
* 7961 update tests
* 7961 update tests
* 7961 update tests
* 7961 update tests
* 7961 update tests
* 7961 update tests
* 7961 make test cases more explicit
* 7961 make test cases more explicit
* 7961 make test cases more explicit
* 7961 make test cases more explicit
* 7961 make test cases more explicit
* 7961 make test cases more explicit
* 7961 make test cases more explicit
* 7961 optimize loading csv test data
* 7961 update tests remove redundant code
* 7961 avoid MPTT issue in test cases
2022-10-27 13:10:18 -04:00
jeremystretch
dbe66596f9
Closes #9887 : Inspect docs_url property to determine link to model documentation
2022-10-27 09:44:09 -04:00
jeremystretch
16919cc1d9
Closes #10761 : Enable associating an export template with multiple object types
2022-10-26 13:30:45 -04: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
Arthur Hanson
9ca4c7315b
10595 extend graphql relationships ( #10603 )
...
* 9817 add graphql l2vpntermination assigned_object
* 9817 add graphql ipaddressassignment assigned_object
* 9817 ipan graphql gfk
* 9817 dcim graphql gfk
* 9817 dcim graphql gfk
* 9817 fix tests
* 10595 cable a_terminations to graphql
* 10595 add contacts to graphql
* 10595 move contacts to Provider
2022-10-11 12:26:18 -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
656f0b7d82
#9072 : Add hide_if_empty argument to ViewTab
2022-10-10 08:11:29 -04:00
jeremystretch
b0ba9bd83d
Closes #10608 : Register all core model views using register_model_view()
2022-10-07 17:17:58 -04:00