bruno
41a28dfccc
feat(api): production-ready P0/P1 — secrets hors navigateur, clés d'API, métriques
...
CI / build-and-test (push) Successful in 14m57s
P0
- Aucun secret servi au navigateur : /assets/config.local.js est généré par le
serveur AVANT les montages statiques (il l'emporte sur le fichier local) et
ne contient plus YOUTUBE_API_KEY(S) ; le fichier local n'est plus copié dans
l'image Docker ni embarqué dans dist (angular ignore config.local.js) ;
youtube-api.service n'appelle plus googleapis directement (fetchYouTube =
/api/yt -> /proxy/api/yt), gardes « pas de clé => écran vide », rotation et
carte de bans côté client supprimées ; readiness YouTube via /healthz
(youtube.keys.count) ; messages d'erreur orientés configuration serveur.
- CORS : origines pilotées par API_ALLOWED_ORIGINS (CSV), méthode PATCH
ajoutée (requis par /user/preferences), header X-API-Key accepté.
- Clés d'API longue durée : table api_keys (empreinte SHA-256 + préfixe
affichable), routes GET/POST /api/keys et DELETE /api/keys/:id, jeton
ntk_… affiché une seule fois, last_used_at à chaque usage ; X-API-Key
accepté par authMiddleware ET authMiddlewareCookieAware.
P1
- X-Request-Id renvoyé sur chaque réponse + journal JSON structuré en prod
(ts, reqId, method, route, status, ms).
- GET /metrics : exposition Prometheus sans dépendance (http_requests_total
par route/code, somme+nombre de durées, uptime/mémoire ; METRICS_TOKEN
verrouille l'accès si défini).
- Rate-limit sur /api/details (DETAILS_RATE_LIMIT, 60/min, réponse JSON) —
/transcript avait déjà le sien.
- Version unique package.json : menu du compte, info.version de l'OpenAPI
(+ schéma apiKeyAuth et chemins /keys / /metrics documentés).
Tests : api_coverage +7 cas « production-ready » (sentinel de fuite de clé,
X-Request-Id, /metrics, CORS PATCH, contrat/version, cycle complet des clés
d'API), suggest, transcript, flags, filters, kind — verts. Build OK.
Vérifs instance locale : config servie sans secret, /api/yt 200 avec la clé
serveur, /metrics alimenté, menu 1.0.59 et 40 cartes rendues sans clé côté
client.
2026-10-02 23:24:50 -04:00
bruno
665a0f0ebd
feat(providers): phases 7.3/7.4/7.6/8.1 — provenance, health, NDJSON, contrat unique
...
CI / build-and-test (push) Successful in 14m43s
7.3: capturedAt/source au registre + 6 adaptateurs + module provenance.ts + ?debug=1 (search-transport.mjs). 7.4: ProviderHealthService + badge source degradee. 7.6: squelettes par provider + snapshots progressifs + transport NDJSON /api/search. 8.1: ProviderAdapter unifie (search enveloppe + channelContent/channelMeta/capabilities) via getProviderAdapter + test de contrat offline.
2026-09-30 07:57:11 -04:00
bruno
201fe979b8
feat(history): miniatures des vidéos importées (i.ytimg déterministe)
2026-09-27 12:16:09 -04:00
bruno
f038f19b71
feat(sync): sélecteur de chaîne YouTube (multi-chaînes/marque) via PageId
2026-09-27 08:05:01 -04:00
bruno
df53445efe
feat(oauth): import favoris/abos Google (YouTube) et Twitch vers abonnements/likes
...
- Backend: server/oauth.mjs (auth URL, echange code, refresh, fetch
subscriptions/likes Google, follows Twitch), table oauth_connections
+ migration, routes /api/oauth/:provider/{url,callback,preview,import},
/api/oauth/{status,connections}
- Front: /library/import (connect, preview, import), service
oauth-import, lien depuis Abonnements
- Config: GOOGLE_CLIENT_ID/SECRET/REDIRECT_URI, TWITCH_REDIRECT_URI,
OAUTH_APP_BASE_URL documentes (.env.example, docker-compose),
passthrough docker-compose.local.yml, roadmap README cochee
2026-09-26 18:47:02 -04:00
bruno
55c02ac52f
feat(history): refonte page historique en tabs + transcripts conserves et rejoues sans regeneration
2026-09-26 12:59:01 -04:00
bruno
655061ba2c
feat(preferences): section langues a telecharger (defaut fr+en), transcripts filtres cote serveur et watch
CI / build-and-test (push) Successful in 13m50s
2026-09-26 11:49:56 -04:00
bruno
49c3b5dfdf
feat(subscriptions): gestion des abonnements par groupes façon PocketTube
...
CI / build-and-test (push) Failing after 8m18s
- Tables subscription_groups + subscription_group_members (migration + schema)
- API CRUD groupes, membres par groupe, groupes par abonnement
- Page Abonnements: onglets Groupes/Chaines, modale creation/edition (icone/couleur), assignation unitaire + lot, filtre par groupe + recherche
- Sidebar: section Groupes avec navigation directe (queryParams)
- i18n nav.groups FR/EN + 4 tests unitaires service
2026-09-26 10:45:34 -04:00
bruno
4bdcd393fe
feat(youtube): InnerTube-first search, transcripts and watch-next related (Steps 15-18)
...
- InnerTube layer via pinned youtubei.js 18.1.0 (no quota, no key):
search with merged continuations (unlimited pages), watch-next
related with LockupView mapping, caption-track discovery
- 3-layer dispatcher (YT_SEARCH_MODE, default innertube-first):
innertube -> yt-dlp scrape -> official API, graceful errors.yt
- Robust yt-dlp binary resolution (YT_DLP_PATH > PATH > bundled)
with systematic API fallback (fixes spawn ENOENT in UI)
- Transcript: InnerTube caption discovery (YT_TRANSCRIPT_SOURCE),
reusing pickTrack/orderedTracks/parseTrackText; yt-dlp fallback kept
- Watch: sidebar uses real watch-next related[] (/api/details),
title-search fallback for other providers
- Cache: memory LRU + SQLite (youtube_search_cache, youtube_metrics),
never persist empty pages; /healthz observability; /api/trending
- Includes pending Step 15/16 leftovers in same files (suggest,
test scripts); unrelated provider adapters left uncommitted
2026-09-25 19:38:46 -04:00
bruno
97e5de74f5
feat(channel): page details chaine multi-providers avec onglets et infinite scroll
...
CI / build-and-test (push) Successful in 13m34s
- Strategy Pattern front: ChannelProviderInterface + 6 providers (yt/dm/tw/pt/od/ru) + factory (ids longs/courts)
- ChannelContentService: cache par onglet/tri/recherche (TTL 5min), pagination nextPage
- ChannelPage: header (banniere/avatar/subs/description ...plus), tabs dynamiques par capabilities, grilles videos/shorts 9:16/playlists/live, recherche debounced, tri recent/populaire, infinite scroll IntersectionObserver, skeletons/empty/error
- Backend: GET /api/channels/:provider/:id/content (videos/shorts/playlists/live) natif par provider
2026-09-25 10:15:12 -04:00
bruno
fe35340948
chore: update Angular cache and TypeScript build info
2025-09-23 22:45:57 -04:00
bruno
9a3983a253
chore: update Angular cache and TypeScript build info
2025-09-23 21:45:57 -04:00
bruno
d372b7d509
feat: update Angular cache with latest TypeScript definitions
2025-09-22 22:17:38 -04:00
bruno
d78afda4cd
chore: update Angular cache and TypeScript build info files
2025-09-22 14:45:16 -04:00
bruno
4eb339eb22
chore: update Angular cache and TypeScript build info files
2025-09-22 09:34:22 -04:00
bruno
3b4f3d52e0
chore: update Angular cache and TypeScript build info
2025-09-21 12:01:02 -04:00
bruno
80935ebd74
chore: update Angular cache and TypeScript build info files
2025-09-21 11:37:04 -04:00
bruno
2420140cad
chore: update Angular cache and TypeScript build info
2025-09-21 10:04:52 -04:00
bruno
5d6aa17b81
chore: update Angular cache and TypeScript build info files
2025-09-20 23:18:42 -04:00
bruno
3f04191623
chore: update Angular cache and TypeScript build info
2025-09-20 22:33:11 -04:00
bruno
9c03f5f5fe
chore: update TypeScript build info cache
2025-09-19 12:52:02 -04:00
bruno
d6da699c54
refactor: improve Rumble video scraping with robust ID normalization and metadata parsing
2025-09-19 09:33:54 -04:00
bruno
709b2e55c2
chore: update Angular cache and TypeScript build info files
2025-09-19 09:10:29 -04:00
bruno
41255a8126
chore: update TypeScript build info cache
2025-09-18 22:20:52 -04:00
bruno
bcfb46ef7a
chore: update TypeScript build info cache
2025-09-18 11:07:26 -04:00
bruno
0e1f9d0bbd
chore: update Angular cache and TypeScript build info
2025-09-18 09:28:11 -04:00
bruno
9ce4df93fd
chore: update Angular cache and TypeScript build info files
2025-09-18 07:40:37 -04:00
bruno
a74f18ee78
chore: update Angular cache and TypeScript build info files
2025-09-18 07:40:06 -04:00
bruno
fff9b88663
chore: update Angular TypeScript build info cache
2025-09-17 22:29:57 -04:00
bruno
f3a78b7d7e
chore: update Angular cache files and TypeScript build info
2025-09-17 21:27:20 -04:00
bruno
3dbfb04b15
feat: add video like status endpoint and improve Odysee image proxy with fallback URLs
2025-09-17 14:02:00 -04:00
bruno
68f6c67240
chore: update TypeScript build info cache
2025-09-17 09:32:10 -04:00
bruno
7cb75e2d3b
chore: update Angular cache and TypeScript build info
2025-09-17 09:05:35 -04:00
bruno
f7b941fcaa
chore: update newtube database with latest changes
2025-09-16 12:54:26 -04:00
bruno
c0249768dd
chore: update Angular TypeScript build info cache
2025-09-16 12:36:21 -04:00
bruno
3d78d0aef9
chore: update Angular cache and TypeScript build info
2025-09-16 12:02:05 -04:00
bruno
49f9018e77
chore: update Angular build cache and TypeScript definitions
2025-09-15 22:34:25 -04:00
bruno
23c9ec539e
chore: update Angular TypeScript build info cache
2025-09-15 13:58:33 -04:00
bruno
2866d74b32
first commit
2025-09-14 23:05:30 -04:00