From the ballot box to the courtroom: a timeline of the Catalan independence movement