Kim Johansson
3c2a55a521
Add TenantGroupColumn to display Tenant Group on tables
...
Works the same as the existing TenantColumn, but displats the Tenant Group of
the Tenant.
Views should prefetch the Tenants Group for this to be efficient in large
tables.
2022-07-10 11:58:45 +02:00
jeremystretch
7dd5f9e720
Closes #9177 : Add tenant assignment for wireless LANs & links
2022-06-27 11:30:52 -04:00
jeremystretch
c81c3d11ed
Fixes #9495 : Correct link to contacts in contact groups table column
2022-06-09 10:20:44 -04:00
jeremystretch
36c65b7b22
Closes #8893 : Include count of IP ranges under tenant view
2022-06-07 11:12:40 -04:00
kkthxbye-code
8ad203f97a
Added contact_group to region, site, manufacturer, tenant filters
2022-05-14 17:53:40 +02:00
kkthxbye-code
aba4e03d3b
Add contact_group to ContactModelFilterSet
2022-05-14 17:48:37 +02:00
jeremystretch
39a9ebaeee
Fixes #9313 : Remove HTML code from CSV output of many-to-many relationships
2022-05-06 10:26:02 -04:00
jeremystretch
422ec7ecec
Fixes #9311 : Permit creating contact assignment without a priority via the REST API
2022-05-06 09:25:40 -04:00
jeremystretch
0301aec409
Closes #9260 : Apply user preferences to tables under object detail views
2022-05-04 15:46:13 -04:00
jeremystretch
c1b7f09530
Ensure legacy data checks run before other migrations
2022-04-05 15:56:21 -04:00
jeremystretch
cdacd2a951
Closes #8593 : Add link field to contact model
2022-03-30 16:19:12 -04:00
jeremystretch
ba1e6e91b9
Rename ObjectEditView.model_form to form
2022-03-21 10:22:30 -04:00
jeremystretch
8d53b46e82
Merge branch 'develop' into feature
2022-03-18 13:17:11 -04:00
Alex Gittings
50bc0caccf
Fix issues with ordering and add field_groups
2022-03-18 14:58:51 +00:00
jeremystretch
6170138124
Rename ActionsColumn sequence to actions
2022-03-14 13:45:21 -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
Alex Gittings
342f1d31be
fix pycodestyle issues
2022-03-09 17:55:45 +00:00
Alex Gittings
ef6576bdd6
merge develop into issue
2022-03-09 17:47:58 +00:00
Alex Gittings
27dab262de
add columns for each model table that has contacts
2022-03-09 17:35:25 +00:00
Alex Gittings
412c1df15a
acidentally removed NestedContactAssignmentSerializer in previous commit
2022-03-09 16:48:29 +00:00
Alex Gittings
73af3ba095
remove contacts from api endpoints
2022-03-09 16:45:19 +00: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
c137fa2022
Add description filter for Tenant & ContactRole
2022-02-25 18:15:33 +01:00
Alex Gittings
36d6dd1ca9
Fixes #8645 ; Allow filtering on core models in the UI and API for contact assignments
2022-02-24 17:08:38 +00: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
478eefb74c
Merge v3.1.7
2022-02-03 12:55:34 -05:00
jeremystretch
8545a547b9
Closes #8494 : Include locations count under tenant view
2022-02-01 16:31:34 -05:00
jeremystretch
5af18c2d8a
Move pk field declaration under NetBoxModelBulkEditForm
2022-02-01 11:40:23 -05:00
jeremystretch
d38620bad2
Fix bulk nullification of custom fields
2022-02-01 11:31:11 -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
Johannes Erwerle
8df382d976
Fixes #8476 : Bring the ASN Web UI up to the standard set by other objects
2022-01-28 11:58:29 +01: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
571e9801f3
Closes #8195 : Ensure all GenericForeignKey ID fields employ PositiveBigIntegerField
2022-01-24 16:02:54 -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
Jeremy Stretch
5a4fb0323b
Merge pull request #8286 from jasonyates/8285-cluster-count-tenant
...
Fixes #8285 tenant cluster count
2022-01-10 08:34:02 -05:00
jeremystretch
e84a282aa6
Revert REST API changes from #8284
2022-01-10 08:24:45 -05:00
Jason Yates
184b1055dc
Fixes #8285 - Cluster count missing from tenant api output
2022-01-07 20:17:43 +00:00
Jason Yates
eaec25e6c2
Fixes #8262 - Add Cable stat for Tenant
2022-01-07 20:02:45 +00:00
jeremystretch
8b07fbc554
Allow passing additional columns & specifying a sequence
2022-01-07 11:56:18 -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
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
2dad35186a
Generic view cleanup
2021-12-14 11:28:13 -05:00
jeremystretch
f2f6edabf9
Merge branch 'develop' into feature
2021-12-13 11:29:54 -05:00
jeremystretch
bfc1cab6df
Fixes #8051 : Contact group parent assignment should not be required under REST API
2021-12-13 08:22:48 -05:00
jeremystretch
88fae2171d
Closes #7691 : Remove field_order from filterset forms
2021-12-10 08:57:19 -05:00
jeremystretch
8680981990
Closes #8031 : Remove automatic redirection of legacy slug-based URLs
2021-12-09 15:43:41 -05:00
jeremystretch
09b612546b
Omit actions column from non-paginated child object tables
2021-12-03 11:07:16 -05:00
jeremystretch
a99d14c13f
Closes #7924 : Include child groups on contact group view
2021-12-03 11:00:00 -05:00
jeremystretch
68f322a03b
Closes #7925 : Linkify contact phone and email attributes
2021-12-03 10:51:24 -05: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
34f24de3e4
Fixes #7757 : Fix 404 when assigning multiple contacts/FHRP groups in succession
2021-11-09 17:08:28 -05:00
jeremystretch
2ce8ef5704
Fixes #7771 : Group assignment should be optional when creating contacts via REST API
2021-11-08 08:34:10 -05:00
jeremystretch
54233aba1b
Remove extraneous slug field from contact import form
2021-11-04 14:23:24 -04:00
jeremystretch
2e75a111ed
Fix return URLs for contact assignment edit/delete
2021-11-04 14:09:12 -04:00
jeremystretch
e4b0359b8e
Include action buttons on contact assignments table
2021-11-04 14:01:07 -04:00
jeremystretch
803e0bfe72
#1344 : Show object type & name when assigning a contact
2021-11-04 13:44:02 -04:00
jeremystretch
ff3edc9889
Add NestedContactAssignmentSerializer; add contact assignment API tests
2021-11-04 11:55:00 -04:00
jeremystretch
8bb9f4b8a2
#1344 : Add missing object field to ContactAssignmentSerializer
2021-11-03 16:27:43 -04:00
jeremystretch
2c2e37e9f0
Merge branch 'develop' into feature
2021-11-03 10:29:02 -04:00
Rhys Barrie
cef0d168a5
Closes #6930 : Add 'ID' column to object tables ( #7673 )
...
* netbox-community/netbox#6930 : Add ID column to devices, device types, and components
* netbox-community/netbox#6930 : Add ID column to sites, racks, and tenants
* netbox-community/netbox#6930 : Add ID column to power, providers, TODO circuits
* netbox-community/netbox#6930 : Add ID column to virtualization tables
* netbox-community/netbox#6930 : Add ID column to IPAM tables
* netbox-community/netbox#6930 : Add ID column to 'extras' tables
* netbox-community/netbox#6930 : Move ID column to BaseTable class
* netbox-community/netbox#6930 : Don't linkify ID in device component template tables
* netbox-community/netbox#6930 : Don't show ID column in interface/console/power connections tables
* netbox-community/netbox#6930 : Don't show ID column in device component template tables
* netbox-community/netbox#6930 : Add ID column to ObjectJournal, DeviceImport, and Circuit tables
* Exclude ID column from selected tables
* netbox-community/netbox#6930:revert default columns on ObjectChangeTable, not configurable
* netbox-community/netbox#6930 : Add object ID to tagged objects table in tag detail view
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2021-11-02 16:21:34 -04:00
jeremystretch
e0230ed104
Remove errant URL path
2021-11-01 13:32:02 -04:00
jeremystretch
a3e7cab935
Split tenancy models into separate modules
2021-10-21 15:33:58 -04:00
jeremystretch
c06b3374ce
#6497 : Add missing tag fields to filter forms
2021-10-21 15:29:52 -04:00
jeremystretch
cfb3897047
Add tags to organizational & nested group models
2021-10-21 10:51:02 -04:00
jeremystretch
554b44b9f2
Fix string repr for ContactAssignment
2021-10-18 16:47:49 -04:00
jeremystretch
b44a5ea609
Prevent duplicate contact assignments
2021-10-18 16:33:31 -04:00
jeremystretch
487d67768b
Cleanup and documentation for #1344
2021-10-18 16:20:31 -04:00
jeremystretch
f485a47b48
Tweak uniqueness constraints
2021-10-18 15:41:29 -04:00
jeremystretch
faf1e6a43d
Add contact/role assignment tables
2021-10-18 15:30:28 -04:00
jeremystretch
f193f0d3f9
Add contact assignments to models
2021-10-18 15:09:57 -04:00
jeremystretch
2e78568d4d
Initial work on contacts
2021-10-18 13:59:05 -04:00
jeremystretch
047425dadd
Closes #7389 : Linkify tenant group in tenants list
2021-09-28 16:28:11 -04:00
jeremystretch
dba9602c75
Refactor tenancy forms
2021-09-27 17:19:05 -04:00
jeremystretch
7b3f6f1c67
Clean up table classes
2021-09-17 15:37:19 -04:00
jeremystretch
9cb29f48a0
Use exclude() when instantiating tables to omit columns
2021-09-17 14:25:02 -04:00
jeremystretch
16d8981a3f
Closes #7284 : Include comments field in table/export for all appropriate models
2021-09-17 12:04:22 -04:00
jeremystretch
e738ff2fa7
Closes #6988 : Order tenants alphabetically without regard to group assignment
2021-09-15 14:56:20 -04:00
jeremystretch
bd681f5908
Clean up object filter forms
2021-08-24 17:29:16 -04:00
jeremystretch
1b612816cc
Merge branch 'feature' into 6829-graphql-reverse-relations
2021-08-03 16:05:31 -04:00
jeremystretch
1518a460d5
Rename base Graphene types to match base models
2021-08-03 14:37:39 -04:00
jeremystretch
ea86321da8
Add journal_entries to Graphene object types for all primary models
2021-08-03 13:58:08 -04:00
Matt
58862e115c
Closes #6863 : Add search fields back to filter forms
2021-08-03 08:32:53 -07:00
checktheroads
863048cda2
Deprecate collapsible advanced search and re-implement field-based filtering on object views
2021-08-01 21:24:22 -07:00
jeremystretch
7eef726ee1
Fix filtering for platforms, tenant groups
2021-07-20 15:39:58 -04:00
jeremystretch
3387282de4
Resolve migration dependencies
2021-07-09 11:51:42 -04:00
jeremystretch
c82470e4df
Add re-initialized migrations for v2.11.0
2021-07-09 11:11:21 -04:00
jeremystretch
4383425060
Delete pre-2.11.0 migrations
2021-07-09 10:57:07 -04:00
jeremystretch
e6091ee0c9
Consolidate GraphQLTestCase into APIViewTestCase
2021-06-30 10:07:33 -04:00
jeremystretch
728b3bac67
Use _list appendix for GraphQL list queries
2021-06-30 09:57:33 -04:00
jeremystretch
ef3cb9544a
Clean up GraphQL object types & tests
2021-06-29 12:55:17 -04:00
jeremystretch
881b18f6d0
Add GraphQL for tenancy
2021-06-25 14:19:20 -04:00
jeremystretch
c7afc9eb28
Rename custom field model forms
2021-06-23 11:53:58 -04:00
jeremystretch
7e18b0dd3a
Remove csv_headers model attributes
2021-06-09 15:52:49 -04:00
jeremystretch
3ec6194a47
Remove obsolete to_csv() methods
2021-06-09 15:08:49 -04:00
jeremystretch
b6660c72e1
Add tags as a feature query
2021-05-21 16:54:33 -04:00
jeremystretch
21d14a782e
Closes #6359 : Enable custom links for organizational and nested group models
2021-05-06 13:01:20 -04:00
jeremystretch
67945f2f33
Closes #6351 : Add aggregates count to tenant view
2021-05-05 09:53:06 -04:00
jeremystretch
3bd99e1910
Closes #6320 : Introduce ChangeLoggedFilterSetTests
2021-05-03 15:25:16 -04:00
jeremystretch
ffa4cd134b
Introduce BaseFilterSetTests to standardize testing of PK filters
2021-05-03 14:36:44 -04:00
jeremystretch
fbffef1cc4
Rename FilterSet test modules
2021-05-03 13:07:19 -04:00
jeremystretch
3ef6284a0d
Move base FilterSet classes under netbox core
2021-04-29 16:53:48 -04:00
jeremystretch
1024782b9e
Rename FilterSet modules
2021-04-29 16:48:24 -04:00
jeremystretch
d35ac1347c
Move TagFilter to extras
2021-04-29 16:23:55 -04:00
jeremystretch
c4e88fd11a
Consolidate FilterSet classes
2021-04-29 15:59:11 -04:00
jeremystretch
0de50e0afe
Split Filter and FilterSet classes
2021-04-29 15:13:44 -04:00
jeremystretch
58659cf3b6
Fixes #6262 : Support filtering by created/updated time for all relevant objects
2021-04-27 10:04:28 -04:00
jeremystretch
664ba55460
Reorganize base TestCase classes
2021-04-14 14:22:58 -04:00
jeremystretch
b0573f88e6
Merge branch 'develop' into feature
2021-04-11 13:16:00 -04:00
jeremystretch
348fca7e28
Fixes #6117 : Handle exception when attempting to assign an MPTT-enabled model as its own parent
2021-04-11 12:57:53 -04:00
jeremystretch
696b5c80a7
Closes #6097 : Redirect old slug-based object views
2021-04-08 13:25:29 -04:00
jeremystretch
f0018dcba9
LinkedCountColumn should always invoke filter by ID
2021-04-05 11:47:25 -04:00
jeremystretch
0a1531ce8a
TenantColumn should export null if no tenant is assigned
2021-04-05 11:18:30 -04:00
jeremystretch
779837389b
Convert all LinkColumns to Column(linkify=True)
2021-04-02 16:59:53 -04:00
Jeremy Stretch
2820d26a0f
Add dedicated views for nested group models
2021-03-26 15:07:29 -04:00
Jeremy Stretch
1f1a62da67
Initial work on #151 : Object journaling
2021-03-16 15:00:08 -04:00
Jeremy Stretch
fb48c1f6dd
Add 'display' field to all REST API serializers
2021-03-16 10:06:25 -04:00
Jeremy Stretch
61d23df83a
Closes #5972 : Bulk edit support for organizational models ( #5974 )
...
* Enable bulk editing of organizational models
* Enable bulk editing of nested group models
* Changelog for #5972
2021-03-12 16:14:42 -05:00
Jeremy Stretch
fca5accba8
Clean up base serializers
2021-03-12 13:31:28 -05:00
Jeremy Stretch
4397d3da02
Remove redundant TreeManager from TenantGroup
2021-03-10 14:35:44 -05:00
Jeremy Stretch
fc5bb966f0
Declare TaggableManager on PrimaryModel base class
2021-03-10 14:32:50 -05:00