Commit Graph

9067 Commits

Author SHA1 Message Date
jeremystretch
412cd912d3 Add tests & cleanup 2021-12-22 09:51:31 -05:00
jeremystretch
a6f2a2b4de Improve preferences form rendering 2021-12-22 09:35:29 -05:00
jeremystretch
74af96c2c0 Enable plugins to define user preferences 2021-12-22 09:10:50 -05:00
jeremystretch
9a6d51de91 Introduce DEFAULT_USER_PREFERENCES dynamic config setting 2021-12-21 20:30:59 -05:00
jeremystretch
c525808e58 Update config context display to reference data_format preference 2021-12-21 19:59:33 -05:00
jeremystretch
057884898d Introduce UserPreference to define user preferences 2021-12-21 17:05:06 -05:00
jeremystretch
2412e3f982 Introduce UserConfigForm for managing user preferences 2021-12-21 16:29:01 -05:00
jeremystretch
07529642e0 Fixes #8139: Fix rendering of table configuration form under VM interfaces view 2021-12-21 14:10:12 -05:00
jeremystretch
00671404fe Fixes #8138: Fix alignment of tags panel within IP address view 2021-12-21 14:04:15 -05:00
jeremystretch
94cda3669c FIxes #7972: Standardize name of RemoteUserBackend logger 2021-12-21 13:57:12 -05:00
jeremystretch
e5389836f2 Fixes #8127: Fix disassociation of interface under IP address edit view 2021-12-21 13:17:54 -05:00
thatmattlove
d2c14df268 Fixes #8134: reinitialize event listeners when HTMX swaps elements 2021-12-21 11:11:33 -07:00
jeremystretch
c66bd2263f Closes #8100: Add "other" choice for FHRP group protocol 2021-12-21 13:05:38 -05:00
jeremystretch
7a758a4fe6 Closes #8135: Append version when fetching static assets 2021-12-21 13:00:52 -05:00
jeremystretch
f9c099efe1 Changelog & cleanup for #7246, #8097 2021-12-21 11:53:31 -05:00
Jeremy Stretch
a32623f2df Merge pull request #8121 from kkthxbye-code/fix-8097
Fix #8097: Re-fix markdown table rendering
2021-12-21 11:50:24 -05:00
Jeremy Stretch
20d61316fe Merge pull request #8063 from rizlas/develop
Get_Environment from napalm should not need any decoding
2021-12-21 11:43:23 -05:00
Jeremy Stretch
6cd813e0ed Merge branch 'develop' into fix-8097 2021-12-21 11:37:58 -05:00
jeremystretch
68e9a20851 Merge branch 'develop' into feature 2021-12-21 11:28:16 -05:00
rizlas
ddd1584a4e Update netbox/dcim/api/views.py
Test without decode_dict function

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2021-12-21 17:15:54 +01:00
jeremystretch
63ebf62aa3 Fixes #8131: Restore annotation of available IPs under prefix IPs view 2021-12-21 11:09:30 -05:00
jeremystretch
cac05852e5 Fix RearPortTemplateTable buttons 2021-12-21 10:57:46 -05:00
jeremystretch
7aad435f6d Clean up imports 2021-12-21 10:48:10 -05:00
jeremystretch
ef40b15b3d Remove extraneous output from service edit template 2021-12-21 10:30:30 -05:00
jeremystretch
2727b3528f Clean up device/devicetype tab views 2021-12-21 10:28:28 -05:00
jeremystretch
1588363589 Add changelog for #7962 (via #8114) 2021-12-21 09:03:36 -05:00
Jeremy Stretch
29b7458689 Merge pull request #8130 from netbox-community/8114-htmx-jobs
Closes #8114: Use HTMX to update report/script results
2021-12-21 09:01:15 -05:00
jeremystretch
79eb96b93b Clean up report & script templates 2021-12-21 08:43:01 -05:00
jeremystretch
62debb20c3 Remove jobs Javascript 2021-12-20 20:59:14 -05:00
jeremystretch
198b378d71 Convert reports to use HTMX 2021-12-20 20:52:29 -05:00
jeremystretch
972f2e7af6 Convert scripts to use HTMX 2021-12-20 20:45:32 -05:00
kkthxbye-code
a60426f325 Fix #8097: Re-fix markdown table rendering 2021-12-20 23:31:24 +01:00
jeremystretch
a4a4d4d0c6 Merge v3.1.2 2021-12-20 16:28:11 -05:00
jeremystretch
0f7cf7630e PRVB 2021-12-20 16:06:42 -05:00
Jeremy Stretch
e72901cb44 Merge pull request #8123 from netbox-community/develop
Release v3.1.2
2021-12-20 16:04:41 -05:00
jeremystretch
0cda35a8bf Release v3.1.2 2021-12-20 15:48:28 -05:00
jeremystretch
8e5abf10f3 Changelog & PEP8 cleanup for #7999 2021-12-20 14:17:52 -05:00
Jeremy Stretch
a9182b5564 Merge pull request #8000 from joni1993/more-channels
feat: add 6GHz & 60Ghz channels
2021-12-20 14:16:12 -05:00
Jeremy Stretch
b615e09307 Merge pull request #8111 from bonktree/opaque-icon
templates: add an opaque icon for mobile home screens
2021-12-20 13:58:25 -05:00
jeremystretch
581027d879 Fixes #8101: Preserve return URL when using "create and add another" button 2021-12-20 13:41:22 -05:00
jeremystretch
544712e66a Fixes #8102: Raise validation error when attempting to assign an IP address to multiple objects 2021-12-20 13:09:28 -05:00
Daniel Sheppard
0962725da2 Fixes #8102 - Add validation around assigned objects 2021-12-20 11:07:44 -06:00
jeremystretch
8c42604a31 Changelog for #7844 2021-12-20 11:02:56 -05:00
Jeremy Stretch
2911d4f96d Merge pull request #8105 from netbox-community/7844-modules
Closes #7844: Add support for device modules
2021-12-20 10:55:50 -05:00
jeremystretch
c6f42cd1b9 Add documentation for modules 2021-12-20 10:31:18 -05:00
jeremystretch
80fd3a48da Add position field for module bays 2021-12-20 09:51:55 -05:00
jeremystretch
f7aab02d46 Closes #7661: Remove forced styling of custom banners 2021-12-19 15:33:48 -05:00
Arseny Maslennikov
9e99369c83 templates: add an opaque icon for mobile home screens
The netbox_touch-icon-180.png icon was produced by rendering
netbox_icon.svg into a 160x160 square, centered in a 180x180 PNG filled
by the background colour of #212529.

In other words, it is a screenshot of the following HTML element:
```html
  <div style="width: 180px;height: 180px;background-color: #212529;">
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 320" style="padding: 10px;">
    <g fill="#9cc8f8" stroke="#9cc8f8">
      <circle cx="37" cy="284" r="23"></circle>
      <circle cx="101" cy="37" r="23"></circle>
      <circle cx="101" cy="220" r="23"></circle>
      <circle cx="284" cy="220" r="23"></circle>
      <rect x="93" y="37" width="16" height="180"></rect>
      <rect x="101" y="212" width="180" height="16"></rect>
      <rect x="93" y="212" width="16" height="90" transform="rotate(45 101 220)"></rect>
    </g>
    <g fill="#1685fc" stroke="#1685fc">
      <circle cx="284" cy="37" r="23"></circle>
      <circle cx="37" cy="101" r="23"></circle>
      <circle cx="220" cy="101" r="23"></circle>
      <circle cx="220" cy="284" r="23"></circle>
      <rect x="37" y="93" width="180" height="16"></rect>
      <rect x="212" y="101" width="16" height="180"></rect>
      <rect x="212" y="93" width="16" height="90" transform="rotate(225 220 101)"></rect>
    </g>
  </svg>
  </div>
```
2021-12-19 01:32:15 +03:00
jeremystretch
af973ae07e Closes #8083: Removed "related devices" panel from device view 2021-12-18 14:30:28 -05:00
jeremystretch
82b6ec6037 Fixes #8092: Rack elevations should not include device asset tags 2021-12-18 14:26:32 -05:00