7c75481245
feat(phase-b): rewrite demo_users with initialize_demo_users() for clean restart
...
Wraps all logic in initialize_demo_users() matching __init__.py import.
Idempotent: deletes stale .edu users, creates 3 @kevlarai.com demo accounts,
upserts Supabase profiles + institute_memberships, syncs Teacher nodes in Neo4j.
2026-05-26 02:19:44 +01:00
e42cd09dea
feat(phase-b): GAIS Supabase loader + school search/register endpoints
...
- gais_data.py: rewrite to load Edubase CSV into Supabase gais_schools +
gais_local_authorities via two-pass batch upsert (LAs first for FK integrity)
- school_router.py: add GET /school/search (trigram ilike on name, URN exact),
POST /school/register (create institute + Neo4j provision + membership link)
- Encoding: handles Windows-1252 (cp1252) Edubase CSV format
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 01:51:45 +01:00
fe3d7a12c8
feat(phase-b): school/timetable API routers + graph nav tree
...
New routers (all previously untracked):
- graph_tree_router: /graph/tree, /graph/node/children, /graph/calendar/academic
Supabase-driven tree builder; institute DB resolved by teacher email scan
- school_router: /school/status (role + calendar flags), /school/info PATCH
Self-heals profiles.school_id from institute_memberships if null
- timetable_builder_router: /timetable/setup (AcademicYear/Term/Week + SchoolTimetable),
/timetable/slots (read/write TimetableSlot nodes), /timetable/init (TeacherTimetable)
- user_init_router: /user/init (provision user node in institute DB)
routers.py: register all new routers with correct prefixes
users.py: add JournalNode and PlannerNode schema classes
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 01:24:44 +01:00
b47c7c252d
feat(transcription): add Supabase schema and API endpoints for CIS
2026-05-20 21:03:00 +00:00
2b7d52b5ae
chore: update env config, docker-compose, requirements and bucket init
2026-02-21 16:29:26 +00:00
3758c7572a
latest
2025-11-14 14:47:19 +00:00
2a85845835
Environment methods
2025-08-23 19:01:36 +01:00
e0c489f625
Initial commit
2025-07-11 13:52:19 +00:00