Magnetism, flux quantisation and critical currents in a high-Tc superconducting ring