Commit graph

163 commits

Author SHA1 Message Date
DeepakasBTG
8a000a8f41 Merge pull request #42 from DeepakasBTG/frontend
Footer: logo updated & few minor UI changes
2026-02-05 18:24:24 +05:30
Deepak Salunke
5e85e70f7a Footer: logo updated & few minor UI changes 2026-02-05 18:23:36 +05:30
DeepakasBTG
ba11aadd7b Merge pull request #41 from DeepakasBTG/frontend
Result: CTA hover color change
2026-02-05 17:40:09 +05:30
Deepak Salunke
cb297c876f Result: CTA hover color change 2026-02-05 17:39:45 +05:30
Harshad
a013319d6e fix(result): share button state 2026-02-05 17:26:25 +05:30
Harshad
083eda42dc fix(result): logic flow for new & old sessions 2026-02-05 17:08:58 +05:30
DeepakasBTG
0d42255ced Merge pull request #40 from DeepakasBTG/frontend
Result changes
2026-02-05 16:14:02 +05:30
Deepak Salunke
ebc41cff5d Result changes 2026-02-05 16:13:18 +05:30
DeepakasBTG
395e18f32b Merge pull request #39 from DeepakasBTG/frontend
Result page logic changes
2026-02-05 13:51:54 +05:30
Deepak Salunke
587521af9b Result page logic changes 2026-02-05 13:51:21 +05:30
Harshad
ba5ad5de7e minor changes 2026-02-05 10:25:34 +05:30
DeepakasBTG
5033122aec Merge pull request #38 from DeepakasBTG/frontend
Landing: UI changes
2026-02-05 03:01:58 +05:30
Deepak Salunke
eb5cf5f6b1 Landing: UI changes 2026-02-05 03:01:30 +05:30
DeepakasBTG
1ab906c442 Merge pull request #37 from DeepakasBTG/frontend
Result: Audio player for mp3 & streaming
2026-02-05 01:49:53 +05:30
Deepak Salunke
2ee9dac230 Result: Audio player for mp3 & streaming 2026-02-05 01:49:15 +05:30
DeepakasBTG
bc6fe8768f Merge pull request #36 from DeepakasBTG/frontend
Result: MP3 song added with play/pause btn and lyrics auto scroll
2026-02-05 00:26:14 +05:30
Deepak Salunke
8a01b032bc Result: MP3 song added with play/pause btn and lyrics auto scroll 2026-02-05 00:25:50 +05:30
DeepakasBTG
b4be24d045 Merge pull request #35 from DeepakasBTG/frontend
Result: Share box ui changes
2026-02-04 22:48:55 +05:30
Deepak Salunke
016f618cfd Result: Share box ui changes 2026-02-04 22:48:25 +05:30
Harshad
cc84dee940 vertical video background image 2026-02-04 22:07:43 +05:30
Harshad
da2a247e97 feat(video): change layout to vertical 2026-02-04 22:07:05 +05:30
DeepakasBTG
2d73f0aa61 Merge pull request #34 from DeepakasBTG/frontend
Result: Javascript removed & created js file
2026-02-04 20:57:28 +05:30
Deepak Salunke
4c2de1f8a7 Result: Javascript removed & created js file 2026-02-04 20:56:31 +05:30
michael
05a8115dd0 feat: add human detection using NudeNet for pet photo validation
Adds server-side image safety check to ensure users upload pet photos instead
of human images. Uses NudeNet with 0.5 confidence threshold and fail-open
behavior. Frontend shows loading state during analysis and error UI when
humans are detected.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 08:57:23 -06:00
michael
ce95d61796 feat: add server-side profanity filter with real-time validation
Add profanity detection using better-profanity library with:
- Real-time API validation during typing (500ms debounce)
- Defense-in-depth server-side validation on form submission
- Visual feedback with red borders and warning message
- Submit button disabled when profanity detected
- Fail-open behavior on API errors to not block users

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 08:29:58 -06:00
DeepakasBTG
ce48397e8b Merge pull request #33 from DeepakasBTG/frontend
Frontend
2026-02-04 19:56:00 +05:30
Deepak Salunke
48cb981bb0 Frontend: Minor changes 2026-02-04 19:55:32 +05:30
michael
49e548e3ba docs: remove spec reading instruction from CLAUDE.md
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 08:07:46 -06:00
michael
7fa4132cd7 feat(api): add audio_url to status endpoint response
Allows frontend to access the MP3 audio URL as soon as download
completes, even while video generation is still in progress.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 08:04:55 -06:00
Deepak Salunke
7401b7c188 Body color changes 2026-02-04 18:37:05 +05:30
DeepakasBTG
de2b52cc12 Merge pull request #32 from DeepakasBTG/frontend
Result: Issue solved
2026-02-04 18:25:42 +05:30
Deepak Salunke
f459459ed3 Result: Issue solved 2026-02-04 18:23:49 +05:30
Harshad
5db89c82b2 fix(waiting): missing sessionID function 2026-02-04 18:09:40 +05:30
DeepakasBTG
d665f82700 Merge pull request #31 from DeepakasBTG/frontend
Result: Record image implemented
2026-02-04 17:54:10 +05:30
Deepak Salunke
8e2806f71f Result: Record image implemented 2026-02-04 17:46:43 +05:30
Harshad
5da1cb8fff refactor(waiting): c;lean-up JS logic with main func 2026-02-04 17:04:59 +05:30
Harshad
e464ba5980 feat(waiting): add & position record needle 2026-02-04 16:57:12 +05:30
DeepakasBTG
e10a14f8bb Merge pull request #30 from DeepakasBTG/frontend
Result & Waiting: WIP on Record Spin & needle
2026-02-04 16:41:54 +05:30
Deepak Salunke
53ae7e4247 Result & Waiting: WIP on Record Spin & needle 2026-02-04 16:41:30 +05:30
michael
2d9c6ca7a7 refactor: convert polling tasks to event-based architecture
- Remove process_pending_queue and check_credits scheduled tasks
- Add check_submission_timeout task for per-submission timeout handling
- Modify send_to_sonauto to schedule timeout check after successful API call
- Reduce check_timeouts frequency to 30min (safety net only)
- Update submissions endpoint to use apply_async with better error logging
- Remove unused config settings (QUEUE_PROCESSOR_INTERVAL, CREDITS_CHECK_INTERVAL)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 00:28:52 -06:00
DeepakasBTG
94c3846c54 Merge pull request #29 from DeepakasBTG/frontend
Home.js file issue solved
2026-02-04 11:53:26 +05:30
Deepak Salunke
ef05ecf89d Home.js file issue solved 2026-02-04 11:52:49 +05:30
michael
621a0ae097 feat: add dedicated Celery queue for video generation
Route create_video task to dedicated 'video' queue with concurrency=2.
Default worker now has concurrency=10 for all other tasks.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 00:11:37 -06:00
michael
4463a6eb04 perf: optimize video generation with faster encoding
- Change frame format from PNG to JPEG (quality 85) for faster encoding
- Use mjpeg input codec instead of png for FFmpeg
- Change preset from 'faster' to 'superfast' for quicker encoding

Trade-off: ~20-30% larger file size for significantly faster generation.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 00:01:48 -06:00
DeepakasBTG
8519779f8e Merge pull request #28 from DeepakasBTG/frontend
Minor frontend changes
2026-02-04 11:10:27 +05:30
DeepakasBTG
a3a518299f Merge branch 'main' into frontend 2026-02-04 11:10:19 +05:30
Deepak Salunke
195592992f Minor frontend changes 2026-02-04 11:07:57 +05:30
michael
6a7429cb9e feat: save composite record image and return URL in results API
Add composite PNG generation (vinyl record + pet photo with transparent
background, no needle) saved to storage/images/. The results API now
returns record_image_url pointing to the composite or default-record.png
for submissions without a user photo.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 19:08:52 -06:00
michael
12a6b5e7af feat: add Happy Hardcore music vibe
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 18:25:35 -06:00
michael
05dcfd6613 fix: make default-record.png square (736x736) to match vinyl template
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 18:20:20 -06:00