Diffuse supernova neutrinos: oscillation effects, stellar cooling and progenitor mass dependence