Dynamics of solar-terrestrial relations in summer 2012