summaryrefslogtreecommitdiff
path: root/Hutch/Views/Repositories/RepositorySettingsViewModel.swift
Commit message (Collapse)AuthorAgeFilesLines
* fix: deleted repositories linger until the cache expiresChristian Cleberg2026-07-161-0/+5
| | | | | | | | | | | | | | Deleting a repository left it on the list, and pulling to refresh did not shift it. Two independent reasons, both cache-related. deleteRepository never invalidated anything. Creation invalidates the repositories and home prefixes; deletion was written without it, so the list and Home kept serving a repository that no longer exists. And forceRefresh only ever reached the build statuses — its own doc comment says so — while the repository list itself was pinned to useCache: true. So a pull to refresh re-served the same cache it already had. fetchPage already takes useCache and falls through to an uncached fetch; it was simply never told.
* fix: allow clearing a repository descriptionChristian Cleberg2026-07-151-1/+8
| | | | | | | | | | metadataInputForSave assigned nil through the dictionary subscript to clear a description. Swift removes the key on a nil subscript assignment, so the mutation was sent with no `description` field and the old value survived — clearing a description silently did nothing. Store the nil with updateValue so the key is retained; AnyCodable already encodes an unmatched value as a JSON null.
* fix: add mark all read actions and avoid resending unchanged repo metadataChristian Cleberg2026-04-201-4/+15
|
* fix: sonarqube code smell fixesv3.1.4Christian Cleberg2026-04-131-9/+11
|
* feat: add repo settings managementChristian Cleberg2026-04-121-116/+204
| | | | | | Implements: https://todo.sr.ht/~ccleberg/hutch/42 Implements: https://todo.sr.ht/~ccleberg/hutch/43 Implements: https://todo.sr.ht/~ccleberg/hutch/44
* feat: add repository acl managementChristian Cleberg2026-04-121-157/+0
| | | | | | Implements: https://todo.sr.ht/~ccleberg/hutch/39 Implements: https://todo.sr.ht/~ccleberg/hutch/40 Implements: https://todo.sr.ht/~ccleberg/hutch/41
* feat: show commit dates in Refs tabv2.8.1Christian Cleberg2026-04-011-2/+2
|
* fix README height update and settings save alertsv2.1Christian Cleberg2026-03-191-1/+3
|
* v2.1: bundled polish and fixesChristian Cleberg2026-03-191-6/+6
|
* fix git repository settings updates for empty reposChristian Cleberg2026-03-181-12/+62
|
* v1.0Christian Cleberg2026-03-171-6/+18
|
* create privacy policyChristian Cleberg2026-03-171-0/+301