summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-09-28Change rss2.php references to rss.phpLoui Chang3-3/+3
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-09-28renamed rss2 -> rsselij1-0/+0
changed file name, as the 2 is relatively meaningless. I think at one time it qualified it as a rss2.0 feed, but the distinction is valueless at this point, since the generated xml itself declares the rss version. make sure to set an apache rewrite rule for any production systems that require it. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-09-28cleanup rss2.phpelij2-21/+12
- removed excessive string catenation, replaced with variable substitution - consolidated http/https protocol checks - simplified host header parse (centralized) - moved cache file to /tmp, to remove need to custom permission directory in webdir Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-09-28user_doc is more or less reflected in the README/wikielij1-160/+0
Kind of pointless to keep it around. Especially in here. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-09-28renamed file to fit conventionelij1-0/+0
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-09-28Add maintainer search to json interface. Closes FS#15947elij1-9/+37
Fix for maintainer search ticket: FS#15947 Also http://mailman.archlinux.org/pipermail/aur-dev/2009-September/000892.html Fixed some problems with selecting the proper data fields in the original patch. - Loui Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-09-28fix content-type when sending jsonpelij1-4/+8
jsonp callback should have a content type of text/javascipt, since it specifies a callback function wrapping json data, and is not soley json data. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-09-28removed tupkg. community management moved to main repos.elij11-2526/+0
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-09-22web/README: Update documentation.Loui Chang1-10/+15
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-09-22Fix Ukranian translation file.Loui Chang1-0/+1
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-09-18Update Ukranian translation.Danylo Korostil2-89/+90
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-09-16Fix: FS#15526 non-UTF8 character in rpc outputGergely Imreh1-0/+9
Currently AUR does not check the uploaded packages, whether they are correctly in UTF8 encoding. If there are fields (such as $pkgdesc) that contain such non-UTF8 characters, the rpc interface chokes on those fields: even if there's data successfully retrieved from the database, rpc returns "null". In an effort to make such errors in the PKGBUILDs debugged more easily, let's force rpc to have more useful output: try to convert non-UTF8 fields to UTF8. If it's a success, good. Partial success (some characters showing as \uXXXX) is ok. Failure results in error message printed to that field. Signed-off-by: Gergely Imreh <imrehg@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-09-14aurjson: Use call_user_func to call functions.Loui Chang1-1/+1
call_user_func_array is unnecessary. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-09-10Add Gergely Imreh to list of translators.Loui Chang1-0/+1
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-09-08Hungarian translation: update accents and translationGergely Imreh1-195/+187
Signed-off-by: Gergely Imreh <imrehg@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-08-27Initial Hungarian TranslationLaszlo Papp3-0/+419
Signed-off-by: Laszlo Papp <djszapi2@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-08-27TRANSLATING: Instruct translators to edit config.inc.proto and AUTHORS.Loui Chang1-3/+6
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-08-26remove communitySergej Pupykin15-60/+5
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-08-24Remove Location from package search.Loui Chang1-17/+0
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-08-11Use include_once where applicableDan McGee11-23/+23
All of these are sourcing function libraries so we don't need to include them more than once. Things that insert actual HTML into the output were left calling include(). Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-08-11rpc: small optimizationsDan McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-08-11Remove Google ads from headerDan McGee1-14/+0
Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-08-02Add Romanian to config.inc.proto and AUTHORS.Loui Chang2-0/+5
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-08-02TRANSLATING: Add note about commit message.Loui Chang1-7/+10
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-08-02adding romanian translationBiru Ionut1-0/+413
Signed-off-by: Biru Ionut <ionut@archlinux.ro> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-07-28Fixed and added string to web/lang/zh_CN.poMod Gao1-29/+95
Signed-off-by: Mod Gao <mod.gao@gmail,com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-07-20pkg_details: Remove leftover code.Loui Chang1-4/+0
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-07-20Add voter list on packages for TUs and devs.Loui Chang2-2/+53
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-07-10minor changesSergej Pupykin1-4/+5
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-07-10Updated AUR translation of zh_CN.Mod_Gao1-89/+240
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-06-28Fix translating guide.Loui Chang1-1/+2
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-06-25Bump version to 1.5.6.41.5.6.4Loui Chang1-1/+1
I forgot to bump the version again! Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-06-25Remove excess whitespace.1.5.6.3Loui Chang8-15/+14
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-06-18minor translationSergej Pupykin1-5/+6
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-06-18submit button i18nSergej Pupykin1-1/+1
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-06-18Turn on package notification by default for new packagesCallan Barrett1-0/+3
Version using package functions Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-06-18fix FS#13122 (again): removing comment removal as early as possibleGergely Imreh1-3/+3
comments need to be removed before concatenating lines, otherwise not matched brackets can cause problems on submit Signed-off-by: Gergely Imreh <imrehg@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-06-18russian translation mistype fixSergej Pupykin1-1/+1
Signed-off-by: Sergej Pupykin <sergej.pupykin@lx-ltd.ru> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-06-18Advanced button i18nSergej Pupykin1-1/+1
Signed-off-by: Sergej Pupykin <sergej.pupykin@lx-ltd.ru> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-06-18russian updateSergej Pupykin1-4/+39
Signed-off-by: Sergej Pupykin <sergej.pupykin@lx-ltd.ru> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-06-18Specify explicit joins for package searchDan McGee1-6/+6
Refactor the query to use explicit LEFT JOINs, which appears to be handled by MySQL in a saner fashion than the previous implicit join syntax. This is part two in a slight fixup for observed slow queries in the production environment. With the new indexes and this fixup, a particular iteration of this query will examine only 13346 rows instead of 272060. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-06-18Add multicolumn indexes on votes and notifications tablesDan McGee1-1/+2
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 <dan@archlinux.org> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-04-13Add Ukranian translation to default config.Loui Chang1-0/+1
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-04-13Don't hit the database twice per comment on packageDan McGee3-6/+19
It's performance improvement day today. For non-superusers, we were hitting the database twice per comment on a package- once to get the UID, and once to check the owner of the comment. The best part is we already knew the owner of the comment, and we only need to get our own UID once. For viewing a package like yaourt, this cuts a single pageview from over 700 queries to around 18, which is still not great but a pretty big improvement. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-04-13translator.inc: Eliminate notices for untranslated strings.Loui Chang1-8/+9
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-04-13Move cn.po to zh_CN.po.Loui Chang3-1/+6
Update AUTHORS, and config.inc.proto Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-04-13Add more Chinese translations.Supern Lee1-0/+110
Signed-off-by: Supern Lee <supern.lee@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-04-13Add Chinese translations.Supern Lee1-0/+154
Signed-off-by: Supern Lee <supern.lee@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-04-13Remove author information from scripts.Loui Chang2-5/+0
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-04-06Bump version to 1.5.6.21.5.6.2Loui Chang1-1/+1
Signed-off-by: Loui Chang <louipc.ist@gmail.com>