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
jeremystretch
ecf5304a14
#10560 : Add new fields to indexers
2022-11-15 10:37:35 -05:00
Arthur
6eba5d4d96
10300 initial translation support use gettext
2022-11-11 08:47:29 -05:00
jeremystretch
ad40d42dc4
Closes #10710 : Add status field to WirelessLAN
2022-11-04 13:40:39 -04: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
Jeremy Stretch
bc6b5bc4be
Closes #10545 : Standardize description & comment fields on primary models ( #10834 )
...
* Standardize description & comments fields on primary models
* Update REST API serializers
* Update forms
* Update tables
* Update templates
2022-11-04 08:28:09 -04:00
jeremystretch
e2f5ee661a
Clean up redundant NestedGroupModel, OrganizationalModel fields
2022-11-03 13:59:44 -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
91c6bbcd78
Closes #10695 : Rename forms/models.py to forms/model_forms.py
2022-10-25 16:26:05 -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
jeremystretch
bd79a27e4d
Merge branch 'develop' into feature
2022-10-20 16:07:03 -04:00
Arthur Hanson
028b4b7ea7
10643 add fieldset to device role for improved add/edit form display ( #10680 )
...
* 10643 add fieldset to device role for improved add/edit form display
* 10643 update other forms
* 10643 update other forms
* Specify fieldsets for additional models
Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-10-19 08:35:23 -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
b0ba9bd83d
Closes #10608 : Register all core model views using register_model_view()
2022-10-07 17:17:58 -04:00
jeremystretch
a0bae06ff7
Replace static journaling, changelog URL paths with dynamic resolution
2022-10-06 16:21:23 -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
f51415cf2c
Replace unique_together with UniqueConstraints
2022-09-27 15:35:24 -04:00
jeremystretch
f70ef7a585
Changelog and cleanup for #9935
2022-08-24 16:44:24 -04:00
Arthur Hanson
eb2bf3469e
#9935 add new wireless choices for interfaces ( #10116 )
...
* #9935 add new wireless choices for interfaces
* #9935 add new wireless interfaces to constants
* #9935 oops - remove login.html changes
2022-08-24 16:36:38 -04:00
Jeremy Stretch
deee36651d
Merge pull request #10120 from arthanson/art-10086
...
fix for #10086 - change capitalization on wireless link table for Interface A, B and Auth Type
2022-08-24 08:46:24 -04:00
Arthur
ea1467add7
fix for #10086 - change capitalization on wireless link table for Interface A, B and Auth Type
2022-08-22 09:24:52 -07:00
Arthur
38a8ddcd77
#6454 fix merge conflicts
2022-08-18 15:31:54 -07:00
Arthur
928dff6b68
#6454 add prerequisite alert
2022-08-18 15:11:03 -07:00
jeremystretch
8cd5a24409
#9414 : Clean up clone_fields on all models
2022-08-11 09:58:37 -04:00
jeremystretch
3eb6b6c07f
Clean up core API imports
2022-07-13 16:18:55 -04:00
jeremystretch
8a8ada8529
#9177 : Use TenancyColumnsMixin (from #9686 )
2022-07-11 16:14:46 -04:00
jeremystretch
25ed3390cb
Merge branch 'feature' into 9102-cabling
2022-06-27 12:12:34 -04:00
jeremystretch
7dd5f9e720
Closes #9177 : Add tenant assignment for wireless LANs & links
2022-06-27 11:30:52 -04:00
jeremystretch
3362bc3106
Remove link peer fields from cable termination models
2022-06-01 16:48:56 -04:00
jeremystretch
951627093c
Test cleanup
2022-05-13 15:34:01 -04:00
jeremystretch
3a461d0279
Update Cable instantiations to match new signature
2022-05-13 09:33:00 -04:00
jeremystretch
0301aec409
Closes #9260 : Apply user preferences to tables under object detail views
2022-05-04 15:46:13 -04:00
jeremystretch
118bf5152c
Fixes #9132 : Limit location options by selected site when creating a wireless link
2022-04-18 09:02:03 -04:00
jeremystretch
78836389f0
Changelog for #8543 & cleanup
2022-04-14 08:37:58 -04:00
Tyler Bigler
1a374a1669
Add filters to VLAN selection group
2022-04-14 00:58:17 -04:00
jeremystretch
c1b7f09530
Ensure legacy data checks run before other migrations
2022-04-05 15:56:21 -04:00
jeremystretch
ba1e6e91b9
Rename ObjectEditView.model_form to form
2022-03-21 10:22:30 -04:00
jeremystretch
245cff887c
Move q filter to NetBoxModelFilterSet
2022-03-11 16:16:58 -05:00
jeremystretch
59aba52b03
Rename OrderedDefaultRouter to NetBoxRouter & document for plugins
2022-03-11 15:59:03 -05:00
jeremystretch
ffc29d14a8
Add tags field to NetBoxModelForm
2022-03-10 15:08:23 -05:00
jeremystretch
bbdeae0ed9
Move CustomFieldModelViewSet functionality into NetBoxModelViewSet
2022-03-09 11:44:55 -05:00
jeremystretch
a11abf87ec
Refactor API serializers
2022-03-09 10:59:22 -05:00
jeremystretch
d4d2af46ac
Refactor tables modules
2022-03-03 15:16:23 -05:00
jeremystretch
fab4d95156
Merge branch 'develop' into feature
2022-02-25 14:06:45 -05:00
Djothi Carpentier
06eacb5a5c
Add description filter to WirelessLAN & WirelessLink
2022-02-25 18:15:33 +01:00
jeremystretch
1319b62acb
Standardize on get_FOO_color() method for returning ChoiceField colors
2022-02-11 14:25:13 -05:00
jeremystretch
71d3dc6e44
Improve ChoiceFieldColumn to not rely on model method to derive label color
2022-02-10 16:29:19 -05:00
jeremystretch
d42c59792f
#8334 : Move object changelog & journaling to generic views
2022-02-09 16:24:10 -05:00
jeremystretch
23a80770e1
Move configure_table() logic to NetBoxTable.configure()
2022-02-09 14:10:54 -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
jeremystretch
dae5c94be0
Expose BaseObjectType and NetBoxObjectType for plugins
2022-02-04 15:07:35 -05:00
jeremystretch
60e87cd496
Enable the use of fieldsets on bulk edit forms
2022-02-04 09:59:53 -05:00
jeremystretch
5af18c2d8a
Move pk field declaration under NetBoxModelBulkEditForm
2022-02-01 11:40:23 -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
353e132cf9
Replace filter_groups with fieldsets on filter forms
2022-01-31 16:03:26 -05:00
jeremystretch
ccb3a75281
Move fieldsets out of Meta for model forms
2022-01-31 15:52:36 -05:00
jeremystretch
e4eee1cdfc
Clean up nullable fields declaration for bulk edit forms
2022-01-28 16:47:54 -05:00
jeremystretch
f4776731ec
Establish 4 core forms in netbox.forms.base
2022-01-28 15:48:15 -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
083d1acb81
Closes #8453 : Rename PrimaryModelFilterSet to NetBoxModelFilterSet & expose for plugins
2022-01-27 09:27:33 -05:00
jeremystretch
c5650bb278
Rename PrimaryModel to NetBoxModel
2022-01-26 20:57:14 -05:00
jeremystretch
e4abbfb2c6
Closes #8454 : Set DEFAULT_AUTO_FIELD to BigAutoField
2022-01-25 17:37:06 -05:00
jeremystretch
acc9ca7d7d
Move TagFilter to PrimaryFilterSet
2022-01-25 16:11:49 -05:00
jeremystretch
cdae0c2bef
Remove extras_features() decorator
2022-01-19 15:16:10 -05:00
jeremystretch
3e3880823b
Merge v3.1.6
2022-01-17 11:12:54 -05:00
Jason Yates
381796e708
Add created & last updated as available fields to all tables
...
Adds two fields to all relevant tables to allow the addition of Created & Last Updated columns.
All tables with a Configure Table option were updated.
Some sections reformatted to comply with E501 line length as a result of changes
2022-01-13 09:22:32 +00:00
jeremystretch
c8713d94d8
Merge branch 'develop' into feature
2022-01-11 16:16:13 -05:00
jeremystretch
21e0e6e495
Closes #6954 : Remember users' table ordering preferences
2022-01-10 14:03:07 -05:00
jeremystretch
6d48ce4a25
Always include actions as a default column
2022-01-07 10:36:58 -05:00
jeremystretch
58f7eb319f
Initial work on #7679
2022-01-06 16:53:24 -05:00
jeremystretch
4c1199e009
Fixes #8255 : Fix bulk editing of authentication parameters for wireless LANs and links
2022-01-06 08:54:05 -05:00
jeremystretch
3bb485d0b8
Merge v3.1.3
2021-12-29 12:41:56 -05:00
jeremystretch
9c9fcaf42f
Fixes #7290 : Defer loading API-backed form fields
2021-12-29 09:30:43 -05:00
jeremystretch
2dd165bbef
Merge branch 'develop' into feature
2021-12-23 08:32:40 -05:00
jeremystretch
fb4511d099
Fixes #8140 : Restore missing fields on wireless LAN & link REST API serializers
2021-12-22 10:55:06 -05:00
jeremystretch
71b4641e18
Merge v3.1.2
2021-12-20 16:28:11 -05:00
jeremystretch
b8b485af4d
Changelog & PEP8 cleanup for #7999
2021-12-20 14:17:52 -05:00
Jeremy Stretch
892d6b55ec
Merge pull request #8000 from joni1993/more-channels
...
feat: add 6GHz & 60Ghz channels
2021-12-20 14:16:12 -05:00
Christian Jonak
cab07c7c4b
fix: non 20Mhz-wide channel centers
2021-12-16 19:28:39 +01:00
Christian Jonak
68eb6fc3c1
fix: use center freq instead of beginning of freq range for 6Ghz
2021-12-16 18:14:56 +01:00
jeremystretch
0d3b50a5e5
Support CSS class definition directly in CHOICES iterable
2021-12-16 10:03:23 -05:00
jeremystretch
988383648c
Fixes #8001 : Correct verbose name for wireless LAN group model
2021-12-08 10:45:27 -05:00
Christian Jonak-Möchel
cc50e22928
feat: add 6GHz & 60Ghz channels
2021-12-07 15:14:17 +01:00
jeremystretch
b7c9ca720a
Closes #7886 : Introduce a base FilterForm class
2021-11-19 15:12:45 -05:00
jeremystretch
beca978af5
Clean up imports
2021-11-18 16:48:29 -05:00
jeremystretch
ed2231e34b
Apply BootstrapMixin to CustomFieldModelFilterForm
2021-11-18 16:27:06 -05:00
jeremystretch
55049bb303
Apply BootstrapMixin to BulkEditForm
2021-11-18 16:23:26 -05:00
jeremystretch
c210c6937b
Apply BootstrapMixin to CustomFieldModelForm
2021-11-18 16:19:25 -05:00
jeremystretch
d529c1b5b3
Housekeeping: Use RestrictedQuerySet for default manager on base models
2021-11-11 15:04:22 -05:00
jeremystretch
bbb98083eb
Clean up filtersets
2021-11-03 16:58:31 -04:00
jeremystretch
704fdf9ccd
Optimize wireless migrations
2021-11-01 11:23:58 -04:00
jeremystretch
68081fb9a2
Cleanup & API changelog for #3979
2021-10-25 11:07:15 -04:00
jeremystretch
c06b3374ce
#6497 : Add missing tag fields to filter forms
2021-10-21 15:29:52 -04:00
jeremystretch
1c6a84659c
#3979 cleanup
2021-10-21 14:20:47 -04:00
jeremystretch
3a3ed8bf64
Merge branch 'feature' into 3979-wireless
2021-10-21 13:19:52 -04:00
jeremystretch
6a4becfb46
Add tests for wireless
2021-10-20 13:34:39 -04:00
jeremystretch
a66501250e
Add wireless authentication attributes
2021-10-20 10:58:15 -04:00
jeremystretch
717fd760df
#3979 : UI cleanup
2021-10-15 12:24:07 -04:00
jeremystretch
075f4907ef
Store channel frequency & width as independent values
2021-10-15 11:39:53 -04:00
jeremystretch
b7317bfe29
Remove choices from rf_channel_width
2021-10-15 10:06:49 -04:00
jeremystretch
01d3c062f2
Move wireless field choices to wireless app
2021-10-15 10:00:03 -04:00
jeremystretch
6af5a884cd
Merge branch 'feature' into 3979-wireless
2021-10-14 16:32:24 -04:00
jeremystretch
64dad7dbd2
Optimize migrations
2021-10-14 15:11:03 -04:00
jeremystretch
fb9da87abb
Add devices to WirelessLinkForm
2021-10-14 10:02:05 -04:00
jeremystretch
bdf359470e
Include WirelessLAN attached interfaces
2021-10-14 09:48:12 -04:00
jeremystretch
01f791a44e
Add WirelessLANGroup model
2021-10-13 16:40:12 -04:00
jeremystretch
95ed07a95e
Add status field to WirelessLink
2021-10-13 14:31:30 -04:00
jeremystretch
ac2cd552b9
Rename cable_peer fields to link_peer
2021-10-13 14:04:53 -04:00
jeremystretch
1c73bd5079
Resolve test errors
2021-10-13 13:39:14 -04:00
jeremystretch
138af27bf7
Record wireless links as part of cable path
2021-10-13 13:28:14 -04:00
jeremystretch
445e16f668
Reference WirelessLink on both attached Interfaces
2021-10-13 11:54:52 -04:00
jeremystretch
90e9f34494
Add WirelessLink model
2021-10-13 09:46:17 -04:00
jeremystretch
5271680483
Rename SSID model to WirelessLAN
2021-10-12 17:06:31 -04:00
jeremystretch
38f6d22d2d
Enable attachment of wireless interfaces to SSIDs
2021-10-12 13:48:06 -04:00
jeremystretch
8b80b0c3df
Introduce the wireless app and SSID model
2021-10-12 12:48:36 -04:00