Commit graph

200 commits

Author SHA1 Message Date
Deepak Salunke
01f33cdc13 Record spin added when song plays 2026-02-06 15:13:44 +05:30
DeepakasBTG
9aad07462d Merge pull request #53 from DeepakasBTG/bugs
Banned words list updated
2026-02-06 14:51:55 +05:30
Deepak Salunke
8f564219ab Banned words list updated 2026-02-06 14:51:26 +05:30
DeepakasBTG
155f17bed6 Merge pull request #52 from DeepakasBTG/bugs
CSS changes for btn hover
2026-02-06 13:48:24 +05:30
Deepak Salunke
5ac35148de CSS changes for btn hover 2026-02-06 13:48:02 +05:30
Harshad
ea43418cde refactor(frontend): BREAKING CHANGE - shift code to folder 2026-02-06 13:23:32 +05:30
DeepakasBTG
c7bc898732 Merge pull request #50 from DeepakasBTG/frontend
Sold-out: Shop now link added
2026-02-06 13:01:42 +05:30
Deepak Salunke
03b33f19f1 Sold-out: Shop now link added 2026-02-06 13:01:16 +05:30
Harshad
e922b4d016 trigger errorState on submission & result API failure 2026-02-06 11:13:07 +05:30
Harshad
9a97120464 feat(error): initial error state 2026-02-06 10:59:04 +05:30
Harshad
a4333eb448 Fix(waiting): pad single digit timer 2026-02-06 03:10:58 +05:30
Harshad
32cad5cca3 fix copy button 2026-02-06 02:58:09 +05:30
Harshad Parulekar
5a738add10 Shift result page to state mgmt vir AlpineJS
Shift result page to state management with AlpineJS
2026-02-06 02:21:10 +05:30
michael
2ebe470a83 feat(download): use signed URLs for video download
Download button now redirects to backend endpoint that generates
GCS signed URLs with Content-Disposition: attachment header,
forcing browser download instead of opening in new tab.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 14:48:06 -06:00
michael
4807991168 fix(result): use loadedmetadata event for audio source switch
Replace arbitrary 100ms setTimeout with proper player.load() call and
loadedmetadata event listener. This fixes intermittent NotSupportedError
when switching from Sonauto streaming to final MP3.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 14:40:38 -06:00
Harshad
f6e32d40f3 minor url fix 2026-02-06 01:48:34 +05:30
Harshad
7b2e35dab5 refactor: better lyric scroll with requestAnimationFrame algo 2026-02-06 01:06:36 +05:30
Harshad
03a6952287 feat(lyrics): simple auto scroll 2026-02-06 00:43:51 +05:30
Harshad
cb184850b6 initial logic rewrite 2026-02-05 23:59:24 +05:30
Harshad
24712976f4 chore: result lyrics debug 2026-02-05 21:37:10 +05:30
DeepakasBTG
6500a33f9d Merge pull request #48 from DeepakasBTG/frontend
Result: CTA border added
2026-02-05 21:28:55 +05:30
Deepak Salunke
e387287bc1 Result: CTA border added 2026-02-05 21:28:24 +05:30
michael
9f403378b5 fix: force no-cache docker build in deploy script
Docker's layer cache was reusing old images even after code changes.
Adding --no-cache ensures the Python code is always freshly copied.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 09:50:36 -06:00
michael
a175b1d884 fix: check submission status before showing success UI
- loadResults() now checks resultData.status before calling showSuccess()
- Only shows success UI when status is "success", shows failure UI for "fail"
- Added null check to renderLyrics() to prevent crash on null lyrics
- Added null check in showSuccess() before calling renderLyrics()

Fixes crash when navigating to result page while submission is still processing.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 09:42:29 -06:00
michael
1c996c5919 fix: add backward compatibility for in-flight tasks during GCS migration
Handle both old (audio_path) and new (audio_blob_path) keys in create_video
task to support tasks that were queued before the GCS migration deployed.
Also properly detect local vs GCS paths for photo_path.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 09:23:08 -06:00
michael
c41e559e81 feat: migrate file storage from local filesystem to Google Cloud Storage
- Add google-cloud-storage dependency to requirements.txt
- Add GCS configuration settings to config.py
- Create storage.py utility module with upload/download/delete operations
  and temp file context managers for video generation
- Update submissions.py to upload photos to GCS and return full GCS URLs
- Update results.py to return full GCS URLs for video and record image
- Update workers.py to use GCS for audio download, video creation, and cleanup
- Update result.js to use audio_url directly from API response
- Update docker-compose.yml with GCS credentials mount

Storage now uses GCS bucket vday2026 in project holiday-project-india.
Database stores blob paths; URLs constructed at API response time.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 08:40:42 -06:00
DeepakasBTG
f411d26f96 Merge pull request #47 from DeepakasBTG/frontend
Minor ui changes
2026-02-05 20:10:26 +05:30
Deepak Salunke
63d9536f44 Minor ui changes 2026-02-05 20:09:36 +05:30
DeepakasBTG
1377b7e879 Merge pull request #46 from DeepakasBTG/frontend
Minor bug sheet resolved
2026-02-05 19:37:32 +05:30
Deepak Salunke
9853bbc14c Minor bug sheet resolved 2026-02-05 19:36:58 +05:30
Harshad
8982a22af8 fix(gifs): preload banner gifs 2026-02-05 19:26:11 +05:30
DeepakasBTG
af226a3c5f Merge pull request #45 from DeepakasBTG/frontend
Bugs fixes
2026-02-05 19:12:08 +05:30
Deepak Salunke
93546687f3 Bugs fixes 2026-02-05 19:11:33 +05:30
DeepakasBTG
072cd3b020 Merge pull request #44 from DeepakasBTG/frontend
Minor ui changes
2026-02-05 18:51:49 +05:30
Deepak Salunke
5786a5c7b6 Minor ui changes 2026-02-05 18:51:12 +05:30
DeepakasBTG
6723359a3e Merge pull request #43 from DeepakasBTG/frontend
UI changes
2026-02-05 18:46:05 +05:30
Deepak Salunke
61497cddd3 UI changes 2026-02-05 18:45:28 +05:30
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