<feed xmlns='http://www.w3.org/2005/Atom'>
<title>markzz/aurweb.git/web/lib/pkgfuncs.inc.php, branch v2.3.0</title>
<subtitle>aurweb working repository</subtitle>
<id>https://git.markzz.net/markzz/aurweb.git/atom/web/lib/pkgfuncs.inc.php?h=v2.3.0</id>
<link rel='self' href='https://git.markzz.net/markzz/aurweb.git/atom/web/lib/pkgfuncs.inc.php?h=v2.3.0'/>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/'/>
<updated>2013-08-27T09:35:26Z</updated>
<entry>
<title>Move package comment check to packages.php</title>
<updated>2013-08-27T09:35:26Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2013-08-27T09:31:49Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=c1c7f9b35090904a4c566de026c487a0eb33da49'/>
<id>urn:sha1:c1c7f9b35090904a4c566de026c487a0eb33da49</id>
<content type='text'>
Checking whether to add a comment is something that really does not
belong to a function named display_package_details().

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Add boolean return values to several pkg_*() functions</title>
<updated>2013-08-27T09:19:45Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2013-08-27T09:18:20Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=23867a211ce90d86938bea6a899d219cf8c08aab'/>
<id>urn:sha1:23867a211ce90d86938bea6a899d219cf8c08aab</id>
<content type='text'>
Change the return values of following functions to return both
error/success and an error/success message:

* pkg_flag()
* pkg_unflag()
* pkg_adopt()
* pkg_vote()
* pkg_delete()
* pkg_notify()
* pkg_delete_comment()
* pkg_change_category()

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Fix typo in delete permission warning</title>
<updated>2013-03-19T12:50:45Z</updated>
<author>
<name>Connor Behan</name>
<email>connor.behan@gmail.com</email>
</author>
<published>2013-03-02T07:21:50Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=a386bbd35d20465ae182b7aadf3fd2dfcbd5250f'/>
<id>urn:sha1:a386bbd35d20465ae182b7aadf3fd2dfcbd5250f</id>
<content type='text'>
Signed-off-by: Connor Behan &lt;connor.behan@gmail.com&gt;
Signed-off-by: canyonknight &lt;canyonknight@gmail.com&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<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>
</feed>
