Commit graph

2135 commits

Author SHA1 Message Date
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
Loui Chang
354c86b6c6 Move package comment form into a new template.
Feature the form on the package details page.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-25 13:17:54 -05:00
Samed Beyribey
f729eca80d Updated Turkish translation.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-25 11:56:05 -05:00
Dan McGee
9cf7f1a4a2 APC work follow-up
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-25 11:41:30 -05:00
Giovanni Scafora
d6a09ba1a5 Update Italian translation
Signed-off-by: Giovanni Scafora <giovanni@archlinux.org>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-25 11:40:09 -05:00
Loui Chang
8d31fb8a50 Indicate when there are more search result pages than numbered links show.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-24 13:10:16 -05:00
Loui Chang
54aca06d00 Validation fixes.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-24 01:31:04 -05:00
Loui Chang
bdd03d820e Remove obsolete padding images.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-24 01:23:35 -05:00
Loui Chang
b31b4ec03e Add package details template (pkg_details.php)
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-24 01:22:19 -05:00
Loui Chang
6bac561bf8 Rework login form.
Correct some xhtml validation errors.
Correct translation usage.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-24 00:40:30 -05:00
Loui Chang
ff3a29ea07 Move actions form into template.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-23 18:25:41 -05:00
Loui Chang
f82f3dd247 Fix a few xhtml validation errors.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-23 15:49:41 -05:00
Loui Chang
46da96ff04 Bring version footer in with the rest of the site body.
Add a bottom margin to pgbox blocks.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-23 15:05:46 -05:00
Loui Chang
03edceff50 Add Previous and Next links for search results.
Move things around at the bottom of the search results page.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-23 15:02:49 -05:00
Loui Chang
1e9147a352 Return CategoryID from the json interface.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-23 13:41:38 -05:00
Loui Chang
80a95443c5 Remove urlencode('K') in pkg_search_results.
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-23 10:38:13 -05:00
Loui Chang
5454347fe9 Make git ignore .htaccess, robots.txt and dummy-data.sql.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-23 02:47:04 -05:00
Loui Chang
1fbaee1a0e Bump version to 1.5.5.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-23 00:37:02 -05:00
Loui Chang
96ff5583f6 Tweak comment notify mail.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-23 00:27:59 -05:00
Loui Chang
22f19eeb66 Change comment style so long lines wrap.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-22 23:31:08 -05:00
Loui Chang
84cd2d0467 Fix translated comment messages.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-22 23:25:10 -05:00
Loui Chang
1bccb1ad7f Remove .htaccess file from source tree.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-22 20:04:52 -05:00
Loui Chang
345fbfe99f Only print links for up to five previous and next search results pages.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-22 19:46:48 -05:00
Loui Chang
60d63cc6b7 Add TRANSLATING guide.
Adapted from http://wiki.archlinux.org/index.php/AUR_Translation

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-19 16:38:29 -05:00
Loui Chang
ab22cafc64 Remove obsolete translation tools.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-19 16:36:26 -05:00
Loui Chang
c602e245bb Add new genpopo and translation_tool that work with new system.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-19 16:34:11 -05:00
Loui Chang
87828ae08b Remove obsolete translation files.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-19 16:31:04 -05:00
Loui Chang
2ee3276348 Use new conglomerated translation files.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-19 16:29:45 -05:00
Loui Chang
2194da8c9d Add new conglomerated translation files.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-19 16:27:17 -05:00
Loui Chang
384f1ba3c9 Remove Less and More links from search results page.
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-19 15:28:10 -05:00
Gergely Imreh
2383f7dc06 Change: Switching "Legend" and number of results on search page
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-19 14:41:20 -05:00
Gergely Imreh
0bdfe847e3 Add: page numbering of AUR search results
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-19 14:39:21 -05:00
Loui Chang
844de1f25b Replace RSS icon with feed icon.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-14 22:09:26 -05:00
Gergely Imreh
5b01327f57 Fix: FS#12698 - AUR does not ignore comment lines in PKGBUILD source field.
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-14 21:52:37 -05:00
Loui Chang
2da9b55d9f Fix stats functionality when APC is unavailable.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-08 13:08:58 -05:00
Samed Beyribey
649517ac1f Yet another Turkish translation fix.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-08 12:52:31 -05:00
Dan McGee
5d6f465170 Cache all front page stats in APC if available
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-08 11:48:58 -05:00
Loui Chang
92643bb827 Don't require source or md5sum arrays in PKGBUILDs.
Also fix a translation string.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-08 11:47:49 -05:00