Do not let people install on a lower version of PHP

Previously it would simply warn them about a lower version of PHP, we should prevent it entirely since below 5.3.8 SMF will more than likely break.

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Fixes for upgrade.php on legacy PHP version

Do not let it throw a parse error, instead show a graceful error message

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Merge pull request #2542 from Oldiesmann/release-2.1

! Don't try to send email to empty addresses (fixes #2541)
Wrong link in alerts popup

Signed-off-by: Diego Andrés diegoandres_cortes@outlook.com
Alerts should be shown as active

Signed-off-by: Diego Andres diegoandres_cortes@outlook.com
Merge pull request #2544 from DiegoCortes/patch-4

Alerts should be shown as active
Merge pull request #2543 from DiegoCortes/patch-3

Wrong link in alerts popup
Merge pull request #2535 from Dragooon/legacyphp

Installer and upgrader improvements on older versions of PHP
Fix the upgrade migration of custom profile fields

The upgrade_2-1_postgresql.sql changes are untested, but do match the changes to upgrade_2-1_mysql.sql that are tested and confirmed.

Signed-off-by: Noteworthy Software, Inc <online@noteworthysoftware.com>
Modify genderTypes array to meet requested coding style

Signed-off-by: Noteworthy Software, Inc <online@noteworthysoftware.com>
Alternating and alternative bg colors

Signed-off-by: Suki <suki@missallsunday.com>
Merge pull request #2551 from MissAllSunday/css_alternative_colors

Alternating and alternative bg colors
Add \TOTP\Auth class

Class taken from github.com/enygma/gauth, renamed to \TOTP\Auth since it's a pretty generic TOTP class. Will be used for implementing TFA in SMF

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Add tfa_secret and tfa_backup columns to the member table

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Add Two-Factor Authentication profile area

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Label not lable

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Properly validate TFA members

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Add form for logging TFA members in

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Use tfa_backup instead of tfa_secret for cookie

Don't expose tfa_secret in any form to the client side, tfa_backup is bcrypt encrypted and much harder to crack as compared to the plain text tfa_secret

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Fix login popups

Signed-off-by: Shitiz Garg <mail@dragooon.net>