602 Commits

Author SHA1 Message Date
chahinebrini
b9c48dfd63 test: update stale comments in test fixes 2026-06-18 10:19:48 +02:00
chahinebrini
21ac150685 test: add reframe pattern to JB-002 mock response 2026-06-18 10:12:41 +02:00
chahinebrini
eb3fb129e9 test: update mail classifier score expectations 2026-06-18 10:12:37 +02:00
chahinebrini
057c6533af test: align voice quota tests with pro plan limits 2026-06-18 10:12:33 +02:00
chahinebrini
8a24ee890d test: add domainSubmission mock to profile-counts tests 2026-06-18 10:12:29 +02:00
chahinebrini
c477b300ad feat(ios): Extensions melden Protection-State ans Backend
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
Deploy Staging / Build backend (Nitro) (push) Has been cancelled
Deploy Staging / Deploy zu Hetzner (push) Has been cancelled
- RebreakProtectionModule.setExtensionCredentials() speichert Token,
  deviceId + baseURL in App-Group Shared UserDefaults.
- Auth-Store ruft setExtensionCredentials bei Session-Änderungen auf.
- ContentFilter-Extension (FilterDataProvider) sendet bei stopFilter()
  /api/protection/event active=false mit x-extension-secret.
- PacketTunnel-Extension (PacketTunnelProvider) sendet bei stopTunnel()
  /api/protection/event active=false mit x-extension-secret.
2026-06-18 09:42:18 +02:00
chahinebrini
b0a7091ac7 feat(backend): /api/protection/event akzeptiert Extension-Secret
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
Deploy Staging / Build backend (Nitro) (push) Has been cancelled
Deploy Staging / Deploy zu Hetzner (push) Has been cancelled
- Extension-Auth-Path via x-extension-secret Header.
- Ermittelt userId anhand deviceId aus UserDevice.
- EXTENSION_SECRET in runtimeConfig + Infisical staging.
2026-06-18 09:38:05 +02:00
chahinebrini
a7ac5545ae fix(magic): entferne reportDeviceProtectionState aus Lock-Profil-Flow
Some checks failed
Deploy Staging / Build backend (Nitro) (push) Has been cancelled
Build ReBreak Magic Windows / NSIS Installer (x64) (push) Waiting to run
ci/woodpecker/push/woodpecker Pipeline was successful
Deploy Staging / Deploy zu Hetzner (push) Has been cancelled
- Status kommt jetzt über /api/protection/event vom iOS Plugin.
- /api/devices/protection-state gibt jetzt { success: true, data: null }
  zurück, damit der Rust-Client nicht failed.
2026-06-18 09:22:41 +02:00
chahinebrini
97f8d593a5 feat(protection): /api/protection/event aktualisiert device_protection_states
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
Deploy Staging / Build backend (Nitro) (push) Has been cancelled
Deploy Staging / Deploy zu Hetzner (push) Has been cancelled
- Backend: /api/protection/event setzt bei Vorhandensein von deviceId
  (Body oder x-device-id Header) auch device_protection_states.
  source=mdm -> protectionType=nefilter, sonst vpn.
- Native App: sendet deviceId im Body von /api/protection/event.
- Magic App: Lock-Profil-Status wird nach lokaler Installation ans Backend
  gemeldet und Backend-Status neu geladen.
2026-06-18 09:10:33 +02:00
chahinebrini
45d7981680 Clean up webhook test marker
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
Deploy Staging / Build backend (Nitro) (push) Has been cancelled
Deploy Staging / Deploy zu Hetzner (push) Has been cancelled
2026-06-18 08:49:28 +02:00
chahinebrini
35fa161803 Test Gitea webhook deploy
Some checks failed
Deploy Staging / Deploy zu Hetzner (push) Has been cancelled
ci/woodpecker/push/woodpecker Pipeline was successful
Deploy Staging / Build backend (Nitro) (push) Has been cancelled
2026-06-18 08:47:16 +02:00
chahinebrini
97206b7865 Support Gitea webhooks in deploy listener
Some checks failed
Deploy Staging / Build backend (Nitro) (push) Has been cancelled
Deploy Staging / Deploy zu Hetzner (push) Has been cancelled
ci/woodpecker/push/woodpecker Pipeline was canceled
2026-06-18 08:46:20 +02:00
chahinebrini
2475c082de Use HTTPS for Gitea fetch on staging server
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
Deploy Staging / Build backend (Nitro) (push) Has been cancelled
Deploy Staging / Deploy zu Hetzner (push) Has been cancelled
Build ReBreak Magic Windows / NSIS Installer (x64) (push) Has been cancelled
2026-06-18 08:35:46 +02:00
chahinebrini
b04c4d1c93 fix(magic): melde Lock-Profil ans Backend und zeige 'Voller Schutz aktiv'
- Nach lokaler Lock-Profil-Installation wird der Status per reportDeviceProtectionState ans Backend gemeldet
- Backend-Status wird danach neu geladen
- Bei vollständigem Schutz wird 'Voller Schutz aktiv' angezeigt und die Aktion deaktiviert
2026-06-18 08:34:45 +02:00
chahinebrini
4e60081be9 Test Gitea-based deploy
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Deploy Staging / Build backend (Nitro) (push) Has been cancelled
Deploy Staging / Deploy zu Hetzner (push) Has been cancelled
2026-06-18 08:32:01 +02:00
chahinebrini
9044bd036e Clean up Woodpecker pipeline comments
Some checks failed
Deploy Staging / Build backend (Nitro) (push) Has been cancelled
Deploy Staging / Deploy zu Hetzner (push) Has been cancelled
ci/woodpecker/push/woodpecker Pipeline was successful
2026-06-18 08:28:49 +02:00
chahinebrini
a5581cf077 Fix admin deploy host key check
Some checks failed
Deploy Staging / Build backend (Nitro) (push) Has been cancelled
Deploy Staging / Deploy zu Hetzner (push) Has been cancelled
ci/woodpecker/push/woodpecker Pipeline was successful
Build ReBreak Magic Windows / NSIS Installer (x64) (push) Has been cancelled
2026-06-18 08:26:26 +02:00
chahinebrini
92ab26605f feat(magic): inline Lock-Profil via QR-Code + lokaler Server
- Umbau von MDM-Push auf QR-Code-basierte lokale Profil-Installation
- Automatischer Übergang Enrollment → Lock-Profil nach erfolgreichem Scan
- Lokaler Server erlaubt nun mehrere aufeinanderfolgende Profil-Starts
- .sixth/ in .gitignore aufgenommen
2026-06-18 08:24:57 +02:00
chahinebrini
5404f6676b Retrigger deploy with correct docker volume env
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Deploy Staging / Build backend (Nitro) (push) Has been cancelled
Deploy Staging / Deploy zu Hetzner (push) Has been cancelled
2026-06-18 08:23:40 +02:00
chahinebrini
6cd484ee57 Use WOODPECKER_VOLUME for SSH key mount
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Deploy Staging / Build backend (Nitro) (push) Has been cancelled
Deploy Staging / Deploy zu Hetzner (push) Has been cancelled
2026-06-18 08:19:57 +02:00
chahinebrini
ff4511e9c8 Mount host SSH key into deploy containers
Some checks failed
Deploy Staging / Build backend (Nitro) (push) Has been cancelled
Deploy Staging / Deploy zu Hetzner (push) Has been cancelled
Build ReBreak Magic Windows / NSIS Installer (x64) (push) Has been cancelled
2026-06-18 08:15:54 +02:00
chahinebrini
a4ac5cf058 chore: remove accidentally added embedded repo 2026-06-18 08:13:45 +02:00
chahinebrini
ee5f71a8df fix(magic): send MDM enqueue commands as plist XML to NanoMDM; inline lock profile 2026-06-18 08:13:33 +02:00
chahinebrini
4064b8d975 Use mounted SSH key for deploy steps
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Deploy Staging / Build backend (Nitro) (push) Has been cancelled
Deploy Staging / Deploy zu Hetzner (push) Has been cancelled
2026-06-18 08:13:07 +02:00
chahinebrini
1e66c512f1 Clean up Woodpecker pipeline
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Deploy Staging / Build backend (Nitro) (push) Has been cancelled
Deploy Staging / Deploy zu Hetzner (push) Has been cancelled
2026-06-18 08:08:40 +02:00
chahinebrini
681356f0e9 Retrigger pipeline after secret fix
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Deploy Staging / Build backend (Nitro) (push) Has been cancelled
Deploy Staging / Deploy zu Hetzner (push) Has been cancelled
Build ReBreak Magic Windows / NSIS Installer (x64) (push) Has been cancelled
2026-06-18 07:55:49 +02:00
chahinebrini
bbe2415757 chore: remove accidentally added embedded repo 2026-06-18 07:55:38 +02:00
chahinebrini
1878f6d10e feat(magic): continue to lock profile after enrollment, check icon, push fallback 2026-06-18 07:55:27 +02:00
chahinebrini
53f5b2a2f1 Add debug output for deploy key
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Deploy Staging / Build backend (Nitro) (push) Has been cancelled
Deploy Staging / Deploy zu Hetzner (push) Has been cancelled
2026-06-18 07:52:49 +02:00
chahinebrini
3db9dd9326 Decode deploy key from base64 in pipeline
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Deploy Staging / Build backend (Nitro) (push) Has been cancelled
Deploy Staging / Deploy zu Hetzner (push) Has been cancelled
2026-06-18 07:45:43 +02:00
chahinebrini
57b9b3a567 Use alpine:3.21 for deploy steps to fix OpenSSH key format
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Deploy Staging / Build backend (Nitro) (push) Has been cancelled
Deploy Staging / Deploy zu Hetzner (push) Has been cancelled
2026-06-18 07:41:40 +02:00
chahinebrini
f83e5bf914 Remove broken submodule entry
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Deploy Staging / Build backend (Nitro) (push) Has been cancelled
Deploy Staging / Deploy zu Hetzner (push) Has been cancelled
2026-06-18 07:38:07 +02:00
chahinebrini
6b1583efdc Remove broken submodule entry and ignore local research folder
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Deploy Staging / Build backend (Nitro) (push) Has been cancelled
Deploy Staging / Deploy zu Hetzner (push) Has been cancelled
2026-06-18 07:37:12 +02:00
chahinebrini
b6ee2e9004 Trigger Woodpecker pipeline
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Deploy Staging / Build backend (Nitro) (push) Has been cancelled
Deploy Staging / Deploy zu Hetzner (push) Has been cancelled
Build ReBreak Magic Windows / NSIS Installer (x64) (push) Has been cancelled
2026-06-18 07:35:09 +02:00
chahinebrini
da4a94da49 chore: remove accidentally added embedded repo 2026-06-18 07:25:51 +02:00
chahinebrini
c6035b97d9 feat(magic): inline enrollment in device card, remove preflight, align flag order 2026-06-18 07:25:43 +02:00
chahinebrini
abeb1462f4 Add Woodpecker CI pipeline for staging deploys
Some checks failed
Deploy Staging / Build backend (Nitro) (push) Has been cancelled
Deploy Staging / Deploy zu Hetzner (push) Has been cancelled
2026-06-18 07:24:35 +02:00
chahinebrini
709f8cb32e chore: remove accidentally added embedded repo
Some checks failed
Deploy Staging / Build backend (Nitro) (push) Has been cancelled
Deploy Staging / Deploy zu Hetzner (push) Has been cancelled
2026-06-18 07:10:27 +02:00
chahinebrini
e6fad4f51e fix(magic): always show supervised + lock profile true/false; company from exists 2026-06-18 07:10:12 +02:00
chahinebrini
dd84f8ec38 fix(backend): mdm.get must use status.enrolled, not hardcoded true 2026-06-18 06:47:05 +02:00
chahinebrini
0efdf2f8f1 fix(magic): show complete protection button for known disenrolled devices 2026-06-18 06:28:04 +02:00
chahinebrini
e14a36f95a fix(backend): keep mdmId when device exists but is disenrolled; add exists flag 2026-06-18 06:28:03 +02:00
chahinebrini
bb8e0d3f62 fix(backend): mdm.get always returns full status shape even when not enrolled 2026-06-18 06:10:33 +02:00
chahinebrini
ac7bd800bc fix(magic): inline iPhone search in device card instead of detect page 2026-06-18 06:03:04 +02:00
chahinebrini
5117c7b37c fix(backend): getMdmStatusByUdid must check enrollments.enabled 2026-06-18 06:03:01 +02:00
chahinebrini
2919ce45b8 feat(magic): sync current ReBreak Magic app state
Include recent Magic app work: Tauri native shell, iOS device detection
via supervise-magic sidecar, MDM client, local HTTP server, new pages
(detect, enroll, supervise, sideload, pair, preflight, configure, done),
and updated device section/status UI.
2026-06-18 05:23:26 +02:00
chahinebrini
b9dddc00e7 ci: remove temporary test workflows 2026-06-18 05:17:33 +02:00
chahinebrini
cb6dd0555a fix(magic): show backend MDM status even when iPhone is not connected via USB 2026-06-18 05:16:22 +02:00
chahinebrini
c1f5f5804d ci: add temporary ubuntu test workflow 2026-06-18 05:09:29 +02:00
chahinebrini
7d76c5168b ci: add temporary runner test workflow 2026-06-18 05:03:00 +02:00