don't allow uploading signed versions of view only documents
Merge branch 'mass_prepare' into testing