Commit graph

1681 commits

Author SHA1 Message Date
Loui Chang
bbebc08104 Remove obsolete test scripts.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-08-19 15:46:03 -04:00
Loui Chang
1d416d6891 Add Turkish to SUPPORTED_LANGS in config.inc.proto.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-08-19 15:35:58 -04:00
Loui Chang
af1394f0c3 Add initial Turkish language files.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-08-19 15:34:04 -04:00
Callan Barrett
a4b4eaceae Add TODO list to AUR repo
Adds a list of stuff that needs doing in the AUR without any major
investigation

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-07-31 23:48:13 +08:00
Simo Leone
c85dfacc74 Include File/Find.php PEAR module
Since this module requires root to install
system-wide, and is somewhat rare, it's better
to just include it in the AUR code itself.

Signed-off-by: Simo Leone <simo@archlinux.org>
2008-07-28 10:27:38 -05:00
Loui Chang
2c6bae2e63 Convert special chars in translations to html entities.
This closes
FS#10809 - bug in french translation of AUR web interface

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-28 16:58:58 +08:00
Loui Chang
b81e3c2f68 Tweak index.php and update translations.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-28 16:57:56 +08:00
Loui Chang
85ce072f03 Don't add closing PHP tag to translation files.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-28 16:55:35 +08:00
Andrea Scarpino
bb2204f0fd Fixed Italian translation.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-22 14:21:10 -04:00
Loui Chang
6bae84f34a Change some of the index page notices.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-22 13:51:13 -04:00
Loui Chang
1a1a6eb36e Add a new DEFAULT_LANG constant.
DEFAULT_LANG will essentially be used to specify what language
strings are initially written in.

This will eliminate the need for English translation arrays in
AUR and make adding or changing the English strings a lot easier.

DEFAULT_LANG may be required for strings to display properly.

Also change the output when a translation isn't found.
Eliminate the <b> which can cause validation errors depending
on where the string is placed.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-22 13:47:17 -04:00
Loui Chang
1deb924674 Make JSON search return more information.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-16 18:16:04 -04:00
Callan Barrett
5528501497 Redirect on package submission
On a successful package submit there will be a redirect to the package details
page of the packages, no more successful message

Also got rid of the $warning stuff, what the hell was that for?

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-09 14:26:13 -04:00
Andrea Scarpino
2feee92a75 Remember user between sessions.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-08 14:06:16 -04:00
Loui Chang
36ee556103 Move code out of index.php
Move database queries to functions and html to templates.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-07 11:41:39 -04:00
Loui Chang
4372ddb914 Bump version to 1.5.2
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-07 10:52:46 -04:00
Loui Chang
1081d2e3c8 Fixed incorrect French translation of "Flag out-of-date"
This closes FS#10082.

Reported-by: Ben (TheRealNeo)
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-23 11:45:17 -04:00
Loui Chang
004aaa985e Fixed incorrect polish translation of "Go".
This closes FS#10078.

Reported-by: Jaroslaw Rosiek
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-23 11:45:05 -04:00
Loui Chang
3a42725601 Remove all vim mode lines. Add HACKING file.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-17 01:38:01 -04:00
Loui Chang
44dbb49ae9 Reorganise web/README.txt and elaborate on PEAR and File_Find.
Add PEAR path to web/html/.htaccess.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-16 21:20:14 -04:00
Callan Barrett
dc5b3d674e Clean up of pkgsubmit.php
Moved some stuff around, rewrote some stuff although the functionality is
exactly the same as before

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-15 22:46:23 +08:00
Callan Barrett
f5204ee18d Added steps to install PEAR module in readme
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-14 04:15:51 +08:00
Giovanni Scafora
f735ece7e1 Updated Italian translation
Signed-off-by: Giovanni Scafora <linuxmania@gmail.com>
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-12 17:39:01 +08:00
Callan Barrett
604156950c Make use of PEAR packages in pkgsubmit.php
Uses File_Find and Archive_Tar in pkgsubmit.php
Removes references to PackageContents

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-12 02:30:17 +08:00
Callan Barrett
4d29be001b Split html and php in index.php
No more prints, still all in same file

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-12 01:29:34 +08:00
Loui Chang
cceb66476e Add version, username and description to daily new package email.
Add some variables to make it more configurable.
Do some general clean up on the script.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-10 04:25:07 +08:00
Michael Klier
4cc9d9926d fixed indention + xhtml in search_accounts_form.php
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-09 20:04:59 +08:00
Callan Barrett
63d70dc84a Fix FS#8622
Previous fix for this was only half implemented, links now work with both
a new package and an updated one

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-09 19:51:25 +08:00
Callan Barrett
b2435996dd Fix FS#10016
Fix entry of URLPath and FSPath to be actual locations, fixes RPC results

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-09 19:49:07 +08:00
Callan Barrett
bbce51e419 Fix URL and wording of pkgedit.php email
Very small fix, added word button to end of body and got rid of do_Details
in the package URL.

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-08 23:47:50 +08:00
Cilyan Olowen
10c915c4ac Updated french translation and corrected some grammar mistakes.
Signed-off-by: Cilyan Olowen <gaknar@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-07 16:57:16 -04:00
Michael Klier
a410303e4c Remove obsolete inline CSS in index.php.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-07 14:46:55 -04:00
Loui Chang
7430933ffa Acknowledge Eric Johnson, translators, and alphabetise by last name.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-07 14:28:32 -04:00
Callan Barrett
f197dff507 Revert "Split html from front page"
This reverts commit 0cf3c5ea8b.
2008-06-08 01:58:07 +08:00
Callan Barrett
0cf3c5ea8b Split html from front page
html from the index page has been moved to a template file (front_page.php)
needs indentation really bad

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-08 01:15:40 +08:00
Michael Klier
a59229b617 xhtml validation fixes for login_form.php 2008-06-08 01:15:23 +08:00
Callan Barrett
9dad329b6a Unmark out-of-date on update
What it says in the title

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-07 18:30:38 +08:00
Callan Barrett
bf5029ad8a Don't show None on pacckage info page
Just cuts out the table of deps/sources if none exist instead of
displaying "None"

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-07 18:20:00 +08:00
Callan Barrett
4ac945a87e Support for uploading plain PKGBUILDs
Adds support for uploading plain PKGBUILDs to the AUR
Simply moves the PKGBUILD to a directory to be treated the same as if it were
in a tarball

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-07 17:52:07 +08:00
Callan Barrett
435e2c6c1a Fix logging in from package page
Patch by: BaSh <bash.lnx@gmail.com>

Adds query string to url when logging in

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-07 17:33:02 +08:00
eliott
cc1f323d32 Added AurJson query length limit.
Set a limit on the length of the query argument for searching.
A search of zero length returns a considerably sized result set.

Signed-off-by: eliott <eliott@cactuswax.net>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-05 21:21:21 -04:00
Callan Barrett
cad4689bc4 Don't reset category on update.
When updating a package and no category is selected the category will no
longer reset itself to "none", it will only update if something else is
chosen.

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-05 19:21:38 -04:00
Callan Barrett
800aca0eeb Rewrite pkg_search_form.php
Adds back sort by options and cleans up html and php everywhere

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-06 03:15:34 +08:00
Callan Barrett
8867ad0372 Fix CVS and package links
Patch by Andrea Scarpino <bash.lnx@gmail.com>

Fixes up the links to the archlinux.org package search and to the CVS viewer

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-06 02:46:40 +08:00
Michael Klier
ffccbd540f CSS cleanup
I've cleaned up the CSS a bit and it validates now. No changes
to the current layout/visual presentation itself have been
made, just fixed the whole indention and replaced some
redundant things.

Signed-off-by: Michael Klier <chi@chimeric.de>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-06-05 13:35:18 -05:00
Callan Barrett
94a8053210 Disable user package deletion
Users can no longer delete packages if they own them, only TUs and devs

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-06 02:10:59 +08:00
Callan Barrett
a49ee80aa2 Fix FS#8672
Patches can_submit_pkg(), this fixes the heaps of bugs people are having

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-05 12:30:48 -04:00
Loui Chang
2f7d52dc8c Update terminology in web/README.txt. Delete obsolete info.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-04-25 11:11:08 -05:00
Loui Chang
d3008d6175 Make AUTHORS file more interesting.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-04-25 11:11:00 -05:00
Loui Chang
83b4945fb4 Break start and end bits of pkg search form out of PHP
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-04-25 11:10:46 -05:00