Commit graph

255 commits

Author SHA1 Message Date
PyroPeter
a4458e75bd Fix the search-button to allow captions wider than 80px (e.g. in german translation)
Change width to min-width. - Loui

Signed-off-by: PyroPeter <abi1789@googlemail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-08-11 20:00:31 -04:00
Loui Chang
137e7a1ad3 header.php: Add missing closing </li> tag.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-08-01 10:03:06 -04:00
Denis Kobozev
b22f66b3ee Header and navbar consistent with Arch site redesign
-- Loui Chang
Change is_tu to check_user_privileges
Change div#archdev-navbar style

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-07-23 05:40:15 -04:00
Lukas Fleischer
b5bc6ab742 Confirmation when deleting packages
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-07-01 21:19:18 -04:00
Loui Chang
91cf61fba5 Remove mystery code.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-06-05 02:07:23 -04:00
Lukas Fleischer
b18fb08ddc Add sorting by "Voted" and "Notify" fields
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-06-04 18:22:22 -04:00
Loui Chang
5b8b0757f4 pkg_comments: Only display 10 comments by default.
Add a mechanism to view all comments.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-04-15 16:52:55 -04:00
Andrea Scarpino
24599ab6e3 add search only by name
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-04-15 15:26:20 -04:00
Loui Chang
f5c1851bbb header.php: Remove lingering </li> tag.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-12-07 18:44:22 -05:00
Loui Chang
2f0a1911be Change legend style and default font size.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-11-24 13:14:03 -05:00
Loui Chang
1bc4836e19 Restyle the layout.
Make HTML markup more logical.
Remove some unused style sheets rules.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-11-23 23:24:56 -05:00
Loui Chang
cdd2e5dbd4 tu: Bring Trusted User interface in line with the rest of the site.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-11-23 14:14:23 -05:00
Loui Chang
e936dc9770 login_form: Change 'Forgot Password' to translatable string.
Also change layout and styling.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-11-23 08:00:33 -05:00
Evangelos Foutras
861cbf4935 Implement 'Password Reset' facility (FS#3061)
This works by adding a new field to the 'Users' table called 'ResetKey',
which is a 32 characters long, random string. When the user requests a
password reset, a new 'reset key' is generated and sent to the user's
e-mail address in the form of a link in the following format:

  http://aur.archlinux.org/passreset.php?resetkey=<reset key>

When the above link is followed, the user is presented with a form to
verify his/her e-mail address and specify the new desired password. If
the e-mail address matches the reset key in the database, the new
password is assigned to the account. If there is an error, a relevant
message is displayed and the user is prompted to re-enter the required
information. Upon successful completion of this procedure, the ResetKey
field in the database is blanked and the specific key cannot be reused.

One SQL query is needed to add the ResetKey field to the 'Users' table:

  ALTER TABLE `Users` ADD `ResetKey` CHAR(32) NOT NULL DEFAULT '';

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-11-13 16:49:55 -05:00
Loui Chang
d29a7a5a67 pkg_search_results: Translate special characters to html entities.
Reported-by: Cedric Staniewski <cedric@gmx.ca>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-10-26 12:54:31 -04:00
Loui Chang
075ca25f02 pkg_details: Translate special characters to html entities in package description.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-10-26 12:50:13 -04:00
Loui Chang
cf49644f4e Change rss2.php references to rss.php
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-09-28 16:23:35 -04:00
Sergej Pupykin
3fd08d5715 remove community
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-08-26 00:14:32 -04:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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