feat: campaign export, deprecation notices, user profile, secrets scanning#712
Merged
joelpeace48-cell merged 13 commits intoJun 28, 2026
Merged
Conversation
|
@Jaydbrown is attempting to deploy a commit to the joelpeace48-cell's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
Hey @Jaydbrown! 👋 It looks like this PR isn't linked to any issue. If this PR is for one of the issues assigned to you as part of a Wave, please link it to ensure your contribution is tracked properly. You can do this by adding a keyword to the PR description (e.g.,
|
| return res.status(404).json({ error: 'Campaign not found', code: 'NOT_FOUND' }); | ||
| } | ||
|
|
||
| const actorKey = String(req.headers['x-api-key'] ?? req.query.api_key ?? req.ip ?? 'anon'); |
1392e1e
into
FinesseStudioLab:main
3 of 16 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses #463, #466, #473, #485.
#463 — Campaign metrics CSV/JSON export
backend/src/routes/campaignExport.js— new route:GET /api/v1/campaigns/:id/export?format=csv|json(API key required)participantAddress,registeredAt,pointsCredited,pointsClaimed,netPoints,referredBy{ campaign, participants }structurepipeline()— dataset not buffered in memory?from/?to#466 — API versioning and deprecation notices
backend/src/deprecations.js— registry mapping route patterns to{ deprecatedAt, removedAt, replacement, message }backend/src/middleware/deprecationNotice.js— injects RFC 8594 headers (Deprecation,Sunset,Link) and WARN-logs each hitGET /api/v1/deprecations— returns full registry as JSONbackend/README.md— documents 90-day notice policy and content negotiation#473 — User profile page
frontend/src/pages/UserProfile.jsx—/profileroute; shows stats (campaigns joined, points earned/claimed/net), recent activity list, campaign list, joined date, share buttonfrontend/src/App.jsx— adds/profileroutefrontend/src/components/Header.jsx— adds Profile link in nav when wallet is connected#485 — Secrets scanning CI
.github/workflows/secrets-scan.yml— gitleaks on every push and PR.gitleaks.toml— custom rules for Stellar secret keys and Trivela API key patterns; excludes.env.example,test/fixtures/,docs/scripts/dev-setup.sh— installsgit-secretspre-commit hook locallydocs/RUNBOOK.md— secret rotation procedure appendedREADME.md— adds secrets scanning badge