Commit Graph

12197 Commits

Author SHA1 Message Date
Jeremy Stretch
e774dc09f8 Fixes #14432: Fix hyperlinks for global search result attributes 2023-12-07 09:52:40 -05:00
Abhimanyu Saharan
cbf020cdf9 Fixes IPv6 detection from headers (#14456)
* fixes client ip detection for v6

* adds test for get_client_ip

* Employ urlparse() to strip port numbers from IPs

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-12-07 09:45:30 -05:00
Jeremy Stretch
133cd0e556 Fixes #14448: Fix exception when creating a power feed with rack and panel in different sites 2023-12-06 15:28:47 -05:00
Jeremy Stretch
f3d37b2fbe Fixes #14322: Populate default custom field values when instantiating templated device components 2023-12-06 15:21:34 -05:00
Arthur
1d193519d4 14401 review changes - remove migration 2023-12-06 15:16:03 -05:00
Arthur
7a846e9785 14401 validate rack startion position > 0 2023-12-06 15:16:03 -05:00
Jeremy Stretch
05230aea7f Closes #12623: Document need for core.sync_datasource permission 2023-12-05 14:03:38 -05:00
Abhimanyu Saharan
fc2e4c70d5 adds optional classes parameter #14390 2023-12-05 13:51:28 -05:00
Jeremy Stretch
efaa92f9b5 Release v3.7-beta1 2023-12-05 08:25:48 -05:00
Jeremy Stretch
b3e5b3d963 Documentation cleanup 2023-12-05 08:05:44 -05:00
Jeremy Stretch
f4f6da8912 #9816: Add TunnelGroup 2023-12-04 15:44:52 -05:00
Jeremy Stretch
f48ced0dde Upgrade django-taggit to v5.0.1 2023-12-04 13:43:58 -05:00
Jeremy Stretch
b61bfe202d Upgrade Markdown to v3.5.1 2023-12-04 13:39:04 -05:00
Jeremy Stretch
fe49f1b6b8 #14132: Fix documentation link 2023-12-04 11:15:13 -05:00
Jeremy Stretch
0af1911f57 #14132: Extend EventRule template 2023-12-04 11:12:20 -05:00
Jeremy Stretch
b845762928 #14132: Simplify form logic for script EventRules 2023-12-04 10:57:29 -05:00
Jeremy Stretch
8e52cb2e2b #14132: Fix migration 2023-12-04 10:21:37 -05:00
Jeremy Stretch
c4aed4763e Fixes #14402: Avoid nullifying disk value when editing a VM with disk(s) attached 2023-12-04 10:03:47 -05:00
Jeremy Stretch
539ea1bf6c #14311: Update model documentation 2023-12-04 09:29:43 -05:00
Jeremy Stretch
dbaf2723ca #9816: Promote IKE & IPSec proposals and policies to primary models 2023-12-04 09:28:29 -05:00
Jeremy Stretch
fa10ac5e7a #9816: Misc cleanup 2023-12-04 09:19:25 -05:00
Jeremy Stretch
ebebfe3cac #14153: Import proxy ContentType for nbshell 2023-12-01 11:50:48 -05:00
Jeremy Stretch
2eb0523fe6 #13794: Fix alphabetical ordering of related models 2023-12-01 11:23:38 -05:00
Jeremy Stretch
5c9aba91f3 #13550: Clean up bulk view docstrings 2023-12-01 11:08:09 -05:00
Jeremy Stretch
ba78e270ce #13334: Capture exception class when recording job error 2023-12-01 10:54:46 -05:00
Jeremy Stretch
afb8e3c08e #13299: Clean up custom field form field help text 2023-12-01 10:24:12 -05:00
Jeremy Stretch
9687227eeb #13299: Fix display of empty string values 2023-12-01 10:23:38 -05:00
Jeremy Stretch
b1fb8818de #13230: Tweak field description 2023-12-01 10:10:44 -05:00
Jeremy Stretch
45f0ac04b5 #12135: Elegantly handle ProtectedError/RestrictedError exceptions 2023-12-01 09:51:54 -05:00
Jeremy Stretch
4927a036be Improve rendering of JSON data 2023-12-01 09:24:23 -05:00
Jeremy Stretch
a7b5f112e2 Update developer model docs 2023-12-01 08:47:31 -05:00
Jeremy Stretch
104d4d7357 Finish draft release notes 2023-12-01 08:37:20 -05:00
Jeremy Stretch
889d210113 Closes #14395: Move & rename process_webhook() 2023-12-01 08:25:01 -05:00
Jeremy Stretch
5137b8b944 Closes #14365: Introduce job_start and job_end signals (#14393)
* Introduce job_start and job_end signals, and receivers to process event rules

* Complete signals documentation
2023-11-30 19:36:41 -05:00
Jeremy Stretch
a98a8019a4 Closes #14361: Add a description field to Webhook (#14380) 2023-11-30 17:02:45 -05:00
Arthur Hanson
8cfb44fd4b 14132 Add EventRule - change webhook and add in script processing to events (#14267)
---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-11-30 16:36:33 -05:00
Jeremy Stretch
bbccc1c743 Merge branch 'develop' into feature 2023-11-29 20:25:44 -05:00
Jeremy Stretch
43169f3b8b PRVB 2023-11-29 19:32:45 -05:00
Jeremy Stretch
e2eb4de1de Merge pull request #14386 from netbox-community/develop
Release v3.6.6
2023-11-29 19:30:47 -05:00
Jeremy Stretch
29515facba Release v3.6.6 2023-11-29 19:16:30 -05:00
Jeremy Stretch
b3af9006d0 Update changelog 2023-11-29 17:25:10 -05:00
Jeremy Stretch
b8dd6746b7 Fixes #14239: Fix CustomFieldChoiceSet search filter 2023-11-29 17:20:18 -05:00
Jeremy Stretch
4f8a4d0f1f Fixes #14056: Record a pre-change snapshot when bulk editing objects via CSV 2023-11-29 17:19:35 -05:00
Jeremy Stretch
7b56a3a3a9 Fixes #14199: Fix jobs count for reports with a custom name 2023-11-29 17:19:02 -05:00
Abhimanyu Saharan
5499313af8 Raises validation error if file path and root are not unique (#14232)
* raises validation error if file path and root are not unique #14187

* review changes #14187
2023-11-29 16:25:16 -05:00
Abhimanyu Saharan
b7422814d8 Adds region hierarchy in templates (#14213)
* initial work to render hierarchical region #13735

* adds site display #13735

* cleanup #13735

* adds display region tag #13735

* refactored region hierarchy #13735

* refactored region hierarchy #13735

* renamed display_region to nested_tree #13735

* Make render_tree suitable for generic use

* Remove errant item from __all__

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-11-29 16:20:59 -05:00
Vincent Simonin
6e076f4332 Fixed password was not hashed on REST API update (#14340)
* Fixed password was not hashed on REST API update

* When we updated a user password with a REST API call the password was
  stored in clear in plain text in the database.

* Following code review

* Move test on UserTest class
* Call `super().update()` in overriding `update` method

* Return directly the result of `super().update()`
2023-11-29 15:59:54 -05:00
Josef Johansson
546dd38dff 14346 fix missing function call convert
In PR #13958 (commit 8224644) _get_report was modified to do the call on the variable without changing the call later on.

This commit fixes that and removes the call on the variable.

Signed-off-by: Josef Johansson <josef@oderland.se>
2023-11-29 15:58:14 -05:00
Jeremy Stretch
07d6da7e83 Fixes #14363: Fix bulk editing of interfaces assigned to VM with no cluster 2023-11-29 15:23:35 -05:00
Jeremy Stretch
ca6f8a02bc Fixes #14242: Enable export templates for contact assignments 2023-11-29 15:22:41 -05:00