<feed xmlns='http://www.w3.org/2005/Atom'>
<title>markzz/aurweb.git/web/lib/aur.inc.php, branch v3.0.0-rc1</title>
<subtitle>aurweb working repository</subtitle>
<id>https://git.markzz.net/markzz/aurweb.git/atom/web/lib/aur.inc.php?h=v3.0.0-rc1</id>
<link rel='self' href='https://git.markzz.net/markzz/aurweb.git/atom/web/lib/aur.inc.php?h=v3.0.0-rc1'/>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/'/>
<updated>2014-04-19T08:59:48Z</updated>
<entry>
<title>Handle pkgbase array overrides gracefully</title>
<updated>2014-04-19T08:59:48Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2014-04-19T08:32:43Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=34453d32958cc71cf08e932368952f98b46b7020'/>
<id>urn:sha1:34453d32958cc71cf08e932368952f98b46b7020</id>
<content type='text'>
Instead of overwriting arrays, such as depends, from the pkgbase
section, new entries should be appended. Replace array_merge() with a
mixture of array_merge_recursive() and array_replace_recursive() that
merges array fields and replaces non-array fields.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Do not allow for overwriting arbitrary packages</title>
<updated>2014-04-05T10:21:36Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2014-04-05T00:40:16Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=8921e4deb946967b7cdd4007ab7e989f7b31573a'/>
<id>urn:sha1:8921e4deb946967b7cdd4007ab7e989f7b31573a</id>
<content type='text'>
A package should only be overwritten if it already belongs to the
package base that is trying to overwrite it.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Add provisional support for package bases</title>
<updated>2014-04-05T10:21:35Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2014-04-03T22:01:44Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=b7941073acec76e5b4f89648aca1413c15eb067f'/>
<id>urn:sha1:b7941073acec76e5b4f89648aca1413c15eb067f</id>
<content type='text'>
This adds a PackageBases table to the database schema and moves the
following fields from the Packages table to PackageBases:

* CategoryID
* NumVotes
* OutOfDateTS
* SubmittedTS
* ModifiedTS
* SubmitterUID
* MaintainerUID

It also fixes all database accesses to comply with the new layout.

Having a separate PackageBases table is the first step to split package
support. By now, we create one PackageBases entry per package (where the
package base has the same name as the corresponding package). When
adding full support for split packages later, the package base name will
be derived from the pkgbase variable and a single package base will be
shared amongst all packages built from one source package.

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>Merge branch 'maint'</title>
<updated>2013-01-30T08:25:42Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2013-01-30T08:25:42Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=8b791dee91bef312a0c3d06a8b77a5363720a88e'/>
<id>urn:sha1:8b791dee91bef312a0c3d06a8b77a5363720a88e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>aur.inc.php: Fix PHP undefined index notice for AURSID</title>
<updated>2013-01-30T08:25:29Z</updated>
<author>
<name>canyonknight</name>
<email>canyonknight@gmail.com</email>
</author>
<published>2013-01-22T02:18:14Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=a61d73d804d615b555fdccbec669f8e2cf84217d'/>
<id>urn:sha1:a61d73d804d615b555fdccbec669f8e2cf84217d</id>
<content type='text'>
Occurs in the rare situation where a logged out user tries to POST
a CSRF token.

Signed-off-by: canyonknight &lt;canyonknight@gmail.com&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2013-01-19T11:21:26Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2013-01-19T11:21:26Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=49e61845085aff6076a3dde056d08a278f447e6d'/>
<id>urn:sha1:49e61845085aff6076a3dde056d08a278f447e6d</id>
<content type='text'>
</content>
</entry>
</feed>
