Jeremy Stretch
6530051958
Closes #15630 : Remove server-side color mode preference & simplify toggling
2024-05-01 18:59:42 -04:00
Jeremy Stretch
312291b010
Merge branch 'develop' into feature
2024-05-01 16:09:14 -04:00
Jeremy Stretch
39a830798e
PRVB
2024-05-01 15:28:36 -04:00
Jeremy Stretch
335a8d6449
Release v3.7.7
2024-05-01 15:08:08 -04:00
Daniel Sheppard
c08784da46
Fixes #11460 - Fix unterminated cable exception when editing cable ( #15813 )
...
* Fix cable edit form with single unterminated cable
* Minor tweaks
* Instead of skipping HTMX, override the template & move form template to an "htmx" template
* Use HTMXSelect widget for A/B type selection
* Infer A/B termination types from POST data
* Fix saving cable which results in resetting of the termination type fields
* Condense view logic
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-05-01 14:24:50 -04:00
Jeremy Stretch
a2efec09be
Fixes #15891 : Ensure deterministic ordering for scripts & reports
2024-05-01 10:46:25 -04:00
Arthur
1add918d31
15833 make navbar sticky at top
2024-05-01 10:44:28 -04:00
Arthur
778b8b9b48
15853 fix background color for cable trace svg in dark mode
2024-05-01 10:30:01 -04:00
Arthur Hanson
d0e0dcb652
15855 fix adding script as event rule ( #15861 )
...
* 15855 fix adding script as event rule
* 15855 fix adding script as event rule
* 15855 fix adding script as event rule
* 15855 fix adding script as event rule
2024-05-01 10:24:17 -04:00
Arthur Hanson
209f596397
15815 convert dashboard widgets for users/groups ( #15839 )
...
* 15815 convert dashboard widgets for users/groups
* 15815 review fixes
* 15815 catch DoesNotExist for widget content type
* 15815 add logging
2024-05-01 09:56:46 -04:00
Mattias Loverot
d256c04d9c
Added caching on /api/schema/ endpoint ( closes #15894 )
2024-05-01 08:48:46 -04:00
Jeremy Stretch
365bb4ba17
Fixes #15896 : Retain proper formatting for JSON custom field default values
2024-04-30 16:24:26 -04:00
Jeremy Stretch
11816b45e7
Fixes #15899 : Correct the view name for the tags column on L2VPNTerminationTable
2024-04-30 15:11:54 -04:00
Arthur
4b21cf604b
14852 delete event-rule when delete script
2024-04-29 15:02:39 -04:00
Julio Oliveira at Encora
79b9dc2013
Feature #15428 - Show all devices with configuration template attached ( #15822 )
...
* Added devices instances column for config templates.
* Added devices instances column for config templates.
* Add counts for VMs, roles, and platforms
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-04-29 14:15:44 -04:00
Jeremy Stretch
0e3c35ae58
Fixes #15548 : Ignore many-to-many mappings when checking dependencies of an object being deleted
2024-04-29 13:37:38 -04:00
Arthur Hanson
cbfed83f60
15524 round iprange utilization ( #15734 )
2024-04-29 13:19:57 -04:00
JCWasmx86
3cbade536e
Fixes #15812 : Add Date(Time)Var for scripts to allow much easier date… ( #15821 )
...
* Fixes #15812 : Add Date(Time)Var for scripts to allow much easier date input
* Extend tests for invalid data
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-04-29 12:46:39 -04:00
Arthur Hanson
9691bb29b6
15872 don't escape BANNER_MAINTENANCE ( #15885 )
...
* 15872 don't escape BANNER_MAINTENANCE
* 15872 don't escape BANNER_MAINTENANCE
2024-04-29 12:34:29 -04:00
Mattias Loverot
851b4cc4d3
Added assigned_object_type in prefetch for api view IPAddressViewSet - fixes #15845
2024-04-29 10:50:08 -04:00
Arthur
835012f2ed
15838 use naturalday for date not naturaltime
2024-04-26 16:19:21 -04:00
Tobias Genannt
5af3c659a5
Fix #15826 : Added new group and user models
2024-04-25 09:23:27 -04:00
Arthur Hanson
4923025fec
15541 Add component selector to InventoryItemTemplate ( #15691 )
...
* 15541 update InventoryItemTemplateForm
* 15541 update InventoryItemTemplateForm
* Remove custom template
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-04-25 09:22:32 -04:00
Arthur Hanson
ded2fe9471
15809 Mark unions as nullable in GraphQL where appropriate ( #15824 )
...
* 15809 mark unions as nullable where appropriate
* 15809 fix tests
* 15809 fix tests
2024-04-25 09:19:19 -04:00
Jeremy Stretch
e05ca710ae
Flag HTMX navigation as an experimental feature
2024-04-23 10:38:49 -04:00
Daniel Sheppard
cad3e34d8f
Merge pull request #14750 from Moehritz/13922-svg-uneven
...
Fixes #14241 , Fixes #13922 : Update the CableRender
2024-04-22 21:53:34 -05:00
Daniel Sheppard
07e2cf0ad2
Merge pull request #13874 from pv2b/choices-css-rewrite
...
Refactor row coloring logic and simplify mark planned/connected toggle implementation
2024-04-22 21:45:15 -05:00
Jeremy Stretch
d606cf1b3c
Update source translations
2024-04-22 15:50:38 -04:00
Jeremy Stretch
c32dff5649
Release v4.0-beta2
2024-04-22 15:35:34 -04:00
Jeremy Stretch
8364e632b7
Remove obsolete type definitions
2024-04-22 15:10:37 -04:00
Jeremy Stretch
c43b929542
Fixes #15580 : Fix rendering of modals with HTMX enabled
2024-04-22 15:10:28 -04:00
Jeremy Stretch
e3c418263e
Fixes #15778 : Fix bulk edit/delete functionality when HTMX is enabled
2024-04-22 14:31:39 -04:00
Jeremy Stretch
46bd62fdc9
Merge branch 'develop' into feature
2024-04-22 13:23:42 -04:00
Jeremy Stretch
0b0dab42eb
PRVB
2024-04-22 12:23:31 -04:00
Jeremy Stretch
a61e20849b
Release v3.7.6
2024-04-22 11:46:03 -04:00
Arthur Hanson
1eca1c3d17
15803 localize help_text ( #15804 )
2024-04-22 11:42:20 -04:00
transifex-integration[bot]
5d95d49268
Update translations
2024-04-22 11:28:04 -04:00
Jeremy Stretch
e87877b6ea
Fixes #15771 : Show id field as supported on all bulk import forms
2024-04-22 11:08:36 -04:00
Markku Leiniö
b6e38b2ebe
Closes #14690 : Pretty-format JSON fields in the config form ( #15623 )
...
* Closes #14690 : Pretty-format JSON fields in the config form
* Revert changes
* Use our own JSONField for config parameters for pretty editor outputs
* Compare identity instead of equality
2024-04-22 09:25:16 -04:00
Arthur Hanson
90d0104359
15541 Add component selector to InventoryItemTemplate ( #15759 )
...
* 15541 make inventoryitemtemplateform match inventoryitemform
* 15541 set tab active
2024-04-22 08:22:53 -04:00
Arthur
781d932b2a
15789 make sure job completed before including config_form
2024-04-21 13:57:15 -04:00
Jeremy Stretch
781409b5ae
Fixes #15787 : Convert User ID column to 64-bit integer
2024-04-21 13:55:39 -04:00
Arthur Hanson
88facbafbb
15761 filter IKE Proposals on IKE Policy detail view ( #15766 )
...
* 15761 filter IKEAProposals on IKEAPolicy detail view
* Add test for ike_policy filter
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-04-19 17:09:55 -04:00
Jeremy Stretch
c9de3128ca
Fixes #15790 : Fix live preview support for EventRule comments
2024-04-19 17:09:02 -04:00
Arthur
94c31622ac
15588 set readonly nullable fields as allow_null=True
2024-04-19 16:17:28 -04:00
Jeremy Stretch
f42d0336c2
Clean up layout of global search results
2024-04-19 15:27:25 -04:00
Jeremy Stretch
db87fe96b7
Clean up bulk import view
2024-04-19 15:23:09 -04:00
Jeremy Stretch
0f0ab1a3be
Closes #15547 : Add comments field to CustomField model
2024-04-19 15:10:06 -04:00
Jeremy Stretch
824d66a54c
Dissuade non-superusers from creating API tokens via the admin view
2024-04-19 14:34:25 -04:00
Jeremy Stretch
3551f3e021
Remove the is_staff restriction for admin menu items
2024-04-19 14:34:25 -04:00
Florian Derler
1a1300716c
#15712 : add imageattachments to vms
2024-04-19 14:15:50 -04:00
Arthur
4b83b5d0e1
15764 change vc_position from PositiveSmallInteger to PositiveInteger
2024-04-19 13:22:44 -04:00
Jeremy Stretch
174865b9aa
Fixes #15760 : Permit breaking of long words for wrap within object attribute tables
2024-04-19 13:18:25 -04:00
Jeremy Stretch
c9bd59ab02
Fixes #15641 : Fix adding/removing filters on advanced object selector widget
2024-04-19 13:15:57 -04:00
Jeremy Stretch
1efd80954e
Formatting cleanup
2024-04-19 10:50:00 -04:00
Jeremy Stretch
480b36d65e
Fixes #15698 : Drop and recreate FK constraints on ObjectPermission M2M tables
2024-04-19 08:17:19 -04:00
Arthur
e303ccfd12
15636 change content_type_id to object_type_id for imageattachment
2024-04-17 16:13:29 -04:00
Arthur Hanson
928014c766
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
75d6bfe42f
Closes #15736 : Remove annotated_date() template filter and annotated_now() template tag
2024-04-17 14:09:07 -04:00
Jeremy Stretch
95cc29d898
Closes #15752 : Remove the ENABLE_LOCALIZATION configuration parameter
2024-04-17 11:54:29 -04:00
Jeremy Stretch
157df069e8
Closes #15738 : Remove configuration parameters date & time formatting
2024-04-17 11:50:14 -04:00
Jeremy Stretch
77a4300888
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
b8cedfcc08
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
c5ae89ad03
Use endpoint_url in S3Backend
2024-04-17 09:59:39 -04:00
Jeremy Stretch
2a8876846f
Fixes #15695 : Clear any legacy group permission associations during migration
2024-04-16 16:20:00 -04:00
Jeremy Stretch
4562e347fd
Fixes #15613 : Show login button/user menu on mobile view
2024-04-16 16:17:50 -04:00
Jeremy Stretch
4e4c277711
Fixes #15652 : Fix the display of error messages after attempting to delete an object
2024-04-15 15:47:43 -04:00
Arthur Hanson
0da8164600
15684 strawberry filter ( #15686 )
...
* 15579 update requirements
* 15684 add USE_DEPRECATED_FILTERS to strawberry
2024-04-15 13:29:29 -04:00
Arthur Hanson
5e05041b8b
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
815cab5c9a
15532 fix autotype_decorator for method fields
2024-04-15 13:05:55 -04:00
Arthur Hanson
f47b158863
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
f7e4fe2a9c
Fixes #15640 : add identifier field to search index of l2vpn
2024-04-15 10:53:53 -04:00
Julio Oliveira at Encora
5098422f68
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
d7922a68d8
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
54c6d95fbb
15654 check for no termination in TunnelTerminationSerializer
2024-04-15 09:22:58 -04:00
Arthur
dfae19ca1c
15688 remove USE_L10N setting
2024-04-10 16:23:53 -04:00
Jeremy Stretch
89453a49d6
Fixes #15605 : Account for older sequence name in migration
2024-04-10 16:17:01 -04:00
Jeremy Stretch
c7f6c206cf
Fixes #15638 : Correct parameter used to retrieve saved filters for a model
2024-04-05 14:56:16 -04:00
Jeremy Stretch
9f16f1466a
Fixes #15620 : Limit width of user preferences form
2024-04-05 14:38:32 -04:00
Jeremy Stretch
d34f188d40
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
ccca0580f7
Fixes #15619 : Enforce a minimum width for progress bars
2024-04-05 14:20:05 -04:00
Jeremy Stretch
99fe63569d
Fixes #15617 : Fix rack elevation styling under dark mode
2024-04-05 14:19:30 -04:00
Jeremy Stretch
25c39ce480
Fixes #15616 : Tweak button class for invalid custom links
2024-04-05 14:17:58 -04:00
Jeremy Stretch
b7668fbfc3
PRVB
2024-04-04 16:23:16 -04:00
Jeremy Stretch
ad0e476788
Release v3.7.5
2024-04-04 16:06:42 -04:00
Jeremy Stretch
e10f5ec3b4
Update source strings for translation
2024-04-04 15:12:51 -04:00
padthaitofuhot
3b3511c43c
Refactor 32264ac3
to re-separate bulk and single device creation. Fixes #15598 .
2024-04-04 14:01:55 -04:00
Markku Leiniö
da13fa5569
Closes #15039 : Add Clone button in API token
2024-04-04 13:32:43 -04:00
Markku Leiniö
5b50920c61
Closes #14707 : Change 'Interface' to 'Tunnel interface' in VPN tunnel forms
2024-04-04 12:57:35 -04:00
Jeremy Stretch
d9a7b4ee0e
Fixes #15609 : Fix filtering providers list by assigned ASN
2024-04-04 10:45:57 -04:00
Jeremy Stretch
282dc7a705
Fixes #15608 : Avoid caching values of null fields in search index
2024-04-04 10:45:19 -04:00
Arthur
fca23c6419
15029 check if duplicate FHRP group assignment
2024-04-03 14:09:32 -04:00
Abhimanyu Saharan
e4984d2883
fixed user and group filter form name #15102
2024-04-03 14:02:11 -04:00
Iain Buclaw
6030c521f4
Fix typo in Add Components dropdown
2024-04-03 13:29:32 -04:00
Arthur
83dad6f771
15597 add button_class choices to import form
2024-04-03 13:06:53 -04:00
Jeremy Stretch
97b9117982
Release v4.0-beta1
2024-04-03 08:44:34 -04:00
Jeremy Stretch
489e956d83
Merge branch 'develop' into feature
2024-04-03 08:43:12 -04:00
Daniel Sheppard
7d54357146
Fixes : #15502 - Correct exception on IP import form when VM is target
2024-04-03 08:10:28 -04:00
Jeremy Stretch
d9949b2de1
Update API test for Group model
2024-04-02 16:33:12 -04:00
Jeremy Stretch
53ff85df21
Prevent the stock Django Group model from appearing in the admin UI (if enabled)
2024-04-02 15:48:40 -04:00