You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Saved subscriptions with auto-refresh and change notifications (#2)
Adds a Subscriptions tab so users can save multiple happ:// links (or plain http(s) sub URLs), refresh them, and get notified when configs change (e.g. when servers get blocked).
- SavedSubscription model + SubscriptionStore (JSON on disk).
- ChangeDetector: pure diff of config-URI snapshots (added/removed).
- RefreshService: re-runs extraction per subscription, detects changes, fires notifications; one failure does not abort the batch.
- NotificationService: local UNUserNotificationCenter alerts on change.
- RefreshCoordinator: foreground + pull-to-refresh, applied on the main actor.
- BackgroundRefresh: BGAppRefreshTask (com.happwn.refresh), opportunistic.
- ExtractionService now accepts a plain http(s) subscription URL (skips decryption).
- UI: Subscriptions list, detail (edit name, per-sub notify, refresh, delete), add sheet; Save button on Extract; Settings 'Обновления' section (notifications, background refresh, min interval). Notifications + background refresh default ON.
- Info.plist with UIBackgroundModes + BGTaskSchedulerPermittedIdentifiers; project.yml wired to it. Bump to 1.0.2 (build 3).
- Tests: ChangeDetector, SubscriptionStore, RefreshService, plain-URL extraction.
Co-authored-by: useruserdev <256019073+useruserdev@users.noreply.github.com>
0 commit comments