Spaces:
Sleeping
Sleeping
Commit History
-
test: import pytest for py311 collection compatibility
e6485a3 -
test: simplify admin role precedence assertion
408366d -
ci: trigger workflow with test fixes
6fead5f -
test: fix role assertions for per-project authorization
- Update test_admin_role_takes_precedence to check per-project roles - Tests now verify admin roles are assigned per-project, not globally - All 120 tests passingcb8f934 -
fix: enforce per-project admin roles and remove demo bootstrap
- Change role assignment from global to per-project basis - User is admin only in projects they created or assigned to - User is validator only in projects they were invited to - Remove demo bootstrap messaging and fallback - Add first-login onboarding instructions for project creation - Update login message to show per-project role counts - Add admin scope indicator in Admin tab - All tests passing (120 passed)e94c8b7 -
fix: add admin recovery and project deletion controls
652c203 -
feat: align validation loader with uploader index schema
6b16157 -
fix: support audiofolder datasets without detections metadata
cd7d464 -
fix: load validation detections from selected project dataset
722e080
-
feat: add HF token auth, invite lifecycle, and project token controls
e37709f -
feat: deploy latest local validation UX and demo audio fallback to Spaces
b17d8d1 -
fix: pin exact gradio/hub versions for Spaces import compatibility
ed91682 -
fix: align Spaces runtime to gradio 6.10 and huggingface_hub 1.x
198bd00 -
fix: pin gradio/huggingface_hub compatibility for Spaces runtime
b9d0a81 -
fix: align Spaces sdk_version with uploader to resolve runtime import error
bb94647 -
fix: pin huggingface_hub <1.0 for Gradio Spaces compatibility
58e1b5f -
fix: add Spaces metadata frontmatter to README
67890b5 -
ci: use HF_USERNAME and HF_SPACE_NAME secrets in space sync workflow
89594dc -
ci: add GitHub Action to sync validator app to Hugging Face Space
32f1ed1 -
chore: prepare validator app for Hugging Face Spaces deployment
556e10f
-
feat: Add support for local audio validation testing
- Add AudioFetchService.fetch_local(local_audio_path) method - Load audio from local filesystem for testing - Support for .wav, .mp3, .flac, .ogg, .m4a formats - Caching via ephemeral cache manager - Error handling for missing/unsupported files - Add 4 unit tests for local audio fetch: - test_fetch_local_loads_local_audio_file - test_fetch_local_caches_on_second_call - test_fetch_local_raises_on_nonexistent_file - test_fetch_local_raises_on_unsupported_format - Add 5 integration tests for local audio validation workflow: - test_load_local_audio_segment_and_create_detection - test_fetch_local_audio_and_validate - test_validate_multiple_local_audio_segments - test_validation_table_with_local_segments - test_local_audio_cache_reuse Features: - Local audio fixtures generated in tests - Full validation workflow tested with local segments - Cache reuse verified across multiple loads - Integration with existing detection/validation pipeline Test coverage: +9 new …cdaafcb -
feat: Production hardening - CI/CD, integration tests, auth externalization
- Add GitHub Actions CI pipeline for automated testing - Add 3 integration tests for validation write, conflict detection, and filtering - Extend AuthService with 3 public APIs for user/project management - list_usernames(include_inactive=False) - upsert_user_project_role(username, project_slug, role) - remove_user_project_role(username, project_slug) - Refactor AdminPanel to use only public AuthService APIs - Externalize bootstrap configuration via JSON files - Add RuntimeConfig fields for projects_file_path, user_access_file_path, enable_demo_bootstrap - Add app_factory bootstrap loaders for projects and user access JSON - Move hardcoded demo data to configurable fallback - Update documentation with new environment variables and JSON examples - Fix: Remove TODO from admin_panel, remove dead _user_project_assignments field - Test coverage: +7 new tests (3 integration + 4 bootstrap/auth unit tests) All 95 tests passing, no regressions.3038fe7
-
docs(readme): add FAQ and troubleshooting guide
5977f61
-
chore(branding): standardize project naming to BirdNET-Validator-App
4f59433 -
chore: remove leftover non-essential planning artifacts
9e885e1 -
refactor: focus repository on validator app only
c85843b -
chore: bootstrap BirdNET uploader standalone repo
f5bcf37 -
feat(ui): add separate uploader frontend for BirdNET ingestion workflow
- Add new Gradio uploader app (app_uploader.py) on dedicated port - Implement upload UI with project/repo inputs, dry-run, and real upload actions - Support advanced options (batch, shard, retries, resume-state, report file) - Keep validation app isolated from ingestion heavy operations - Document separated workflow in README837d92e -
feat(report): add dry-run report JSON file for ingestion validation
94bdf6a -
feat(cli): implement ingest-segments execute mode with HF upload/indexing
- Add full execute path for ingest-segments (without --dry-run) - Upload matched segment audio to audio/segments in resumable batches - Reuse retry/backoff and resume state for robust uploads - Build and upload index shards from normalized matched rows - Update manifest.json with detection/audio counters and shard metadata - Upload ingestion audit report under audit/ingestion-runs - Extend parser options (batch-size, shard-size, retries, resume-state) - Keep dry-run behavior backward compatibleb572423 -
feat(cli): add ingest-segments dry-run matching for BirdNET CSV + segments tree
- Add new CLI command: ingest-segments - Implement phase-1 dry-run pipeline (no upload yet) - Parse BirdNET segment filenames and match CSV rows deterministically - Generate stable detection_key hash and normalized ingest-ready records - Return quality report metrics (matched/unmatched/ambiguous) - Optional JSON report output via --report-file - Add unit tests for parser, key generation, and dry-run matching090ffd1 -
docs(ingestion): add HF segments upload architecture and rollout plan
afa898b -
fix(ui): clear admin form fields after successful create/assign actions
9e6db16 -
fix(ui): reorder tabs and correct admin projects table rendering
- Move Admin tab to 2nd position and Project Selector to 3rd - Render projects table as row values instead of dict objects - Ensure refresh/create flows update table and project dropdown consistently8e2681b
-
docs(qa): add 5-minute smoke test runbook for pre-deploy checks
457d89f -
docs(qa): add Sprint 4 end-to-end checklist and sign-off template
eb75418 -
fix(ui): correct project selector and enforce admin permissions
- Fix project selector callback to return Gradio updates/values instead of components - Auto-select first authorized project after login to unblock validation tab - Hide admin controls for non-admin sessions - Enforce admin check in project refresh/create and user assignment callbacks - Add create project action in Admin tab (slug/name/repo_id) - Refresh project dropdown choices after project creation0a5e459 -
fix: correct demo project slug typo in app_factory test users
Changed 'dem o-project' to 'demo-project' for validator_demo user registration. This fixes the project slug to match the registered demo-project in the app.b77d31e -
test(acl): comprehensive ACL enforcement test suite with project isolation
- Add 12 tests for project-level data isolation in detection and validation repos - Test detection repository project isolation (4 tests): * List returns only project-specific detections * Count respects project boundaries * Filters applied within project isolation * Confidence filters respect project boundaries - Test validation repository project isolation (4 tests): * Save/load isolates validations by project * List events respects project boundaries * Optimistic locking is per-project scope * Nonexistent project returns empty snapshot - Test auth integration with repositories (4 tests): * Users see only authorized projects * Session contains only authorized projects * User roles isolated per project All tests use 16+ character detection_keys to pass Pydantic validationdc8a18a -
feat(ui): integrate auth into main app with multi-project tabs
- Renamed create_app to build_demo_app (project-specific validation UI) - Created new create_app that returns auth-integrated wrapper - Added tabs: Login → Project Selection → Admin → Validation - Session state management across tabs - Project-based context propagation - Admin panel with project and user management - Backward compatible with existing demo app structure All 74 tests passingf5f630b -
feat(auth): implement AuthService, login page, project selector, and admin panel
- Issue 14: AuthService for user authentication and session management - Issue 15: Project-level ACL enforcement with role-based access - Issue 16: Admin panel for managing projects and user assignments Features: - Multi-project user authorization with admin/validator roles - Session management with TTL and expiration tracking - Login Gradio component with UI feedback - Project selector with user's authorized projects - Admin panel for user-to-project assignments - 22 unit tests with 100% pass rate covering all auth scenarios All changes tested locally with pytest (22/22 tests passing)1f97573 -
fix(ui): type table select event callback to avoid gradio warnings
bc3166f -
feat(ui): use native date picker for updated-after filter
d7a6f4f -
feat(ui): add advanced filters (validator/status/date)
c4b2cd0 -
docs: add batch operations to sprint 3 status
5884108 -
feat(ui): add batch operations for conflicts (approve all/reject all)
7cc41ee -
docs: add keyboard shortcuts to sprint 3 status
cc5f912 -
feat(ui): add keyboard shortcuts for validation (1/2/3/4/R)
b9851b3 -
docs: update sprint status with conflict-only filter
4f83617 -
test/docs: cover conflict-only filtering behavior
8095268