<feed xmlns='http://www.w3.org/2005/Atom'>
<title>markzz/aurweb.git/web/lib/aur.inc.php, branch v4.0.0-rc4</title>
<subtitle>aurweb working repository</subtitle>
<id>https://git.markzz.net/markzz/aurweb.git/atom/web/lib/aur.inc.php?h=v4.0.0-rc4</id>
<link rel='self' href='https://git.markzz.net/markzz/aurweb.git/atom/web/lib/aur.inc.php?h=v4.0.0-rc4'/>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/'/>
<updated>2014-10-24T08:03:54Z</updated>
<entry>
<title>Use an INI-style configuration file</title>
<updated>2014-10-24T08:03:54Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2014-10-24T06:31:47Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=76343fb91511b9f53e58b6c01b258bfe00ddb4c6'/>
<id>urn:sha1:76343fb91511b9f53e58b6c01b258bfe00ddb4c6</id>
<content type='text'>
Replace web/lib/config.inc.php with an INI-style configuration file.
This allows us to get rid of several globals and makes it easier to use
the same configuration file in external scripts.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Fix the return value of save_salt()</title>
<updated>2014-08-08T09:38:00Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2014-08-08T09:32:06Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=d61b34f2557eb38142c879cbe2dea8598873dfb3'/>
<id>urn:sha1:d61b34f2557eb38142c879cbe2dea8598873dfb3</id>
<content type='text'>
Return true if and only if the SQL query was executed successfully.
Logins with an unsalted password no longer fail now.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Rework permission handling</title>
<updated>2014-07-15T20:56:57Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2014-07-15T18:52:54Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=03c6304e19d5d3ecd276dd3f42220db301ab511d'/>
<id>urn:sha1:03c6304e19d5d3ecd276dd3f42220db301ab511d</id>
<content type='text'>
Add a new function has_credential() that checks whether the currently
logged in user is allowed to perform a given action. Moving all
permission handling to this central place makes adding new user groups
and adjusting permissions much more convenient.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Simplify code to bound integer values</title>
<updated>2014-07-01T17:46:16Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2014-07-01T17:43:27Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=cf4ea0171e588fdc9d44beb705e379a20ecbd652'/>
<id>urn:sha1:cf4ea0171e588fdc9d44beb705e379a20ecbd652</id>
<content type='text'>
Suggested-by: Florian Pritz &lt;bluewind@xinu.at&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Do not return "None" in user functions</title>
<updated>2014-06-05T13:12:10Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2014-06-05T12:47:38Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=0a66f48aa1293f93579b7de9bc5d080cf5f3105e'/>
<id>urn:sha1:0a66f48aa1293f93579b7de9bc5d080cf5f3105e</id>
<content type='text'>
Return null instead of the string "None" in username_from_id(),
uid_from_email() and uid_from_username().

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Move latest_pkgs() to pkgfuncs.inc.php</title>
<updated>2014-05-29T19:13:45Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2014-05-29T19:13:27Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=44268778c824c2d5f49f00f9276a864aeb2e9681'/>
<id>urn:sha1:44268778c824c2d5f49f00f9276a864aeb2e9681</id>
<content type='text'>
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Fix parsing of array overrides</title>
<updated>2014-05-03T16:08:57Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2014-05-03T16:01:49Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=782e9eb1882ab5d5792ca0e4ae5f652550bc72aa'/>
<id>urn:sha1:782e9eb1882ab5d5792ca0e4ae5f652550bc72aa</id>
<content type='text'>
If a depends (makedepends, checkdepends, optdepends, conflicts,
provides, replaces, license, groups, source) line appears in a package
section, it replaces the corresponding array from the pkgbase section.
If there is a single "depends = " line in the package section, the
depends array of that package is considered empty.

This partly reverts the behavior introduced in commit 137a9ae (Fix
parsing of array overrides, 2014-05-03).

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