<feed xmlns='http://www.w3.org/2005/Atom'>
<title>markzz/aurweb.git/web/lib/acctfuncs.inc.php, branch v2.2.1</title>
<subtitle>aurweb working repository</subtitle>
<id>https://git.markzz.net/markzz/aurweb.git/atom/web/lib/acctfuncs.inc.php?h=v2.2.1</id>
<link rel='self' href='https://git.markzz.net/markzz/aurweb.git/atom/web/lib/acctfuncs.inc.php?h=v2.2.1'/>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/'/>
<updated>2013-03-25T01:15:12Z</updated>
<entry>
<title>Show hint if password is empty during login</title>
<updated>2013-03-25T01:15:12Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2013-03-25T01:15:12Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=cd59a313b40a8611072a4bdd7896e5cf8dab24ee'/>
<id>urn:sha1:cd59a313b40a8611072a4bdd7896e5cf8dab24ee</id>
<content type='text'>
A user might have an empty password due to two reasons:

* The user just created an account and needs to set an initial password.
* The password has been reset by the administrator.

In both cases, the user might be confused as to why the login does not
work. Add a message that helps users debug the issue in both cases.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Implement IP banning for user registration and user login</title>
<updated>2013-03-24T21:12:17Z</updated>
<author>
<name>canyonknight</name>
<email>canyonknight@gmail.com</email>
</author>
<published>2013-03-20T00:17:59Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=cb91942595e796c6a10299d6547767954b923fb5'/>
<id>urn:sha1:cb91942595e796c6a10299d6547767954b923fb5</id>
<content type='text'>
Adds a new is_ipbanned() function to determine whether the user
attempting to login or register for an account has their IP
address listed in the "Bans" table.

Signed-off-by: canyonknight &lt;canyonknight@gmail.com&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Save last login IP address</title>
<updated>2013-03-21T21:26:46Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2013-03-19T13:49:34Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=5660816ea079585c70583a9e470e22c4cf66c022'/>
<id>urn:sha1:5660816ea079585c70583a9e470e22c4cf66c022</id>
<content type='text'>
Save the IP address used for the last login in the "Users" table. This
makes it a bit easier to create IP ban lists for spammers without
looking at web server logs.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>process_account_form(): Highlight errors</title>
<updated>2013-03-21T21:26:45Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2013-03-19T13:26:16Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=de39a712b040d4ce51dc4eb2f4e2ef74a7a9013c'/>
<id>urn:sha1:de39a712b040d4ce51dc4eb2f4e2ef74a7a9013c</id>
<content type='text'>
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>process_account_form(): Allow using empty passwords</title>
<updated>2013-03-19T13:03:34Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2013-03-19T12:37:56Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=97dd4b0f4de69e63e7924ba9ecb726b3c07008f4'/>
<id>urn:sha1:97dd4b0f4de69e63e7924ba9ecb726b3c07008f4</id>
<content type='text'>
If an empty password is passed during account registration, login for
the new user is disabled and a reset key is sent to the new user's
e-mail address so that they can set an initial password manually.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Move reset key submission to a separate function</title>
<updated>2013-03-19T13:03:33Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2013-03-19T12:10:12Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=5d31bb24502536d53968f1ba0062d2b0aedb11c5'/>
<id>urn:sha1:5d31bb24502536d53968f1ba0062d2b0aedb11c5</id>
<content type='text'>
This allows for reusing reset key submission for other things, such as
sending an initial password reset code during account registration.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Remove checks before calling connection method</title>
<updated>2013-02-10T11:10:38Z</updated>
<author>
<name>canyonknight</name>
<email>canyonknight@gmail.com</email>
</author>
<published>2013-02-03T16:26:31Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=cf2ab50b8239b75af5df60ee143f41fedb044dc8'/>
<id>urn:sha1:cf2ab50b8239b75af5df60ee143f41fedb044dc8</id>
<content type='text'>
Large amount of boilerplate code that checks if a database
connection exists is useless now that the new connection method
automatically does the same check.

Signed-off-by: canyonknight &lt;canyonknight@gmail.com&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Remove documentation references to database parameter</title>
<updated>2013-02-10T11:10:38Z</updated>
<author>
<name>canyonknight</name>
<email>canyonknight@gmail.com</email>
</author>
<published>2013-02-03T16:26:30Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=4235d24039258c80ef102e8a52550add5117f2e5'/>
<id>urn:sha1:4235d24039258c80ef102e8a52550add5117f2e5</id>
<content type='text'>
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Remove unnecessary database connection parameter from all functions</title>
<updated>2013-02-10T11:10:38Z</updated>
<author>
<name>canyonknight</name>
<email>canyonknight@gmail.com</email>
</author>
<published>2013-02-03T16:26:29Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=8d6c872297459ceb463ed496968cc7cea32274a8'/>
<id>urn:sha1:8d6c872297459ceb463ed496968cc7cea32274a8</id>
<content type='text'>
All functions now have a database connection method that will use
the same database connection. This imitates the functionality of
passing a database connection as an argument and makes it redundant.

Signed-off-by: canyonknight &lt;canyonknight@gmail.com&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Add database wrapper class and new connection method</title>
<updated>2013-02-10T11:10:37Z</updated>
<author>
<name>canyonknight</name>
<email>canyonknight@gmail.com</email>
</author>
<published>2013-02-03T16:26:28Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=8e03e68d687015b5cd8c9d3857e1a1d007252afa'/>
<id>urn:sha1:8e03e68d687015b5cd8c9d3857e1a1d007252afa</id>
<content type='text'>
Uses the Singleton pattern to ensure all queries use the same
database connection that is released upon script completion.

All database connections should now be called with DB::connect() and
not db_connect().

Signed-off-by: canyonknight &lt;canyonknight@gmail.com&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
</feed>
