Nuevos cambios de Lennie - #157
Merged
Merged
Conversation
- Dockerfile: imagen python:3.11-slim con ffmpeg, setuptools<58 y tzdata - docker-compose.yml: levanta el server y corre migrate automáticamente - .dockerignore: excluye archivos innecesarios de la imagen - settings.py: corregir timezone a America/Argentina/Buenos_Aires (nombre canónico IANA) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- models.py: usar save_peaks_to_json() en lugar del método save() eliminado - views.py: agregar view audio_peaks_json que sirve los datos de peaks como JSON - urls.py: registrar ruta <pk>/peaks/ que el template ya referenciaba Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- models.py: aumentar bar_count de 57→200 y 117→400 para mayor resolución - views.py: servir .big.json (400 peaks) con fallback a .json - audio_detail.html: barWidth 3→2, agregar barRadius 2 para barras más finas y redondeadas Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Django 4.1 → 5.2 LTS - django-allauth 0.43 → 65.15.0 (AccountMiddleware, ACCOUNT_SIGNUP_FORM_CLASS, CustomSignupForm rewrite) - django-activity-stream 1.4.2 → 2.0.0 - django-taggit 3.1.0 → 6.1.0 (removes deprecated index_together) - djangorestframework → 3.16.1 - django-crispy-forms → 2.6, crispy-bootstrap5 → 2026.3 - easy-thumbnails → 2.10.1, django-avatar → 9.0.0 - django-haystack → 3.3.0, django-cors-headers → 4.0 - Pillow → 12.1.0 - All 43 tests pass, pip-audit reports 0 vulnerabilities Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add explicit minimum version constraints for vulnerable transitive deps: - cryptography>=46.0.5 (CVE-2026-26007) - pyasn1>=0.6.2 (CVE-2026-23490) - requests>=2.32.4 (CVE-2024-47081) - sqlparse>=0.5.4 (GHSA-27jp-wm6q-gp25) - urllib3>=2.6.3 (CVE-2025-66418, CVE-2025-66471, CVE-2026-21441) pip-audit now reports 0 vulnerabilities, all 43 tests pass. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
allauth 65.x requires PyJWT (Google OAuth2), oauthlib and requests-oauthlib (Twitter OAuth1) which were installed locally as transitive deps but not declared in requirements.txt. All 43 tests now pass in Docker. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add Docker option (recommended) with docker compose up - Update virtualenv option to require Python 3.11 - Replace migrate --fake-initial with migrate - Remove unnecessary makemigrations step Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Home page (/) now shows latest audio tracks for unauthenticated users
instead of redirecting to login
- Implement audio_object.html with compact WaveSurfer player (64px):
waveform visible on page load from pre-computed peaks, audio loads
only when user clicks play
- Add WaveSurfer v7 globally to base.html with lazy audio loading
and initRpPlayers() for el-pagination infinite scroll support
- Fix peaks endpoint to return {peaks, duration} (duration in seconds);
WaveSurfer v7 requires duration to render peaks without a URL
- Fix peaks normalization (0-60 integers → 0-1 floats) and channel
wrapping ([peaks] instead of flat array) for WaveSurfer v7 API
- Update audio_detail.html to use new peaks format and remove
duplicate WaveSurfer script tag
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- mixed_list.html: wrap all items (audio, project, message) in <li class="mixed-item"> for valid HTML and uniform full-width rendering; message teaser gets teaser-box border to match audio/project style - user_teaser.html: replace float-start with flexbox in all modes so <li> containers don't collapse and icons+names align properly - redpanal.css: add .mixed-item (width 100%, mb-1rem), fix .users-list-wrapper to width 100%, add spacing between user items Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- index view: non-authenticated users now see the full mixed feed (audios, projects, messages) with stats and new users, same as /live/ - index.html: replace audio-only list with project description banner (with sign-up/sign-in CTAs), mixed feed, and right sidebar with statistics + new users list - all_activities.html: call initRpPlayers() on el-pagination scroll so waveforms load for newly paginated items Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.