Commit Graph

132 Commits

Author SHA1 Message Date
Jeremy Stretch
34a9573a0b Cleaned up imports 2018-07-16 17:09:21 -04:00
Jeremy Stretch
c6e54c6ee8 Webhook admin form cleanup 2018-07-16 13:54:50 -04:00
Jeremy Stretch
4d92ffd153 Merge branch 'develop' into develop-2.4 2018-07-02 17:01:14 -04:00
Jeremy Stretch
02e7cf1994 Closes #2159: Allow custom choice field to specify a default choice 2018-06-29 16:01:28 -04:00
Jeremy Stretch
e0bde1b4eb Fixed rendered config context ordering 2018-06-29 09:53:33 -04:00
Jeremy Stretch
ba282a63e2 Added description to ConfigContext 2018-06-29 09:44:32 -04:00
Jeremy Stretch
ddae62905d Sort rendered config context 2018-06-28 14:10:20 -04:00
Jeremy Stretch
1f8e4698f9 Moved object context rendering to ObjectConfigContextView and standardized the template 2018-06-28 13:48:12 -04:00
Jeremy Stretch
aa8ffad29c Introduced the render_json template filter 2018-06-28 10:49:52 -04:00
Jeremy Stretch
2b56131412 Initial work on config contexts 2018-06-27 16:02:34 -04:00
Jeremy Stretch
5ba433b058 Corrected import of reverse() for Django 2.0 2018-06-22 16:34:38 -04:00
Jeremy Stretch
895bae649f Extend ObjectChange to optionally indicate a related object (e.g. a parent device) 2018-06-22 15:05:40 -04:00
Jeremy Stretch
d04b1dc304 Implemented changelog views 2018-06-20 13:52:54 -04:00
Jeremy Stretch
dbafc047da Record a unique request ID with each ObjectChange 2018-06-19 15:45:15 -04:00
Jeremy Stretch
c4c4dd7cad Added changelog views 2018-06-14 16:15:14 -04:00
Jeremy Stretch
71793a8e49 Implemented new object change logging to replace UserActions 2018-06-13 17:06:33 -04:00
Jeremy Stretch
ea591b4542 Miscellaneous cleanup of the Webhook model 2018-05-30 13:59:00 -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
f126120a8d Code formatting cleanup 2018-03-30 13:57:26 -04:00
luto
49223c97c6 compare strings using "==" not "is", fixes #1980 2018-03-21 14:28:59 +01:00
Jeremy Stretch
16c9b68b9a Closes #1693: Allow specifying loose or exact matching for custom field filters 2018-02-21 15:40:11 -05:00
Jeremy Stretch
6b9c193fc2 Closes #78: Implemented ability to render topology maps for console/power 2018-02-15 12:10:29 -05:00
Jeremy Stretch
c6c165b1d0 Refactored CSV export logic 2018-02-02 11:36:45 -05:00
Jeremy Stretch
002848cf09 Closes #1691: Cleaned up and reorganized import statements 2017-11-07 11:08:23 -05:00
root
6602c2b77c Avoid creating repeated graph nodes where device matches multiple regexps
Fixes #1498
2017-10-16 10:13:39 +00:00
Jeremy Stretch
422deae06a Removed custom permission 2017-09-26 17:31:16 -04:00
Jeremy Stretch
6f401636f8 Implemented rough UI for accessing report results 2017-09-22 12:11:10 -04:00
Jeremy Stretch
c7e54ecde6 Initial work on reports API 2017-09-21 16:32:05 -04:00
Jeremy Stretch
6a0ac79213 Fixes #1415: Ignore leading/trailing semicolons in topology map device lists 2017-08-09 15:46:40 -04:00
Jeremy Stretch
1e1d228257 Merge branch 'develop' into develop-2.1
Conflicts:
	netbox/ipam/models.py
	netbox/netbox/settings.py
	netbox/templates/dcim/inc/interface.html
2017-07-06 13:27:13 -04:00
Christian Harendt
4a423e4c3e Preserve fileextension, regardless of upper or lower case on imageuploads 2017-07-04 14:26:35 +02:00
Jeremy Stretch
e879ffc940 Moved constant definitions from models.py to constants.py 2017-06-16 16:01:44 -04:00
Jeremy Stretch
4d4cfba14f Fixes #1274: Exclude unterminated circuits from topology maps 2017-06-15 10:05:14 -04:00
Jeremy Stretch
4686b266a6 Fixes #1226: Improve validation for custom field values submitted via the API 2017-05-31 14:09:57 -04:00
Jeremy Stretch
297d9c6bb9 Import unicode_literals 2017-05-24 11:33:11 -04:00
Jeremy Stretch
7ec0b1b458 #1177: Render planned connections as dashed lines on topology maps 2017-05-15 13:11:20 -04:00
Jeremy Stretch
29ea0066f7 Closes #1179: Adjust topology map text color based on node background 2017-05-15 12:56:16 -04:00
Jeremy Stretch
eae57841b8 Fixes #1150: Error when uploading image attachments with Unicode names under Python 2 2017-05-09 17:12:45 -04:00
Jeremy Stretch
369abefed6 Fixes #1114: Suppress OSError when attempting to access a delete image attachment 2017-04-28 14:26:17 -04:00
Jeremy Stretch
8cc7571e67 Added custom field API tests 2017-04-25 14:53:18 -04:00
Jeremy Stretch
93086099cd Colored nodes in topology maps 2017-04-06 14:12:30 -04:00
Jeremy Stretch
cd767261c3 Closes #430: Include circuits when rendering topology maps 2017-04-05 17:24:40 -04:00
Jeremy Stretch
4384993546 Resolved RemovedInDjango20Warning deprecation warnings 2017-04-05 14:40:25 -04:00
Jeremy Stretch
3f6f164574 Merge branch 'develop' into v2-develop
Conflicts:
	netbox/netbox/settings.py
2017-04-04 12:06:49 -04:00
Jeremy Stretch
eef22e5c52 Fixes #1022: Record user actions when creating IP addresses in bulk 2017-04-03 14:45:20 -04:00
Jeremy Stretch
1150e8e97b Implemented API endpoints for ImageAttachments 2017-04-03 14:00:15 -04:00
Jeremy Stretch
c6e3810265 Initial work on #152: Image attachments 2017-03-30 21:55:57 -04:00
Jeremy Stretch
97006f15ec Cleanup 2017-03-08 16:30:32 -05:00
Jeremy Stretch
7b5f59852f Moved TopologyMaps from DCIM to extras 2017-03-08 16:12:14 -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
6c25c66bd1 Closes #722: Enabled custom fields for device types 2016-12-16 10:54:45 -05:00
Jeremy Stretch
0f08e703f6 #702: Fix lingering Unicode incompatibility 2016-11-29 17:33:22 -05:00
Jeremy Stretch
96cffd9295 Fixes #702: Improved Unicode support for custom fields 2016-11-29 13:34:22 -05:00
Jeremy Stretch
536777e38f Fixes #632: Use semicolons instead of commas to separate regexes in topology maps 2016-11-03 14:49:02 -04:00
Jeremy Stretch
bb9fd42722 Closes #579: Add a description field to ExportTemplate 2016-09-27 16:31:18 -04:00
Jeremy Stretch
0a790de87f Fixes #576: Delete all relevant CustomFieldValues ehen deleting a CustomFieldChoice 2016-09-27 10:51:33 -04:00
Jeremy Stretch
a52cfe268e Quick fix for v1.6.1 related to #561 2016-09-21 11:43:22 -04:00
Jeremy Stretch
a3f664ce7b Closes #561: Make custom fields accessible from within export templates 2016-09-19 16:11:37 -04:00
Jeremy Stretch
0de97589e6 Fixes #544: Strip CRLF-style line terminators from rendered export templates 2016-09-12 10:42:59 -04:00
Jeremy Stretch
2659f36a32 Added URL custom field type; added is_filterable toggle; fixed bulk editing 2016-08-23 16:45:26 -04:00
Jeremy Stretch
2d88c8695b Corrected CustomField ordering 2016-08-23 12:25:23 -04:00
Jeremy Stretch
b29cf4cacc Added a weight to CustomField for ordering fields within a form 2016-08-23 12:11:27 -04:00
Jeremy Stretch
be4dde81e1 Optimized API performance 2016-08-22 15:16:49 -04:00
Jeremy Stretch
28cb681446 Documentation and cleanup 2016-08-18 14:23:28 -04:00
Jeremy Stretch
4198f7da40 Fixed default value for boolean fields 2016-08-18 11:44:40 -04:00
Jeremy Stretch
fc46e1fae1 Optimized bulk editing of custom fields 2016-08-17 15:52:27 -04:00
Jeremy Stretch
ebfb1b8469 Converted to a single column for value storage 2016-08-17 14:49:42 -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
4724ce45d8 Minimal implemtnation of custom fields 2016-08-15 15:24:23 -04:00
Jeremy Stretch
486fe1b173 Initial work on custom fields 2016-08-12 17:20:01 -04:00
Jeremy Stretch
3a771d871c Enable custom export templates for Tenants 2016-08-12 13:29:24 -04:00
Jeremy Stretch
6b5bccd657 Corrected Unicode display of ExportTemplates 2016-07-26 09:15:46 -04:00
Jeremy Stretch
3593ef9298 Fixes #385: Corrected Unicode rendering of UserAction 2016-07-26 09:11:35 -04:00
Jeremy Stretch
39330850b3 Standardized graph display; added templatization for graph links 2016-06-24 11:16:49 -04:00
Jeremy Stretch
741f93999b PEP8 clenaup 2016-06-16 15:02:01 -04:00
Jeremy Stretch
651f97af81 Improved UserAction display 2016-05-24 09:45:40 -04:00
Jeremy Stretch
cb8e0c93f2 Implemented object add/edit/delete logging 2016-05-23 14:20:42 -04:00
Jeremy Stretch
f690be60fd Code cleanup 2016-05-18 16:20:30 -04:00
Jeremy Stretch
fdda706f36 TopologyMap: Allow multiple device regexes per line 2016-04-12 09:31:40 -04:00
Jeremy Stretch
29fd04026d Introduced TopologyMap 2016-04-08 14:57:54 -04:00
Jeremy Stretch
27b289ee3b Initial push to public repo 2016-03-01 11:23:03 -05:00