Commit graph

266 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Loui Chang
f61a345d8d Fix FS 10008 and update rss2.php
The newline was the actual problem. Freaking PHP.

rss2.php:
- check for protocol once total rather than twice per loop iteration
- lower cache time to 30 min

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-04-03 19:58:44 -05:00
Callan Barrett
04dae8d94f Remove references to AURMaintainerUID
This (should) get rid of anything to do with the unused column AURMaintainerUID
in the scripts and schema files

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-27 02:34:35 -05:00
Simo Leone
99e65b28d8 Revamped pkg_search_page()
- Reduced database hits
- Improved speed
- Improved sanity (slightly)
- Fixed searches,buttons,gizmos

Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23 03:07:22 -05:00
Callan Barrett
e0582fd0e2 Fix weird title setting on search page
This is to fix FS#9610, pretty simple patch

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23 03:04:16 -05:00
Loui Chang
a5a8895f49 Put login into its own function.
Utilise login form template.
Also cleaned up a couple notices.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23 03:04:16 -05:00
Simo Leone
9a4ca4e62c Changed to non-fancy logo
Our other pages also use the "non-fancy" version
of the logo.

Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23 03:04:16 -05:00
eliott
249d92f5aa Cleaned up the front page.
Cleaned up the front page.

Removed the blank box on the right of the front page, that was leftover from
the change to the login form (move).
2008-02-18 17:55:54 -06:00
Simo Leone
7bad8a8357 Removed QBUG and DBUG
It was broken and hardly used. It's just as easy
to add short print statements or logging if
some debugging output is needed.

Signed-off-by: Simo Leone <simo@archlinux.org>
2008-01-23 02:51:33 -06:00
Simo Leone
2bcd8ff1db Fix package detail action buttons
Drop-down boxes broke them, now they work again.
Yippee!

Signed-off-by: Simo Leone <simo@archlinux.org>
2008-01-21 16:23:28 -06:00
Callan Barrett
d14def92ff Turn action bar into drop box
Moves the action bar down to the bottom right of the search results and turns it
into a drop-down selection box.

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-01-20 03:18:16 -06:00
eliott
aa2517ebfc some more tweaks to make it look less like I worked on it. 2008-01-20 00:21:21 -06:00
eliott
6edbef61c1 Hacky attempt to fix lang and navigation bars 2008-01-20 00:21:21 -06:00
Callan Barrett
8ab823728c More cleanup, add TU link to header
Cleans up links on front page, adds a TU link to the header to the voting
application, fixes some titles and styling for logged in text

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-01-20 00:21:21 -06:00
Callan Barrett
2f56688b56 Prefill category upon upload error and fix bug in last patch
When a package upload fails the category value will be prefilled, fixes a bug
in the previous patch where the pkgbuild would not extract properly and splits
the html from php in the form so there are no more prints to output it

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-01-20 00:21:21 -06:00
Thayer Williams
11f7c682db Fixed a couple typos in arch.css
Signed-off-by: Thayer Williams <thayerw@gmail.com>
2008-01-20 00:21:21 -06:00
Thayer Williams
d4faaaf319 Template update for new Arch logo
Signed-off-by: Thayer Williams <thayerw@gmail.com>
2008-01-20 00:21:20 -06:00
eliott
6683f3ceeb poop 2008-01-20 00:21:20 -06:00
Dan McGee
0eb2997a82 Allow pkgsubmit to accept any tar* file
Instead of restricting to gz and bz2, allow just plain tar and any other
format tar can understand to be uploaded. I make the mistake all the time of
forgetting to pass -z to tar when making something to upload, and there is
no real reason to exclude plain tar files.

Signed-off-by: Dan McGee <dan@archlinux.org>
2008-01-20 00:21:20 -06:00
Callan Barrett
379e16eebd Support for verbose page titles
Verbose page titles again

Adds support for more verbose page titles based on current
page and action by user and removes sort by options from
search form as they're obsolete by column links.

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-01-20 00:21:20 -06:00
Callan Barrett
d4b07f2b33 Tweaks of various page layouts and handling of data
This is a patch that fixes a lot of little things:
* We no longer have pkgsearch or pkgdetails link functions and all
references to them are gone, that's what a back button is for and if
we really need it we can come up with something better
* No longer have do_Details variable, this means links on the package
search are simply ?ID=foo
* On the pkgdetails pages when there are either no deps, deps by,
sources or comments for a package the list for each will display
"None" instead of nothing at all (ruining the layout)
* Fixed a bug where if a package had no sources or no deps
pkgsubmit.php would submit an empty one
* Translation of the word "Search'" has been changed to "Search"

Most of these relate to each other.

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-01-20 00:21:20 -06:00
Callan Barrett
dbbf50ac90 Removes need for name, overwrite and comment fields from pkgsubmit.php
This removes the name, overwrite and comment options from pkgsubmit.php
by moving when the tarball is extracted (and where) and when the pkgbuild
is parsed so pkgname is taken from the pkgbuild instead of user input

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-01-20 00:21:20 -06:00
Callan Barrett
ce225727f6 Bug in uploading PKGBUILDs and aur schema
This fixes a bug where TUs and devs couldn't upload packages because
the query would have an extra column in it to mark the pkgbuild safe
automatically, guessing it got missed when the safe flags were
removed. Also fixes a screw up I made with the schema file when I
added the tables for the voting app.

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-01-20 00:21:19 -06:00
Callan Barrett
8c94552042 Add notify column in search results and notify button
Adds a column to search results showing if a package has comment
notification enabled and adds support for toggling notify for
multiple packages from search

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-01-20 00:21:19 -06:00
Callan Barrett
0e4b25211b Removes timeout page and moves login form to header
This removes the need for a timeout page (and probably hacker.php) and
moves the login form and status to the header. If your login times out
you won't lose your place anymore and links will always work. Works
for me but at the moment index_po.php is imported in aur.inc which has
to stay until the translations from it for login are moved to
aur_po.php.

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-01-20 00:21:19 -06:00
Callan Barrett
9a83e56b69 Adds support for TUs and devs to disown packages they do not own
This is to add support for either devs or TUs to disown packages
whether they own them or not. I know of countless times where I or
another TU have been asked to orphan packages for someone and end up
having to adopt the package first and then disown it, this gets really
tedious for more than one package. As far as I can tell there's no
other way to disown packages you don't own and if there is at least
this is a more obvious way, pretty sure I didn't leave anything out in
the patch.

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-01-20 00:21:19 -06:00
Callan Barrett
5f4afcc8cb Add support for variable length votes in voting application
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-01-20 00:21:19 -06:00
Callan Barrett
a8e574ef28 AUR Voting Application
Added support for TU voting through AUR

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-01-20 00:21:19 -06:00
eliott
d245f691ee Fixes to disclaimer text. 2008-01-20 00:21:18 -06:00
eliott
a9837329d6 Hand diff of simo's patch to remove flag safe functionality.
Simo's original commit text:
 The idea of safe flagging is unclear, poorly named, misunderstood,
 and not even used. At the time this patch was created, less than
 a third of the packages in unsupported were flagged safe, and less
 than a tenth of users knew how to interpret it.

 The safe flag has been replaced by a disclaimer on the main page.
2008-01-20 00:21:18 -06:00
Paul Mattal
ba51e17482 Updated favicon.ico to match the main site. 2008-01-19 23:49:35 -06:00
eliott
b23b51fbbd Removed beta.html
Seems old.
2008-01-19 23:49:35 -06:00
eliott
36dd7736c9 Moved usage documentation out of the class.
Fixed an issue in the handle class.
2008-01-19 23:49:35 -06:00
eliott
5e38e3d3d0 Added AurJSON code.
Added a JSON interface to the aur. This should make it easier for developers to integrate
command line utilities and poll against the AUR itself.
2008-01-19 23:49:35 -06:00
Paul Mattal
9274f54287 Revert "Move "Add Comment" button to Actions bar."
This reverts commit 9b4472ef2fb91e91539def70f905cfe1ec6a8a3a.
We have decided to put the button by itself on the bottom, so
it does not get lost. This might be reconsidered in later UI
revamping.
2008-01-19 23:49:35 -06:00
Loui Chang
b2816c13cf Make sure short_open_tag = Off via .htaccess
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-01-19 23:49:30 -06:00
Loui Chang
da9d2b9e0d Make "Out of Date" pkgs more NOTICABLE.
Includes a translation change. Why oh why would one conceive to put
HTML markup into the translation?

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-01-19 23:49:10 -06:00
Loui Chang
a21b8c1209 Opera doesn't give the buttons any padding. Let's giver some.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-01-19 23:48:54 -06:00
tardo
d06163269b Move "Add Comment" button to Actions bar.
The lonely button now gains some friends.

Signed-off-by: tardo <tardo@nagi-fanboi.net>
2008-01-19 23:48:30 -06:00
Simo Leone
016e8796c3 Update tur-users -> aur-general
Fix broken links after mailing list rename.

Signed-off-by: Simo Leone <simo@archlinux.org>
2007-12-02 16:10:59 -06:00
Paul Mattal
593b69a98d Revert "Move "Add Comment" button to Actions bar."
This reverts commit 9b4472ef2fb91e91539def70f905cfe1ec6a8a3a.
We have decided to put the button by itself on the bottom, so
it does not get lost. This might be reconsidered in later UI
revamping.
2007-10-11 09:28:00 -04:00
tardo
783895de73 Move "Add Comment" button to Actions bar.
The lonely button now gains some friends.

Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-10-11 09:25:51 -04:00