bug 1004: convert line breaks from Windows to UNIX

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 1004: split off statistic calculation into a cron script

Also includes minor improvements and bug fixes.

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 1004: make script executable and quote identifiers in SQL query

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 1004: PHP doesn't allow type hinting for strings

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 1004: fix output layout (missing newline)

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 440: Apply patch provided by Martin von Gagern

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 440: also apply fix to org server certs

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 440: get rid of the suppressSAN, it is most likely not needed any more

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 1004: Make script resilient against working directory changes

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 1004: Count awarded points, not only rounded down ones

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 1004: Only count non-revoked and Face-to-Face points

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 1017: Support multiple formats on the client cert download page

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 1017: Always send certs in DER encoding and with content type
x-x509-user-cert on install which seems to be most portable except with IE
where we need another solution

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 440: get rid of complexity ;-)

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 440: clean up syntax of views. No functionality changes

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 1004: filter deleted users, assurances and certs that failed signing

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 1004: fix SQL syntax

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 782: Added a comment field to all certificate pages
Bug 782: Fix a minor typo causing a syntax error
Bug 782: fixed layout, change of comment not yet realised in overview 5.php