feat: 8 AI providers, rich text editor, agent notifications, UI contrast & font settings
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 1m25s

- Add DeepSeek, OpenRouter, Mistral, Z.AI, LM Studio as AI providers
  with editable model names via Combobox in admin settings
- Fix OpenRouter broken by normalizeProvider bug in config.ts
- Convert agent-created notes from Markdown to HTML (TipTap rich text)
- Add Notification model + in-app notifications for agent results
- Agent notification click opens the created note directly
- Add note count display on notebook and inbox headers
- Fix checklist toggle in card view (persist state via localCheckItems)
- Add checklist creation option in tabs/list view (dropdown on + button)
- Fix image description ENOENT error with HTTP fallback
- Improve UI contrast across all themes (input, border, checkbox visibility)
- Add font family setting (Inter vs System Default) in Appearance settings
- Fix CSS font-sans variable conflict (removed dead Geist references)
- Update README with new features and 8 providers

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Sepehr Ramezani
2026-05-01 16:14:07 +02:00
parent 1345403a31
commit dbd49d6fcb
64 changed files with 4124 additions and 1392 deletions

View File

@@ -63,13 +63,14 @@ git config credential.helper store
```bash
cd /opt/memento
bash scripts/deploy.sh --full
bash scripts/deploy-docker.sh --full
```
Le script demande interactivement :
- **ADMIN_EMAIL** (obligatoire) - le premier utilisateur inscrit avec cet email obtient le role ADMIN
- URL (mettre `http://192.168.1.190` ou `http://notes.parsanet.org`)
- Provider AI + cle API
- Email (optionnel)
- MCP server, email, recherche web (optionnels)
Il genere automatiquement NEXTAUTH_SECRET et POSTGRES_PASSWORD.
@@ -77,16 +78,17 @@ Il genere automatiquement NEXTAUTH_SECRET et POSTGRES_PASSWORD.
```bash
cd /opt/memento
bash scripts/deploy.sh --build
bash scripts/deploy-docker.sh --build
docker compose ps
# Les 3 conteneurs doivent etre "healthy"
```
### 5. Creer le premier admin
Inscrivez-vous sur `http://192.168.1.190/register` avec l'email defini dans `ADMIN_EMAIL` : le role ADMIN est attribue automatiquement.
Alternative manuelle :
```bash
# S'inscrire sur http://192.168.1.190/register
# Puis promouvoir en admin :
docker compose exec -T postgres psql -U memento -d memento \
-c "UPDATE \"User\" SET role='ADMIN' WHERE email='VOTRE_EMAIL';"
```
@@ -289,9 +291,9 @@ docker compose restart memento-note
- [ ] Creer `memento-deploy` sur 192.168.1.190
- [ ] Cloner le repo dans `/opt/memento`
- [ ] `bash scripts/deploy.sh --full`
- [ ] `bash scripts/deploy-docker.sh --full`
- [ ] 3 conteneurs healthy
- [ ] S'inscrire, puis promouvoir en ADMIN via SQL
- [ ] S'inscrire avec l'email ADMIN_EMAIL defini dans .env.docker
- [ ] Configurer Nginx
### CI/CD (une seule fois)