<feed xmlns='http://www.w3.org/2005/Atom'>
<title>markzz/aurweb.git/web/lib, branch 1.8.1</title>
<subtitle>aurweb working repository</subtitle>
<id>https://git.markzz.net/markzz/aurweb.git/atom/web/lib?h=1.8.1</id>
<link rel='self' href='https://git.markzz.net/markzz/aurweb.git/atom/web/lib?h=1.8.1'/>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/'/>
<updated>2011-03-09T16:44:21Z</updated>
<entry>
<title>Release 1.8.1.</title>
<updated>2011-03-09T16:44:21Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2011-03-09T16:44:21Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=29b2f3b3990390b4010d8b73a21d11982cbafbec'/>
<id>urn:sha1:29b2f3b3990390b4010d8b73a21d11982cbafbec</id>
<content type='text'>
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Add a sanitize_ids function and use it in all pkg_* functions</title>
<updated>2011-03-04T09:29:18Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2011-03-01T18:45:31Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=d186bcfd89091d79eb0954681c77c8f2967d52f0'/>
<id>urn:sha1:d186bcfd89091d79eb0954681c77c8f2967d52f0</id>
<content type='text'>
And use implode() instead of some looping/first time logic.

Signed-off-by: Dan McGee &lt;dan@archlinux.org&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Set a default timezone</title>
<updated>2011-03-04T09:29:17Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2011-03-01T18:24:48Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=d4b1ca7cf19c1a6b902b3c7810047156328d8c72'/>
<id>urn:sha1:d4b1ca7cf19c1a6b902b3c7810047156328d8c72</id>
<content type='text'>
With our use of strtotime() in stats.inc, we are "required" to do so or at
least the emitted warning tells us it is a good idea.

Signed-off-by: Dan McGee &lt;dan@archlinux.org&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Fix PHP notices in account pages</title>
<updated>2011-03-04T09:29:17Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2011-03-01T18:24:34Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=cdc01130cf03ceac98626e9bedc369da3f0fd2c7'/>
<id>urn:sha1:cdc01130cf03ceac98626e9bedc369da3f0fd2c7</id>
<content type='text'>
Signed-off-by: Dan McGee &lt;dan@archlinux.org&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Remove dead dependency/required by link code</title>
<updated>2011-03-04T09:29:17Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2011-03-01T17:56:41Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=ddbe6d0d335ba7bc7170ad234667ca62f638bd3b'/>
<id>urn:sha1:ddbe6d0d335ba7bc7170ad234667ca62f638bd3b</id>
<content type='text'>
For some reason we were doing this song and dance "iterate all the known
parameters" business. This is totally unnecessary, clutters the links,
and was spewing errors all over the place, so kill it.

Signed-off-by: Dan McGee &lt;dan@archlinux.org&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Ensure all variables are set in package search form</title>
<updated>2011-03-04T09:29:16Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2011-03-01T17:56:33Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=ef8fab0c12f567acac80c050f44db38111f00104'/>
<id>urn:sha1:ef8fab0c12f567acac80c050f44db38111f00104</id>
<content type='text'>
Signed-off-by: Dan McGee &lt;dan@archlinux.org&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Add action lookup helper function</title>
<updated>2011-03-04T09:29:15Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2011-03-01T17:26:21Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=d1d0288598bb8f2fca299e0e3e6eadc6d4fbc32d'/>
<id>urn:sha1:d1d0288598bb8f2fca299e0e3e6eadc6d4fbc32d</id>
<content type='text'>
Signed-off-by: Dan McGee &lt;dan@archlinux.org&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Ensure all package ID values are coerced to integers</title>
<updated>2011-03-04T09:29:15Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2011-03-01T17:24:29Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=bbc90846f5f40dff92eca7ffafbcf6daa98956e3'/>
<id>urn:sha1:bbc90846f5f40dff92eca7ffafbcf6daa98956e3</id>
<content type='text'>
We don't need mysql_real_escape_string(), we need valid integer
conversions.

Signed-off-by: Dan McGee &lt;dan@archlinux.org&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Vastly simplify pkg_delete function</title>
<updated>2011-03-04T09:29:14Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2011-03-01T16:33:00Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=0e304107677cbcd9aa73500d3e5f5fda692a260e'/>
<id>urn:sha1:0e304107677cbcd9aa73500d3e5f5fda692a260e</id>
<content type='text'>
Since only TUs/Devs can delete packages, we can remove almost all checks
except the account type check. And now that our DB uses foreign keys,
all of the other deletes happen implicitly when a package is deleted so
we don't need to take care of it here.

Signed-off-by: Dan McGee &lt;dan@archlinux.org&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Ensure users can be deleted when foreign keys are present</title>
<updated>2011-03-04T09:29:14Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2011-03-01T16:21:06Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=f9eba12312fc6a1758f7f1051a8f30b435175f94'/>
<id>urn:sha1:f9eba12312fc6a1758f7f1051a8f30b435175f94</id>
<content type='text'>
This change is necessary to prevent this:
    mysql&gt; delete from Users where ID = 112;
    ERROR 1451 (23000): Cannot delete or update a parent row: a foreign key constraint fails (`aur`.`Packages`, CONSTRAINT `Packages_ibfk_2` FOREIGN KEY (`SubmitterUID`) REFERENCES `Users` (`ID`) ON DELETE NO ACTION)

As a bonus, due to foreign keys, orphaning of packages will be
automatic.

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