summaryrefslogtreecommitdiffstats
path: root/web
AgeCommit message (Collapse)AuthorFilesLines
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-24Bump to version 1.5.41.5.4Callan Barrett1-1/+1
Quick release to fix the chmod issue. GO TEAM!! Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-12-24Fix 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-22Remove 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-21Remove 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-20Rename '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-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.31.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-03Document how to generate the test data.Nathan Jones1-1/+5
Signed-off-by: Nathan Jones <nathanj@insightbb.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-27Fix Turkish translations.Samed Beyribey6-65/+63
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-26Remove remaining instances of do_DetailsLoui Chang1-2/+2
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-26New Ukrainian translation for AURsevenfourk18-1/+414
Signed-off-by: sevenfourk <sevenfourk@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-25Make remembered sessions actually save themselves.Loui Chang3-9/+27
Also clean up a notice in index.php Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-25Fix typos in Russian translation.Sergej Pupykin2-3/+3
Signed-off-by: Sergej Pupykin <ps@lx-ltd.ru> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-25Renamed Get Arch to Download.Thayer Williams1-7/+7
AL logo now goes to AL homepage, not AUR homepage Appended forward slash to top navigation links Signed-off-by: Thayer Williams <thayer@archlinux.org> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-23Clean up packages.php and document new package functionsCallan Barrett2-29/+67
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-19Russian translation updateSergej Pupykin1-0/+61
Signed-off-by: Sergej Pupykin <ps@lx-ltd.ru> Signed-off-by: Loui Chang <louipc.ist@gmail.com>