Edugate/ResourceRegistry — pull request #88 by biancini (2014-07-23 07:17:36+00:00)
Title: Modifications to the validator

Two different commits are part of this pull request:

* The first commit modifies the timeout for validator ajax call (set to 2 minutes). Many validators (like the Shibboleth MDA for instance) require longer time to finish the validation process.

* The second commit modifies the validator output so that different messages can be shown to the users.
The result of a validation step for some metadata may result in different messages to be shown to the users (different errors or warnings may be raised by the validation process).
To implement this modification, the validator class has been modified to parse the XML, retrieve all tags with the specified names for the messages, and append them to a JSON array.
Then the locals-v4.js has been modified to show all the elements of the message array to different DIVs on the webpage shown to the user on Jagger.