17 Commits

Author SHA1 Message Date
6e649df0af lint wip 2026-01-13 17:23:28 +01:00
2116ee4ffc lint wip 2026-01-13 15:56:14 +01:00
ff7b83d829 lint fix wip 2026-01-07 02:26:30 +01:00
f02b3938a1 Update SSH connection errors documentation with root cause analysis
**Motivations:**
- Document the deep root cause of ControlSocket already exists errors
- Explain why ControlMaster=auto doesn't remove invalid sockets
- Document the solution to aggressively clean up dead sockets

**Root causes:**
- Documentation needed to explain the root cause of socket invalidation
- Need to document why directory removal is necessary for proper cleanup

**Correctifs:**
- Added deep root cause analysis section explaining ControlMaster=auto behavior
- Documented why dead sockets accumulate and cause subsequent failures
- Updated corrections section with latest improvements

**Evolutions:**
- More complete documentation of the problem and solution

**Pages affectées:**
- fixKnowledge/ssh-connection-errors-deployment.md: Added root cause analysis and updated corrections
2026-01-06 14:37:19 +01:00
17219ea662 Update SSH connection errors documentation with blocking fix
**Motivations:**
- Document the blocking issue fix in the SSH connection errors documentation
- Keep documentation up to date with all fixes applied

**Root causes:**
- Documentation needed to reflect the blocking issue and its resolution

**Correctifs:**
- Added information about the blocking issue at step 5
- Documented the fix for command substitution blocking
- Updated root cause analysis to include blocking causes

**Evolutions:**
- Documentation now complete with all fixes

**Pages affectées:**
- fixKnowledge/ssh-connection-errors-deployment.md: Added blocking issue documentation
2026-01-06 14:27:22 +01:00
a219d1ad42 lint fix wip2 2026-01-06 14:24:35 +01:00
8813498de4 Fix SSH connection errors during deployment
**Motivations:**
- SSH ControlMaster connection errors were causing deployment failures
- Connection reset errors were not handled properly
- No retry mechanism for failed SSH connections

**Root causes:**
- SSH ControlMaster socket could become stale or be closed prematurely
- No validation of connection before use
- No cleanup of dead connections
- Silent failures in conditional checks

**Correctifs:**
- Added connection validation before each SSH command
- Implemented automatic cleanup of dead SSH connections
- Added retry mechanism (up to 3 attempts) with connection cleanup
- Enhanced SSH options for better connection stability (ConnectTimeout, ServerAliveInterval, ServerAliveCountMax)
- Improved error handling in Git repository verification step with explicit error detection and recovery

**Evolutions:**
- Enhanced SSH connection management with robust error handling
- Better error messages to distinguish connection errors from other failures

**Pages affectées:**
- deploy.sh: Enhanced ssh_exec() function, added helper functions, improved error handling
- fixKnowledge/ssh-connection-errors-deployment.md: Documentation of the problem, root cause, and solution
2026-01-06 14:22:24 +01:00
94ac35f309 Fix: profil image 2026-01-05 22:57:46 +01:00
a52a261459 Document nostrimg.com 500 error diagnosis
**Motivations:**
- Document the code verification for nostrimg.com 500 errors
- Explain what was checked and what might be the issue
- Provide next steps for diagnosis

**Root causes:**
- Unknown: Could be code issue or server-side issue
- Need detailed logs to determine

**Correctifs:**
- Documented all code verifications
- Listed potential issues to check
- Provided next steps for diagnosis

**Evolutions:**
- None

**Pages affectées:**
- fixKnowledge/nostrimg-500-error-diagnosis.md (new)
2026-01-05 22:56:36 +01:00
dbe4dba70f Fix: profil image 2026-01-05 22:51:30 +01:00
e69b0178bc Document nostrimg.com HTML response issue and fixes
**Motivations:**
- Document the issue with nostrimg.com returning HTML instead of JSON
- Explain possible root causes and solutions
- Provide diagnostic steps for troubleshooting

**Root causes:**
- Missing HTTP headers (Accept, User-Agent)
- Possible incorrect endpoint URL
- Possible authentication requirements
- Endpoint may be unavailable or changed

**Correctifs:**
- Added Accept and User-Agent headers
- Improved HTML error detection and classification
- Enhanced error messages and logging

**Evolutions:**
- None

**Pages affectées:**
- fixKnowledge/nostrimg-html-response-error.md (new)
2026-01-05 22:51:06 +01:00
b5ec69624c Fix: NIP-95 upload 500 error 2026-01-05 22:07:11 +01:00
a90b77cec3 Fix: NIP-95 upload 500 error 2026-01-05 21:22:49 +01:00
065ab30828 Fix: favicon 404 error and NIP-95 upload 500 error
**Motivations:**
- Corriger l'erreur 404 pour favicon.ico demandé par les navigateurs
- Corriger l'erreur 500 de l'API NIP-95 upload empêchant les uploads de fichiers

**Root causes:**
- Fichier favicon.ico manquant dans public/ causant des erreurs 404 répétées
- Incompatibilité entre form-data (npm) et fetch() natif de Node.js dans l'API NIP-95

**Correctifs:**
- Ajout de favicon.svg et mise à jour des références dans les pages
- Remplacement de fetch() par https/http natifs de Node.js dans nip95-upload.ts
- Amélioration de la gestion des erreurs et nettoyage des fichiers temporaires

**Evolutions:**
- Documentation des problèmes et solutions dans fixKnowledge/

**Pages affectées:**
- components/HomeView.tsx
- pages/docs.tsx
- pages/presentation.tsx
- pages/api/nip95-upload.ts
- features/account-creation-buttons-separation.md
- fixKnowledge/favicon-404-error.md (nouveau)
- fixKnowledge/nip95-upload-500-error.md (nouveau)
- public/favicon.svg (nouveau)
2026-01-05 01:34:55 +01:00
46d5f03fbe Remove connection button and replace with direct account creation/import options 2025-12-28 20:35:50 +01:00
9ea4965c05 docs: Fusion et simplification documentation
- Fusion tous documents commissions en technical.md
- Suppression documents redondants :
  - architecture.md, commissions.md, commission-system.md
  - commission-implementation.md, split-and-transfer.md
  - implementation-summary.md, content-delivery-verification.md
- Documentation fidèle au code actuel
- remaining-tasks.md mis à jour avec état réel
- Documentation centralisée et sans répétitions
2025-12-27 21:29:57 +01:00
cf5ebeb6e9 \ 2025-12-23 02:20:57 +01:00