who fixed the topology on ideles?
I know nothing about work of ``idelic nature'' by Von Neumann or Pruefer. Already in the 1930's Weil understood that Chevalley was wrong to ignore the connected component, because Weil understood already then that Hecke's characters were the characters of the idele class group for the right topology on that. I don't know of any place before his paper dedicated to Takagi where he defined the ideles explicitly as a topological group, but he must have understood the situation way before that
When I wrote my thesis I used what seemed to me to be the obvious topology without going into the history of the matter.
They are too old for Math Reviews, but I think the articles in question are:
Von Neumann: "Zur Prüferischen Theorie der idealen Zahlen", Acta Scientiarum Mathematicum (Szeged) 2:4 (1926) (can be read online at the journal's website)
Prüfer: "Neue Begründung der algebraischen Zahlentheorie", Math. Annalen 94 (1925), 198-243 (a link to volume 94 of the journal is at the Göttingen archive here)
in both of which one main idea seems to be (in modern language) to consider the embedding of a ring of integers $\frak{o}$ into the product $ \prod_{\frak{p},n}\frak{o}/\frak{p}^n$. The Von Neumann paper even mentions the $p$-adics. That's about all I could extract at a glance, my German being virtually nonexistent - someone with better German will be able do a more thorough job.
EDIT (after further reading):
The aim of both papers appears to be to develop a theory of "Dedekind ideal numbers" in which they appear as elements of an actual ring. The essential difference (in modern language) is that Prüfer uses the algebraic definition of the profinite completion of the ring of integers, whereas Von Neumann takes as his starting point the completion of the number field with respect to the product of the $p$-adic topologies. (So his ring of adeles is simply the product of the finite completions of the number fields, with the product topology). Both authors spend most of the time proving basic algebraic/topological facts about these rings. I could find no significant arithmetic applications in either paper, although Von Neumann appears to promise a sequel (never published) in which he looks at adeles of $\overline{\mathbb{Q}}$ rather than of a fixed number field, and uses them to prove a "unique factorisation" for Dedekind ideal numbers.
Towards the end of his exposé on Groupes de Galois : le cas abélien (27/10/2011), Jean-Pierre Serre says that
In 1936, Chevalley introduced the idèles with a topology which was not separated; in 1936 Weil defined the true (la vraie) topology on the idèles and their relation to Hecke characters — that was important.
Here is a transcript of what he says at 52:20 in the video, reading from his notes :
1936, Chevalley, idèles avec une topologie non séparée ! [J’avais bien un point d’exclamation.]
1936, Weil, les idèles avec leur vraie topologie et la relation avec les caractères de Hecke — ça c’était important.