feat: rename ThreeFold to Mycelium in copyright, docs, specs, and UI across codebase

This commit is contained in:
mik-tf
2025-09-08 13:45:02 -04:00
parent 8d66810688
commit c054ceb24d
22 changed files with 146 additions and 146 deletions

View File

@@ -4471,7 +4471,7 @@ impl DashboardController {
// Generate text agreement content
let agreement_content = format!(
"SERVICE PROVIDER AGREEMENT\n\n\
ThreeFold Grid Service Provider Agreement\n\
Mycelium Grid Service Provider Agreement\n\
\n\
Service Provider: {}\n\
Agreement Date: January 15, 2025\n\
@@ -4479,7 +4479,7 @@ impl DashboardController {
Status: Active\n\
\n\
This agreement outlines the terms and conditions for providing services\n\
on the ThreeFold Grid platform.\n\
on the Mycelium Grid platform.\n\
\n\
Terms:\n\
1. Service Quality Standards\n\
@@ -6329,7 +6329,7 @@ impl DashboardController {
}
}
/// Sync resource_provider nodes with ThreeFold Grid
/// Sync resource_provider nodes with Mycelium Grid
pub async fn sync_with_grid(session: Session) -> Result<impl Responder> {
// Check authentication
if let Err(response) = Self::check_authentication(&session) {
@@ -6339,7 +6339,7 @@ impl DashboardController {
// Mock sync operation
let sync_result = serde_json::json!({
"success": true,
"message": "Successfully synced with ThreeFold Grid",
"message": "Successfully synced with Mycelium Grid",
"nodes_updated": 3,
"new_nodes_found": 1,
"sync_timestamp": chrono::Utc::now().to_rfc3339()
@@ -6803,7 +6803,7 @@ impl DashboardController {
}
}
/// API endpoint to sync with ThreeFold Grid
/// API endpoint to sync with Mycelium Grid
pub async fn sync_with_grid_api(session: Session) -> Result<impl Responder> {
let user_email = session.get::<String>("user_email")
@@ -6834,13 +6834,13 @@ impl DashboardController {
Ok(ResponseBuilder::ok().json(serde_json::json!({
"success": true,
"message": format!("Successfully synced {} nodes with ThreeFold Grid", synced_nodes),
"message": format!("Successfully synced {} nodes with Mycelium Grid", synced_nodes),
"synced_nodes": synced_nodes
})).build())
}
Err(e) => {
Ok(ResponseBuilder::internal_error().json(serde_json::json!({
"error": "Failed to sync with ThreeFold Grid",
"error": "Failed to sync with Mycelium Grid",
"details": e.to_string()
})).build())
}