wg-verwaltung/backend/src/routes
bernd a6fb15cd41 Add tenant move-out with permanent archive instead of deletion
Landlords can now remove a tenant from their room via a "Mieter
ausziehen lassen" button on the contract card. This never deletes
anything: POST /contracts/:id/move-out sets Contract.isActive=false
(with an endDate), frees the room (User.roomId=null,
Room.status=VACANT) so it can be re-assigned via the existing invite
flow, and leaves the contract row — along with every linked payment,
ticket, rating, handover protocol, and contract document — untouched
and permanently queryable.

GET /contracts/documents now only lists active contracts; the new
GET /contracts/archive (landlord/admin only) lists deactivated ones,
rendered in a new "Archiv — ausgezogene Mieter" section on the
Verträge-page with their historical documents still downloadable.
2026-08-13 10:59:16 +00:00
..
auth.ts Wire up OneSignal push delivery: register endpoint + reminder jobs 2026-08-13 07:47:42 +00:00
bankingWebhook.ts add backend/src/routes/bankingWebhook.ts 2026-08-12 16:28:50 +00:00
cleaningTasks.ts Add cleaning-calendar and cleaning-absences endpoints 2026-08-12 19:37:04 +00:00
cockpit.ts Dateien nach "backend/src/routes" hochladen 2026-08-12 21:55:35 +00:00
contracts.ts Add tenant move-out with permanent archive instead of deletion 2026-08-13 10:59:16 +00:00
craftsmen.ts Dateien nach "backend/src/routes" hochladen 2026-08-12 21:55:35 +00:00
documents.ts Dateien nach "backend/src/routes" hochladen 2026-08-12 21:38:33 +00:00
expenses.ts Dateien nach "backend/src/routes" hochladen 2026-08-12 21:38:03 +00:00
guestCodes.ts Dateien nach "backend/src/routes" hochladen 2026-08-12 21:38:03 +00:00
handoverProtocols.ts Dateien nach "backend/src/routes" hochladen 2026-08-12 21:38:03 +00:00
inventory.ts Scope inventory list to own room + shared items for tenants 2026-08-13 10:08:17 +00:00
invitations.ts add backend/src/routes/invitations.ts 2026-08-12 17:48:25 +00:00
ratings.ts Add peer rating system for tenants 2026-08-13 07:39:32 +00:00
smartLock.ts Add Homematic IP smart lock integration (Access Point + App setup) 2026-08-13 08:21:19 +00:00
storage.ts Replace flat trash list with a real month-calendar view (FullCalendar) 2026-08-13 09:20:54 +00:00
tickets.ts Add 1-click PDF export for tickets (craftsman handoff) 2026-08-13 07:27:01 +00:00
utilityStatements.ts Dateien nach "backend/src/routes" hochladen 2026-08-12 21:55:35 +00:00