Skip to content

feat(user): support custom metadata - #535

Draft
GZTimeWalker wants to merge 6 commits into
workfrom
feat-user-metadata
Draft

feat(user): support custom metadata#535
GZTimeWalker wants to merge 6 commits into
workfrom
feat-user-metadata

Conversation

@GZTimeWalker

Copy link
Copy Markdown
Owner

No description provided.

@codecov

codecov Bot commented Dec 9, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 52.91262% with 194 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.18%. Comparing base (04f8601) to head (d90fec5).

Files with missing lines Patch % Lines
src/GZCTF/Extensions/UserMetadataExtension.cs 31.40% 66 Missing and 17 partials ⚠️
src/GZCTF/Controllers/MetadataController.cs 0.00% 19 Missing ⚠️
src/GZCTF/Models/Data/UserMetadataField.cs 51.72% 13 Missing and 1 partial ⚠️
.../GZCTF/Repositories/UserMetadataFieldRepository.cs 54.83% 13 Missing and 1 partial ⚠️
src/GZCTF/Middlewares/PrivilegeAuthentication.cs 38.88% 8 Missing and 3 partials ⚠️
src/GZCTF/Utils/Shared.cs 31.25% 10 Missing and 1 partial ⚠️
src/GZCTF/Models/AppDbContext.cs 86.66% 10 Missing ⚠️
src/GZCTF/Controllers/AdminController.cs 22.22% 7 Missing ⚠️
src/GZCTF/Utils/RegexHelper.cs 65.00% 6 Missing and 1 partial ⚠️
src/GZCTF/Controllers/InfoController.cs 33.33% 4 Missing ⚠️
... and 10 more
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             work     #535      +/-   ##
==========================================
- Coverage   59.31%   59.18%   -0.13%     
==========================================
  Files         190      195       +5     
  Lines        9811    10116     +305     
  Branches     1204     1267      +63     
==========================================
+ Hits         5819     5987     +168     
- Misses       3495     3605     +110     
- Partials      497      524      +27     
Files with missing lines Coverage Δ
src/GZCTF/Extensions/Startup/ServicesExtension.cs 89.21% <100.00%> (+0.21%) ⬆️
src/GZCTF/Models/Data/Division.cs 78.12% <ø> (ø)
src/GZCTF/Models/Data/Submission.cs 82.35% <100.00%> (ø)
...GZCTF/Models/Request/Account/ProfileUpdateModel.cs 100.00% <100.00%> (+100.00%) ⬆️
...CTF/Models/Request/Account/ProfileUserInfoModel.cs 100.00% <100.00%> (ø)
src/GZCTF/Models/Request/Edit/DivisionEditModel.cs 100.00% <ø> (ø)
src/GZCTF/Models/Request/Game/ScoreboardModel.cs 100.00% <100.00%> (ø)
src/GZCTF/Models/Request/Info/TeamUserInfoModel.cs 100.00% <ø> (ø)
src/GZCTF/Models/Transfer/TransferChallenge.cs 96.36% <ø> (ø)
src/GZCTF/Models/Transfer/TransferDivision.cs 100.00% <ø> (ø)
... and 28 more

... and 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant