Skip to content

Admin validation#41

Closed
Kzoeps wants to merge 147 commits intohypercerts-org:mainfrom
GainForest:admin-validation
Closed

Admin validation#41
Kzoeps wants to merge 147 commits intohypercerts-org:mainfrom
GainForest:admin-validation

Conversation

@Kzoeps
Copy link
Copy Markdown

@Kzoeps Kzoeps commented Apr 21, 2026

No description provided.

- Add DIDFilterInput GraphQL type with only eq and in fields (no contains/startsWith/neq)
- Replace StringFilterInput with DIDFilterInput for the did field in WhereInput
- Introduce DIDFilter struct in repositories to carry eq and in conditions
- Update extractFilters to populate DIDFilter.EQ and DIDFilter.IN from GraphQL args
- Add buildDIDFilterClause helper to generate SQL WHERE conditions for DIDFilter
- Update all repository methods to accept DIDFilter instead of plain string
- Add tests for DIDFilterInput fields, extractFilters DID handling, and DID in filtering
Kzoeps and others added 27 commits April 14, 2026 18:09
fix: stabilize tap ingestion, keyset pagination, and OAuth/DPoP handling
feat: add batched admin DID picker with Bluesky typeahead
Deploy batch admin add and display
Merge pull request #13 from GainForest/main
…back

- Drop removeFromTap argument from purgeActor mutation and all call sites;
  Tap should not be touched by the indexer (separation of concerns, avoids
  partial-failure state where local data is deleted before Tap call fails)
- Remove RemoveRepoCallback type, field, setter, and startTap wiring
- Wrap DeleteByDID raw error with fmt.Errorf context
- Refactor TestActorsRepository_DeleteByDID to table-driven format

Co-Authored-By: Claude <noreply@anthropic.com>
…d add normalization

- Rename NEXT_PUBLIC_API_URL → NEXT_PUBLIC_HYPERINDEX_URL across all files
- Add NEXT_PUBLIC_HYPERINDEX_URL to env.ts with normalizePublicURL()
- Update HYPERINDEX_URL fallback chain: HYPERINDEX_URL → NEXT_PUBLIC_HYPERINDEX_URL → http://127.0.0.1:8080
- Drop HYPERGOAT_URL entirely from env.ts and graphql/client.ts
- Import env.HYPERINDEX_URL in graphql/client.ts instead of reading process.env directly
- Add inline normalizeUrl helper to next.config.ts (can't import from src/)
- Update Dockerfile ARG/ENV, .env.example comments, and docs/ENV_VARS.md

Co-Authored-By: Claude <noreply@anthropic.com>
Redirect target was resolving to the internal Railway address (0.0.0.0:8080)
instead of the public domain because request.url reflects the internal proxy
address. Fall back to requestUrl.origin for local dev.

Co-Authored-By: Claude <noreply@anthropic.com>
Prevents the GraphiQL endpoint URL from being treated as a relative path
by the browser when EXTERNAL_BASE_URL is set without a protocol prefix,
which caused the hostname to be doubled in the request path.

Co-Authored-By: Claude <noreply@anthropic.com>
Whitespace env values were collapsing to "" inside normalizeUrl/normalizePublicURL,
causing the localhost fallback to never be reached. Apply the fallback via ||
after normalization so blank/whitespace values correctly fall through.

Co-Authored-By: Claude <noreply@anthropic.com>
…alBaseURL

Co-Authored-By: Claude <noreply@anthropic.com>
feat: add actor purge workflow and identity-based cleanup
fix: harden admin purge and env validation
chore: stop tracking local Beads runtime files
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 21, 2026

@Kzoeps is attempting to deploy a commit to the Hypercerts Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 21, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 41472ffb-4052-44f6-9522-eb79d2b4a825

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Kzoeps Kzoeps closed this Apr 21, 2026
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.

2 participants