Rebrand from Casera/MyCrib to honeyDue

Total rebrand across KMM project:
- Kotlin package: com.example.casera -> com.tt.honeyDue (dirs + declarations)
- Gradle: rootProject.name, namespace, applicationId
- Android: manifest, strings.xml (all languages), widget resources
- iOS: pbxproj bundle IDs, Info.plist, entitlements, xcconfig
- iOS directories: Casera/ -> HoneyDue/, CaseraTests/ -> HoneyDueTests/, etc.
- Swift source: all class/struct/enum renames
- Deep links: casera:// -> honeydue://, .casera -> .honeydue
- App icons replaced with honeyDue honeycomb icon
- Domains: casera.treytartt.com -> honeyDue.treytartt.com
- Bundle IDs: com.tt.casera -> com.tt.honeyDue
- Database table names preserved

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Trey t
2026-03-07 06:33:57 -06:00
parent 9c574c4343
commit 1e2adf7660
450 changed files with 1730 additions and 1788 deletions

View File

@@ -1,7 +1,7 @@
import Foundation
import ComposeApp
/// Manages residence share package creation and import via .casera files.
/// Manages residence share package creation and import via .honeydue files.
/// For residences, the share code is generated server-side (unlike contractors which are exported client-side).
@MainActor
class ResidenceSharingManager: ObservableObject {
@@ -35,7 +35,7 @@ class ResidenceSharingManager: ObservableObject {
// MARK: - Export (Share)
/// Creates a shareable .casera file for a residence.
/// Creates a shareable .honeydue file for a residence.
/// This calls the backend to generate a one-time share code, then packages it.
/// - Parameter residence: The residence to share
/// - Returns: URL to the temporary file, or nil if creation failed
@@ -64,7 +64,7 @@ class ResidenceSharingManager: ObservableObject {
return nil
}
let jsonContent = CaseraShareCodec.shared.encodeSharedResidence(sharedResidence: sharedResidence)
let jsonContent = HoneyDueShareCodec.shared.encodeSharedResidence(sharedResidence: sharedResidence)
guard let jsonData = jsonContent.data(using: .utf8) else {
#if DEBUG
print("ResidenceSharingManager: Failed to encode residence package as UTF-8")
@@ -73,7 +73,7 @@ class ResidenceSharingManager: ObservableObject {
return nil
}
let fileName = CaseraShareCodec.shared.safeShareFileName(displayName: residence.name)
let fileName = HoneyDueShareCodec.shared.safeShareFileName(displayName: residence.name)
let tempURL = FileManager.default.temporaryDirectory.appendingPathComponent(fileName)
do {
@@ -83,7 +83,7 @@ class ResidenceSharingManager: ObservableObject {
return tempURL
} catch {
#if DEBUG
print("ResidenceSharingManager: Failed to write .casera file: \(error)")
print("ResidenceSharingManager: Failed to write .honeydue file: \(error)")
#endif
errorMessage = "Failed to save share file"
return nil
@@ -92,10 +92,10 @@ class ResidenceSharingManager: ObservableObject {
// MARK: - Import
/// Imports a residence share from a .casera file URL.
/// Imports a residence share from a .honeydue file URL.
/// This validates the share code with the server and adds the user to the residence.
/// - Parameters:
/// - url: The URL to the .casera file
/// - url: The URL to the .honeydue file
/// - completion: Called with true on success, false on failure
func importResidence(from url: URL, completion: @escaping (Bool) -> Void) {
isImporting = true
@@ -164,7 +164,7 @@ class ResidenceSharingManager: ObservableObject {
// MARK: - Swift Codable Structure
/// Swift-native Codable structure for .casera residence share format.
/// Swift-native Codable structure for .honeydue residence share format.
/// This mirrors the Kotlin SharedResidence model for JSON serialization.
struct SharedResidenceExport: Codable {
let version: Int