Commit graph

129 commits

Author SHA1 Message Date
Nathan Jones
3de0a2ade3 Rename 'Un-Vote' and 'Unflag' buttons.
This is to be consistent with 'UnNotify'.

Signed-off-by: Nathan Jones <nathanj@insightbb.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-19 22:18:09 -05:00
Loui Chang
3ec9ecc84e Remove remaining instances of do_Details
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-26 01:36:34 -05:00
Callan Barrett
ac8b080e43 Clean up packages.php and document new package functions
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-23 13:23:33 -05:00
Loui Chang
2ac75bd812 Move package notification into a function.
Also modify the way notification is done. Instead of toggling
notification, users can explicitly notify or unnotify.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-13 15:19:20 -05:00
Callan Barrett
132fd7cfc7 Convert package voting to a function
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-30 10:45:31 -04:00
Callan Barrett
5d4303d0b6 Convert package adoption/disowning to a function
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-27 20:40:37 -04:00
Callan Barrett
a447281d4f Convert package deletion to a function
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-16 22:27:45 -04:00
Callan Barrett
8f5882e68d Convert package flagging to a function
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-14 19:36:04 -04:00
Callan Barrett
df39cded09 Sort required by list in package details page.
This closes FS#11420.

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-09-28 13:17:09 -04:00
Andrea Scarpino
52fb8550a2 doesn't show disown package when already disowned
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-08-27 21:34:24 +08: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
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
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
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
ab023f4ccf Move search form to web/template/pkg_search_form.php
Nothing fancy here, just cut & paste

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-04-25 11:10:01 -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
Loui Chang
b1fe84d397 Fixed bug where search resets when browsing orphans
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23 03:04:17 -05:00
Callan Barrett
172dbf696b Fixed broken search results
Quick fix for my friggin crazy more and less link patch that was swapping the
search results order every click and not remembering how to sort, my bad

This could probably use improvement but it means the search actually works now

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23 03:04:16 -05:00
Callan Barrett
e7bb7a220d Turn more and less buttons into links
This is to (at least) fix the more and less buttons which weren't working
because of the drop down menu for actions

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-02-18 22:31:56 -06:00
eliott
aedf2ab6a3 Fix for 'More' and 'Less' paging breakage.
Fix for 'More' and 'Less' paging breakage.
Takes into account PerPage and Category retention.
2008-02-18 17:54: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
Callan Barrett
14ecbf5fd5 Add search result information
This adds search results numbers to the bottom of pages when searching based on
tardo's repository, ex. Showing results 1 - 42 of 42

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
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
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
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
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
eliott
f4bfe44876 Comments are listed in reverse order (latest first)
So it makes sense to have the "add comment" at the top..where it is already.
Removed duplicate "add comment" box.
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
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
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
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
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
tardo
ab3837ab3a Remove unnecessary locations from search criteria.
Currently, locations include none/current/extra/unstable. Since no package should be located in such an area, there's no point in including them in search criteria. The proper way to do this might be to delete the SQL table data relating to this, but this will suffice for now.

Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-10-11 08:58:20 -04:00
Paul Mattal
8aec7ba941 Move AddComment button to top of Comments table, from Sergej
This moves the AddComment button to the top of the Comments table. A previous
patch had placed it into the action bar, but this seems cleaner.
2007-10-03 08:14:03 -04:00
Paul Mattal
659cace81e Center the "Go back to search results" on the package detail page. 2007-09-28 22:15:47 -04:00
tardo
de365c6e0c Links to official packages now point back to AL site.
Previously if the package was not in community or unsupported, the link didn't point anywhere. Now it uses http://archlinux.org/packages/search/$pkgname. If there's a better way, someone needs to let me know. As far as I know, there's no sure way to link directly to a package without knowing the pkgid.

Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-09-27 09:10:33 -04:00
tardo
b4946839ea Messages run across colspan=3 now.
Using colspan=2 seemed to make the text wrap.

Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-09-27 08:59:27 -04:00
Loui Chang
d2134f7637 Merge commit 'origin/testing'
Yeah I actually want to work from testing.
Conflicts:

	web/lib/pkgfuncs.inc

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2007-09-27 00:06:56 -04:00
Loui Chang
c764f078f1 Made some things in config.inc.proto that should be constants constants
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2007-09-26 23:57:51 -04:00
tardo
b76faddb10 Merge branch 'testing' of git://git.mattal.com/aur into test
Fixed regressions.
2007-09-25 18:40:48 -04:00
eliott
aebdd21b58 More changes to page styles. 2007-09-24 07:57:35 -07:00
tardo
9cba3937d0 Cosmetic: Show flagged out of date on package page.
Add a simple warning under "Tarball :: Files :: PKGBUILD" if package is out of date.

Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-09-22 18:30:28 -04:00
tardo
adafc112f6 Add link to TU's homepage in "Flagged safe by". FS 4138.
Simple feature request. Not sure what purpose it serves.

Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-09-22 17:14:14 -04:00
tardo
61ddbc18e7 Reverse dependency lookup. FS 4556, 5269.
Ugly hack, could use beautification.
Also includes english translation addition.
If url sources are too long, page could ugly...

Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-09-22 17:09:26 -04:00
tardo
6a39da70fb Incomplete comment patch. FS 7968, 5128, 7383.
Properly parse comments from database.
Thanks to Thralas for input.

Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-09-22 17:01:40 -04:00
eliott
ac8291a5dc Changes to bring the main arch site theme to the aur. 2007-09-22 12:09:00 -07:00
pjmattal
452d6b1245 patch from eliott to convert all <? to <?php 2007-09-20 21:46:43 +00:00