feat: cascade deletes, student notes, import popups, module reorganization
- Cascade delete on all entities (student, module, UE, user, role, promotion) - Fix Response body reuse bug (factory functions instead of constants) - Student note viewing via CAS uid (strip non-digit prefix) - Fix middleware page visibility for students in LOCAL mode - Import result popup component (shared across all import pages) - Fix student import to use numEtud from Excel - Bulk student selection with promo change and delete - Move UE/UE-Module API and pages from notes to admin module - Move promotions page from students to admin module - Multi-year maquette import with per-year promo selection - Inline promo creation in maquette import - Static Excel templates (students, notes, maquette) - Fix XLSX export using blob download instead of writeFile - Allow students to read modules list (GET /modules)
This commit is contained in:
@@ -21,8 +21,8 @@ import {
|
||||
import { handler as modulesHandler } from "$apps/admin/api/modules.ts";
|
||||
import { handler as moduleHandler } from "$apps/admin/api/modules/[idModule].ts";
|
||||
import { handler as notesHandler } from "$apps/notes/api/notes.ts";
|
||||
import { handler as uesHandler } from "$apps/notes/api/ues.ts";
|
||||
import { handler as ueModulesHandler } from "$apps/notes/api/ue-modules.ts";
|
||||
import { handler as uesHandler } from "$apps/admin/api/ues.ts";
|
||||
import { handler as ueModulesHandler } from "$apps/admin/api/ue-modules.ts";
|
||||
import { handler as ajustementsHandler } from "$apps/notes/api/ajustements.ts";
|
||||
import { handler as enseignementsHandler } from "$apps/admin/api/enseignements.ts";
|
||||
import { handler as usersHandler } from "$apps/admin/api/users.ts";
|
||||
|
||||
@@ -14,8 +14,8 @@ import {
|
||||
seedUes,
|
||||
truncateAll,
|
||||
} from "../helpers/db_integration.ts";
|
||||
import { handler as ueModulesHandler } from "$apps/notes/api/ue-modules.ts";
|
||||
import { handler as ueModuleHandler } from "$apps/notes/api/ue-modules/[idModule]/[idUE]/[idPromo].ts";
|
||||
import { handler as ueModulesHandler } from "$apps/admin/api/ue-modules.ts";
|
||||
import { handler as ueModuleHandler } from "$apps/admin/api/ue-modules/[idModule]/[idUE]/[idPromo].ts";
|
||||
import { ueModules as ueModulesTable } from "$root/databases/schema.ts";
|
||||
import { testDb } from "../helpers/db_integration.ts";
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@ import {
|
||||
makeJsonRequest,
|
||||
} from "../helpers/handler.ts";
|
||||
import { seedUes, truncateAll } from "../helpers/db_integration.ts";
|
||||
import { handler as uesHandler } from "$apps/notes/api/ues.ts";
|
||||
import { handler as ueHandler } from "$apps/notes/api/ues/[idUE].ts";
|
||||
import { handler as uesHandler } from "$apps/admin/api/ues.ts";
|
||||
import { handler as ueHandler } from "$apps/admin/api/ues/[idUE].ts";
|
||||
|
||||
// --- GET /ues ---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user