Let $ABCD$ be a convex quadrilateral. The circumcenter and the incenter of triangle $ABC$ coincide with the incenter and the circumcenter of triangle $ADC$ respectively. It is known that $AB = 1$. Find the remaining sidelengths and the angles of $ABCD$.