Commit Graph

12619 Commits

Author SHA1 Message Date
Arthur Hanson
9710199f73 5509 Add Test cases for Custom Fields (#12312)
* 5509 add content type data to model tests create and update

* 5509 update use cf form data

* 5509 update tests to use CustomFieldTypeChoices

* 5509 update tests to check custom fields

* Simplify custom fields used for testing

* Move custom field data functions to testing.utils

* Move validate_custom_field_data() into assertInstanceEqual()

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-04-17 16:05:05 -04:00
Jeremy Stretch
934b8a66c9 Closes #15736: Remove annotated_date() template filter and annotated_now() template tag 2024-04-17 14:09:07 -04:00
Jeremy Stretch
103490cc45 Closes #10696: Break out instructions for installing & removing plugins (#15757)
* Closes #10696: Break out instructions for installing & rmeoving plugins

* Misc cleanup
2024-04-17 11:58:14 -04:00
Jeremy Stretch
6e11d438b4 Closes #15752: Remove the ENABLE_LOCALIZATION configuration parameter 2024-04-17 11:54:29 -04:00
Jeremy Stretch
c59cfae043 Closes #15738: Remove configuration parameters date & time formatting 2024-04-17 11:50:14 -04:00
Jeremy Stretch
cdb193d442 Closes #15618: Always use ISO 8601 date & time formatting (#15737)
* Introduce the isodate(), isotime(), and isodatetime() template filters

* Display the relative time on mouse hover

* Render journal entry times in ISO 8601 format

* Use ISO 8601 format when displaying dates & times in a table

* Standardize the use of DateTimeColumn across all tables
2024-04-17 11:46:47 -04:00
Arthur Hanson
fedeaa1948 15582 check permissions on specific object when sync request (#15704)
* 15582 check permissions on specific object when sync request

* 15582 move permission check

* Enable translation of error message

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-04-17 10:09:50 -04:00
Javier de la Puente
146a4ca465 Use endpoint_url in S3Backend 2024-04-17 09:59:39 -04:00
Jeremy Stretch
6debf15cf1 Remove notes referencing past releases 2024-04-17 08:41:51 -04:00
Jeremy Stretch
095faadca1 Fix broken link in installation guide 2024-04-17 08:37:38 -04:00
Markku Leiniö
4899561843 Closes #15727: Add tab template context variable in the plugin doc 2024-04-17 08:30:39 -04:00
Markku Leiniö
9b8025bdd5 Closes #15740: Fix typos and deprecated List in docs (#15741)
* Fix typos in migration-v4.md

* Replace typing.List with list

typing.List is deprecated since Python 3.9

* Also replace typing.List with list in graphql-api.md
2024-04-17 08:28:03 -04:00
Jeremy Stretch
46d8375165 Fixes #15695: Clear any legacy group permission associations during migration 2024-04-16 16:20:00 -04:00
Jeremy Stretch
fa0c1e0530 Fixes #15613: Show login button/user menu on mobile view 2024-04-16 16:17:50 -04:00
Jeremy Stretch
65177a25f1 Fixes #15652: Fix the display of error messages after attempting to delete an object 2024-04-15 15:47:43 -04:00
Arthur Hanson
3e9ac0b9b3 15684 strawberry filter (#15686)
* 15579 update requirements

* 15684 add USE_DEPRECATED_FILTERS to strawberry
2024-04-15 13:29:29 -04:00
Arthur Hanson
289b68c9b7 15671 save module before sync_classes (#15675)
* 15671 save module before sync_classes

* 15671 don't return save
2024-04-15 13:22:56 -04:00
Arthur
7756ac6090 15532 fix autotype_decorator for method fields 2024-04-15 13:05:55 -04:00
Jeremy Stretch
ec83aeca04 Convert "needs triage" label to a status indicator 2024-04-15 12:12:35 -04:00
Jeremy Stretch
9cde60b7f4 Changelog for #15640, #15644, #15654, #15668, #15685 2024-04-15 12:10:33 -04:00
Arthur Hanson
47226c199e 15685 Allow decimal for cable length filter form (#15703)
* 15685 allow decimal for cable length filter

* 15685 allow decimal for cable length filter

* 15685 remove minlenth

* 15685 remove minlenth
2024-04-15 11:24:32 -04:00
Wrage, Florian
7883e9ae1e Fixes #15640: add identifier field to search index of l2vpn 2024-04-15 10:53:53 -04:00
Julio Oliveira at Encora
0e35bfd52e Fixes #15644 - Add the ability to configure HSTS in NetBox (#15683)
* Added SECURE_HSTS_SECONDSm SECURE_HSTS_INCLUDE_SUBDOMAINS, and SECURE_HSTS_PRELOAD to settings.py

* Addressed some PR comments.

* Apply suggestions from code review

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-04-15 10:19:15 -04:00
Julio-Oliveira-Encora
80433c90a6 Fixed line 391 in netbox/virtualization/views.py. It was reeplaced "view_virtual_disk" with "view_virtualdisk" 2024-04-15 09:28:21 -04:00
Arthur
52ef175757 15654 check for no termination in TunnelTerminationSerializer 2024-04-15 09:22:58 -04:00
Jeremy Stretch
675d72fc4d Changelog for #15605, #15616, #15617, #15619, #15637, #15638 2024-04-11 10:46:52 -04:00
Arthur Hanson
2b8ff822cf 15676 update python versions in pyproject.toml (#15687)
* 15676 update python versions in pyproject.toml

* 15676 update formatting
2024-04-10 16:36:04 -04:00
Arthur
96be6f701a 15688 remove USE_L10N setting 2024-04-10 16:23:53 -04:00
Jeremy Stretch
8d7f90f359 Fixes #15605: Account for older sequence name in migration 2024-04-10 16:17:01 -04:00
Jeremy Stretch
8e501e52b5 Fixes #15638: Correct parameter used to retrieve saved filters for a model 2024-04-05 14:56:16 -04:00
Jeremy Stretch
fcf473c989 Fixes #15620: Limit width of user preferences form 2024-04-05 14:38:32 -04:00
Jeremy Stretch
b85068f94a Fixes #15637: Fix rendering of links from within embedded tables w/HTMX enabled (#15642)
* Add htmx_table to __all__

* Fix dropdown menu clipping

* Fix loading links from within embedded tables

* Fix rendering of object deletion warning
2024-04-05 14:22:09 -04:00
Jeremy Stretch
f9783eea80 Fixes #15619: Enforce a minimum width for progress bars 2024-04-05 14:20:05 -04:00
Jeremy Stretch
0e538a6fda Fixes #15617: Fix rack elevation styling under dark mode 2024-04-05 14:19:30 -04:00
Jeremy Stretch
521806005d Fixes #15616: Tweak button class for invalid custom links 2024-04-05 14:17:58 -04:00
Jeremy Stretch
2d7b924f7e PRVB 2024-04-04 16:23:16 -04:00
Jeremy Stretch
07e40ea87e Merge pull request #15631 from netbox-community/develop
Release v3.7.5
2024-04-04 16:20:14 -04:00
Jeremy Stretch
c1b3c0b4cf Release v3.7.5 2024-04-04 16:06:42 -04:00
Jeremy Stretch
6f2bed011d Update source strings for translation 2024-04-04 15:12:51 -04:00
Jeremy Stretch
ab42126da8 Changelog for #14707, #15039, #15598, #15608, #15609 2024-04-04 15:05:49 -04:00
muTeREdO
9653a019cd add example showing how to order results. (#15627)
* add example showing how to order results.

This addresses issue 15622 by building off filtering example to
show how to order results on a named field.

* Apply suggestions from code review

---------

Co-authored-by: Frank Clements <fclements@scoore.net>
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-04-04 14:21:26 -04:00
padthaitofuhot
bfc4c65df5 Refactor f3d37b2f to re-separate bulk and single device creation. Fixes #15598. 2024-04-04 14:01:55 -04:00
Markku Leiniö
0d3a6c9153 Closes #15039: Add Clone button in API token 2024-04-04 13:32:43 -04:00
Markku Leiniö
a26b1638b3 Closes #14707: Change 'Interface' to 'Tunnel interface' in VPN tunnel forms 2024-04-04 12:57:35 -04:00
Jeremy Stretch
ec7574e045 Fixes #15609: Fix filtering providers list by assigned ASN 2024-04-04 10:45:57 -04:00
Jeremy Stretch
60096aebe8 Fixes #15608: Avoid caching values of null fields in search index 2024-04-04 10:45:19 -04:00
Jeremy Stretch
0ca070c2e7 Fix formatting 2024-04-04 10:03:12 -04:00
Jeremy Stretch
86e2484e97 Simplify auto-assignment qualification 2024-04-04 09:53:49 -04:00
Jeremy Stretch
2bf85b5396 Add weighted assignments & enable for documentation issue 2024-04-04 09:20:20 -04:00
Jeremy Stretch
7f80443255 Closes #15607: Update upgrade path diagram 2024-04-03 14:25:32 -04:00