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>
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>
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>
Moved some stuff around, rewrote some stuff although the functionality is
exactly the same as before
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>