Commit graph

892 commits

Author SHA1 Message Date
Loui Chang
448f7ef120 Remove Location from package search.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-08-24 07:34:05 -04:00
Dan McGee
46f2798524 Use include_once where applicable
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-11 13:58:12 -04:00
Dan McGee
4af079a5bd rpc: small optimizations
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-08-11 13:58:11 -04:00
Dan McGee
5c13854922 Remove Google ads from header
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-08-11 13:58:11 -04:00
Loui Chang
cebf4f006e Add Romanian to config.inc.proto and AUTHORS.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-08-02 17:39:04 -04:00
Loui Chang
5c8ce6de20 TRANSLATING: Add note about commit message.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-08-02 17:34:45 -04:00
Biru Ionut
75b0350b5d adding romanian translation
Signed-off-by: Biru Ionut <ionut@archlinux.ro>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-08-02 17:34:19 -04:00
Mod Gao
17c7d6ed88 Fixed and added string to web/lang/zh_CN.po
Signed-off-by: Mod Gao <mod.gao@gmail,com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-07-28 04:32:06 -04:00
Loui Chang
e7fc80cc2e pkg_details: Remove leftover code.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-07-19 23:26:16 -04:00
Loui Chang
57972532a7 Add voter list on packages for TUs and devs.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-07-19 23:20:36 -04:00
Sergej Pupykin
316f4b990c minor changes
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-07-10 08:38:54 -04:00
Mod_Gao
7182a9cc56 Updated AUR translation of zh_CN.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-07-10 08:36:36 -04:00
Loui Chang
bcc8650071 Fix translating guide.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-06-28 13:22:46 -04:00
Loui Chang
9f854efe86 Bump version to 1.5.6.4
I forgot to bump the version again!

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-06-25 00:12:50 -04:00
Loui Chang
610733eafd Remove excess whitespace.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-06-25 00:05:44 -04:00
Sergej Pupykin
928945bd51 minor translation
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-06-18 07:28:26 -04:00
Sergej Pupykin
ae3ee2472a submit button i18n
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-06-18 07:28:25 -04:00
Callan Barrett
d25c177229 Turn on package notification by default for new packages
Version using package functions

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-06-18 02:05:02 -04:00
Gergely Imreh
0427eebaa4 fix FS#13122 (again): removing comment removal as early as possible
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-18 01:54:44 -04:00
Sergej Pupykin
51c62f2dc1 russian translation mistype fix
Signed-off-by: Sergej Pupykin <sergej.pupykin@lx-ltd.ru>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-06-18 01:48:40 -04:00
Sergej Pupykin
3b5f224ace Advanced button i18n
Signed-off-by: Sergej Pupykin <sergej.pupykin@lx-ltd.ru>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-06-18 01:48:40 -04:00
Sergej Pupykin
6073433d6f russian update
Signed-off-by: Sergej Pupykin <sergej.pupykin@lx-ltd.ru>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-06-18 01:48:39 -04:00
Dan McGee
1ceeda8ab5 Specify explicit joins for package search
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-18 01:47:17 -04:00
Dan McGee
e2b3bd1c37 Add multicolumn indexes on votes and notifications tables
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-06-18 01:47:17 -04:00
Loui Chang
135d610957 Add Ukranian translation to default config.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-04-13 10:27:10 -04:00
Dan McGee
55da4d4e0d Don't hit the database twice per comment on package
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-13 10:07:46 -04:00
Loui Chang
f028d5c140 translator.inc: Eliminate notices for untranslated strings.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-04-13 09:55:04 -04:00
Loui Chang
4d697dc42b Move cn.po to zh_CN.po.
Update AUTHORS, and config.inc.proto

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-04-13 09:45:28 -04:00
Supern Lee
79bb473e25 Add more Chinese translations.
Signed-off-by: Supern Lee <supern.lee@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-04-12 23:07:02 -04:00
Supern Lee
8ac3ca74db Add Chinese translations.
Signed-off-by: Supern Lee <supern.lee@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-04-12 23:07:01 -04:00
Loui Chang
ec214fdb42 Remove author information from scripts.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-04-12 23:02:08 -04:00
Loui Chang
a9a4d31e14 Bump version to 1.5.6.2
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-04-06 11:53:33 -04:00
Loui Chang
a0400a678e Update AUTHORS - dp and dusty.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-04-06 11:24:09 -04:00
Loui Chang
74a75661d9 Tweak the bash parsing for package submission.
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-04-01 11:55:59 -04:00
Mark Taylor
ab1300d23a Fixed some errors/omissions in setup docs
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-03-12 14:01:34 -04:00
Loui Chang
d57b28ac7e Add LocationID to returned fields in json interface.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-03-03 22:28:48 -05:00
Loui Chang
9c98047f86 Fix search output if no results are found.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-03-03 13:22:53 -05:00
Loui Chang
2f8b8aac73 Redirect to REQUEST_URI after logging in.
This closes FS#13017

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-03-03 13:06:37 -05:00
Loui Chang
3c1b84bc7e Go to details page when a search returns one result.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-03-03 12:55:14 -05:00
Loui Chang
5e5c95c6a8 Remove obsolete LAUNCH.txt
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-03-03 12:15:41 -05:00
Loui Chang
c949296a08 pkgfuncs.inc: Fix indentation.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-03-03 12:11:49 -05:00
Loui Chang
bbc05414cf Update cleanup script to remove non-unsupported files.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-03-03 11:21:08 -05:00
Loui Chang
701186ad05 Fix user stats table links.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-03-02 13:38:54 -05:00
Andrea Scarpino
b1f83e8f58 added links at My Statistic values
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-03-02 13:25:22 -05:00
Loui Chang
402c6d0933 Fix the comment poop bug.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-02-20 20:59:07 -05:00
Loui Chang
a669db5c7a tupkgs: Print date and time when a client connects.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-02-20 11:23:05 -05:00
Loui Chang
24c9955b3c Revamp markup and styles for comments.
Make post date consistent with other dates.
Look Ma, no tables!

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-02-18 23:01:25 -05:00
Loui Chang
a054382476 Remove unused CSS styles.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-02-18 17:29:17 -05:00
Loui Chang
75758801d8 XHTML Validation fixes.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-02-18 09:42:39 -05:00
Andrea Scarpino
84f08cf82b Add 'Out of Date' detail in search form
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-02-18 09:31:20 -05:00