Commit Graph

200 Commits

Author SHA1 Message Date
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
Jeremy Stretch
4823ee698d Cleaned up message strings 2016-10-31 11:16:30 -04:00
Jeremy Stretch
43670ab5e7 Closes #211: Allow device assignment and removal from IP address view 2016-10-24 15:07:11 -04:00
Jeremy Stretch
bef660a2ad Added bulk editing capability for custom fields 2016-08-16 14:57:04 -04:00
Jeremy Stretch
a2ef5ad048 Added templates for IPAM objects; cleaned up admin 2016-08-15 16:58:25 -04:00
Jeremy Stretch
43a6c13c00 Fixed redirect after editing RackGroups and VLANGroups 2016-08-10 13:13:26 -04:00
Jeremy Stretch
0dc21d18b2 Miscellaneous query optimizations 2016-08-10 13:07:11 -04:00
Jeremy Stretch
e2f322c5ce Fixes #435: Added a "add prefix" button to the VLAN view 2016-08-06 15:44:28 -04:00
Jeremy Stretch
99d81211ce Fixes #427: Prevent error when duplicate IPs are present in a prefix's IP list 2016-08-04 11:48:30 -04:00
Jeremy Stretch
5a7a753bba More intelligent handling of first/last IPs 2016-08-03 12:30:29 -04:00
Jeremy Stretch
d2204ad08c Fixed calculation of available IPs between two existing IPs 2016-08-03 12:20:24 -04:00
Jeremy Stretch
bfdd2076eb Fixed calculation of last_ip_in_prefix for IPv6 2016-08-03 12:06:17 -04:00
Jeremy Stretch
c83a397a45 Rewrote add_available_ipaddresses() to be much more efficient and IPv6-friendly 2016-08-03 12:00:35 -04:00
Jeremy Stretch
da5c3ab296 Initial work on #289 2016-08-02 17:20:12 -04:00
Jeremy Stretch
d677f13eb0 Addresses #395: Show child prefixes from all VRFs if the parent prefix is in the global table 2016-08-02 15:48:12 -04:00
Jeremy Stretch
ea4011b85f PEP8 cleanup 2016-07-29 14:46:29 -04:00
Jeremy Stretch
d457febeab Changed VRF and VLAN views to use PrefixBriefTable 2016-07-29 13:03:44 -04:00
Jeremy Stretch
a0ab14de99 Allow unassigning VRF and tenants when editing objects in bulk 2016-07-28 15:59:49 -04:00
Jeremy Stretch
20e623cd67 Adds tenant assignment to Prefix and IPAddress objects 2016-07-28 13:50:46 -04:00
Jeremy Stretch
42b2292385 Fixes #397: Only include child IPs which belong to the same VRF as the parent prefix 2016-07-28 11:24:25 -04:00
Jeremy Stretch
9f4df6c51a Linkified VRF column in prefix and IP address tables 2016-07-27 16:52:20 -04:00
Jeremy Stretch
047d413dff Closes #394: Added global option to VRF selection widget during bulk editing 2016-07-27 16:29:30 -04:00
Jeremy Stretch
01a0b00f32 Implemented tenancy for VRFs and VLANs 2016-07-27 11:29:20 -04:00
Jeremy Stretch
71efef45e1 Replaced all object-specific BulkDeleteForms with the stock form provided by utilities.BulkDeleteView 2016-07-25 17:02:53 -04:00
Jeremy Stretch
6389b30662 ipam.VLAN: Added description field, extended name to 64 chars 2016-07-25 14:58:49 -04:00
Jeremy Stretch
0347b34999 Fixes #331: Add group field to VLAN bulk edit form 2016-07-19 11:11:16 -04:00
Jeremy Stretch
d8e4069876 Closes #111: Implement VLAN groups 2016-07-15 13:26:54 -04:00
Jeremy Stretch
4f2374f04d Initial work on #93: Primary IPv4/IPv6 support 2016-07-11 16:24:46 -04:00
Jeremy Stretch
ab880e1053 Fixed IPAddress 'parent prefixes' display; added warning for duplicate IPs 2016-06-27 15:51:47 -04:00
Jeremy Stretch
a3e64a9964 Added 'add an IP address' button to Prefix view 2016-06-09 16:33:24 -04:00
Jeremy Stretch
e80dde3834 Added total IPv4/IPv6 counts to ipam.AggregateListView 2016-05-26 15:35:48 -04:00
Jeremy Stretch
cb8e0c93f2 Implemented object add/edit/delete logging 2016-05-23 14:20:42 -04:00
Jeremy Stretch
c96bfdbc18 Moved PAGINATE_COUNT to configuration.py 2016-05-23 12:55:03 -04:00
Jeremy Stretch
f690be60fd Code cleanup 2016-05-18 16:20:30 -04:00
Jeremy Stretch
c1e41410c9 Transitioning ipam.Status from model to static field 2016-05-17 16:40:15 -04:00
Jeremy Stretch
ff46970ba9 Introduced CBVs for IPAM Roles 2016-05-17 15:04:16 -04:00
Jeremy Stretch
149720d18a Introduced consolidated object table template 2016-05-16 16:15:37 -04:00
Jeremy Stretch
e1a0b8fee6 Added CBVs for RIRs 2016-05-16 13:04:45 -04:00
Jeremy Stretch
9df86d5268 Collapsed add/edit functionality into ObjectEditView 2016-05-13 16:36:58 -04:00
Jeremy Stretch
062e64a34d Collapsed EditTables into primary table for each object 2016-05-13 11:51:50 -04:00
Jeremy Stretch
f4b14b42ee Converted all delete CBVs to use utilities/obj_delete.html 2016-05-12 15:46:02 -04:00
Jeremy Stretch
bf364b7466 Default to utilities/obj_edit.html for edit views that don't need a custom layout 2016-05-12 15:07:27 -04:00
Jeremy Stretch
a0ffd71755 Consolidated bulk delete views to use a single template 2016-05-11 15:18:39 -04:00
Jeremy Stretch
171f2c008f Converted IPAM Prefix, IPAddress, VLAN add/edit/delete views to CBVs 2016-05-09 13:10:37 -04:00
Jeremy Stretch
60daaee204 Converted IPAM VRF, Aggregate add/edit/delete views to CBVs 2016-05-09 12:20:46 -04:00
Jeremy Stretch
8e11a3d624 Fixes #4: Include filter params when redirecting user after bulk edit/delete 2016-04-25 15:39:35 -04:00
Jeremy Stretch
f0f3435792 Fixes #5: Expand prefix hierarchy when searching for a prefix 2016-03-08 21:41:38 -05:00
Jeremy Stretch
284256777f Fixed Prefix list hierarchy 2016-03-07 12:56:37 -05:00
Jeremy Stretch
d7e2acbae6 Converted IPAM object lists to ObjectListView 2016-03-04 11:25:20 -05:00
Jeremy Stretch
7776ce5266 Tweaked links to ensure that new child prefixes inherit the VRF and site of their parent by default 2016-03-02 22:15:23 -05:00
Jeremy Stretch
27b289ee3b Initial push to public repo 2016-03-01 11:23:03 -05:00