forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to src/backend.pyClear filter

2026-09-23

Coklu kaynak sozlesmesi: sources listesi, OLE okuma, atlama durumlarıAhmet Kaan Gümüş · 02e5c99
Coklu kaynak sozlesmesi: sources listesi, OLE okuma, atlama durumları

Frozen contract'a hizalandi (backend seridiyle ayni anda):
- podcast.submit 'sources' tasir: [{key,name,content_type}], en cok 10;
  key source_key guvenlik desenine tabi; legacy source_key tek girdiye
  duser, ikisi de yoksa bad_request. source_keys kaldirildi (hic
  uretimde gormedi, backend onu hic gondermedi).
- Cikarim sihirli baytlarla tur secmeye devam eder; OLE (.doc/.ppt)
  artik antiword/catppt ile okunur (60 sn timeout, utf-8 -> cp1254).
  Containerfile'a antiword + catdoc girdi; pip bagimliligi YOK.
- Bir belge okunamazsa is artık DUSMEZ: o kaynak atlanir, durumu
  skipped:<kod> olarak is kaydındaki sources listesine yazilir ve
  podcast.report yukune eklenen sources alanıyla backend'e gider
  ({key,name,status}). Tumu atlanirsa job ilk atlama koduyla, diskte
  hic kaynak yoksa source_not_found ile, birlesik metin
  PODCAST_MIN_TEXT_CHARS altindaysa no_text_layer ile duser.
- Birlesik metin belge basina \n\n=== <name> ===\n\n basligi tasir;
  tek kaynakli is basliksiz kalir.
- PODCAST_MIN_TEXT_CHARS kontrolu belge basindan birlesik metne tandi;
  boş belge no_text_layer ile atlanir, kisa belge birlenmis kontrolde
  degerlendirilir.
- Testler: 461 -> 489. validate + ASCII/yorum denetimi + fuzz tohumu 1
  yerelde temiz.
feat: include the chapter transcript in the podcast done reportAhmet Kaan Gümüş · 6907766
feat: include the chapter transcript in the podcast done report

The done report now carries one transcript string: API-engine chapter
bodies joined with a blank line, or the metin fields of the local
pipeline's .script.json files. A missing or empty transcript stays
an empty string and the frame still encodes.

2026-09-17

✨ feat(bridge): is kaydi backend'e tasindi - backend'in job_id'si, podcast.report, blob yuklemeAhmet Kaan Gümüş · 18c75c3
✨ feat(bridge): is kaydi backend'e tasindi - backend'in job_id'si, podcast.report, blob yukleme

- submit {job_id, source_id, format, user_id} alir; kimlik backend'den gelir (ayni kimlik -> conflict)
- podcast.status/podcast.result YETENEKLERI KALDIRILDI; durum backend satirindan okunur
- her gecis podcast.report ile bildirilir; done raporu ancak ses yuklendikten SONRA gider (audio_missing korumasi)
- mp3, BlobUploadRequest + tam boyut ham bayt ile backend'e yuklenir (audio_key + duration_secs satira damgalanir)
- reddedilen rapor/yukleme isi NEDENIYLE failed yapar; baglanti yoksa rapor beklemeye alinir ve baglanti gelince flush edilir; sahte done yok
- jobs.py artik turetilmis calisma onbellegi: caller'in gordugu tek kaynak backend satiridir
- 12 yeni rapor/gecis testi + validate 'rapor kablosu' kontrolu + tum suite yesil (381 test)