Skip to content

Feature/userinfo - #273

Open
JasonRobertFrancis wants to merge 44 commits into
mainfrom
feature/userinfo
Open

Feature/userinfo#273
JasonRobertFrancis wants to merge 44 commits into
mainfrom
feature/userinfo

Conversation

@JasonRobertFrancis

Copy link
Copy Markdown
Contributor

No description provided.

@codecov-commenter

codecov-commenter commented Jul 28, 2026

Copy link
Copy Markdown

Bundle Report

Bundle size has no change ✅

@codecov-commenter

codecov-commenter commented Jul 28, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 2.71709% with 6946 lines in your changes missing coverage. Please review.
✅ Project coverage is 37.12%. Comparing base (394ae2d) to head (1bb3159).

Files with missing lines Patch % Lines
web/Areas/Directory/Services/UserInfoService.cs 7.10% 1267 Missing and 2 partials ⚠️
web/Areas/Directory/Views/UserInfo.cshtml 0.00% 501 Missing ⚠️
web/Models/PPS/VwUserinfoUser.cs 0.00% 149 Missing ⚠️
web/Models/PPS/PsJobV.cs 0.00% 125 Missing ⚠️
web/Models/PPS/JobDV.cs 0.00% 121 Missing ⚠️
web/Models/PPS/JpmJpItemDV.cs 0.00% 121 Missing ⚠️
web/Areas/Directory/Models/UserInfoResult.cs 16.08% 120 Missing ⚠️
web/Models/PPS/PositionDV.cs 0.00% 118 Missing ⚠️
web/Models/PPS/PsJpmJpItemsV.cs 0.00% 116 Missing ⚠️
web/Models/PPS/EdbperVc.cs 0.00% 104 Missing ⚠️
... and 193 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #273      +/-   ##
==========================================
- Coverage   41.88%   37.12%   -4.76%     
==========================================
  Files         986     1183     +197     
  Lines       49488    56762    +7274     
  Branches     5843     6169     +326     
==========================================
+ Hits        20726    21072     +346     
- Misses      27852    34759    +6907     
- Partials      910      931      +21     
Flag Coverage Δ
backend 34.96% <2.71%> (-4.98%) ⬇️
frontend 58.15% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
.../Directory/Models/IndividualSearchResultWithIDs.cs 0.00% <0.00%> (ø)
web/Areas/Directory/Models/LdapUserContact.cs 0.00% <0.00%> (ø)
web/Models/IDCards/DvtCardStatus.cs 80.00% <80.00%> (ø)
web/Models/EquipmentLoan/AppSetting.cs 0.00% <0.00%> (ø)
web/Models/EquipmentLoan/AssetType.cs 0.00% <0.00%> (ø)
web/Models/EquipmentLoan/O.cs 0.00% <0.00%> (ø)
web/Models/IDCards/DvtReason.cs 66.66% <66.66%> (ø)
web/Models/IDCards/DvtSpecialty.cs 0.00% <0.00%> (ø)
web/Models/IDCards/IdCardToPrintQueue.cs 0.00% <0.00%> (ø)
web/Models/IDCards/PhotoExport.cs 0.00% <0.00%> (ø)
... and 193 more

... and 37 files with indirect coverage changes

Comment thread test/Services/UserInfoServiceUnitTests.cs Fixed
Comment thread web/Areas/Directory/Services/UserInfoService.cs Fixed
Comment thread web/Areas/Directory/Services/UserInfoService.cs Fixed
Comment thread web/Areas/Directory/Services/UserInfoService.cs Fixed
Comment thread web/Areas/Directory/Services/UserInfoService.cs Fixed
Comment thread web/Classes/Utilities/IamApi.cs Fixed
Comment thread web/Areas/Directory/Services/UserInfoService.cs Fixed
Comment thread web/Areas/Directory/Services/UserInfoService.cs Fixed
Comment thread web/Areas/Directory/Services/UserInfoService.cs Fixed
Comment thread web/Areas/Directory/Views/UserInfo.cshtml Fixed

@github-advanced-security github-advanced-security AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

Comment thread web/Areas/Directory/Services/UserInfoService.cs Fixed
Comment thread web/Areas/Directory/Services/UserInfoService.cs Fixed
Comment thread web/Classes/Utilities/IamApi.cs Fixed
@rlorenzo

This comment was marked as resolved.

Comment thread web/Areas/Directory/Services/UserInfoService.cs Fixed
Comment thread web/Areas/Directory/Services/UserInfoService.cs Fixed
Comment thread web/Areas/Directory/Services/UserInfoService.cs Fixed
@rlorenzo

This comment was marked as resolved.

{
[ApiController]
[Route("public/utilities")]
public class PublicPhotoController : ControllerBase

This comment was marked as resolved.

/// <param name="mailID">Mail ID</param>
/// <param name="altphoto">Use alternative photo</param>
/// <returns></returns>
[Route("/userPhoto")]

This comment was marked as resolved.

Comment thread web/Areas/Directory/Services/UserInfoService.cs Fixed
Comment thread web/Areas/Directory/Services/UserInfoService.cs Fixed
Comment thread web/Areas/Directory/Services/UserInfoService.cs Fixed
Comment thread web/Areas/Directory/Services/UserInfoService.cs Fixed
Comment thread web/Areas/Directory/Services/UserInfoService.cs Fixed
Comment thread web/Areas/Directory/Services/UserInfoService.cs Fixed
Comment thread web/Areas/Directory/Views/UserInfo.cshtml Fixed
Comment thread web/Areas/Directory/Services/UserInfoService.cs Fixed
Comment thread web/Areas/Directory/Services/UserInfoService.cs Fixed
Comment thread web/Areas/Directory/Services/UserInfoService.cs Fixed
@rlorenzo

This comment was marked as resolved.

@JasonRobertFrancis

This comment was marked as resolved.

JasonRobertFrancis and others added 14 commits August 6, 2026 12:50
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
…ect'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
…ect'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
…ect'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
…ect'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
… IDisposable'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Comment on lines +231 to +234
catch (NullReferenceException ex)
{
Console.WriteLine($"Warning: PopulateDirectoryInfoAsync LDAP failed: {ex.Message}");
}
Comment on lines +1725 to +1732
foreach (var middlePart in middleParts.Where(middlePart => middlePart.Length > 0))
{
var variation = $"{name} {middlePart[0]}";
if (!nameVariations.Contains(variation))
{
nameVariations.Add(variation);
}
}
Comment on lines +293 to +296
catch (Exception ex)
{
Console.WriteLine($"Warning: PopulateEmployeeInfoAsync failed: {ex.Message}");
}
Comment on lines +374 to +378
catch (Exception ex)
{
// Exceptions during student info retrieval are caught and ignored to allow other directory details to load.
Console.WriteLine($"Warning: PopulateStudentInfoAsync failed: {ex.Message}");
}
Comment on lines +394 to +397
catch
{
return null;
}
Comment on lines +423 to +426
catch
{
return null;
}
Comment on lines +442 to +445
catch
{
return null;
}
Comment on lines +461 to +464
catch
{
return false;
}
Comment on lines +480 to +483
catch
{
return null;
}
Comment on lines +499 to +502
catch
{
return "No";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants