summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-01-25Move package comment form into a new template.Loui Chang4-80/+78
Feature the form on the package details page. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-25Updated Turkish translation.Samed Beyribey1-1/+87
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-25APC work follow-upDan McGee1-21/+22
I managed to send an outdated patch to the mailing list that got applied, so some of these changes never made it in. A little more cleanup and a little more caching, and also increase the default time to 600 seconds (10 minutes). Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-25Update Italian translationGiovanni Scafora1-0/+30
Signed-off-by: Giovanni Scafora <giovanni@archlinux.org> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-24Indicate when there are more search result pages than numbered links show.Loui Chang1-24/+25
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-24Validation fixes.Loui Chang2-3/+3
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-24Remove obsolete padding images.Loui Chang2-0/+0
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-24Add package details template (pkg_details.php)Loui Chang4-183/+178
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-24Rework login form.Loui Chang11-43/+35
Correct some xhtml validation errors. Correct translation usage. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-23Move actions form into template.Loui Chang2-65/+61
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-23Fix a few xhtml validation errors.Loui Chang3-6/+5
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-23Bring version footer in with the rest of the site body.Loui Chang3-3/+2
Add a bottom margin to pgbox blocks. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-23Add Previous and Next links for search results.Loui Chang1-53/+56
Move things around at the bottom of the search results page. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-23Return CategoryID from the json interface.Loui Chang1-1/+1
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-23Remove urlencode('K') in pkg_search_results.Loui Chang1-4/+0
The urlencoded string should only be used for href, but it was being applied and used in printed output, like the keywords textbox. This fixes a problem that was reported in FS#12791 - Faster navigation withing package search listing by page numbers Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-23Make git ignore .htaccess, robots.txt and dummy-data.sql.Loui Chang1-1/+3
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-23Bump version to 1.5.5.Loui Chang1-1/+1
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-23Tweak comment notify mail.Loui Chang1-4/+6
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-22Change comment style so long lines wrap.Loui Chang1-1/+1
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-22Fix translated comment messages.Loui Chang11-30/+14
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-22Remove .htaccess file from source tree.Loui Chang1-2/+0
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-22Only print links for up to five previous and next search results pages.Loui Chang1-2/+12
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-19Add TRANSLATING guide.Loui Chang1-0/+79
Adapted from http://wiki.archlinux.org/index.php/AUR_Translation Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-19Remove obsolete translation tools.Loui Chang2-387/+0
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-19Add new genpopo and translation_tool that work with new system.Loui Chang4-379/+629
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-19Remove obsolete translation files.Loui Chang102-6299/+0
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-19Use new conglomerated translation files.Loui Chang12-18/+10
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-19Add new conglomerated translation files.Loui Chang10-0/+5621
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-19Remove Less and More links from search results page.Loui Chang1-24/+30
Don't show extra search results link if there is only one page of results. Fix indenting and coding style. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-19Change: Switching "Legend" and number of results on search pageGergely Imreh1-3/+3
This is to present things in a bit more logical manner with the search results page navigation. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-19Add: page numbering of AUR search resultsGergely Imreh1-2/+14
On the search results page the number of pages is displayed and functions as a link, for faster navigation (not just the usual "Less/More" buttons. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-14Replace RSS icon with feed icon.Loui Chang3-1/+1
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-14Fix: FS#12698 - AUR does not ignore comment lines in PKGBUILD source field.Gergely Imreh1-6/+13
The web interface was handling comments in the PKGBUILD variable fields (such as 'source','depends',etc...) differently from makepkg, because makepkg ignores the rest of the current line if there is a # character, while the web interface parsed that as well, and listed the words of the comment as source files. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-08Fix stats functionality when APC is unavailable.Loui Chang1-3/+11
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-08Yet another Turkish translation fix.Samed Beyribey4-4/+7
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-08Cache all front page stats in APC if availableDan McGee2-20/+38
Use the APC cache to store all of the counts and the recently updated package list in a cache, which cuts down on the number of database queries needed. If the data isn't perfectly up to date we will survive. This version of the patch will also cache the relevant counts for individual logged-in users and is more careful about checking whether the value actually exists in the cache by using the status reference to apc_fetch(). Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-08Don't require source or md5sum arrays in PKGBUILDs.Loui Chang1-2/+3
Also fix a translation string. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-05Change font to a generic type.Loui Chang1-1/+1
This makes the site look better in Opera. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-05Change layout of search form.Loui Chang2-32/+21
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-05Move package comments to a template.Loui Chang2-58/+49
Change layout in the process. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-04Stop printing passwords in tupkgs output.Loui Chang1-1/+5
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-04Correct hashlib.md5 usage in tupkg and tupkgs.Loui Chang2-5/+5
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-04Minimize calls to uid_from_sid()Dan McGee2-9/+12
Just like the previous patch for account_from_sid() over-usage. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
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>