<feed xmlns='http://www.w3.org/2005/Atom'>
<title>markzz/aurweb.git/web/html/tu.php, branch v2.2.0</title>
<subtitle>aurweb working repository</subtitle>
<id>https://git.markzz.net/markzz/aurweb.git/atom/web/html/tu.php?h=v2.2.0</id>
<link rel='self' href='https://git.markzz.net/markzz/aurweb.git/atom/web/html/tu.php?h=v2.2.0'/>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/'/>
<updated>2012-10-10T15:22:22Z</updated>
<entry>
<title>tu.php: Fix page showing a user hasn't voted when they have</title>
<updated>2012-10-10T15:22:22Z</updated>
<author>
<name>canyonknight</name>
<email>canyonknight@gmail.com</email>
</author>
<published>2012-10-09T01:22:20Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=d94a9e72997b2ad87dbda8d050b3d5ad9f36bdde'/>
<id>urn:sha1:d94a9e72997b2ad87dbda8d050b3d5ad9f36bdde</id>
<content type='text'>
An ended vote details page will report a user hasn't voted even when
they have. This is a result of faulty logic that only checks if a user
has voted if the vote is still running.

Regression with commit c15441762c6f6ab4438eaf2854c0ee3146a98b30

Signed-off-by: canyonknight &lt;canyonknight@gmail.com&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Use echo shortcut syntax</title>
<updated>2012-09-24T10:23:04Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2012-09-21T06:57:29Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=6102759b7cb9fd23f4e7fa5f12137334ff30a410'/>
<id>urn:sha1:6102759b7cb9fd23f4e7fa5f12137334ff30a410</id>
<content type='text'>
Replace all occurrences of "&lt;?php echo" and "&lt;?php print" by "&lt;?=" to
reduce noise in templates.

Note that as of PHP 5.4.0, "&lt;?=" is always available and no longer
requires "short_open_tag" to be set.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Use virtual path feature for links</title>
<updated>2012-07-15T20:44:51Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2012-07-13T23:24:59Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=2425f963f8ad45292c217914b5fee1ed18104c26'/>
<id>urn:sha1:2425f963f8ad45292c217914b5fee1ed18104c26</id>
<content type='text'>
Use virtual paths in links (e.g. link to "/packages/" instead of
"/packages.php" etc.) if the virtual path feature is enabled.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2012-07-14T20:52:04Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2012-07-14T20:47:04Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=f3ce74c714e3460bb3e3e786f626e397d3139062'/>
<id>urn:sha1:f3ce74c714e3460bb3e3e786f626e397d3139062</id>
<content type='text'>
Conflicts:
	web/html/account.php
	web/html/addvote.php
	web/html/pkgsubmit.php
	web/lib/acctfuncs.inc.php
	web/template/actions_form.php
	web/template/pkg_comment_form.php
	web/template/pkg_comments.php
	web/template/pkg_details.php
	web/template/pkg_search_results.php
	web/template/tu_details.php
</content>
</entry>
<entry>
<title>tu.php: Fix PHP notice for "hasvoted" variable</title>
<updated>2012-07-11T17:26:30Z</updated>
<author>
<name>canyonknight</name>
<email>canyonknight@gmail.com</email>
</author>
<published>2012-07-09T23:28:15Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=81e0b7fe183107873ae9e8ee66746226a960ced6'/>
<id>urn:sha1:81e0b7fe183107873ae9e8ee66746226a960ced6</id>
<content type='text'>
Signed-off-by: canyonknight &lt;canyonknight@gmail.com&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Pull out DB code from trusted user page</title>
<updated>2012-07-06T09:27:04Z</updated>
<author>
<name>canyonknight</name>
<email>canyonknight@gmail.com</email>
</author>
<published>2012-05-25T21:42:42Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=c15441762c2f6ab4438eaf2854c0ee3146a98b30'/>
<id>urn:sha1:c15441762c2f6ab4438eaf2854c0ee3146a98b30</id>
<content type='text'>
* Move DB code in tu.php and tu.php and tu_list.php to new functions in
accfuncs.inc.php
* Centralization of DB code important in a future transition to PDO interface

Signed-off-by: canyonknight &lt;canyonknight@gmail.com&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Overhaul trusted user proposal page to match archweb</title>
<updated>2012-07-06T09:26:26Z</updated>
<author>
<name>canyonknight</name>
<email>canyonknight@gmail.com</email>
</author>
<published>2012-05-23T17:49:43Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=af8f60fe7fab642dff85658acc2b560cc0ed6f20'/>
<id>urn:sha1:af8f60fe7fab642dff85658acc2b560cc0ed6f20</id>
<content type='text'>
* Change all boxes and other CSS to match archweb
* General fixups in XHTML formatting
* Change results table to match color scheme everywhere else

Signed-off-by: canyonknight &lt;canyonknight@gmail.com&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Be consistent in PHP logical operator usage</title>
<updated>2012-07-06T09:25:45Z</updated>
<author>
<name>canyonknight</name>
<email>canyonknight@gmail.com</email>
</author>
<published>2012-05-23T17:26:34Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=345b3216c87c7b365916e5948ad3bdb1bb045016'/>
<id>urn:sha1:345b3216c87c7b365916e5948ad3bdb1bb045016</id>
<content type='text'>
A mix of logical operator styles are currently in use. The predominant style
uses "&amp;&amp;" and "||" instead of "and" and "or", respectively. This inconsistency
is minor, but is easily avoided.

Signed-off-by: canyonknight &lt;canyonknight@gmail.com&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Implement token system to fix CSRF vulnerabilities</title>
<updated>2012-06-24T08:59:23Z</updated>
<author>
<name>canyonknight</name>
<email>canyonknight@gmail.com</email>
</author>
<published>2012-06-23T18:40:11Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=2c93f0a98f0f6380fd07ea17fd16afa2c6e4925b'/>
<id>urn:sha1:2c93f0a98f0f6380fd07ea17fd16afa2c6e4925b</id>
<content type='text'>
Specially crafted pages can force authenticated users to unknowingly perform
actions on the AUR website despite being on an attacker's website. This
cross-site request forgery (CSRF) vulnerability applies to all POST data on
the AUR.

Implement a token system using a double submit cookie. Have a hidden form
value on every page containing POST forms. Use the newly added check_token() to
verify the token sent via POST matches the "AURSID" cookie value. Random
nature of the token limits potential for CSRF.

Signed-off-by: canyonknight &lt;canyonknight@gmail.com&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Set the title in the Trusted User page</title>
<updated>2011-12-17T13:53:56Z</updated>
<author>
<name>Andrea Scarpino</name>
<email>andrea@archlinux.org</email>
</author>
<published>2011-12-09T09:49:34Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=7cb89be81f9113380ee7e3b80d37fbd3b58f77fd'/>
<id>urn:sha1:7cb89be81f9113380ee7e3b80d37fbd3b58f77fd</id>
<content type='text'>
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
</feed>
