elkarte/Elkarte — pull request #1299 by Spuds (2014-01-25 02:03:52+00:00)
Title: Beta 2 fixes

Two main things in this PR

1) a couple of updates to html2md @emanuele noted the email text of code blocks was not flowed correctly, this should fix that. Also makes some updates so footnotes in markdown look better (not necessarily MD compliant), and some tweaks to when word wrapping is enabled (or what length is imposed), and also turns off tag stripping when code blocks contain tags (has some side effect and should be updated in 1.1, bit of a corner case)

2) Per site discussion, this changes the behavior under which the notice "Password security has recently been upgraded. Please enter your password again." appears.
It should now **only** appear if you enter your proper password, on the first attempt, so it is submitted as sha1(user+pass) + session + token) and the db for that user has not been upgraded to our new bcrypt level. Currently it would show that simply if the db hash was old skool when a user was trying to login.

Note that It will not appear if you a) enter it wrong to begin with or b) you have the enable_password_conversion set to on (since that currently turns off the form hashing). c) its already a bcrypt level hash ... Check this one over!