<feed xmlns='http://www.w3.org/2005/Atom'>
<title>markzz/aurweb.git/web/lib/pkgfuncs.inc.php, branch v2.0.1</title>
<subtitle>aurweb working repository</subtitle>
<id>https://git.markzz.net/markzz/aurweb.git/atom/web/lib/pkgfuncs.inc.php?h=v2.0.1</id>
<link rel='self' href='https://git.markzz.net/markzz/aurweb.git/atom/web/lib/pkgfuncs.inc.php?h=v2.0.1'/>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/'/>
<updated>2012-11-04T18:19:22Z</updated>
<entry>
<title>Avoid double slashes in notifications</title>
<updated>2012-11-04T18:19:22Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2012-11-04T18:06:22Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=f190a845775381dfa8f583bd587337ae647629e8'/>
<id>urn:sha1:f190a845775381dfa8f583bd587337ae647629e8</id>
<content type='text'>
Both get_pkg_uri() and get_user_uri() should always return root-relative
URLs -- do not prepend another "/".

Fixes FS#32460.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>pkgfuncs.inc.php: Fix blacklisting functionality</title>
<updated>2012-10-11T19:19:16Z</updated>
<author>
<name>canyonknight</name>
<email>canyonknight@gmail.com</email>
</author>
<published>2012-10-09T20:44:09Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=f3325ce66f004b7580229fc7ddafcf641cfc9aa8'/>
<id>urn:sha1:f3325ce66f004b7580229fc7ddafcf641cfc9aa8</id>
<content type='text'>
An array that contains whether the package is blacklisted is
being improperly used for a comparison. Use fetchColumn() to
avoid the array completely and compare a value directly.

Regression with e171f6f34eeacf35cf7142b4788d43e7d0978546

Fixes FS#31867

Signed-off-by: canyonknight &lt;canyonknight@gmail.com&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>pkgfuncs.inc.php: Document all functions using PHPDoc format</title>
<updated>2012-10-03T23:47:00Z</updated>
<author>
<name>canyonknight</name>
<email>canyonknight@gmail.com</email>
</author>
<published>2012-10-02T22:44:39Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=49864b96670bcb069a042b383734d2cc507e939d'/>
<id>urn:sha1:49864b96670bcb069a042b383734d2cc507e939d</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>Do not notify if status is unchanged in pkg_flag()</title>
<updated>2012-10-02T22:21:21Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2012-09-30T21:37:29Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=e9ed60566ee24134d79e7935fcdaf25e97fb3f6b'/>
<id>urn:sha1:e9ed60566ee24134d79e7935fcdaf25e97fb3f6b</id>
<content type='text'>
Check if a package actually changed its status before sending an email
to prevent from spamming. Addresses FS#31745.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>pkgfuncs.inc.php: Fix undefined variable notice</title>
<updated>2012-10-02T22:21:21Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2012-09-28T07:16:52Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=e2f3bee01ee1880e7d3c161fed910651979fb4cc'/>
<id>urn:sha1:e2f3bee01ee1880e7d3c161fed910651979fb4cc</id>
<content type='text'>
Fixes a undefined variable notice in getvotes() that popped up when a
package without any votes was requested.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Remove unused pkgnotify_from_sid function</title>
<updated>2012-09-20T08:58:29Z</updated>
<author>
<name>canyonknight</name>
<email>canyonknight@gmail.com</email>
</author>
<published>2012-09-19T23:41:31Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=2c7254eb60857c21c9eadfd8360ad9fdceadf9ff'/>
<id>urn:sha1:2c7254eb60857c21c9eadfd8360ad9fdceadf9ff</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>Remove unused canManagePackage() function</title>
<updated>2012-09-20T08:58:29Z</updated>
<author>
<name>canyonknight</name>
<email>canyonknight@gmail.com</email>
</author>
<published>2012-09-19T23:41:30Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=2d4dda7cc296d6ad61fa38409d3dc048a6d01fbe'/>
<id>urn:sha1:2d4dda7cc296d6ad61fa38409d3dc048a6d01fbe</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>Sync search result statistics with archweb</title>
<updated>2012-09-19T00:42:01Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2012-09-19T00:42:01Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=4aad42d993619d03040d1a96d133c7784aa4bc28'/>
<id>urn:sha1:4aad42d993619d03040d1a96d133c7784aa4bc28</id>
<content type='text'>
* Use archweb classes for search result statistics.
* Add some space between page numbers.
* Display current page number instead of current item range.
* Hide page numbers if the result fits into a single page.

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>Fix package notification</title>
<updated>2012-09-18T13:14:34Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2012-09-18T13:02:58Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=96c36dc84f2dbce42e3af6453b7df916d07f0a39'/>
<id>urn:sha1:96c36dc84f2dbce42e3af6453b7df916d07f0a39</id>
<content type='text'>
One cannot check if the PDOStatement object returned by query()
evaluates to true in order to check for a non-empty record set. Modify
the SQL query to count the number of records instead of retrieving the
records themselves and fixing the check.

Regression introduced in e171f6f34eeacf35cf7142b4788d43e7d0978546.

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