Commit Graph

233 Commits

Author SHA1 Message Date
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