<feed xmlns='http://www.w3.org/2005/Atom'>
<title>markzz/aurweb.git/support/schema/aur-schema.sql, branch 1.7.0</title>
<subtitle>aurweb working repository</subtitle>
<id>https://git.markzz.net/markzz/aurweb.git/atom/support/schema/aur-schema.sql?h=1.7.0</id>
<link rel='self' href='https://git.markzz.net/markzz/aurweb.git/atom/support/schema/aur-schema.sql?h=1.7.0'/>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/'/>
<updated>2010-04-17T20:50:24Z</updated>
<entry>
<title>Support for storing salted passwords</title>
<updated>2010-04-17T20:50:24Z</updated>
<author>
<name>Denis</name>
<email>d.v.kobozev@gmail.com</email>
</author>
<published>2010-04-05T13:41:30Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=290c436046327d9f04b7d12b5fda19f4dc14f574'/>
<id>urn:sha1:290c436046327d9f04b7d12b5fda19f4dc14f574</id>
<content type='text'>
To upgrade existing databases:

ALTER TABLE Users ADD Salt CHAR(32) NOT NULL DEFAULT '';

Signed-off-by: Loui Chang &lt;louipc.ist@gmail.com&gt;
</content>
</entry>
<entry>
<title>aur-schema.sql: Expand LangPreference field to allow for longer lang codes.</title>
<updated>2009-11-29T11:28:15Z</updated>
<author>
<name>Loui Chang</name>
<email>louipc.ist@gmail.com</email>
</author>
<published>2009-11-29T11:28:15Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=c3ebc4d7fa35b280c353192b23d7b6338f60a9a9'/>
<id>urn:sha1:c3ebc4d7fa35b280c353192b23d7b6338f60a9a9</id>
<content type='text'>
To upgrade existing databases:

  ALTER TABLE Users MODIFY LangPreference CHAR(5) NOT NULL DEFAULT 'en';

Signed-off-by: Loui Chang &lt;louipc.ist@gmail.com&gt;
</content>
</entry>
<entry>
<title>Implement 'Password Reset' facility (FS#3061)</title>
<updated>2009-11-13T21:49:55Z</updated>
<author>
<name>Evangelos Foutras</name>
<email>foutrelis@gmail.com</email>
</author>
<published>2009-11-12T15:21:59Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=861cbf493591ec876f71ba200a844ed6177026f9'/>
<id>urn:sha1:861cbf493591ec876f71ba200a844ed6177026f9</id>
<content type='text'>
This works by adding a new field to the 'Users' table called 'ResetKey',
which is a 32 characters long, random string. When the user requests a
password reset, a new 'reset key' is generated and sent to the user's
e-mail address in the form of a link in the following format:

  http://aur.archlinux.org/passreset.php?resetkey=&lt;reset key&gt;

When the above link is followed, the user is presented with a form to
verify his/her e-mail address and specify the new desired password. If
the e-mail address matches the reset key in the database, the new
password is assigned to the account. If there is an error, a relevant
message is displayed and the user is prompted to re-enter the required
information. Upon successful completion of this procedure, the ResetKey
field in the database is blanked and the specific key cannot be reused.

One SQL query is needed to add the ResetKey field to the 'Users' table:

  ALTER TABLE `Users` ADD `ResetKey` CHAR(32) NOT NULL DEFAULT '';

Signed-off-by: Loui Chang &lt;louipc.ist@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add multicolumn indexes on votes and notifications tables</title>
<updated>2009-06-18T05:47:17Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2009-04-11T21:40:57Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=e2b3bd1c37d91a747e8f774bbb91aad3dc466c68'/>
<id>urn:sha1:e2b3bd1c37d91a747e8f774bbb91aad3dc466c68</id>
<content type='text'>
To put a long story short, when we do joins on these tables in our
pkg_search_page() function, we always join on both the user ID and package
ID columns. By creating multicolumn indices, we can always get the exact row
we are looking for in the table.

The benefits of adding a unique index should also speak for themselves, as
we previously did not have this on either of these tables.

This is part one of a two-part series to address the fact that this query
was often showing up in our slow query logs.

Signed-off-by: Dan McGee &lt;dan@archlinux.org&gt;
Signed-off-by: Loui Chang &lt;louipc.ist@gmail.com&gt;
</content>
</entry>
<entry>
<title>Remove references to AURMaintainerUID</title>
<updated>2008-03-27T07:34:35Z</updated>
<author>
<name>Callan Barrett</name>
<email>wizzomafizzo@gmail.com</email>
</author>
<published>2008-03-26T13:52:15Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=04dae8d94f846fe5b82d9261405cbc56a736ded3'/>
<id>urn:sha1:04dae8d94f846fe5b82d9261405cbc56a736ded3</id>
<content type='text'>
This (should) get rid of anything to do with the unused column AURMaintainerUID
in the scripts and schema files

Signed-off-by: Callan Barrett &lt;wizzomafizzo@gmail.com&gt;
Signed-off-by: Simo Leone &lt;simo@archlinux.org&gt;
</content>
</entry>
<entry>
<title>Make all references to AUR database consistent</title>
<updated>2008-03-23T08:04:17Z</updated>
<author>
<name>Loui Chang</name>
<email>louipc.ist@gmail.com</email>
</author>
<published>2008-02-28T16:37:39Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=3577326b2b32bad2765cdacd2959dd4fea48c2f8'/>
<id>urn:sha1:3577326b2b32bad2765cdacd2959dd4fea48c2f8</id>
<content type='text'>
Signed-off-by: Loui Chang &lt;louipc.ist@gmail.com&gt;
Signed-off-by: Simo Leone &lt;simo@archlinux.org&gt;
</content>
</entry>
<entry>
<title>Bug in uploading PKGBUILDs and aur schema</title>
<updated>2008-01-20T06:21:19Z</updated>
<author>
<name>Callan Barrett</name>
<email>wizzomafizzo@gmail.com</email>
</author>
<published>2008-01-10T02:15:55Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=ce225727f67f5b65b5f92ec96b074712c290ea63'/>
<id>urn:sha1:ce225727f67f5b65b5f92ec96b074712c290ea63</id>
<content type='text'>
This fixes a bug where TUs and devs couldn't upload packages because
the query would have an extra column in it to mark the pkgbuild safe
automatically, guessing it got missed when the safe flags were
removed. Also fixes a screw up I made with the schema file when I
added the tables for the voting app.

Signed-off-by: Callan Barrett &lt;wizzomafizzo@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add support for variable length votes in voting application</title>
<updated>2008-01-20T06:21:19Z</updated>
<author>
<name>Callan Barrett</name>
<email>wizzomafizzo@gmail.com</email>
</author>
<published>2007-12-29T23:56:33Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=5f4afcc8cb6dcc5dcbe4d5161fad5372eb5f6435'/>
<id>urn:sha1:5f4afcc8cb6dcc5dcbe4d5161fad5372eb5f6435</id>
<content type='text'>
Signed-off-by: Callan Barrett &lt;wizzomafizzo@gmail.com&gt;
</content>
</entry>
<entry>
<title>AUR Voting Application</title>
<updated>2008-01-20T06:21:19Z</updated>
<author>
<name>Callan Barrett</name>
<email>wizzomafizzo@gmail.com</email>
</author>
<published>2007-12-26T19:38:39Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=a8e574ef2897e9ca709c2cfa5ff78d2f69464092'/>
<id>urn:sha1:a8e574ef2897e9ca709c2cfa5ff78d2f69464092</id>
<content type='text'>
Added support for TU voting through AUR

Signed-off-by: Callan Barrett &lt;wizzomafizzo@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fix for safe-removal.</title>
<updated>2008-01-20T06:21:18Z</updated>
<author>
<name>eliott</name>
<email>eliott@cactuswax.net</email>
</author>
<published>2007-11-17T14:39:40Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=c17b629a4d6e52e137afc9cb0f9c5dd3edc9ece3'/>
<id>urn:sha1:c17b629a4d6e52e137afc9cb0f9c5dd3edc9ece3</id>
<content type='text'>
</content>
</entry>
</feed>
