Skip to content

Implement admin panel#434

Open
Ckeplinger199 wants to merge 3 commits into
SecureBananaLabs:mainfrom
Ckeplinger199:paid-oss/c030-admin-panel
Open

Implement admin panel#434
Ckeplinger199 wants to merge 3 commits into
SecureBananaLabs:mainfrom
Ckeplinger199:paid-oss/c030-admin-panel

Conversation

@Ckeplinger199
Copy link
Copy Markdown

@Ckeplinger199 Ckeplinger199 commented May 20, 2026

/claim #29

Summary

  • Replaces the admin page stub with a functional admin panel for users, moderation, disputes, controls, metrics, and audit history.
  • Adds server-side admin enforcement for every /api/admin/* route.
  • Adds admin API endpoints for overview, users, moderation queue/actions, disputes/rulings, platform controls, and audit log.
  • Adds append-only audit behavior for user status changes, listing moderation, dispute rulings, and platform control toggles.
  • Adds joined-date user filters, rejected-listing notification proof, dispute transaction/evidence/refund proof, platform controls, and audit-date filtering coverage.
  • Fixes the API test script so Node runs test files under src/tests/**/*.test.js.

Demo video

https://raw.githubusercontent.com/Ckeplinger199/bug-bounty/demo-videos-2026-05-20/bounty-demo-videos/2026-05-20/pr-434-admin-demo.mp4

Verification

  • npm test -w apps/api passed.
  • npm test passed with 8 backend tests.
  • npm run build -w apps/web passed.
  • Demo video SHA-256: fd11bfc04be0bc58ae73d4a22b1c83031e0745fd7e1b6d05060a427e8e2efca9.
  • git diff --check passed.

Note: npm run build -w apps/web emits a Next workspace-root warning because this local checkout is nested under another workspace with its own lockfile, but the production build completes successfully.

github-actions Bot added a commit that referenced this pull request May 20, 2026
Expand admin service behavior and route tests for joined-date filters, rejected-listing notifications, dispute evidence and refund proof, platform controls, and audit filtering.

Co-authored-by: Codex <noreply@openai.com>
@Ckeplinger199
Copy link
Copy Markdown
Author

Added a short proof video for /claim #29:

https://raw.githubusercontent.com/Ckeplinger199/bug-bounty/demo-videos-2026-05-20/bounty-demo-videos/2026-05-20/pr-434-admin-demo.mp4

I also pushed hardening commit 1de04af551882a93a6899b0b3f0f079794debfda to reduce acceptance risk:

  • Added joined-date user filters.
  • Added rejected-listing notification proof.
  • Added dispute transaction, evidence, refund, notification, and audit proof.
  • Added platform controls and audit-date filtering coverage.
  • Local verification: npm test passed with 8 tests.
  • Local verification: npm run build -w apps/web passed.
  • Local git diff --check passed.

@Ckeplinger199
Copy link
Copy Markdown
Author

Re-checked this branch.

  • apps/api/src/routes/adminRoutes.js: admin-only /api/admin/* routes.
  • apps/web/app/admin/page.tsx: users, moderation, disputes, controls, metrics, and audit history.
  • apps/api/src/tests/adminRoutes.test.js: non-admin rejection, overview, state-changing admin actions, and audit rows.
  • npm test: 4 pass.
  • npm run build -w apps/web: production build passes; only the nested-checkout lockfile warning appears.

@Ckeplinger199
Copy link
Copy Markdown
Author

Added a PR smoke check for this branch.

  • .github/workflows/admin-panel-smoke.yml: npm ci, npm test -w apps/api, npm run build -w apps/web.
  • GitHub check admin-panel-smoke: passed on commit 72c7080.
  • Local re-check before push: 8 backend tests passed; web production build passed.

@Ckeplinger199
Copy link
Copy Markdown
Author

Checking in on #434.

If review or payout is blocked, point me at the exact missing requirement and I’ll clear it.

@Ckeplinger199
Copy link
Copy Markdown
Author

Consolidated collections check for the open Algora claims in this repo.

These five claims are still visible as Status Pending / Total paid $0, with @Ckeplinger199 listed at 100% on each claim page:

PR Claim Amount Current PR check
#415 https://algora.io/claims/YUuLZuMbqVshaAnJ $430 validate-poem SUCCESS
#419 https://algora.io/claims/Hh69sYnsstaSaWfv $780 validate-pixel-art SUCCESS
#424 https://algora.io/claims/a1djN5MGkDobcX3E $350 payment-service-smoke SUCCESS
#431 https://algora.io/claims/oH1JdesPkbQ9k4Uz $750 benchmark-smoke SUCCESS
#434 https://algora.io/claims/y7Egg66fNCQ8MTcW $2,001 admin-panel-smoke SUCCESS

Total pending across these claims: $4,311.

Each PR is still open, non-draft, clean, and has a dedicated smoke/proof check passing. I have already added proof-video and verification receipts on the individual PR threads.

Please confirm the settlement path for these claims, or point me at the exact blocker if something is preventing review, merge, or Algora payout. If the next action belongs to me, I want to clear it directly; if it belongs to the sponsor/maintainer, please confirm the expected timing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant