Commit Graph

203 Commits

Author SHA1 Message Date
Jeremy Stretch
e847f830dc Fixed cable type filtering 2018-11-01 10:18:37 -04:00
Jeremy Stretch
b1e5909cb5 Add blank choice to ColorSelect widget 2018-11-01 10:14:47 -04:00
Jeremy Stretch
50dcb1404f Finished CableCSVForm 2018-11-01 09:59:53 -04:00
Jeremy Stretch
cc01f3cbd3 WIP: Initial work on the cable connection form 2018-10-22 16:58:24 -04:00
Jeremy Stretch
455fcf16eb Merge branch 'develop-2.5' into 20-physical-cabling 2018-10-19 13:34:21 -04:00
Jeremy Stretch
26ebed03d0 Merge release v2.4.6 2018-10-10 09:36:51 -04:00
Jeremy Stretch
1dd2dae9c5 Fixes #2393: Fix Unicode support for CSV import under Python 2 2018-10-05 15:33:29 -04:00
Jeremy Stretch
bd72c26a57 Initial work on #20 - patch panels 2018-10-03 14:04:16 -04:00
Jeremy Stretch
66db32fefd Merged release v2.4.5 2018-10-03 11:23:21 -04:00
Jeremy Stretch
e35bb17253 Closes #2402: Order and format JSON data in form fields 2018-09-13 11:31:34 -04:00
Jeremy Stretch
68a5dcd47e Removed Python 2 string compatibility 2018-08-14 11:58:42 -04:00
Jeremy Stretch
2f0e7e04c7 Misc cleanup 2018-07-30 14:00:37 -04:00
Jeremy Stretch
ff6e84ae0e Misc cleanup for config contexts 2018-07-10 16:16:23 -04:00
Jeremy Stretch
4d92ffd153 Merge branch 'develop' into develop-2.4 2018-07-02 17:01:14 -04:00
Anaël Beutot
992dacbb72 Fix pycodestyle errors
Mainly two kind of errors:
* pokemon exceptions
* invalid escape sequences
2018-06-27 17:24:33 +02:00
Jeremy Stretch
6316a9b8bd Merge branch 'develop' into develop-2.4 2018-04-19 11:24:11 -04:00
Nicholas St. Germain
f8427fea91 stop force value split w ArrayFieldSelectMultiple 2018-04-18 14:02:40 -05:00
Jeremy Stretch
4ac941b0b6 Closes #1842: Implement support for Django 2.0 2018-03-30 10:39:22 -04:00
Jeremy Stretch
342c6a9866 Merge pull request #1643 from RyanBreaker/wildcard
Implements #1586, add additional variants for ExpandableNameFields
2018-03-22 11:40:54 -04:00
Jeremy Stretch
3f8cabdb58 Closes #1866: Introduced AnnotatedMultipleChoiceField for filter forms 2018-03-07 14:16:38 -05:00
Jeremy Stretch
5d2b2efc05 Fixes #1926: Prevent reassignment of parent device when bulk editing VC member interfaces 2018-03-01 13:10:36 -05:00
Jeremy Stretch
7c30bdf4ff Fixes #1884: Provide additional context to identify devices when creating/editing avirtual chassis 2018-02-14 11:14:04 -05:00
Jeremy Stretch
9f07379800 Fixes #1859: Implemented support for line breaks within CSV fields 2018-02-02 13:32:16 -05:00
Jeremy Stretch
d63c9965b4 Fixes #1765: Improved rendering of null options for model choice fields in filter forms 2017-12-26 12:08:22 -05:00
Jeremy Stretch
002848cf09 Closes #1691: Cleaned up and reorganized import statements 2017-11-07 11:08:23 -05:00
Ryan Breaker
64f49773ba Fix bug with numbers >10 2017-10-31 22:03:57 -05:00
Ryan Breaker
3c91ded4c0 E226 fix 2017-10-24 20:43:02 -05:00
Ryan Breaker
490ad293f9 Refactor pattern check 2017-10-24 20:22:15 -05:00
Ryan Breaker
a6211acca0 Update comment 2017-10-24 20:03:10 -05:00
Ryan Breaker
c2493a8112 Update help text for ExpandableNameField (again) 2017-10-24 19:59:37 -05:00
Ryan Breaker
c1aff87229 Update help text for ExpandableNameField 2017-10-24 19:55:50 -05:00
Ryan Breaker
2c9f29c20d Prevent mismatch of cases in ranges 2017-10-24 19:46:12 -05:00
Ryan Breaker
c6ff74ad42 Prevent mismatch of types in ranges 2017-10-24 19:30:43 -05:00
Ryan Breaker
122b28a6e3 Merge letters and numbers into one function 2017-10-24 17:55:00 -05:00
Ryan Breaker
1415671396 Add alphabetic variants to interface expansions 2017-10-24 00:09:38 -05:00
Jeremy Stretch
1c10b15c94 Merge branch 'develop' into virtualization 2017-08-31 10:14:50 -04:00
Jeremy Stretch
35833cfb56 Closes #1460: Hostnames with no domain are now acceptable in custom URL fields 2017-08-30 14:08:39 -04:00
Jeremy Stretch
6813721997 Added views to add/remove hosts to/from clusters 2017-08-21 16:53:36 -04:00
Jeremy Stretch
ed08825dd8 Moved DeviceComponentForm to utilities.forms 2017-08-18 13:10:19 -04:00
Jeremy Stretch
87509e709c Fixes #1419: Allow editing image attachments without re-uploading an image 2017-08-11 10:47:06 -04:00
Jeremy Stretch
7dc93af5ac Closes #1320: Remove checkbox from confirmation dialog 2017-07-12 14:53:52 -04:00
Jeremy Stretch
537aa4add8 Fixes #1319: Fixed server error when attempting to create console/power connections 2017-07-06 13:20:53 -04:00
Jeremy Stretch
911db5c358 Fixes #1289: Retain inside NAT assignment when editing an IP address 2017-07-05 14:29:40 -04:00
Jeremy Stretch
7a400af2e4 Fixes #1265: Fix console/power/interface connection validation when selecting a device via live search 2017-06-14 13:00:36 -04:00
Jeremy Stretch
398be0e7bb Fixes #1268: Fix CSV import error under Python 3 2017-06-14 09:55:52 -04:00
Jeremy Stretch
0d651562ac Closes #704: Allow filtering VLANs by group when editing prefixes 2017-06-09 14:15:12 -04:00
Jeremy Stretch
4a6b79646a Replaced all CSVForm ChoiceFields with CSVChoiceField 2017-06-07 13:22:06 -04:00
Jeremy Stretch
e879dec1a2 Added dynamic examples for CSV form fields 2017-06-06 17:27:26 -04:00
Jeremy Stretch
54aed8789c Replaced old CSVDataField 2017-06-05 16:16:23 -04:00
Jeremy Stretch
9f06783fc9 Converted console/power import views to new scheme 2017-06-05 15:53:03 -04:00
Jeremy Stretch
83a50f45b5 Converted circuits import views to new scheme 2017-06-02 13:40:52 -04:00
Jeremy Stretch
cac3d5a6e6 Initial work on #655: CSV import headers 2017-05-31 17:40:11 -04:00
Jeremy Stretch
1f911c1567 Fixes #1229: Fix validation error on forms where API search is used 2017-05-25 14:33:50 -04:00
Jeremy Stretch
297d9c6bb9 Import unicode_literals 2017-05-24 11:33:11 -04:00
Jeremy Stretch
8a3fb44b96 Fixes #1212: Allow assigning new VLANs to global VLAN groups 2017-05-23 22:23:50 -04:00
Jeremy Stretch
88fe878d20 Fixes #1195: Unable to create an interface connection when searching for peer device 2017-05-18 13:33:26 -04:00
Jeremy Stretch
6f23bfe860 PEP8 fixes 2017-05-11 17:54:43 -04:00
Jeremy Stretch
9b01504358 Corrected queryset filter when parent_field is None 2017-05-11 17:20:50 -04:00
Jeremy Stretch
7f94f33044 Closes #1167: Introduced ChainedModelChoiceFields 2017-05-11 16:30:16 -04:00
Jeremy Stretch
bd2f12630d Merge branch 'develop' into v2-develop 2017-05-08 15:02:06 -04:00
Jeremy Stretch
86899d010c Closes #1110: Expand bulk edit forms to include boolean fields (e.g. toggle is_pool for prefixes) 2017-04-28 12:32:27 -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
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
e5ba60d339 #1033: Update ArrayFieldSelectMultiple for Django 1.11 2017-04-04 14:30:00 -04:00
Jeremy Stretch
38fb6cf3dc #1033: Convert SelectWithDisabled to a templatized widget 2017-04-04 14:19:48 -04:00
Jeremy Stretch
2a0f9ae100 #1033: Convert ColorSelect to a templatized widget 2017-04-04 13:45:32 -04:00
Jeremy Stretch
c6e3810265 Initial work on #152: Image attachments 2017-03-30 21:55:57 -04:00
Jeremy Stretch
426d8333d9 Fixes #963: Fix bug in IPv6 address range expansion 2017-03-14 15:06:34 -04:00
Jeremy Stretch
b92f7aa8f1 Implemented recursive regions with django-mptt 2017-02-28 14:15:15 -05:00
Jeremy Stretch
cc79b8ea3d Rack reservations (#900)
* Initial work on rack reservations

* Added views for rack reservations

* Implemented ArrayFieldSelectMultiple form widget

* Implemented API endpoints for rack reservations

* Tweaked the database migration
2017-02-16 13:46:58 -05:00
Jeremy Stretch
481f33dab7 Fixes #851: Resolve encoding issues during import/export with Python 3 2017-02-01 11:49:54 -05:00
Jeremy Stretch
440b431763 Closes #856: Strip whitespace from fields during CSV import 2017-01-31 16:54:13 -05:00
dav3860
857fb95b3b Support for comma in interfaces and ip addresses bulk creation (#833)
* Added support for comma in interfaces and ip addresses bulk creation

* fixed PEP8 style

* removed unnecessary assertions
2017-01-25 14:47:14 -05:00
Jeremy Stretch
27032b412c Closes #760: Redirect user back to device view after deleting an assigned IP address 2017-01-18 12:25:07 -05:00
Jeremy Stretch
fdedd18394 Standardized inheritance order of BootstrapMixin 2016-12-21 14:15:18 -05:00
Jeremy Stretch
9733e623e5 Fixes #672: Expanded color selection for rack and device roles 2016-12-06 12:28:29 -05:00
Jeremy Stretch
2edf823bb7 Fixes #713: Include a label for the comments field when editing circuits, providers, or racks in bulk 2016-11-29 17:29:56 -05:00
Jeremy Stretch
647cf4889a #181: Added ExpandableIPAddressField 2016-10-28 15:12:53 -04:00
Jeremy Stretch
5a59e3827d #353: Allow bulk editing of interfaces 2016-10-14 16:38:46 -04:00
Jeremy Stretch
75190bb2e9 Fixes #527: Support for nullifying custom fields during bulk editing 2016-10-05 15:17:17 -04:00
Jeremy Stretch
369a7f4a3f #527: Initial work to allow nullifying fields during bulk edit 2016-09-30 16:17:41 -04:00
Jeremy Stretch
680b53f8f4 Fixes #212: Tweak APISelect widget to inject BASE_PATH in API URL 2016-09-29 16:41:02 -04:00
Jeremy Stretch
5d2080f87c Closes #575: Allow all valid URL schemes in custom fields 2016-09-27 11:42:20 -04:00
Jeremy Stretch
fc5d78519e Introduced NullableModelMultipleChoiceField to allow null filtering without causing introspection issues during database migrations 2016-09-20 15:48:58 -04:00
Jeremy Stretch
9581f9217e Reimplemented FilterChoiceField 2016-09-20 11:08:25 -04:00
Jeremy Stretch
84c282b05b PEP8 fix 2016-09-19 16:21:42 -04:00
Jeremy Stretch
664030a614 Tweak to #493 2016-09-16 10:31:42 -04:00
Jeremy Stretch
9d7b82c9c5 Merge pull request #493 from stianvi/csv_reader_unicode
Fixed csv reader to handle special characters
2016-09-16 10:30:27 -04:00
Jeremy Stretch
dc58694d49 Added 'none' options to filters for optional fields 2016-09-15 17:12:53 -04:00
Jeremy Stretch
e0e5e176a1 Fixes #557: Add 'global' choice to VRF filter for prefixes and IP addresses 2016-09-15 16:03:53 -04:00
Jeremy Stretch
510c4543d2 Implemented FilterChoiceField and get_filter_choices() to reduce filter form boilerplate 2016-09-14 16:27:26 -04:00
Stian Vikan
f93ef5080a Fixed csv reader to handle special characters 2016-08-19 12:09:40 +02:00
Jeremy Stretch
8cd2aff7f0 Fixes #486: Prompt for secret key only if updating a secret's value 2016-08-18 16:43:41 -04:00
Jeremy Stretch
d722327566 #180: Added type and width fields to Rack model 2016-08-08 18:01:15 -04:00
Jeremy Stretch
9d7e97ff8a Fixes #253: Added ability to search by prefix to IP address filters 2016-08-06 16:02:57 -04:00
Jeremy Stretch
f5c5c974ea Fixes #422: Added ability to encapsulate within double quotes values which contain commas 2016-08-03 17:33:15 -04:00
Jeremy Stretch
b619f99a75 Unicode handling cleanup 2016-07-18 14:48:51 -04:00
Jeremy Stretch
84d50961e6 Suppressed '__all__' field name in BulkImportForm validation 2016-06-29 14:52:02 -04:00
Jeremy Stretch
eade3cbd6b Fixes #25: Recurse expand_pattern only if there are more ranges to unpack 2016-06-27 14:12:30 -04:00
Jeremy Stretch
4cbf09e0e1 Improved ExpandableNameField help_text 2016-06-24 11:45:47 -04:00
Jeremy Stretch
bbdc7dccba Added JS for SlugField autofill 2016-05-20 15:32:17 -04:00
Jeremy Stretch
27b289ee3b Initial push to public repo 2016-03-01 11:23:03 -05:00