<feed xmlns='http://www.w3.org/2005/Atom'>
<title>markzz/aurweb.git/web/html/packages.php, branch v2.2.1</title>
<subtitle>aurweb working repository</subtitle>
<id>https://git.markzz.net/markzz/aurweb.git/atom/web/html/packages.php?h=v2.2.1</id>
<link rel='self' href='https://git.markzz.net/markzz/aurweb.git/atom/web/html/packages.php?h=v2.2.1'/>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/'/>
<updated>2013-04-19T22:22:53Z</updated>
<entry>
<title>Retrieve package details after package actions are processed</title>
<updated>2013-04-19T22:22:53Z</updated>
<author>
<name>canyonknight</name>
<email>canyonknight@gmail.com</email>
</author>
<published>2013-04-14T15:58:57Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=ca067d5492c72e2e034b14d294565881f0167a1f'/>
<id>urn:sha1:ca067d5492c72e2e034b14d294565881f0167a1f</id>
<content type='text'>
Fixes FS#34508

Signed-off-by: canyonknight &lt;canyonknight@gmail.com&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Return 404 error page if invalid package ID is used</title>
<updated>2013-03-21T21:38:49Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2013-03-21T21:38:49Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=4fc1b9a0ca2cb19d3e6f1fbdaa9470bf2a95a499'/>
<id>urn:sha1:4fc1b9a0ca2cb19d3e6f1fbdaa9470bf2a95a499</id>
<content type='text'>
We already display the 404 error page if someone tries to access an
invalid package via virtual URLs ("/packages/nonexistent"). Add the same
check to "web/html/packages.php" to make sure the same error is shown if
a user requests package details of a nonexistent package ID via legacy
URLs ("/packages.php?ID=-1").

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Add description meta-element to package pages</title>
<updated>2013-01-19T11:18:13Z</updated>
<author>
<name>Marcel Korpel</name>
<email>marcel.lists@gmail.com</email>
</author>
<published>2013-01-09T17:41:33Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=8e1051932eb86ef87f7b64efc86f50e633201b56'/>
<id>urn:sha1:8e1051932eb86ef87f7b64efc86f50e633201b56</id>
<content type='text'>
Implements FS#33294

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Split package flagging and unflagging into separate functions</title>
<updated>2012-12-07T22:24:11Z</updated>
<author>
<name>canyonknight@gmail.com</name>
<email>canyonknight@gmail.com</email>
</author>
<published>2012-12-06T03:03:41Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=20407bb8c60ff705b47df707e21a3e0f73faf239'/>
<id>urn:sha1:20407bb8c60ff705b47df707e21a3e0f73faf239</id>
<content type='text'>
Currently, package flagging and unflagging takes place within the
pkg_flag() function. A bool is set to true or false depending on the
action.

Create new pkg_unflag() function with sole purpose of unflagging
and keep pkg_flag() in place. This split will be useful in the
overhaul of the notification system.

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>Fix category selection</title>
<updated>2012-09-18T14:09:30Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2012-09-18T14:09:09Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=3b1dad229b6b486efc31c72090a8985773c329bb'/>
<id>urn:sha1:3b1dad229b6b486efc31c72090a8985773c329bb</id>
<content type='text'>
Add a package ID parameter to pkg_change_category() instead of relying
on the "ID" or "N" GET parameters.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Do not set GET parameters in the routing framework</title>
<updated>2012-09-18T12:05:11Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2012-09-18T11:57:09Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=2e552cbcad8f4abd64041c793851b7420dd5361c'/>
<id>urn:sha1:2e552cbcad8f4abd64041c793851b7420dd5361c</id>
<content type='text'>
Setting GET parameters manually is bad style and causes some strange
side effects when using virtual URLs and mkurl().

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>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>web/html/packages.php: Remove duplicate code</title>
<updated>2012-05-06T10:47:19Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2012-05-06T10:38:59Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=5b0f1f39dba251e5ae29df432587da7ce0098c87'/>
<id>urn:sha1:5b0f1f39dba251e5ae29df432587da7ce0098c87</id>
<content type='text'>
Retrieve the package ID early and merge the if-branches calling
package_details().

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