Commit Graph

3752 Commits

Author SHA1 Message Date
Jeremy Stretch
1afa97f454 Import Django User model automatically when running nbshell 2019-08-19 11:47:50 -04:00
Jeremy Stretch
39bb119971 Fixes #3421: Fix exception when ordering power connections list by PDU 2019-08-19 11:27:36 -04:00
Jeremy Stretch
9d1516cadc Add tests for Script Variables 2019-08-19 10:41:44 -04:00
Jeremy Stretch
9071fd9254 Closes #3430: Linkify platform field on device view 2019-08-19 09:50:41 -04:00
John Anderson
7dce9908ae remove blank line after update call 2019-08-19 02:11:54 -04:00
John Anderson
8bd1a48973 fixes #3428 - caching invalidation issues
Mitgate invalidation issues by using prefetch_related instead of select_related.
Also use invalidated_update instead of just update.
2019-08-19 01:53:39 -04:00
Jeremy Stretch
d643dde3a0 Updated docs for IPNetworkVar and FileVar 2019-08-16 15:31:29 -04:00
Jeremy Stretch
c8c6c783b2 Add FileVar for file uploads 2019-08-16 15:27:58 -04:00
Jeremy Stretch
bfd73db5b6 Change fields to field_order 2019-08-15 16:19:25 -04:00
Jeremy Stretch
244d3b7883 Docs updates 2019-08-15 16:07:15 -04:00
Jeremy Stretch
a26e1485ed Changelog for #3426 2019-08-15 15:31:05 -04:00
Jeremy Stretch
de689354a6 Merge pull request #3427 from candlerb/candlerb/3426
Improve API error handling when a list is given as a choice value
2019-08-15 15:29:47 -04:00
Brian Candler
9ad8b8331b Improve API error handling when a list is given as a choice value
Fixes #3426
2019-08-15 17:16:24 +01:00
Jeremy Stretch
52ffab980f Closes #3391: Update Bootstrap CSS to v3.4.1 2019-08-15 11:47:57 -04:00
Jeremy Stretch
95693c6565 Fixes #3424: Fix tag coloring for non-linked tags 2019-08-15 11:12:52 -04:00
Jeremy Stretch
c40b630c36 Closes #3386: Add mac_address filter for virtual machines 2019-08-15 11:02:40 -04:00
Jeremy Stretch
f4b2015f1d Add TextVar for large text entry 2019-08-14 16:20:52 -04:00
Jeremy Stretch
7b27af3273 Fix table column widths 2019-08-14 15:46:08 -04:00
Jeremy Stretch
9931d4d1a0 Add markdown rendering for log mesages 2019-08-14 14:38:11 -04:00
Jeremy Stretch
502e745509 Include stack trace when catching an exception 2019-08-14 14:26:13 -04:00
Jeremy Stretch
f0ec068650 Use TreeNodeChoiceField for MPTT objects 2019-08-14 14:03:11 -04:00
Jeremy Stretch
81bb6a59e2 Add convenience functions for loading YAML/JSON data from file 2019-08-14 13:08:21 -04:00
Jeremy Stretch
a752754852 Show script log when an exception occurs 2019-08-14 12:19:36 -04:00
Jeremy Stretch
500eb63d9f Fix notice when form does not require user input 2019-08-14 10:18:25 -04:00
Jeremy Stretch
ce43e5f6ea Record script execution time 2019-08-14 10:12:30 -04:00
Jeremy Stretch
52de9d227a Tweak form display (cosmetic) 2019-08-14 09:40:23 -04:00
Jeremy Stretch
a0d181728a Add IPNetworkVar 2019-08-13 09:48:51 -04:00
Jeremy Stretch
f1e12213e7 Allow user to override module name 2019-08-13 09:09:12 -04:00
Jeremy Stretch
fc9a5c5cd1 Meta.fields should be optional 2019-08-12 16:59:09 -04:00
Jeremy Stretch
90bb0d47df Add option to commit database changes 2019-08-12 14:28:06 -04:00
Jeremy Stretch
ab16af1265 Implemented run_script() wrapper 2019-08-12 13:51:25 -04:00
Jeremy Stretch
eeacd04483 Move script attributes under a Meta class 2019-08-12 13:16:18 -04:00
Jeremy Stretch
72558468ad Closes #3420: Serial number filter for racks, devices, and inventory items is now case-insensitive 2019-08-12 12:10:36 -04:00
Jeremy Stretch
be57e606af Fixes #3422: Prevent navigation menu from overlapping page content 2019-08-12 11:57:48 -04:00
Jeremy Stretch
cad46f81e6 Implemented permissions for scripts 2019-08-12 11:39:36 -04:00
Jeremy Stretch
042f6bc8bd Extend example custom script to generate output 2019-08-12 11:13:16 -04:00
Jeremy Stretch
8312a23056 BooleanVar cannot be required 2019-08-12 11:13:16 -04:00
Jeremy Stretch
1da82905c0 Example script tweak 2019-08-12 11:13:16 -04:00
Jeremy Stretch
1331072d92 Fix form field ordering 2019-08-12 11:13:16 -04:00
Jeremy Stretch
6cc074b1e4 Added documentation for custom scripts 2019-08-12 11:13:16 -04:00
Jeremy Stretch
49a23f1fe9 Add options for script vars; include script output 2019-08-12 11:13:16 -04:00
Jeremy Stretch
f602ffbca7 Initial work on custom scripts (#3415) 2019-08-12 11:13:16 -04:00
Jeremy Stretch
59284463b6 Merge pull request #3412 from netbox-community/3405-bugfix
Move device component creation logic out of Device model
2019-08-08 21:16:11 -04:00
Jeremy Stretch
a3925c6829 Changelog for #3405 2019-08-07 17:49:54 -04:00
Jeremy Stretch
8bd8d8249f Add test for device component creation 2019-08-07 17:48:12 -04:00
Jeremy Stretch
3f0fd7f891 Fixes #3405: Move device component creation logic into template models 2019-08-07 17:47:44 -04:00
Jeremy Stretch
b6d8fdbe5e Removed invalid contact email 2019-08-02 15:02:29 -04:00
Jeremy Stretch
8970af8e36 Post-release version bump 2019-08-02 10:31:56 -04:00
Jeremy Stretch
366d8dcbce Merge pull request #3387 from netbox-community/develop
Release v2.6.2
2019-08-02 10:31:34 -04:00
Jeremy Stretch
487190ed20 Release v2.6.2 2019-08-02 10:29:10 -04:00