summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2009-04-06Update AUTHORS - dp and dusty.Loui Chang1-4/+5
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-04-01Tweak the bash parsing for package submission.Loui Chang1-10/+17
Better detection of the build function. Better detection of variables. Support for variables with underscores. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-03-12Fixed some errors/omissions in setup docsMark Taylor1-4/+8
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-03-04Add LocationID to returned fields in json interface.Loui Chang1-1/+1
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-03-03Fix search output if no results are found.Loui Chang2-5/+4
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-03-03Redirect to REQUEST_URI after logging in.Loui Chang1-2/+3
This closes FS#13017 Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-03-03Go to details page when a search returns one result.Loui Chang1-3/+9
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-03-03Remove obsolete LAUNCH.txtLoui Chang1-16/+0
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-03-03pkgfuncs.inc: Fix indentation.Loui Chang1-140/+146
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-03-03Update cleanup script to remove non-unsupported files.Loui Chang2-1/+16
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-03-02Fix user stats table links.Loui Chang1-6/+14
Signed-off-by: Loui Chang <louipc.ist@gmail.com>