mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-26 01:14:22 +00:00
When a SuperSync account is deleted, clients now properly detect authentication failures and prompt for reconfiguration: - Add _checkHttpStatus() helper to SuperSyncProvider that throws AuthFailSPError on 401/403 responses - Clear cached credentials on auth failure to allow reconfiguration - Add DELETE /api/test/user/:userId endpoint for E2E testing - Add deleteTestUser() helper in supersync-helpers.ts - Add E2E tests for account deletion and reconfiguration scenarios The existing SyncWrapperService already handles AuthFailSPError by showing a snackbar with "Configure" action, so no UI changes needed. |
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| environments | ||
| static | ||
| styles | ||
| test-helpers | ||
| typings | ||
| _common.scss | ||
| favicon.ico | ||
| hammer-config.class.ts | ||
| index.html | ||
| karma.conf.js | ||
| main.ts | ||
| manifest.json | ||
| polyfills.ts | ||
| styles.scss | ||
| test.ts | ||
| tsconfig.app.json | ||
| tsconfig.spec.json | ||
| tsconfig.worker.json | ||