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
Jeremy Stretch
a3dbf4023c
Merge pull request #10597 from netbox-community/9072-plugin-view-tabs
...
#9072 : Custom model view tabs for plugins
2022-10-07 15:22:04 -04:00
jeremystretch
053c97b7a8
Docs and test for #9072
2022-10-07 15:03:52 -04:00
jeremystretch
1fc8de85a3
Add device NAPALM view tabs
2022-10-07 14:17:18 -04:00
jeremystretch
5e1a0733e4
Replace active_tab context for object views
2022-10-07 12:14:19 -04:00
jeremystretch
bfe26b46a6
Wrap model detail views with register_model_view()
2022-10-07 11:36:14 -04:00
jeremystretch
4c999daacd
Introduce ViewTab
2022-10-07 10:54:34 -04:00
Arthur Hanson
10bb8fa10a
9478 link peers to GraphQL ( #10574 )
...
* 9468 add link_peer to GraphQL
* 9478 add class_type
* 9478 fix tests
* 9478 fix tests
* 9478 fix tests
2022-10-06 16:50:53 -04:00
jeremystretch
0d7851ed9d
#9072 : Implement a mechanism for dynamically registering model detail views
2022-10-06 16:20:35 -04:00
Arthur Hanson
24ba840be7
10472 graphene 3 ( #10473 )
...
* update to Graphene 3.0.0
* 10472 exempt view permissions on tests
* 10472 exempt permission check on graphql tests
2022-10-05 15:50:17 -04:00
jeremystretch
10352ff5ad
Merge branch 'develop' into feature
2022-09-30 17:17:18 -04:00
Arthur Hanson
204c10c053
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
Arthur Hanson
af8bb0c4b9
10348 add decimal custom field ( #10422 )
...
* 10348 add decimal custom field
* 10348 fix tests
* 10348 add documentation
* Rearrange custom fields to be ordered consistently
* Rename number_field to integer_field for clarity
* Clean up validation logic
* Apply suggested changes from PR
* Store decimal custom field values natively
* Fix filter test
* Update custom field model migrations to use new encoder
Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-09-30 16:03:24 -04:00
jeremystretch
ada5c58acf
Closes #10529 : Run validation on each value of a multi-value filter
2022-09-30 15:05:13 -04:00
Jeremy Stretch
c95ad5b208
Merge pull request #10441 from netbox-community/9071-plugin-menu
...
9071 add header to plugin menu
2022-09-28 17:08:10 -04:00
jeremystretch
00d2dcda68
Refactor navigation resources and menu
2022-09-28 15:56:09 -04:00
Arthur Hanson
20e3fdc782
#9045 #9046 - remove legacy fields from Provider ( #10377 )
...
* #9045 - remove legacy fields from Provider
* Add safegaurd for legacy data to migration
* 9045 remove fields from forms and tables
* Update unrelated tests to use ASN model instead of Provider
* Fix migrations collision
Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-09-28 15:22:19 -04:00
jeremystretch
a0b17887fd
Fixes #10445 : Avoid rounding virtual machine memory values
2022-09-26 15:45:58 -04:00
Jeremy Stretch
c4b7ab067a
Fixes #10247 : Allow changing selected device/VM when creating a new component ( #10312 )
...
* Initial work on #10247
* Continued work on #10247
* Clean up component creation tests
* Move valdiation of replicated field to form
* Clean up ordering of fields in component creation forms
* Omit fieldset header if none
* Clean up ordering of fields in component template creation forms
* View tests should not move component templates to new device type
* Define replication_fields on VMInterfaceCreateForm
* Clean up expandable field help texts
* Update comments
* Update component bulk update forms & views to support new replication fields
* Fix ModularDeviceComponentForm parent class
* Fix bulk creation of VM interfaces (thanks @kkthxbye-code!)
2022-09-15 10:10:32 -04:00
Daniel Sheppard
25a474f9f7
Fix PEP8 errors
2022-09-02 14:05:38 -05:00
Daniel Sheppard
c42f7ab6d3
Fixes #9823 - Make validation error from NumericArrayField more verbose.
2022-09-02 13:48:15 -05:00
Andreas Nieß
cd6911f83c
Replace custom JSONField inspector with the one from drf_yasg
2022-08-29 07:52:29 +02:00
kkthxbye-code
e75e189933
Render "Set Null" button for custom fields
2022-08-26 14:32:17 +02:00
Arthur
41499b189c
#10094 fix Contact AddAnother
2022-08-22 16:33:50 -07:00
jeremystretch
c14a5973c7
Fixes #10089 : linkify template filter should escape object representation
2022-08-22 11:14:36 -04:00
jeremystretch
e4bbebf87a
Merge branch 'develop' into feature
2022-08-12 10:18:57 -04:00
jeremystretch
a9aaa8939c
Closes #9161 : Pretty print JSON custom field data when editing
2022-08-10 16:12:04 -04:00
jeremystretch
1b88b36820
Merge branch 'develop' into feature
2022-08-08 15:39:03 -04:00
jeremystretch
90317adae7
Clean up usages of mark_safe()
2022-08-08 10:47:07 -04:00
jeremystretch
29a611c729
Closes #9896 : Discontinue arbitrary use of OrderedDict
2022-08-01 16:51:44 -04:00
jeremystretch
562769fb89
Merge branch 'develop' into feature
2022-08-01 14:42:09 -04:00
jeremystretch
ff3fcb8134
#9871 : Tweak display of utilization graph value
2022-08-01 12:38:12 -04:00
jeremystretch
d4d73674fc
Fixes #9871 : Fix utilization graph value alignments
2022-08-01 11:54:39 -04:00
jeremystretch
1bbf5d214b
Closes #9881 : Increase granularity in utilization graph values
2022-08-01 10:23:18 -04:00
jeremystretch
9fe5f09742
Fixes #9891 : Ensure consistent ordering for tags during object serialization
2022-08-01 09:32:52 -04:00
jeremystretch
04fb0bd51c
Closes #9858 : ChangeLoggedModelFilterSet cleanup
2022-07-28 15:41:10 -04:00
jeremystretch
466931d2fb
Fixes #9829 : Arrange custom fields by group when editing objects
2022-07-26 12:41:51 -04:00
jeremystretch
d442f8fd60
Fixes #9843 : Fix rendering of custom field values (regression from #9647 )
2022-07-26 11:09:51 -04:00
jeremystretch
abf11fbcb8
Merge branch 'develop' into feature
2022-07-20 12:20:33 -04:00
jeremystretch
a7a20ad2ea
Fixes #9775 : Fix exception when viewing a report with no descripton
2022-07-19 13:01:21 -04:00
jeremystretch
3eb6b6c07f
Clean up core API imports
2022-07-13 16:18:55 -04:00
jeremystretch
a57398b0d6
Closes #9647 : Introduce customfield_value template tag
2022-07-01 14:45:22 -04:00
jeremystretch
c11af40a06
prepare_cloned_fields() should always return a QueryDict
2022-07-01 13:52:37 -04:00
jeremystretch
12c138b341
Closes #9074 : Enable referencing the current user when evaluating permission constraints
2022-07-01 13:34:10 -04:00
jeremystretch
c6dfdf10e5
Introduce qs_filter_from_constraints() for constructing object permission QS filters
2022-07-01 11:49:36 -04:00
jeremystretch
3a6f46bf38
Closes #9075 : Introduce AbortRequest exception for cleanly interrupting object mutations
2022-06-30 15:15:07 -04:00
jeremystretch
779969f150
Closes #9070 : Hide navigation menu items based on user permissions
2022-06-29 16:36:10 -04:00
jeremystretch
cd3111ca8d
Merge branch 'develop' into feature
2022-06-28 16:55:49 -04:00
jeremystretch
4315c4697c
Ignore default field values which reference ConfigItems when calculating migrations
2022-06-23 17:44:19 -04:00
jeremystretch
f9d81fd362
Closes #9414 : Add clone() method to NetBoxModel for copying instance attributes
2022-06-23 15:21:10 -04:00
jeremystretch
3c15419bd0
Introduce IPNetworkSerializer to serialize allowed token IPs
2022-06-22 21:51:43 -04:00
jeremystretch
a38a880e67
Refactor source IP resolution logic
2022-06-22 17:01:07 -04:00
jeremystretch
9c214622a1
Closes #4350 : Illustrate reservations vertically alongside rack elevations
2022-06-21 16:30:27 -04:00
jeremystretch
84f0561712
Initial work on half-height RUs
2022-06-20 12:05:06 -04:00
jeremystretch
ba12db3019
Merge branch 'develop' into feature
2022-06-20 11:50:23 -04:00
kkthxbye-code
7c79c90cd2
Sanitize HTML after rendering markdown
2022-06-17 23:16:57 +02:00
Jeremy Stretch
723954f0d9
Merge pull request #9547 from kkthxbye-code/fix-9533
...
Fixes #9533 - Move markdown documentation to docs
2022-06-17 13:14:44 -04:00
kkthxbye-code
cf76d5c46a
Move markdown documentation to docs
2022-06-16 22:26:37 +02:00
kkthxbye-code
d1aa820856
Add configuration option JINJA2_FILTERS
2022-06-10 23:13:49 +02:00
jeremystretch
32322e95b6
Merge branch 'develop' into feature
2022-05-31 15:50:23 -04:00
jeremystretch
b0a56a71bb
Fixes #9291 : Improve data validation for MultiObjectVar script fields
2022-05-31 13:37:14 -04:00
kkthxbye-code
6d3cded579
Make sure initial data is passed as array for DynamicModelChoiceFields
2022-05-27 20:41:50 +02:00
jeremystretch
db42589cca
Closes #5303 : A virtual machine may be assigned to a site and/or cluster
2022-05-26 14:59:49 -04:00
jeremystretch
b331f047af
Closes #8222 : Enable the assignment of a VM to a specific host device within a cluster
2022-05-25 16:01:10 -04:00
jeremystretch
e208404e3a
Merge branch 'develop' into feature
2022-05-12 14:16:01 -04:00
jeremystretch
ad12ad4a77
Closes #9221 : Add definition list support for Markdown
2022-05-12 11:05:34 -04:00
jeremystretch
37903776fd
Fixes #9296 : Improve Markdown link sanitization
2022-05-12 10:41:29 -04:00
jeremystretch
4fac10ac4a
Merge branch 'develop' into feature
2022-04-15 12:09:28 -04:00
jeremystretch
27a9313396
#9096 : Correct getattr() call
2022-04-12 08:13:08 -04:00
jeremystretch
517d0158b6
Fixes #9096 : Remove duplicate filter tag when filtering by "none"
2022-04-11 08:51:11 -04:00
jeremystretch
03535ce50b
Closes #8995 : Enable arbitrary ordering of REST API results
2022-04-08 16:00:33 -04:00
jeremystretch
830b56ac9e
Check that ChoiceSet CHOICES is mutable if key is set
2022-04-05 08:40:30 -04:00
jeremystretch
22908a12e9
Merge branch 'develop' into feature
2022-03-25 10:38:44 -04:00
jeremystretch
dde4495e20
#8232 : Cleanup & test fix
2022-03-25 09:59:58 -04:00
tranthang2404
1278429518
Closes #8232 : Add color show full 100% utilization ( #8816 )
...
* Closes #8232 : Add color show full 100% utilization
* change rounding
* change rounding
* fix hard code html
* format
2022-03-25 09:52:13 -04:00
jeremystretch
a5820e27a6
Fixes #8905 : Disable ordering by assigned tags to prevent erroneous results
2022-03-24 11:56:18 -04:00
jeremystretch
8d682041a4
Extend linkify() to accept an attr name for the link text
2022-03-22 15:17:34 -04:00
jeremystretch
75dae5fbe8
Introduce linkify template filter
2022-03-22 14:51:20 -04:00
jeremystretch
3dc671395e
Introduce local ChoiceField and MultipleChoiceField classes
2022-03-21 15:08:05 -04:00
jeremystretch
15005209d1
Merge branch 'develop' into feature
2022-03-18 13:34:31 -04:00
PieterL75
0da04232f3
Fixes #8813 Retain search value after submitting ( #8907 )
...
* Fixes #8813 Retain search value after submitting
* remove autofocus from searchbar
Co-authored-by: Pieter Lambrecht <pieter.lambrecht@sentia.com>
2022-03-18 13:23:39 -04:00
jeremystretch
76445bd19c
Move bulk edit/delete buttons to template tags
2022-03-10 16:27:53 -05:00
jeremystretch
5a3e99626d
Simplify add/import/export button invocation
2022-03-10 15:56:09 -05:00
jeremystretch
655bc49fad
Clean up form select widgets
2022-03-07 15:11:57 -05:00
jeremystretch
cd29293dd6
Merge v3.1.9
2022-03-07 10:55:30 -05:00
Jeremy Stretch
bffe63a233
Merge pull request #8793 from seros1521/fix_8715
...
Fixes #8715 : eliminates duplicates when used in many-to-many field constraints
2022-03-07 09:27:14 -05:00
jeremystretch
6423b386d2
Closes #8758 : Allow empty string substitution when renaming objects in bulk
2022-03-04 13:30:32 -05:00
seros1521
90257e9dee
Fixes #8715 : eliminates duplicates when used in many-to-many field constraints
...
When using permissions that use tags, a user may receive multiple permissions
of the same type if multiple tags are assigned to the device. This causes the
RestrictedQuerySet class to generate a query similar to this:
>>> dcim.models.Device.objects.filter(Q(tags__name='tag1')|Q(tags__name='tag2'))
<ConfigContextModelQuerySet [<Device: device1>, <Device: device1>]>
This query returns the same object twice if both tags are assigned to it. This
is due to the use of the django-taggit library. The library's documentation
describes this behavior as expected and suggests using an explicit distinct()
call in queries to avoid duplicates.
However, the use of DISTINCT in queries has a global side effect -
deduplication of responses, which may or may not be acceptable behavior
(depending on further use). Since it is not known how RestrictedQuerySet will
be used in the rest of the code, it was decided to dedupe using a subquery.
2022-03-04 14:37:05 +07:00
jeremystretch
21e3159711
Hide table checkboxes when no bulk actions are enabled
2022-03-02 16:13:59 -05:00
jeremystretch
5f8af6ad66
Closes #8779 : Enable the use of ChoiceSet by plugins
2022-03-02 11:43:28 -05:00
Peter Eckel
4dc428d75b
Closes #8764 : Correct the endpoint for plugin API view names
2022-03-01 13:11:49 +01:00
jeremystretch
d6c272cfd6
Fixes #8764 : Correct view name resolution for dynamic form fields
2022-02-28 15:17:49 -05:00
jeremystretch
6604ebfd01
Fix tag background color
2022-02-22 13:10:04 -05:00
jeremystretch
d9696ae34c
Fixes #8714 : Remove label from comments form field
2022-02-22 10:47:02 -05:00
jeremystretch
aa85ae89c1
Merge v3.1.8
2022-02-15 10:05:07 -05:00
Jeremy Stretch
c0a62793c4
Merge pull request #8441 from seulsale/8391-install-date-null
...
Fixes #8391 : Install date should appear empty when exported
2022-02-14 10:32:56 -05:00
Sergio Saucedo
f80452c7d9
Update import order
2022-02-14 00:47:48 -06:00
Sergio Saucedo
611f1b57dd
Implement custom DateTimeColumn improving null values handling
2022-02-14 00:44:50 -06:00
jeremystretch
e1ef911d40
#8564 : Fix deepmerge logic to allow nullifying dicts
2022-02-11 15:22:50 -05:00
jeremystretch
1319b62acb
Standardize on get_FOO_color() method for returning ChoiceField colors
2022-02-11 14:25:13 -05:00
jeremystretch
7c105019d8
Closes #8600 : Document built-in template tags & filters
2022-02-09 16:01:58 -05:00
jeremystretch
10e6ae2094
Introduce get_viewname() as a standard utility
2022-02-09 13:47:12 -05:00
jeremystretch
272d6e7437
Closes #8463 : Change the created field on all change-logged models from date to datetime
2022-02-08 14:41:44 -05:00
Sergio Saucedo
8fc605037a
Implement custom DateColumn improving null values handling
2022-02-08 01:26:26 -06:00
Jeremy Stretch
733a9bb2e1
Merge pull request #8510 from netbox-community/8032-django-40
...
Closes #8032 : Upgrade to Django 4.0
2022-02-07 11:47:38 -05:00
jeremystretch
ac1c0b0715
#8054 : Allow replacing default static choices
2022-02-03 13:52:42 -05:00
jeremystretch
630ff2abb4
Remove dependency on is_safe_url()
2022-02-03 12:58:54 -05:00
jeremystretch
478eefb74c
Merge v3.1.7
2022-02-03 12:55:34 -05:00
jeremystretch
24f48b11e6
Closes #8530 : Indicate CSV or YAML as format for "all data" export
2022-02-03 10:22:38 -05:00
jeremystretch
db3f478598
Closes #8517 : Render boolean custom fields as icons in object tables
2022-02-02 16:24:51 -05:00
jeremystretch
e20ac803f3
Fixes #8498 : Fix display of selected content type filters in object list views
2022-02-02 16:08:12 -05:00
jeremystretch
3621b1a0d0
Set model as attribute on bulk edit forms
2022-02-01 11:00:18 -05:00
jeremystretch
d1672f8818
Move nullable_fields out of Meta for bulk edit forms
2022-01-31 16:15:40 -05:00
jeremystretch
cf3ca5a661
Refactor & document supported form fields
2022-01-31 14:10:13 -05:00
jeremystretch
e4eee1cdfc
Clean up nullable fields declaration for bulk edit forms
2022-01-28 16:47:54 -05:00
jeremystretch
75aa1c7b80
Merge feature
2022-01-27 16:38:36 -05:00
jeremystretch
59d3f5c4ea
Split out NetBoxTable from BaseTable
2022-01-27 16:00:38 -05:00
jeremystretch
4a1b4e0485
Closes #8469 : Move BaseTable, columns to netbox core app
2022-01-27 15:00:10 -05:00
jeremystretch
38963e7960
Fixes #8377 : Fix calculation of absolute cable lengths when specified in fractional units
2022-01-18 11:09:12 -05:00
jeremystretch
3e3880823b
Merge v3.1.6
2022-01-17 11:12:54 -05:00
jeremystretch
2b31154834
Fixes #8358 : Fix inconsistent styling of custom fields on filter & bulk edit forms
2022-01-14 14:23:58 -05:00
jeremystretch
b07a7ba9bc
Fix display of custom object fields within tables
2022-01-12 17:07:54 -05:00
jeremystretch
c8713d94d8
Merge branch 'develop' into feature
2022-01-11 16:16:13 -05:00
jeremystretch
b584f09223
Fixes #8319 : Custom URL fields should honor ALLOWED_URL_SCHEMES config parameter
2022-01-11 15:32:04 -05:00
jeremystretch
7421e5f7d7
Fixes #8317 : Fix CSV import of multi-select custom field values
2022-01-11 14:52:47 -05:00
jeremystretch
21e0e6e495
Closes #6954 : Remember users' table ordering preferences
2022-01-10 14:03:07 -05:00
jeremystretch
72e17914e2
Closes #8296 : Allow disabling custom links
2022-01-10 12:11:37 -05:00
jeremystretch
aed23d61fc
Replace ButtonsColumn with ActionsColumn
2022-01-10 11:17:40 -05:00
jeremystretch
076ca46ab4
Closes #8302 : Linkify role column in device & VM tables
2022-01-10 09:48:14 -05:00
jeremystretch
8b07fbc554
Allow passing additional columns & specifying a sequence
2022-01-07 11:56:18 -05:00
jeremystretch
bff7400de4
Convert ActionsMenuItem to dataclass
2022-01-07 11:23:04 -05:00
jeremystretch
ededa69e4a
Only show relevant links for user permissions
2022-01-07 10:53:00 -05:00
jeremystretch
6d48ce4a25
Always include actions as a default column
2022-01-07 10:36:58 -05:00
jeremystretch
00a8fd654e
Refactor table utilities
2022-01-07 09:12:48 -05:00
jeremystretch
58f7eb319f
Initial work on #7679
2022-01-06 16:53:24 -05:00
jeremystretch
443b4ccc57
Initial work on #8231
2022-01-05 14:06:56 -05:00
Daniel Sheppard
88ac0f5d34
Work on #6221 - Make templatetags safe for consumption when using plugins and update ButtonColumn to use viewname helper.
2022-01-05 11:31:00 -06:00
jeremystretch
662cafe416
Form widgets & style cleanup
2022-01-04 15:01:16 -05:00
jeremystretch
0978777eec
Merge v3.1.4
2022-01-03 11:20:58 -05:00
jeremystretch
6cda55da06
Fixes #8187 : Fix rendering of tags column in object tables
2021-12-30 09:41:35 -05:00
jeremystretch
9f53497e39
Clean up & expand button color choices
2021-12-29 20:28:12 -05:00
jeremystretch
3bb485d0b8
Merge v3.1.3
2021-12-29 12:41:56 -05:00
jeremystretch
82a0240d2e
Closes #8182 : Introduce checkmark template tag
2021-12-29 10:26:42 -05:00
jeremystretch
9c9fcaf42f
Fixes #7290 : Defer loading API-backed form fields
2021-12-29 09:30:43 -05:00
jeremystretch
8ca09ec07f
Clean up form display
2021-12-28 08:54:03 -05:00
jeremystretch
e0cfd5e49b
Closes #2658 : Avalable VLANs API endpoint for VLAN groups
2021-12-23 10:14:28 -05:00
jeremystretch
2dd165bbef
Merge branch 'develop' into feature
2021-12-23 08:32:40 -05:00
jeremystretch
9dafb36c88
Introduce CustomLinkColumn
2021-12-22 20:56:11 -05:00
jeremystretch
f369b5f588
Reorganize & clean up templatetag templates
2021-12-22 15:05:24 -05:00
Jeremy Stretch
063abc8ef7
Merge pull request #8153 from davama/develop
...
Add missing HTTP_X_FORWARDED_FOR
2021-12-22 12:46:22 -05:00
jeremystretch
70f257b1ea
Introduce UserConfigForm for managing user preferences
2021-12-21 16:29:01 -05:00
jeremystretch
d275538116
Changelog & cleanup for #7246 , #8097
2021-12-21 11:53:31 -05:00
Jeremy Stretch
853a52f3ca
Merge branch 'develop' into fix-8097
2021-12-21 11:37:58 -05:00
jeremystretch
5e32c69e0e
Merge branch 'develop' into feature
2021-12-21 11:28:16 -05:00
jeremystretch
57a78b3cad
Clean up device/devicetype tab views
2021-12-21 10:28:28 -05:00
kkthxbye-code
3a54ecb522
Fix #8097 : Re-fix markdown table rendering
2021-12-20 23:31:24 +01:00
jeremystretch
71b4641e18
Merge v3.1.2
2021-12-20 16:28:11 -05:00
jeremystretch
e12da72615
Fixes #8101 : Preserve return URL when using "create and add another" button
2021-12-20 13:41:22 -05:00
jeremystretch
7735a539e9
Fixes #8088 : Improve legibility of text in labels with light-colored backgrounds
2021-12-16 12:44:18 -05:00
jeremystretch
d8be8e25a5
ChoiceSet cleanup
2021-12-16 10:31:32 -05:00
jeremystretch
1902ecb8ca
Drop as_dict() method from ChoiceSet
2021-12-16 10:22:05 -05:00
jeremystretch
124302908a
Support nested choice groups
2021-12-16 10:19:16 -05:00
jeremystretch
0d3b50a5e5
Support CSS class definition directly in CHOICES iterable
2021-12-16 10:03:23 -05:00
jeremystretch
419f86a4a5
#8054 : Support configurable status choices
2021-12-16 09:36:15 -05:00
jeremystretch
fd785fc9a5
Move speed select dropdown menu to widget template
2021-12-16 08:41:43 -05:00
jeremystretch
997e88af00
Merge branch 'develop' into feature
2021-12-15 10:53:21 -05:00
jeremystretch
91f33d3289
#8057 : Enable dynamic tables for object list views
2021-12-13 16:51:59 -05:00
jeremystretch
f2f6edabf9
Merge branch 'develop' into feature
2021-12-13 11:29:54 -05:00
jeremystretch
ee6e2e0af1
Fixes #7690 : Fix custom field integer support for MultiValueNumberFilter
2021-12-10 16:34:38 -05:00
jeremystretch
58095e1916
Fixes #8038 : Placeholder filter should display zero integer values
2021-12-10 15:38:51 -05:00
jeremystretch
7d99e15dc3
Closes #7743 : Remove legacy ASN field from site model
2021-12-09 17:01:27 -05:00
jeremystretch
8680981990
Closes #8031 : Remove automatic redirection of legacy slug-based URLs
2021-12-09 15:43:41 -05:00
jeremystretch
1df05715c2
Fixes #8033 : Fix display of zero values for custom integer fields in tables
2021-12-09 14:56:12 -05:00
jeremystretch
f94c1e91ea
Merge branch 'develop' into feature
2021-12-06 12:10:31 -05:00
jeremystretch
40c6b172f7
Fixes #7981 : Fix Markdown sanitization regex
2021-12-06 11:33:00 -05:00
jeremystretch
68f322a03b
Closes #7925 : Linkify contact phone and email attributes
2021-12-03 10:51:24 -05:00
jeremystretch
870aa3a265
Merge branch 'develop' into feature
2021-11-24 14:00:37 -05:00
Jeremy Stretch
c9b00891ed
Merge pull request #7861 from netbox-community/7657-threadsafe-changelog
...
Fixes #7657 : Make request/webhook caching thread-safe
2021-11-24 09:06:48 -05:00
Dave
038d7e0fa6
Add missing HTTP_X_FORWARDED_FOR
...
See discussion [here](https://github.com/netbox-community/netbox/discussions/7876 ) for background.
From the [doc](https://netbox.readthedocs.io/en/stable/customization/custom-scripts/ ) i should be able to access `META.HTTP_X_FORWARDED_FOR` but i was not able to since they were not being sent downstream
2021-11-19 15:20:00 -05:00