summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-01-04Store account type in local var when possibleDan McGee3-10/+11
No need to call this function way too often, especially when on the package list page where it could be called up to once per row. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-31aur.inc: remove unused codeDan McGee1-47/+0
Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-31Get db connection for accounts search results.Loui Chang1-0/+2
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-30Use non-persistant connectionsDan McGee1-4/+15
There is really no need to use persistent connections to the database in this day and age. Most PHP development guides recommend against it, and the new mysqli interface doesn't even include the functionality. Add a matching but currently unused db_disconnect() function while we are at it. Reference counting will cover us for the most part, however. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-29Properly select page length in search form.Loui Chang1-1/+1
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-29Correct undefined constant error in pkgsubmit.Loui Chang1-4/+6
Clean up a couple of notices. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-29Make search page use mkurl function, change variables aroundCallan Barrett2-51/+51
Changed all the normal variables to their $_GET counterparts so everything is destructively changing the original variables, there should be no issue with this. If there I guess we need to consider making mkurl use a custom array of variables rather than $_GET Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-29Add search bar to index and pkg details pagesCallan Barrett3-7/+12
Also changed it around a little bit so it's not tied down the search results function Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-29New search bar, toggle advanced options new styleCallan Barrett3-184/+139
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-29Add function to generate clean urlsCallan Barrett1-0/+34
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-25Bump to version 1.5.4Callan Barrett1-1/+1
Quick release to fix the chmod issue. GO TEAM!! Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-12-25Fix Turkish typosCallan Barrett4-8/+8
Author: Samed Beyribey <ras0ir@eventualis.org> Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-12-22Don't require login to see out of date packages from package search.Loui Chang1-6/+9
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-22Make some translatable strings friendlier to common usage.Loui Chang2-7/+7
Removing trailing colons and whitespace makes them more usable. Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-12-22Encode search string for use in anchor tags.Loui Chang1-0/+4
Sorting, and viewing more results resets the search if you search for '#' in 1.5.3. This should fix that bug. Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-12-22Modify and fix typos in comment notification email.Loui Chang1-3/+6
Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-12-22Really make all web paths relative.Loui Chang4-10/+8
I forgot about the forms. Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-12-21Remove a couple of lines with corrupt translation data.Loui Chang1-4/+0
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-21Move package search results to a templateCallan Barrett2-210/+159
Logic is separated from html as much as possible, all html in a template Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-21Fix up valid email function, FS#12269Callan Barrett1-1/+1
All we're looking for now is an @ in any email address to fix problem with not being able to have + in addresses and just because I see no advantage to having any sort of stringent validation Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-21Introduce function include_lang for translations.Loui Chang24-363/+51
This includes only the requested language for each page and makes top level language include files obsolete. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-21Make all web paths relative.Loui Chang5-23/+23
The site no longer needs to be hosted from the root of a domain, or virtual host. Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-12-20Remove success messages after package functionsCallan Barrett3-39/+32
Just displays message at the top of the page of what happened (errors or not) and goes back to the same page Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-20Change behaviour of package functions to accept normal arraysCallan Barrett2-20/+17
Package functions use a normal array of pkgids now and packages.php has been changed to accomodate for it Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-20Fix PKGBUILD source array parsing.Evangelos Foutras1-1/+3
Fix for FS#11132 - AUR fails to parse multiline source array Signed-off-by: Evangelos Foutras <foutrelis@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-20Add error checking to chmod on package submissionCallan Barrett1-1/+1
Try submitting an empty form to the aur Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-20Remove the english includes from the main translation filesCallan Barrett10-20/+0
Is that what they're called? I have no idea I'm not good with computers Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-20Revert "Move call to try_login to login_form."Callan Barrett2-6/+3
This reverts commit 77d93c4946fabcda417b6a5672d881c64e11fb78. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-19Rename 'Un-Vote' and 'Unflag' buttons.Nathan Jones1-2/+2
This is to be consistent with 'UnNotify'. Signed-off-by: Nathan Jones <nathanj@insightbb.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-18Updated French translation for index.phpCilyan Olowen1-2/+5
It's strange that some strings are not caught by ./transation_tool. I had to add them manually. Signed-off-by: Cilyan Olowen <gaknar@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-17Stop printing underscores around untranslated strings.Loui Chang1-1/+1
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-17Remove obsolete timeout page.Loui Chang12-176/+0
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-17Remove obsolete 'hacker' page.Loui Chang12-178/+0
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-17Add Pierre Schmitz to list of German translators.Loui Chang1-0/+1
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-17Move call to try_login to login_form.Loui Chang2-3/+6
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-17Remove obsolete English translation files.Loui Chang12-720/+0
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-17Remove colons from translated strings in login_form.Loui Chang1-2/+2
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-17genpopo: Stop printing trailing php tag.Loui Chang1-4/+3
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-17Reword the disclaimer in index.php.Loui Chang1-2/+2
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-17Bump version to 1.5.3Loui Chang1-1/+1
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-12Quell missing argument warning in clear_expired_sessions().Loui Chang1-1/+2
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-12Added italian translation to the tu_po.inc fileGiovanni Scafora1-0/+2
Signed-off-by: Giovanni Scafora <giovanni@archlinux.org> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-12Updated French Translation for 1.5.3.Cilyan Olowen14-14/+133
Signed-off-by: Cilyan Olowen <gaknar@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-11Italian translation: small fixes and improvementsGiovanni Scafora3-5/+5
Signed-off-by: Giovanni Scafora <giovanni@archlinux.org> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-11Update Italian Translation for the AUR 1.5.3Giovanni Scafora13-32/+176
Signed-off-by: Giovanni Scafora <giovanni@archlinux.org> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-11Move tupkg scripts to tupkg/scripts.Loui Chang3-0/+0
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-11Update usage and paths in tupkg run scripts.Loui Chang2-6/+8
In run-tupkgupdate: Set HOME for correct CVS auth. Properly filter out unneeded messages from CVS output, and prune empty directories on update. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-10Add some more error checking to tupkgupdate.Loui Chang1-8/+15
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-10Fix incorrect indentation causing errors in tupkgupdate.Loui Chang1-6/+6
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-10Remove trailing whitespace.Loui Chang1-16/+16
Signed-off-by: Loui Chang <louipc.ist@gmail.com>