<feed xmlns='http://www.w3.org/2005/Atom'>
<title>markzz/aurweb.git/web/html/addvote.php, branch v3.0.0-rc2</title>
<subtitle>aurweb working repository</subtitle>
<id>https://git.markzz.net/markzz/aurweb.git/atom/web/html/addvote.php?h=v3.0.0-rc2</id>
<link rel='self' href='https://git.markzz.net/markzz/aurweb.git/atom/web/html/addvote.php?h=v3.0.0-rc2'/>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/'/>
<updated>2013-08-22T15:48:18Z</updated>
<entry>
<title>Add a vote type to the TU proposal form</title>
<updated>2013-08-22T15:48:18Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2013-08-04T15:27:41Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=d41e40d9d6598d13ac35c7301316e4dba481be4a'/>
<id>urn:sha1:d41e40d9d6598d13ac35c7301316e4dba481be4a</id>
<content type='text'>
There are only four valid reasons for starting a TU vote, so instead of
letting the user choose a vote length, let her pick a reason and set
vote length and quorum based on that selection.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Avoid use of "&lt;b&gt;"/"&lt;/b&gt;"</title>
<updated>2012-09-24T10:23:05Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2012-09-21T08:42:17Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=d56a88897bcaa9d552d1d2b90c33b7c6e29e330a'/>
<id>urn:sha1:d56a88897bcaa9d552d1d2b90c33b7c6e29e330a</id>
<content type='text'>
* Use "&lt;label&gt;"/"&lt;/label&gt;" for form labels.
* Use "&lt;strong&gt;"/"&lt;/strong&gt;" for important text.
* Use "&lt;h4&gt;"/"&lt;/h4&gt;" for headings.
* Drop "&lt;b&gt;"/"&lt;/b&gt;" everywhere else.

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>addvote.php: Pull out DB code</title>
<updated>2012-07-06T09:26:51Z</updated>
<author>
<name>canyonknight</name>
<email>canyonknight@gmail.com</email>
</author>
<published>2012-05-23T19:20:58Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=1eea2951fbebb5bb4dfc0c09ad7622f03e4a6471'/>
<id>urn:sha1:1eea2951fbebb5bb4dfc0c09ad7622f03e4a6471</id>
<content type='text'>
* Verifying a username exists should use already present valid_user function
* Create new functions in acctfuncs.inc.php with SQL queries from addvote.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>addvote.php: Overhaul to match archweb</title>
<updated>2012-07-06T09:26:28Z</updated>
<author>
<name>canyonknight</name>
<email>canyonknight@gmail.com</email>
</author>
<published>2012-05-23T17:50:49Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=1b0b989fa17becd00fd52d52c48cfa20997bb1e8'/>
<id>urn:sha1:1b0b989fa17becd00fd52d52c48cfa20997bb1e8</id>
<content type='text'>
* Switch CSS over to archweb styling
* General clean-up of XHTML
* Set proposal box size to something more sane for a default

Signed-off-by: canyonknight &lt;canyonknight@gmail.com&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Remove all traces of "pgboxtitle"</title>
<updated>2012-07-06T09:25:58Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2012-05-23T17:33:06Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=f90d56937697ad3709fa15bdf3526f679d84ef60'/>
<id>urn:sha1:f90d56937697ad3709fa15bdf3526f679d84ef60</id>
<content type='text'>
Using a div container to format heading is ridiculous. Use "&lt;h2&gt;&lt;/h2&gt;"
instead.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
Signed-off-by: canyonknight &lt;canyonknight@gmail.com&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>
</feed>
