Implement an Image Proxy

This is required in order to properly serve non-https images over SSL pages

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Add image proxy settings to Settings.php

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Missing newline at the end

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Some code cleanup for proxy.php

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Auto-transform non-HTTPS images into proxy link

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Redirect to https equivalent instantly if we're forcing SSL

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Add checks to ensure SSL for login pages

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Allow authentication via SSL only

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Enable image proxy for avatars

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Add settings for enabling and disabling SSL and image proxy

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Add option to enable SSL on install

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Randomize image proxy secret on upgrade

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Oops, fix installer enabling SSL

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Merge pull request #1826 from Dragooon/ssl

SSL