FCP: GetIdentitiesByScore now also sends the amount of identities.
This allows Freetalk to check whether it received the complete list.
Also send identity amount in GetOwnIdentities, Freetalk needs this
(see previous comment)
Add WebOfTrust.getGivenTrustsSortedDescendingByLastSeen() + unit test
This function will be used by the XMLTransformer to limit the amount
of identities which is inlcuded in trust lists.
Move maximal nickname length to a constant
Organize imports.
- Limit amount of identities included in trust lists to 512.
This fixes the issue of certain identities producing too large XML
files which would not be imported due to the size limit.
- Also, increase the size limit of the XML: I have written a test
function to compute the amount of trusts which would fit into the
XML if all fields were maxed out (maximal number of contexts,
properties, etc.). This showed that the current limit was too small,
not a single trust value would fit then.
- Further, add a unit test which checks whether the maxed-out XML fits
into the size limit.
Build 0012. Changelog in tag.
Make it possible to run the unit tests headlessly (without a GUI).