<feed xmlns='http://www.w3.org/2005/Atom'>
<title>markzz/aurweb.git/web/lib/pkgfuncs.inc.php, branch v2.1.0</title>
<subtitle>aurweb working repository</subtitle>
<id>https://git.markzz.net/markzz/aurweb.git/atom/web/lib/pkgfuncs.inc.php?h=v2.1.0</id>
<link rel='self' href='https://git.markzz.net/markzz/aurweb.git/atom/web/lib/pkgfuncs.inc.php?h=v2.1.0'/>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/'/>
<updated>2013-02-10T11:10:38Z</updated>
<entry>
<title>Remove checks before calling connection method</title>
<updated>2013-02-10T11:10:38Z</updated>
<author>
<name>canyonknight</name>
<email>canyonknight@gmail.com</email>
</author>
<published>2013-02-03T16:26:31Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=cf2ab50b8239b75af5df60ee143f41fedb044dc8'/>
<id>urn:sha1:cf2ab50b8239b75af5df60ee143f41fedb044dc8</id>
<content type='text'>
Large amount of boilerplate code that checks if a database
connection exists is useless now that the new connection method
automatically does the same check.

Signed-off-by: canyonknight &lt;canyonknight@gmail.com&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Remove documentation references to database parameter</title>
<updated>2013-02-10T11:10:38Z</updated>
<author>
<name>canyonknight</name>
<email>canyonknight@gmail.com</email>
</author>
<published>2013-02-03T16:26:30Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=4235d24039258c80ef102e8a52550add5117f2e5'/>
<id>urn:sha1:4235d24039258c80ef102e8a52550add5117f2e5</id>
<content type='text'>
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Remove unnecessary database connection parameter from all functions</title>
<updated>2013-02-10T11:10:38Z</updated>
<author>
<name>canyonknight</name>
<email>canyonknight@gmail.com</email>
</author>
<published>2013-02-03T16:26:29Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=8d6c872297459ceb463ed496968cc7cea32274a8'/>
<id>urn:sha1:8d6c872297459ceb463ed496968cc7cea32274a8</id>
<content type='text'>
All functions now have a database connection method that will use
the same database connection. This imitates the functionality of
passing a database connection as an argument and makes it redundant.

Signed-off-by: canyonknight &lt;canyonknight@gmail.com&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Add database wrapper class and new connection method</title>
<updated>2013-02-10T11:10:37Z</updated>
<author>
<name>canyonknight</name>
<email>canyonknight@gmail.com</email>
</author>
<published>2013-02-03T16:26:28Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=8e03e68d687015b5cd8c9d3857e1a1d007252afa'/>
<id>urn:sha1:8e03e68d687015b5cd8c9d3857e1a1d007252afa</id>
<content type='text'>
Uses the Singleton pattern to ensure all queries use the same
database connection that is released upon script completion.

All database connections should now be called with DB::connect() and
not db_connect().

Signed-off-by: canyonknight &lt;canyonknight@gmail.com&gt;
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>pkgfuncs.inc.php: Rework query to avoid "Required by" duplicates</title>
<updated>2012-11-15T19:03:33Z</updated>
<author>
<name>canyonknight</name>
<email>canyonknight@gmail.com</email>
</author>
<published>2012-11-14T22:05:53Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=16a20693be07600e25dcf5edeb94e53699f63787'/>
<id>urn:sha1:16a20693be07600e25dcf5edeb94e53699f63787</id>
<content type='text'>
Packages with multiple DepConditions are returned multiple
times in the "Required by" column.

Limit SQL results to distinct packages.

Fixes FS#32478

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