summaryrefslogtreecommitdiffstats
path: root/web/lib/pkgfuncs.inc
AgeCommit message (Collapse)AuthorFilesLines
2008-06-17Remove all vim mode lines. Add HACKING file.Loui Chang1-1/+0
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-07Don't show None on pacckage info pageCallan Barrett1-36/+45
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-05Fix CVS and package linksCallan Barrett1-4/+4
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-05Disable user package deletionCallan Barrett1-3/+4
Users can no longer delete packages if they own them, only TUs and devs Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-04-25Move search form to web/template/pkg_search_form.phpLoui Chang1-118/+1
Nothing fancy here, just cut & paste Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-27Remove references to AURMaintainerUIDCallan Barrett1-1/+1
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-23Revamped pkg_search_page()Simo Leone1-542/+492
- Reduced database hits - Improved speed - Improved sanity (slightly) - Fixed searches,buttons,gizmos Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23Fixed bug where search resets when browsing orphansLoui Chang1-2/+7
Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23Fixed broken search resultsCallan Barrett1-3/+11
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-02-19Turn more and less buttons into linksCallan Barrett1-16/+12
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-19Fix for 'More' and 'Less' paging breakage.eliott1-5/+2
Fix for 'More' and 'Less' paging breakage. Takes into account PerPage and Category retention.
2008-01-20Turn action bar into drop boxCallan Barrett1-46/+21
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-20Add search result informationCallan Barrett1-30/+36
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-20More cleanup, add TU link to headerCallan Barrett1-4/+4
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-20Support for verbose page titlesCallan Barrett1-53/+18
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-20Tweaks of various page layouts and handling of dataCallan Barrett1-187/+156
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-20Add notify column in search results and notify buttonCallan Barrett1-5/+36
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-20Adds support for TUs and devs to disown packages they do not ownCallan Barrett1-1/+3
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-20Comments are listed in reverse order (latest first)eliott1-9/+0
So it makes sense to have the "add comment" at the top..where it is already. Removed duplicate "add comment" box.
2008-01-20Hand diff of simo's patch to remove flag safe functionality.eliott1-82/+1
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-20Revert "Move "Add Comment" button to Actions bar."Paul Mattal1-9/+12
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-20Make "Out of Date" pkgs more NOTICABLE.Loui Chang1-2/+2
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-20Move "Add Comment" button to Actions bar.tardo1-12/+9
The lonely button now gains some friends. Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-10-11Revert "Move "Add Comment" button to Actions bar."Paul Mattal1-9/+12
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-11Move "Add Comment" button to Actions bar.tardo1-3/+9
The lonely button now gains some friends. Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-10-11Remove unnecessary locations from search criteria.tardo1-1/+1
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-03Move AddComment button to top of Comments table, from SergejPaul Mattal1-9/+9
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-09-29Center the "Go back to search results" on the package detail page.Paul Mattal1-0/+2
2007-09-27Links to official packages now point back to AL site.tardo1-2/+2
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-27Messages run across colspan=3 now.tardo1-1/+1
Using colspan=2 seemed to make the text wrap. Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-09-27Merge commit 'origin/testing'Loui Chang1-205/+198
Yeah I actually want to work from testing. Conflicts: web/lib/pkgfuncs.inc Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2007-09-27Made some things in config.inc.proto that should be constants constantsLoui Chang1-2/+1
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2007-09-26Merge branch 'testing' of git://git.mattal.com/aur into testtardo1-217/+161
Fixed regressions.
2007-09-24More changes to page styles.eliott1-9/+9
2007-09-23Cosmetic: Show flagged out of date on package page.tardo1-0/+4
Add a simple warning under "Tarball :: Files :: PKGBUILD" if package is out of date. Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-09-22Add link to TU's homepage in "Flagged safe by". FS 4138.tardo1-1/+1
Simple feature request. Not sure what purpose it serves. Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-09-22Reverse dependency lookup. FS 4556, 5269.tardo1-0/+45
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-22Incomplete comment patch. FS 7968, 5128, 7383.tardo1-1/+1
Properly parse comments from database. Thanks to Thralas for input. Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-09-22Changes to bring the main arch site theme to the aur.eliott1-208/+152
2007-09-20patch from eliott to convert all <? to <?phppjmattal1-1/+1
2007-09-20- Applied a patch from Loui to fix session removal.swiergot1-13/+13
- Replaced all occurences of mysql_escape_string() with mysql_real_escape_string().
2007-02-27Changed the default order of comments to DESCdsa1-1/+1
instead of ASC because sometimes we have to scroll a lot to reach the latest comment.
2007-02-22Show only currently maintained packages as mine.swiergot1-2/+2
2007-02-22Don't include community packages when showing unsafe.swiergot1-2/+2
2007-01-22Removed the My Packages button and moved the buttons to a new line.dsa1-7/+10
2007-01-19Solved #6191dsa1-2/+4
2006-10-13Solved the #3939 bug and it will require a change in the PackageDepends ↵dsa1-3/+6
table to add a DepCondition field with the type varchar(20).
2006-09-14License field translation fix + Portuguese update (both by dsa) + Polish update.swiergot1-1/+1
2006-08-22Made "License" label translatable + Polish translation.swiergot1-1/+1
2006-08-22Applied license patch from dsa (closes #4085).swiergot1-0/+10