Spaces:
Sleeping
Sleeping
Commit History
-
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
-
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
-
chore(branding): standardize project naming to BirdNET-Validator-App
4f59433 -
refactor: focus repository on validator app only
c85843b -
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 -
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
-
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 -
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 -
feat(ui): add batch operations for conflicts (approve all/reject all)
7cc41ee -
feat(ui): add keyboard shortcuts for validation (1/2/3/4/R)
b9851b3 -
feat(ui): add conflict-only table filter across validation flow
8d13b3e -
feat(ui): strengthen conflict indicators with explicit severity
d170e95 -
feat(ui): add conflict row flag and reapply validation action
8f555de -
feat(ui): auto-refresh table and focus row after validation conflicts
9b4331d -
feat(concurrency): add optimistic validation locking by expected version
a52e4fb -
feat(ui): show current validation status and project report
dccb9dc -
feat(persistence): add append-only validation event repository and wire UI
56d12ec -
feat(validation): implement validation service and in-memory repository for detection validations
bde5e4c -
feat(ui): implement audio loading and cache cleanup functionality in Gradio app
75d15f3 -
feat(ui): add Gradio pagination demo and update status docs
b52be84 -
chore: initial scaffold for BirdNET HF validator app
0bfe6f1