Commit Graph

443 Commits

Author SHA1 Message Date
Jeremy Stretch
2fa7a21250 Updated migrations to account for extras/0017_exporttemplate_mime_type_length 2019-03-05 13:46:37 -05:00
dansheps
60a065de88 Fixes #2781: Fixes filter by regions on site and device list
* Add Device filter
2019-03-05 08:10:10 -06:00
John Anderson
61927f5eb4 Merge branch 'develop-2.6' of github.com:digitalocean/netbox into develop-2.6 2019-03-03 19:06:05 -05:00
dansheps
22dabb0e1c Fixes #2813: Add Filter and List View for TenantGroup
Added Filter for TenantGroup to the following Forms and Filter classes

* circuit.Circuit
* dcim.Site
* dcim.Rack
* dcim.RackElevation
* dcim.RackReservation
* dcim.Device
* ipam.IPAddress
* ipam.Prefix
* ipam.VRF
* ipam.VLAN
* virtualization.VirtualMachine

Added List View to the following classes:

* circuit.Circuit
* dcim.Site
* dcim.Rack
* dcim.RackReservation
* dcim.Device
* ipam.IPAddress
* ipam.Prefix
* ipam.VRF
* ipam.VLAN
* virtualization.VirtualMachine
2019-02-23 11:09:02 -06:00
dansheps
71087415e3 Fixes #2813: Add Filter for TenantGroup to the following Forms and Filter classes:
* circuit.Circuit
* dcim.Site
* dcim.Rack
* dcim.RackElevation
* dcim.RackReservation
* dcim.Device
* ipam.IPAddress
* ipam.Prefix
* ipam.VRF
* ipam.VLAN
* virtualization.VirtualMachine
2019-02-23 10:37:30 -06:00
Daniel Sheppard
b54c6c0f68 Fixes #2923: Changes Site Filter on Provider List to APISelectMultiple 2019-02-22 07:13:39 -06:00
John Anderson
b318811de8 refactor tag migrations and add changelog fields to tag 2019-02-22 01:32:31 -05:00
John Anderson
c679dd4ff8 initial pass on migrating to custom tag model with color and comments fields 2019-02-20 03:52:47 -05:00
Jeremy Stretch
f66ecd3eb4 Implement basic view testing for all models (#2909) 2019-02-15 17:02:18 -05:00
John Anderson
dc491e24ed fixes #2835 - certain model filters did not support the q query param 2019-01-31 13:36:30 -05:00
Jeremy Stretch
41fd4ce416 Closes #2825: Include directly connected device for front/rear ports 2019-01-31 12:21:43 -05:00
John Anderson
abea43805f IPAM Select2 forms and changelog 2019-01-10 21:19:13 -05:00
John Anderson
3325dd810f Circuits Select2 forms 2019-01-10 17:50:06 -05:00
Jeremy Stretch
1671b8aa40 #2627: Removed reference to provider from Circuit.__str__() 2018-12-11 11:15:45 -05:00
Jeremy Stretch
aeb14a8919 Closes #2649: Add connected_endpoint_type to connectable device component API representations 2018-12-06 16:14:03 -05:00
Jeremy Stretch
f1a2a724b4 Formatting cleanup 2018-11-27 11:57:29 -05:00
Jeremy Stretch
6b1abd6a65 Closes #2614: Simplify calls of super() for Python 3 2018-11-27 10:52:24 -05:00
Jeremy Stretch
8ce3a4b1f8 Standardized behavior and display of connection_status 2018-11-19 15:26:06 -05:00
Jeremy Stretch
657080fac1 Updated migrations 2018-11-19 13:44:18 -05:00
Jeremy Stretch
cad0925c7a Improved logic for recording cable path connection status 2018-11-19 12:37:53 -05:00
Jeremy Stretch
6a85f38f11 Merge branch 'develop' into develop-2.5 2018-11-12 16:03:52 -05:00
Jeremy Stretch
574ddedc22 Fixes #2558: Filter on all tags when multiple are passed 2018-11-12 15:48:58 -05:00
Jeremy Stretch
9a4f3453fb Closes #2578: Reorganized nested serializers 2018-11-12 11:36:44 -05:00
Jeremy Stretch
10c3d51096 Merge release v2.4.7 into develop-2.5 2018-11-06 11:19:38 -05:00
Jeremy Stretch
3d780fca01 Fixes #2528: Enable creating circuit terminations with interface assignment via API 2018-11-05 16:10:01 -05:00
Jeremy Stretch
fe865b7d48 Closes #867: Add a 'description' field to CircuitTermination 2018-11-05 13:53:22 -05:00
Jeremy Stretch
f6d4ea00df Cleaned up import statements 2018-11-02 15:20:08 -04:00
Jeremy Stretch
5bc3f4b868 Fixed deprecation warnings from DRF 3.9 2018-11-02 13:48:44 -04:00
Jeremy Stretch
9cad97b073 Upgraded django-filter to 2.0.0 2018-11-02 13:46:28 -04:00
Jeremy Stretch
a4318f2d4f Suppress print() output from migrations during testing 2018-11-01 14:54:36 -04:00
Jeremy Stretch
d3bfaba2ad Fixed cable list display for circuit terminations 2018-11-01 14:14:31 -04:00
Jeremy Stretch
d5a06f49f8 connected_endpoint must be read-only on termination serializers 2018-10-31 16:12:36 -04:00
Jeremy Stretch
52cce93fde Cleaned up migrations 2018-10-31 11:52:43 -04:00
Jeremy Stretch
a22957952e Added dedicated cable trace view; removed modal 2018-10-30 16:30:03 -04:00
Jeremy Stretch
46e2155899 Add 'cable' field to CircuitTermination serializer 2018-10-30 14:53:41 -04:00
Jeremy Stretch
0852eb9091 CircuitTermination should inherit from CableTermination 2018-10-30 14:27:45 -04:00
Jeremy Stretch
7e828b7f2a Extended Cables to connect CircuitTerminations 2018-10-30 12:16:22 -04:00
Jeremy Stretch
3425e859c4 Replace 'is_connected' boolean with Cable attachment 2018-10-29 13:36:41 -04:00
Jeremy Stretch
f3174c14f7 Deprecated the InterfaceConnection model 2018-10-24 13:59:44 -04:00
Jeremy Stretch
26ebed03d0 Merge release v2.4.6 2018-10-10 09:36:51 -04:00
Jeremy Stretch
4fd2cffe31 #2487: Added API tests 2018-10-04 16:20:01 -04:00
Jeremy Stretch
66db32fefd Merged release v2.4.5 2018-10-03 11:23:21 -04:00
Jeremy Stretch
c48c3c9292 Closes #2438: API optimizations for tagged objects 2018-09-28 16:44:05 -04:00
Jeremy Stretch
68a5dcd47e Removed Python 2 string compatibility 2018-08-14 11:58:42 -04:00
Jeremy Stretch
d46cbcff5f Refactored the tests to remove a lot of boilerplate 2018-08-03 11:39:26 -04:00
Jeremy Stretch
e6e5b92e00 Adopt django-taggit-serializer for representation of assigned tags in the API 2018-08-03 09:43:03 -04:00
Jeremy Stretch
f05261631c Closes #2213: Added squashed migrations 2018-08-01 14:01:20 -04:00
John Anderson
8c51fc86f4 Webhook signal refactor - fixes #2282 (#2260)
Refactor of webhook signaling system to use the same middleware mechanics of Changelogging
2018-07-30 14:23:49 -04:00
Jeremy Stretch
7809eb42d9 Renamed ChoiceFieldSerializer and ContentTypeFieldSerializer 2018-07-30 12:41:20 -04:00
Jeremy Stretch
0d1bb22c6c Cleaned up BulkEditView and BulkDeleteView 2018-07-20 21:18:10 -04:00
Jeremy Stretch
2236e46907 Enabled change logging for circuit terminations 2018-07-12 13:46:30 -04:00
Jeremy Stretch
6da5abbede Added bulk tag addition/removal 2018-07-10 10:00:21 -04:00
Jeremy Stretch
4d92ffd153 Merge branch 'develop' into develop-2.4 2018-07-02 17:01:14 -04:00
Jeremy Stretch
9d2c4257a6 Closes #1851: Standardize usage of GetReturnURLMixin 2018-07-02 11:54:41 -04:00
Jeremy Stretch
6fe28e5047 Fixes #2191: Added missing static choices to circuits and DCIM API endpoints 2018-06-29 13:17:07 -04:00
Jeremy Stretch
999aebc167 Closes #2200: Replaced detail_route API view decorator with action (DRF change) 2018-06-29 11:48:21 -04:00
Jeremy Stretch
51bb7cee5c Added changelog links for organizational models 2018-06-20 14:54:04 -04:00
Jeremy Stretch
d04b1dc304 Implemented changelog views 2018-06-20 13:52:54 -04:00
Jeremy Stretch
c4c4dd7cad Added changelog views 2018-06-14 16:15:14 -04:00
Jeremy Stretch
a8329687da Renamed CreatedUpdatedModel to ChangeLoggedModel and applied it to all primary and organizational models 2018-06-13 15:40:16 -04:00
Jeremy Stretch
f472544300 Establish tests for the utilities app 2018-06-08 14:32:41 -04:00
John Anderson
80a1b23f6f Implements #81 - webhook event backend (#1640)
* merge branch develop

* bugfix, signals for virtualization's class wasn't correctly defined

* updated webhooks for 2.4 and cleanup

* updated docs to cover changes to supervisor config

* review changes and further cleanup

* updated redis connection settings

* cleanup settings
2018-05-30 11:19:10 -04:00
Jeremy Stretch
4f93687a8e Added migrations for #132 (tags) 2018-05-22 15:06:47 -04:00
Jeremy Stretch
f1a4c49e3f Implemented tag filtering 2018-05-18 16:24:15 -04:00
Jeremy Stretch
e08d8c4cac Implemented tags for all primary models 2018-05-10 12:53:11 -04:00
Jeremy Stretch
7a7bb63e91 Finished merging writable serializers 2018-04-05 14:12:43 -04:00
Jeremy Stretch
9a8f1c6672 Started merging writable serializers (WIP) 2018-04-04 17:01:24 -04:00
Jeremy Stretch
aa7d2d28e1 Updated tests for recently added model fields 2018-04-04 15:10:06 -04:00
Jeremy Stretch
f126120a8d Code formatting cleanup 2018-03-30 13:57:26 -04:00
Jeremy Stretch
3f8cabdb58 Closes #1866: Introduced AnnotatedMultipleChoiceField for filter forms 2018-03-07 14:16:38 -05:00
Jeremy Stretch
91059bb311 Merge branch 'develop' into develop-2.3 2018-02-06 14:58:11 -05:00
Jeremy Stretch
1891062261 Closes #1864: Added a 'status' field to the circuit model 2018-02-06 14:06:05 -05:00
Jeremy Stretch
cea1c45635 Standardized declaration of csv_headers on models 2018-02-02 14:26:16 -05:00
Jeremy Stretch
c6c165b1d0 Refactored CSV export logic 2018-02-02 11:36:45 -05:00
Jeremy Stretch
e0aac1a049 Merge branch 'develop' into develop-2.3 2018-01-31 11:13:17 -05:00
Jeremy Stretch
09ecf6588d Closes #1406: Display tenant description as title text in object tables 2018-01-30 11:57:21 -05:00
Jeremy Stretch
8ae884e164 Merge branch 'develop' into develop-2.3 2018-01-19 10:54:26 -05:00
Jeremy Stretch
822b3b6c51 Added bulk creation API tests 2018-01-02 16:29:44 -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
ce12e30903 Closes #1321: Added created and last_updated fields for relevant models to their API serializers 2017-12-21 10:49:40 -05:00
Jeremy Stretch
5640b1d1ab Standardize on JSON data format for all POST/PUT test client requests 2017-11-08 13:54:35 -05:00
Jeremy Stretch
55fe30fe8b Closes #1553: Introduced support for bulk object creation via the API 2017-11-07 15:36:10 -05:00
Jeremy Stretch
002848cf09 Closes #1691: Cleaned up and reorganized import statements 2017-11-07 11:08:23 -05:00
Jeremy Stretch
4174a12c5d Fixes #1670: Corrected filter names (regression from #1649) 2017-10-31 14:47:14 -04:00
Jeremy Stretch
0d0b193712 Fixes #1649: Correct fitlering on null values (e.g. ?tenant_id=0) for django-filters v1.1.0+ 2017-10-30 17:20:22 -04:00
Jeremy Stretch
3b3b219a46 Closes #999: Display devices on which circuits are terminated in circuits list 2017-10-20 16:27:19 -04:00
Jeremy Stretch
1f4deac332 Closes #1556: Added API endpoints listing static field choices for each app 2017-10-10 16:41:35 -04:00
Jeremy Stretch
38bdfdc3fc Added bulk import view for circuit types 2017-10-09 15:52:22 -04:00
Jeremy Stretch
bf6f513377 Renamed form_class attribute to model_form for consistency 2017-09-12 13:55:11 -04:00
Jeremy Stretch
ce470246eb Moved circuit speed humanization to a template tag 2017-08-29 22:42:06 -04:00
Jeremy Stretch
465be1aed4 Closes #1432: Added a commit_rate field to the circuits list search form 2017-08-29 16:48:11 -04:00
Jeremy Stretch
6c66a1f72f Fixes #1421: Improved model validation logic for API serializers 2017-08-15 13:54:04 -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
b6c50c98b6 Fixes #1334: Fix server error when adding an interface to a device 2017-07-11 14:52:50 -04:00
Jeremy Stretch
a4820a041b #1266: Exclude interfaces with existing connections or circuit terminations when creating a new connection 2017-07-10 12:44:16 -04:00
Jeremy Stretch
7950aff2e5 Merge branch 'develop' into develop-2.1
Conflicts:
	netbox/netbox/settings.py
2017-07-10 09:48:20 -04:00
Jeremy Stretch
2fbf862f61 Fixes #1325: Retain interface attachment when editing a circuit termination 2017-07-10 09:38:59 -04:00
Jeremy Stretch
3637939742 Fixes #1285: Enforce model validation when creating/editing objects via the API 2017-07-06 17:37:24 -04:00
Jeremy Stretch
57bad0a7cb Closes #1203: Implemented query filters for all models 2017-06-19 16:10:18 -04:00
Jeremy Stretch
cd592abb2d Closes #1218: Added IEEE 802.11 wireless interface types 2017-06-16 17:52:09 -04:00
Jeremy Stretch
e879ffc940 Moved constant definitions from models.py to constants.py 2017-06-16 16:01:44 -04:00
Jeremy Stretch
46e39a327f Fixes #1266: Prevent termination a circuit to an already-connected interface 2017-06-14 10:57:43 -04:00
Jeremy Stretch
3fa58a2e59 Fixes #1263: Differentiate add and edit permissions for objects 2017-06-13 16:41:57 -04:00
Jeremy Stretch
fbba8a449c Closes #913: Added headers to object CSV exports 2017-06-09 16:24:59 -04:00
Jeremy Stretch
bd9fab09d1 Form cleanup and fixed child device import 2017-06-07 15:30:28 -04:00
Jeremy Stretch
e879dec1a2 Added dynamic examples for CSV form fields 2017-06-06 17:27:26 -04:00
Jeremy Stretch
43445096cc Renamed new import view to BulkImportView 2017-06-05 15:53:41 -04:00
Jeremy Stretch
83a50f45b5 Converted circuits import views to new scheme 2017-06-02 13:40:52 -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
7eaeb19ed9 Created migrations for transition to Unicode literals 2017-05-24 14:18:52 -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
44be94a9ef Closes #1170: Include A and Z sites for circuits in global search results 2017-05-12 12:12:47 -04:00
Jeremy Stretch
d1e60d9cd7 Fixed selector initializations for TenancyForms 2017-05-11 17:52:23 -04:00
Jeremy Stretch
9721f9d038 Added tenant_group/tenant form section to all objects with tenancy 2017-05-11 17:35:20 -04:00
Jeremy Stretch
7f94f33044 Closes #1167: Introduced ChainedModelChoiceFields 2017-05-11 16:30:16 -04:00
Jeremy Stretch
f739eca0f6 Converted all necessary serializers to CustomFieldModelSerializers 2017-04-27 12:50:43 -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
84392d44a0 Fixes #1071: Protect assigned circuit termination when an interface is deleted 2017-04-19 13:19:30 -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
e46675aa22 Rearranged URL namespaces to satisfy deprecation warnings 2017-04-05 14:26:33 -04:00
Jeremy Stretch
7bbd8ec9c3 Introduced SearchTable for improved performance 2017-03-29 16:05:23 -04:00
Jeremy Stretch
ed51e72d32 Closes #973: Removed extraneous admin UI functions 2017-03-28 16:41:53 -04:00
Zach Moody
8fc8fa462a update api_url with new interfaces endpoint. 2017-03-24 18:42:23 -05:00
Zach Moody
6e5ab9e0af Fixes #996 2017-03-24 17:38:06 -05:00
Jeremy Stretch
52d235853f Merge branch 'develop' into api2
Conflicts:
	netbox/circuits/filters.py
2017-03-22 09:48:41 -04:00
Jeremy Stretch
74fb6f1a4d Closes #981: Allow filtering primary objects by a given set of IDs 2017-03-22 09:39:30 -04:00
Jeremy Stretch
8c15daf697 Fixed browsable API breadcrumbs 2017-03-20 21:50:10 -04:00
Jeremy Stretch
15ecd734c6 Added API endpoint, tests for Graphs 2017-03-20 15:14:33 -04:00
Jeremy Stretch
4f5d5cd4f0 Introduced HttpStatusMixin to provide more detail on HTTP response status test failures 2017-03-20 13:46:47 -04:00
Jeremy Stretch
c072bedd02 Restore not-so-extraneous 'id' field to all WritableSerializers 2017-03-17 17:32:43 -04:00
Jeremy Stretch
a0f931891b Removed extraneous 'id' field from all WritableSerializers 2017-03-17 16:20:34 -04:00
Jeremy Stretch
a282808285 Improved create/update validation 2017-03-16 14:17:14 -04:00
Jeremy Stretch
ff13bf81c6 Wrote tests for circuits API 2017-03-16 13:23:01 -04:00
Jeremy Stretch
78f0d583b0 Standardized API URL definitions 2017-03-09 13:24:02 -05:00
Jeremy Stretch
79c8be97e4 Moved custom field serializers to their own module to avoid circular dependency 2017-03-08 16:18:41 -05:00
Jeremy Stretch
5a7630e560 Merge branch 'develop' into api2
Conflicts:
	netbox/dcim/api/serializers.py
	netbox/dcim/api/urls.py
	netbox/dcim/api/views.py
	netbox/dcim/filters.py
	netbox/dcim/tables.py
	requirements.txt
2017-03-02 16:01:25 -05:00
Jeremy Stretch
9f216fd9ba Closes #927: Upgrade to django-filter 1.0 2017-03-01 13:09:19 -05:00
Jeremy Stretch
691ea87444 Merged develop 2017-02-28 16:10:53 -05:00
Jeremy Stretch
26263f5bcb Initial work on regions 2017-02-28 12:11:43 -05:00
Jeremy Stretch
eddb8a2fbc Merge branch 'develop' into api2
Conflicts:
	netbox/dcim/api/serializers.py
	netbox/dcim/api/views.py
	netbox/dcim/filters.py
2017-02-27 17:04:08 -05:00
Jeremy Stretch
9847b5187f Closes #105: Interface groups (#919)
* Initial work on interface groups

* Simplify to a single LAG form factor

* Correct interface serializer

* Allow for bulk editing of interface LAG

* Additional LAG interface validation

* Fixed API tests
2017-02-27 16:52:13 -05:00
Jeremy Stretch
e82e39745b Merge branch 'develop' into api2
Conflicts:
	netbox/dcim/api/serializers.py
2017-02-17 15:12:53 -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
c589f40796 Closes #898: Expand circuits list in provider view 2017-02-16 15:13:35 -05:00
Jeremy Stretch
b9d5d9ee8c Merge branch 'develop' into api2
Conflicts:
	netbox/dcim/api/serializers.py
	netbox/dcim/api/urls.py
	netbox/dcim/api/views.py
	netbox/dcim/filters.py
2017-02-16 14:28:06 -05:00
Jeremy Stretch
4ee7fc9465 Exposed the request to ObjectEditView's alter_obj() 2017-02-15 15:03:31 -05:00
Jeremy Stretch
3a9d874d5c Re-implemented CustomFieldSerializer (read-only for now) 2017-02-09 16:55:54 -05:00
Jeremy Stretch
20a15d0ec5 Standardize API URL inclusions 2017-02-03 16:20:14 -05:00
Jeremy Stretch
dcd382bd7f Include API routers directly where possible 2017-02-01 15:09:23 -05:00
Jeremy Stretch
58c4539a37 Removed circuit-specific endpoint for CircuitTerminations 2017-02-01 15:01:56 -05:00
Jeremy Stretch
4a78b461fd Removed all device-specific API endpoints 2017-02-01 14:34:19 -05:00
Jeremy Stretch
f8b35f0395 Implemented static writable ModelSerializers for all models 2017-01-31 15:35:09 -05:00
Jeremy Stretch
e41dc74521 Namespaced all API URLs 2017-01-31 10:40:53 -05:00
Jeremy Stretch
06710906c4 Moved graph views into model viewsets 2017-01-30 17:00:58 -05:00
Jeremy Stretch
f0b140818a Re-implemented interface/connection serializers 2017-01-30 15:35:01 -05:00
Jeremy Stretch
b6181842b2 Introduced WritableSerializerMixin 2017-01-27 14:36:13 -05:00
Jeremy Stretch
ba78981697 Converted nested serializers to HyperlinkedModelSerializer 2017-01-27 12:22:29 -05:00
Jeremy Stretch
ffdf23341b Cleaned up device component nested serializers 2017-01-26 22:37:17 -05:00
Jeremy Stretch
dd44611cb9 Standardized implementation of nested ViewSets 2017-01-26 17:58:36 -05:00
Jeremy Stretch
d568438ebf Added an endpoint for CircuitTerminations 2017-01-26 17:18:41 -05:00
Jeremy Stretch
ff32286005 Converted static URL definitions to routers 2017-01-26 15:34:07 -05:00
Jeremy Stretch
406a6963fc Created CircuitDetailSerializer 2017-01-26 15:33:41 -05:00
Jeremy Stretch
c5a2bec6d7 Merge branch 'develop' into api2 2017-01-26 14:07:23 -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
4d72ee291b Initial work on API v2.0 2017-01-24 17:12:16 -05:00
Jeremy Stretch
d3d23d55ff Closes #841: Merged search and filter forms on all object lists 2017-01-24 12:05:39 -05:00
Jens L
395b26374a Basic Support for Python 3 (#827)
* Rudimentary python3 support

* update docs and trigger Travis

* fix some of the tests

* fix all python3 errors

* change env calls to just python

* add @python_2_unicode_compatible decorator to models for python2 compatibility

* switch netbox.configuration to from netbox import configuration
2017-01-23 16:44:29 -05:00
Jeremy Stretch
d132a6a575 Fixes #817: Update last_updated time of a circuit when editing a child termination 2017-01-23 15:31:41 -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
4c5e81a72c Closes #783: Add a description field to the Circuit model 2017-01-17 15:18:03 -05:00
Jeremy Stretch
d1dd658356 Fixes #776: Prevent circuits from appearing twice while searching 2017-01-04 16:56:28 -05:00
Jeremy Stretch
c6a656d082 Fixes #764: Encapsulate in double quotes values containing commas when exporting to CSV 2017-01-04 10:47:00 -05:00
Jeremy Stretch
6f866ccb9c Fixes #767: Fixes xconnect_id error when searching for ciruits 2017-01-03 17:00:43 -05:00
Jeremy Stretch
308d5d5b67 Updated circuit import template 2017-01-03 14:25:51 -05:00
Jeremy Stretch
ff6d4d6c8f Upgraded django-filter to 0.15.3 2016-12-26 11:58:27 -05:00
Jeremy Stretch
fdedd18394 Standardized inheritance order of BootstrapMixin 2016-12-21 14:15:18 -05:00
Jeremy Stretch
a958eed49b Closes #49: Introduction of circuit terminations 2016-12-14 13:47:22 -05:00
Jeremy Stretch
83dea60830 Fixes #729: Corrected cancellation links when editing secondary objects 2016-12-08 12:20:45 -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
308c6980b7 Fixes #604: Correct display of unnamed devices in form selection fields 2016-10-13 15:21:36 -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
9581f9217e Reimplemented FilterChoiceField 2016-09-20 11:08:25 -04:00
Jeremy Stretch
dc58694d49 Added 'none' options to filters for optional fields 2016-09-15 17:12: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
Jeremy Stretch
9dbf3d6e05 Added custom field support to filter forms 2016-08-23 12:05:28 -04:00
Jeremy Stretch
2168926d90 Implemented dynamic filters for custom fields 2016-08-23 11:18:00 -04:00
Jeremy Stretch
be4dde81e1 Optimized API performance 2016-08-22 15:16:49 -04:00
Jeremy Stretch
238bf0a1bb Extended API to include custom fields 2016-08-22 13:20:30 -04:00
Jeremy Stretch
77f18d6e66 Updated bulk edit forms to support custom fields 2016-08-22 13:11:57 -04:00
Jeremy Stretch
bef660a2ad Added bulk editing capability for custom fields 2016-08-16 14:57:04 -04:00
Jeremy Stretch
4724ce45d8 Minimal implemtnation of custom fields 2016-08-15 15:24:23 -04:00
Jeremy Stretch
c29244a7a4 Closes #149: Added upstream_speed field to Circuit 2016-08-08 16:51:19 -04:00
Jeremy Stretch
56a2a414c9 Fixes #406: Corrected ordering of port_speed and commit_rate in CircuitTable 2016-08-02 10:50:25 -04:00
Jeremy Stretch
8792606aff Closes #176: Added initial_data fixtures for new installs 2016-08-01 12:29:26 -04:00
Jeremy Stretch
250f04dad1 Show graphs button only if there is at least one graph to display 2016-07-29 13:19:58 -04:00
Jeremy Stretch
ba739afef5 Closes #358: Improved search of all objects 2016-07-29 12:51:23 -04:00
Jeremy Stretch
b19d0c4afe Added account field to provider table 2016-07-29 12:33:40 -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
fee82e2169 Replaced edit links with buttons 2016-07-28 15:04:33 -04:00
Jeremy Stretch
05b425eaf2 Tenancy-related API cleanup 2016-07-27 13:42:17 -04:00
Jeremy Stretch
767aa2aedf Cleaned up migrations 2016-07-26 18:01:01 -04:00
Jeremy Stretch
06b0b42b5c Added tenant to circuit bulk editing; enabled filtering of circuits by tenant 2016-07-26 17:10:11 -04:00
Jeremy Stretch
7fe944f8ea Added tenant to import/export of Circuits 2016-07-26 15:48:48 -04:00
Jeremy Stretch
3019fa353e Applied tenancy to circuits 2016-07-26 15:42:26 -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
df1f1cd006 Fixed Unicode support in forms 2016-07-21 10:47:38 -04:00
Jeremy Stretch
b619f99a75 Unicode handling cleanup 2016-07-18 14:48:51 -04:00
Jeremy Stretch
ddb20f34b8 Fixes #174: Added search and site filter to provider list 2016-07-14 13:53:30 -04:00
Jeremy Stretch
a4ee81f9c5 Fixes #268: Added support for full 32-bit ASN space 2016-07-13 15:30:15 -04:00
Jeremy Stretch
cbd7b5b4c3 Squashed migrations in preparation for public release 2016-06-22 14:23:06 -04:00
Jeremy Stretch
cb5991d5a6 Extended primary models to include 'created' and 'last_updated' fields 2016-06-22 10:19:00 -04:00
Jeremy Stretch
67d5d008b9 Why does changing a field's verbose name require a migration? 2016-06-21 13:29:02 -04:00
Jeremy Stretch
bc958a23b3 Improved model docstring quality 2016-06-21 12:45:02 -04:00
Jeremy Stretch
a29e57319e Implemented BaseTable for consistent rendering 2016-06-20 16:34:19 -04:00
Jeremy Stretch
ccc52348be Humanized Circuit speed display 2016-06-20 15:58:18 -04:00
Jeremy Stretch
c456248e0c Converted Circuit port_speed to PositiveIntegerField 2016-06-20 15:33:26 -04:00
Jeremy Stretch
4895ae13a7 Implemented built-in CSV export for circuit objects 2016-06-16 13:57:43 -04:00
Jeremy Stretch
b4619fad7a Added 'select all' option to object lists for bulk edit/delete 2016-06-01 13:30:33 -04:00
Jeremy Stretch
cb8e0c93f2 Implemented object add/edit/delete logging 2016-05-23 14:20:42 -04:00
Jeremy Stretch
bbdc7dccba Added JS for SlugField autofill 2016-05-20 15:32:17 -04:00
Jeremy Stretch
7502a02fba Code cleanup 2016-05-18 16:35:35 -04:00
Jeremy Stretch
f690be60fd Code cleanup 2016-05-18 16:20:30 -04:00
Jeremy Stretch
112e2ccde7 Code cleanup 2016-05-18 16:02:53 -04:00
Jeremy Stretch
4de5f992be Code cleanup 2016-05-18 15:17:58 -04:00
Jeremy Stretch
9df86d5268 Collapsed add/edit functionality into ObjectEditView 2016-05-13 16:36:58 -04:00
Jeremy Stretch
558fb60c50 Added CBVs for CircuitTypes 2016-05-13 12:44:03 -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
a0ffd71755 Consolidated bulk delete views to use a single template 2016-05-11 15:18:39 -04:00
Jeremy Stretch
9acd23e08a Converted circuits add/edit/delete views to CBVs 2016-05-03 15:46:30 -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
396affbb48 Changed CircuitForm.interface to an optional field 2016-03-08 10:50:12 -05:00
Jeremy Stretch
5796d1f385 Converted circuits object lists to ObjectListView 2016-03-04 11:05:00 -05:00
Jeremy Stretch
27b289ee3b Initial push to public repo 2016-03-01 11:23:03 -05:00