3 Commits

Author SHA1 Message Date
Mondo Diaz
53fff625ac Fix migrations to remove is_public and allow_public_internet from schema
- Update migration 017 to not include is_public column or index
- Update migration 018 to not include allow_public_internet column
- Make migration 020 a no-op (public sources no longer seeded)
2026-01-29 13:11:18 -06:00
Mondo Diaz
6265c7b9ee Fix AirGapError import and remove remaining is_public references
- Remove AirGapError import from routes.py (class was deleted)
- Remove AirGapError exception handler from cache endpoint
- Remove AirGapError from docstring in upstream.py
- Remove TestUpstreamClientAirGapMode test class
- Remove is_public references from test fixtures and assertions
2026-01-29 13:03:55 -06:00
Mondo Diaz
1f18bb4383 Remove public internet features and fix upstream source UI (#107)
- Remove is_public field from upstream sources (all sources are internal)
- Remove allow_public_internet setting from cache settings
- Remove seeding of public registry URLs
- Fix connectivity test to not follow redirects (fixes Artifactory error)
- Add dedicated Test column with OK/Error status badges
- Auto-test sources after save
- Add error modal for viewing full error details
- Fix table layout (no-wrap on source name)
- Add ORCHARD_PURGE_SEED_DATA to stage helm values
2026-01-29 12:50:23 -06:00
2 changed files with 1 additions and 5 deletions

View File

@@ -6,9 +6,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased] ## [Unreleased]
### Fixed
- Fixed purge_seed_data crash when deleting access permissions - was comparing UUID to VARCHAR column (#107)
### Changed ### Changed
- Upstream source connectivity test no longer follows redirects, fixing "Exceeded maximum allowed redirects" error with Artifactory proxies (#107) - Upstream source connectivity test no longer follows redirects, fixing "Exceeded maximum allowed redirects" error with Artifactory proxies (#107)
- Upstream sources table now has dedicated "Test" column with OK/Error status badges (#107) - Upstream sources table now has dedicated "Test" column with OK/Error status badges (#107)

View File

@@ -194,8 +194,7 @@ def purge_seed_data(db: Session) -> dict:
synchronize_session=False synchronize_session=False
) )
# Delete any access permissions for this user # Delete any access permissions for this user
# Note: AccessPermission.user_id is VARCHAR (username), not UUID db.query(AccessPermission).filter(AccessPermission.user_id == user.id).delete(
db.query(AccessPermission).filter(AccessPermission.user_id == user.username).delete(
synchronize_session=False synchronize_session=False
) )
db.delete(user) db.delete(user)