Commit graph

972 commits

Author SHA1 Message Date
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
Loui Chang
710ff234fb Add more HACKING guidelines.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-02-18 09:29:46 -05:00
Gergely Imreh
f3a29356c5 Correct comment removal in pkgsubmit.php
This only neutralises bash parameter substitution, but doesn't perform
the proper replacement.

Closes FS#13122.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-02-16 11:56:23 -05:00
Gergely Imreh
efc1713787 Fix: FS#13189, infinite variable replacement cycle
Lines such as foo=$foo in the PKGBUILD would end up in a
infinite replacement cycle when uploaded, thus the upload
times out. In these kind of lines, $foo is replaced not by
"$foo" again, but deleted (missing value for foo).

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-02-15 15:12:28 -05:00
Dan McGee
0caa949e41 rpc: delay getting DB connection until absolutely necessary
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-02-15 14:30:35 -05:00
Loui Chang
6afc46cb4a Add Angel Velasquez to AUTHORS.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-02-13 15:33:31 -05:00
Loui Chang
e83e593ac4 Change layout of tu_details.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-02-13 15:31:05 -05:00
Angel 'angvp' Velasquez
df75621d23 List TUs that voted on a proposal.
This patch lists who voted on a proposal after the proposal is closed.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-02-13 15:27:05 -05:00
Loui Chang
8a54ae0a8c Add notes about php tags in HACKING.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-02-13 14:56:15 -05:00
Loui Chang
fec2720a77 Fix Sources listing in package details.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-02-13 14:33:14 -05:00
Loui Chang
31ce2fc277 xhtml validation fix. 2009-02-09 00:14:51 -05:00
Loui Chang
8d16f647f9 Clean up some markup and styles in page navigation.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-02-06 18:24:04 -05:00
Callan Barrett
5702137e67 Change pagination style
Looks different now, next and previous on their own sides and elips for both

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-02-03 17:04:21 -05:00
Loui Chang
9afe1eee46 Bump version to 1.5.6
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-02-01 19:52:26 -05:00
Giovanni Scafora
b1739c9fab Update Italian translation and some improvements
Signed-off-by: Giovanni Scafora <giovanni@archlinux.org>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-29 10:45:00 -05:00
Loui Chang
bc47de8984 Add some more requirements to HACKING.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-29 10:20:49 -05:00
Loui Chang
8137572ad3 Add support for filename::url syntax for sources.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-28 04:03:09 -05:00
Loui Chang
17165b20e0 Update AUTHORS.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-28 03:28:08 -05:00
Gergely Imreh
2568851eac FS#2649, FS#12645: subsititution of all variables and "eval"
All custom variables are handled during subsitution, as well as
bash "eval" statements.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-28 03:26:23 -05:00
Loui Chang
24865f2a4d Add note about short open tags in web/README.
Since .htaccess was removed some people might have issues.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-25 14:37:18 -05:00
Loui Chang
5b4e63c57f Remove huge margins from main content.
This helps improve the use of space.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-25 13:25:23 -05:00