Russia has imposed a partial ban on diesel exports and extended an existing gasoline export ban until the end of the year as it faces fuel shortages following a series of Ukrainian attacks on its refineries.