Saria Hajjar
fabac288a0
is not None not needed as the value 'false' is a string
2020-01-02 16:13:47 +00:00
Saria Hajjar
350834c2bf
Fixes #2365 : Toggle for showing available prefixes/ip addresses
2020-01-02 09:16:18 +00:00
Jeremy Stretch
f710335361
Service.protocol to slug ( #3569 )
2019-11-27 22:27:06 -05:00
Jeremy Stretch
81772486af
IPAddress.role to slug ( #3569 )
2019-11-27 22:09:16 -05:00
Jeremy Stretch
af42cd7428
Prefix.status to slug ( #3569 )
2019-11-27 21:46:53 -05:00
chambersh1129
13368dc2aa
PEP 8 E121 continuation line under-indented for hanging indent fix
2019-10-09 20:11:02 -04:00
chambersh1129
de71669d93
Replace all instances of .extra() in QuerySets with annotations, including references in docstrings
2019-10-09 20:11:02 -04:00
Jeremy Stretch
b4acade70d
Miscellaneous cleanup
2019-10-04 12:59:10 -04:00
John Anderson
8bd1a48973
fixes #3428 - caching invalidation issues
...
Mitgate invalidation issues by using prefetch_related instead of select_related.
Also use invalidated_update instead of just update.
2019-08-19 01:53:39 -04:00
Jeremy Stretch
5f597c12de
Cleanup from earlier work on caching
2019-04-22 14:49:31 -04:00
John Anderson
65f357ff85
change cacheing to use cacheops
2019-04-17 12:29:21 -04:00
John Anderson
0596a9a160
move caching to views
2019-04-15 14:41:04 -04:00
Jeremy Stretch
10f6b96b02
Enforce view permissions for UI views
2019-04-11 17:27:38 -04:00
Jeremy Stretch
6e495be835
Closes #2809 : Remove VRF child prefixes table; link to main prefixes view
2019-01-31 10:06:08 -05:00
Jeremy Stretch
6b1abd6a65
Closes #2614 : Simplify calls of super() for Python 3
2018-11-27 10:52:24 -05:00
Jeremy Stretch
3eb176010c
Upgraded django-tables2 to v2.0.2
2018-11-02 14:27:17 -04:00
Jeremy Stretch
26ebed03d0
Merge release v2.4.6
2018-10-10 09:36:51 -04:00
Jeremy Stretch
f46595f9c5
Fixes #2485 : Fix cancel button when assigning a service to a device/VM
2018-10-05 10:30:13 -04:00
Jeremy Stretch
68a5dcd47e
Removed Python 2 string compatibility
2018-08-14 11:58:42 -04:00
Jeremy Stretch
f7820ee0be
Merge branch 'develop-2.4' into develop
2018-08-06 12:28:23 -04:00
Vas Sadvariy
e5c4e6ccf9
Closes #971 : Implement VLANGroup VLANs view to show available VLANs within a group
2018-08-01 15:59:00 -04:00
Jeremy Stretch
5b92fe79d1
Merged release v2.3.7
2018-07-27 11:43:27 -04:00
Jeremy Stretch
21b8871737
Fixes #2257 : Corrected casting of RIR utilization stats as floats
2018-07-23 14:52:51 -04:00
Jeremy Stretch
0d1bb22c6c
Cleaned up BulkEditView and BulkDeleteView
2018-07-20 21:18:10 -04:00
Jeremy Stretch
9d2c4257a6
Closes #1851 : Standardize usage of GetReturnURLMixin
2018-07-02 11:54:41 -04:00
Jeremy Stretch
837ae2b7b8
Merge branch 'develop-2.4' into 1898-activity-logging
2018-06-21 16:53:15 -04:00
Jeremy Stretch
2f0bac7f64
Closes #1673 : Added object/list views for services
2018-06-21 15:55:27 -04:00
Jeremy Stretch
328559dcc0
Moved object header templates into object base templates
2018-06-14 13:34:37 -04:00
Jeremy Stretch
7938651b92
Closes #1990 : Improved search function when assigning an IP address to an interface
2018-03-29 09:45:17 -04:00
Jeremy Stretch
24c94957df
Closes #1945 : Implemented a VLAN members view
2018-03-15 15:33:13 -04:00
Jeremy Stretch
4ed9187f70
Closes #1073 : Include prefixes/IPs from all VRFs when viewing the children of a container prefix in the global table
2018-01-30 13:39:33 -05:00
Jeremy Stretch
1a59547916
Closes #1773 : Moved child prefixes table to its own view
2017-12-20 14:01:37 -05:00
Jeremy Stretch
70769431a6
Fixes #1721 : Differentiated child IP count from utilization percentage for prefixes
2017-11-22 12:40:58 -05:00
Jeremy Stretch
fe68eca25c
Closes #1512 : Added a view to search for an IP address being assigned to an interface
2017-11-10 11:58:59 -05:00
Jeremy Stretch
4a54a05680
Fixes #1471 : Correct bulk selection of IP addresses within a prefix assigned to a VRF
2017-11-10 09:34:30 -05:00
Jeremy Stretch
002848cf09
Closes #1691 : Cleaned up and reorganized import statements
2017-11-07 11:08:23 -05:00
Jeremy Stretch
897c75f88f
Fixes #1689 : Disregard IP address mask when filtering for child IPs of a prefix
2017-11-06 10:07:44 -05:00
Jeremy Stretch
a8998557f7
Fixes #1676 : Correct filtering of child prefixes upon bulk edit/delete from the parent prefix view
2017-11-02 13:21:19 -04:00
Jeremy Stretch
119bc5b5c6
Fixes #1603 : Hide selection checkboxes for tables with no available actions
2017-10-27 10:33:58 -04:00
Jeremy Stretch
9d051da64b
Added bulk import views for RIRs, roles, and VLAN groups
2017-10-09 15:42:06 -04:00
Jeremy Stretch
8936528bb0
Merge branch 'develop' of github.com:digitalocean/netbox into develop-2.2
2017-09-25 15:12:47 -04:00
Jeremy Stretch
f2a180d10c
#1499 : Added utilization graph to child prefixes for aggregates
2017-09-25 13:39:03 -04:00
Jeremy Stretch
d2c6fd7809
Closes #1536 : Improved formatting of aggregate prefix statistics
2017-09-25 12:14:55 -04:00
Jeremy Stretch
23f8a56e94
Closes #1499 : Added utilization graph to child prefixes table
2017-09-22 21:17:46 -04:00
Jeremy Stretch
bf6f513377
Renamed form_class attribute to model_form for consistency
2017-09-12 13:55:11 -04:00
Jeremy Stretch
cf65f28afa
Enabled services on virtual machines
2017-08-31 12:50:35 -04:00
Jeremy Stretch
1c10b15c94
Merge branch 'develop' into virtualization
2017-08-31 10:14:50 -04:00
Jeremy Stretch
c264962d4b
Closes #1376 : Ignore anycast when detecting duplicate IPs
2017-08-30 10:46:30 -04:00
Jeremy Stretch
3d4d9ab311
Allowed assigning an IP address to either a device or a VM
2017-08-29 15:26:35 -04:00
Jeremy Stretch
e0c0bbba56
Converted IPAddress.interface to a GenericForeignKey
2017-08-18 16:57:20 -04:00
Jeremy Stretch
53672dc91d
Optimized performance when editing/deleting objects in bulk
2017-07-13 17:39:28 -04:00
Jeremy Stretch
4d3ccf4397
Closes #838 : Display details of all objects being edited/deleted in bulk
2017-07-13 16:31:47 -04:00
Jeremy Stretch
96cef1a7c4
Removed SearchTables; created DetailTables for models where needed
2017-07-12 16:42:45 -04:00
Jeremy Stretch
674aa67406
Fixes #1279 : Fix primary_ip assignment during IP address import
2017-06-16 12:45:42 -04:00
Jeremy Stretch
b76a89d921
Renamed AddViews to CreateViews for consistency
2017-06-13 16:48:21 -04:00
Jeremy Stretch
3fa58a2e59
Fixes #1263 : Differentiate add and edit permissions for objects
2017-06-13 16:41:57 -04:00
Jeremy Stretch
43445096cc
Renamed new import view to BulkImportView
2017-06-05 15:53:41 -04:00
Jeremy Stretch
8cdfac5056
Converted secrets import view to new scheme
2017-06-02 17:23:41 -04:00
Jeremy Stretch
a2174e7e98
Converted IPAM import views to new scheme
2017-06-02 16:07:11 -04:00
Jeremy Stretch
297d9c6bb9
Import unicode_literals
2017-05-24 11:33:11 -04:00
Jeremy Stretch
d7af08bef3
Converted all object views to class-based views
2017-05-18 17:00:57 -04:00
Jeremy Stretch
2c21492dfb
Fixes #1191 : Bulk selection of IPs under a prefix incorrect when "select all" is used
2017-05-17 14:23:08 -04:00
Jeremy Stretch
d3c49036c1
Closes #1122 : Include NAT inside IPs in IP address list
2017-05-12 22:11:20 -04:00
Jeremy Stretch
5514b20933
Fixes #1166 : Re-implemented bulk IP address creation
2017-05-12 12:00:26 -04:00
Jeremy Stretch
7f94f33044
Closes #1167 : Introduced ChainedModelChoiceFields
2017-05-11 16:30:16 -04:00
Jeremy Stretch
04fc9d76ba
Merge branch 'develop' into v2-develop
...
Conflicts:
netbox/circuits/models.py
netbox/netbox/settings.py
upgrade.sh
2017-04-21 15:07:48 -04:00
Jeremy Stretch
5d36ff274a
Closes #1084 : Include custom fields when creating IP addresses in bulk
2017-04-19 14:50:58 -04:00
Jeremy Stretch
dfa0275908
Merge branch 'develop' into v2-develop
...
Conflicts:
netbox/dcim/forms.py
netbox/dcim/views.py
netbox/ipam/forms.py
netbox/templates/_base.html
netbox/utilities/views.py
2017-04-13 15:42:50 -04:00
Jeremy Stretch
946b142a69
Closes #1001 : Merged IP interface assignment into ipam.IPAddressForm
2017-04-13 14:54:17 -04:00
Jeremy Stretch
d536cfb057
Improved handling of return_url for object edit/delete views; removed manual definitions of initial data fields
2017-04-13 13:11:23 -04:00
Jeremy Stretch
4384993546
Resolved RemovedInDjango20Warning deprecation warnings
2017-04-05 14:40:25 -04:00
Jeremy Stretch
c773430bb0
Closes #362 : Added per_page query parameter to control pagination page length
2017-03-28 15:57:50 -04:00
Jeremy Stretch
db407fc479
Fixes #943 : Child prefixes missing on Python 3
2017-03-08 14:10:27 -05:00
Jeremy Stretch
b6522c161b
Closes #946 : Disregard mask length when filtering IP addresses by a parent prefix
2017-03-08 11:59:24 -05:00
Jeremy Stretch
26263f5bcb
Initial work on regions
2017-02-28 12:11:43 -05:00
Jeremy Stretch
e66e3e437c
Fixes #892 : Restored missing edit/delete buttons when viewing child prefixes and IP addresses from a parent object
2017-02-17 16:34:09 -05:00
Jeremy Stretch
91be4a4df3
Closes #198 : Support for rackless devices ( #902 )
...
* Initial work to support rackless devices
* Updated device component connection forms
* Updated IP address assignment form
* Updated circuit termination form
* Formatting cleanup
* Fixed tests
2017-02-17 14:48:00 -05:00
Jeremy Stretch
4ee7fc9465
Exposed the request to ObjectEditView's alter_obj()
2017-02-15 15:03:31 -05:00
Jeremy Stretch
bc92574141
Fixes #861 : Avoid overwriting device primary IP assignment from alternate family during bulk import of IP addresses
2017-01-31 17:25:44 -05:00
Jeremy Stretch
dd3e421469
Fixes #845 : Fix missing edit/delete buttons on object tables for non-superusers
2017-01-26 13:20:56 -05:00
Jeremy Stretch
93e1c83be6
Fixes #816 : Redirect back to parent prefix view after deleting child prefixes
2017-01-24 09:50:51 -05:00
Jeremy Stretch
064a400314
Closes #820 : Add VLAN column to parent prefixes table on IP address view
2017-01-23 14:23:42 -05:00
Jeremy Stretch
27170b2c44
Standardized naming of return_url for all object views
2017-01-23 14:07:26 -05:00
Jeremy Stretch
9470a03d0e
Re-implemented method for bulk editing/deleting all objects within a filtered queryset
2017-01-20 16:42:11 -05:00
Jeremy Stretch
6adc37f77e
Deprecated use_obj_view in favor of get_return_url()
2017-01-18 14:34:17 -05:00
Jeremy Stretch
457c8f93c8
Ditched get_parent_url() model method in favor of overrideable get_return_url() view method
2017-01-18 14:07:46 -05:00
Jeremy Stretch
b74e5204db
Standardized the use of return_url for ObjectDeleteView
2017-01-18 13:30:19 -05:00
Jeremy Stretch
08aafcd34b
Closes #803 : Clarify that no child objects are deleted when deleting a prefix
2017-01-17 14:52:39 -05:00
Jeremy Stretch
38bc63da40
Table rendering optimizations
2017-01-06 16:50:57 -05:00
Jeremy Stretch
e4f4481a6a
Fixes #658 : Added is_pool field to Prefix model
2016-12-27 15:07:52 -05:00
Jeremy Stretch
f0a2225f28
Fixed bug introduced in e1f6cfbf27
2016-12-27 14:18:31 -05:00
Jeremy Stretch
561ebaf5d3
Closes #181 : Implemented support for bulk IP address creation
2016-12-20 15:39:22 -05:00
Jeremy Stretch
2765fde115
Closes #613 : Added prefixes column to VLAN list; added VLAN column to prefix list
2016-12-15 16:56:43 -05:00
Jeremy Stretch
a68cae8871
Closes #539 : Implemented L4 services for devices
2016-12-15 15:32:58 -05:00
Jeremy Stretch
83dea60830
Fixes #729 : Corrected cancellation links when editing secondary objects
2016-12-08 12:20:45 -05:00
Jeremy Stretch
f25d182e18
Closes #695 : Added is_private field to RIR
2016-12-06 13:59:13 -05:00
Jeremy Stretch
5ecb4e4eb4
Another PEP8 fix
2016-11-11 15:09:25 -05:00
Jeremy Stretch
c4c468bef9
Closes #667 : Added stats to RIR list view
2016-11-11 15:02:53 -05:00
Jeremy Stretch
24ce9b83bd
Incorporated stats into RIR list view
2016-11-11 12:45:24 -05:00
Jeremy Stretch
e1cdf49ed9
#667 : Initial work on RIR statistics
2016-11-04 16:04:29 -04:00