summaryrefslogtreecommitdiffstats
path: root/web
AgeCommit message (Collapse)AuthorFilesLines
2008-03-23Version bump to 1.5.1Simo Leone1-1/+1
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23Revamped pkg_search_page()Simo Leone3-546/+494
- Reduced database hits - Improved speed - Improved sanity (slightly) - Fixed searches,buttons,gizmos Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23Updated Polish translationMateusz Herych10-7/+51
Signed-off-by: Mateusz Herych <heniekk@gmail.com>
2008-03-23Small fix to Italian translationGiovanni Scafora1-1/+1
Signed-off-by: Giovanni Scafora <linuxmania@gmail.com>
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-23Make all references to AUR database consistentLoui Chang2-5/+5
Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23Fix weird title setting on search pageCallan Barrett1-1/+1
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-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-03-23One more json fixLoui Chang1-1/+1
2008-03-23Changed valid_passwd() to check for non-empty password instead of good_passwd()Loui Chang1-1/+1
Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23Put login into its own function.Loui Chang5-114/+33
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-23Fixed a couple more lingering JSON bugsLoui Chang1-1/+1
Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23Changed to non-fancy logoSimo Leone1-0/+0
Our other pages also use the "non-fancy" version of the logo. Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23Fixed operator precendence in aurjsonSimo Leone1-1/+1
My bad Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23Make JSON interface workSimo Leone1-5/+10
Now makes sure json php module is loaded, also fixed a few coding errors and made the search behave like the search on the web interface. Signed-off-by: Simo Leone <simo@archlinux.org>
2008-02-20Added missing message to Italian translationGiovanni Scafora1-0/+2
Signed-off-by: Giovanni Scafora <linuxmania@gmail.com> Signed-off-by: Simo Leone <simo@archlinux.org>
2008-02-19Another small fix for Italian translationGiovanni Scafora1-1/+1
Signed-off-by: Giovanni Scafora <linuxmania@gmail.com>
2008-02-19Updated German translationMatthias Gorissen1-1/+3
2008-02-19Updated French translationCilyan Olowen2-1/+9
2008-02-19More small updates to Italian translationGiovanni Scafora3-2/+4
Signed-off-by: Giovanni Scafora <linuxmania@gmail.com>
2008-02-18Turn 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-18Bump version to 1.5.0Simo Leone2-2/+2
Yes. Signed-off-by: Simo Leone <simo@archlinux.org>
2008-02-18Updated de translationGerhard Brauer2-0/+10
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-02-18Updated Italian translationGiovanni Scafora6-2/+40
Signed-off-by: Giovanni Scafora <linuxmania@gmail.com> Signed-off-by: Simo Leone <simo@archlinux.org>
2008-02-18Cleaned up the front page.eliott1-9/+4
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-18Fix for information leak in login logic.eliott2-8/+5
Fix for information leak in login logic. No point telling people they have a valid username when the pass is wrong, etc.
2008-02-18Fix 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-23Removed QBUG and DBUGSimo Leone5-50/+0
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-21Fix package detail action buttonsSimo Leone1-8/+8
Drop-down boxes broke them, now they work again. Yippee! Signed-off-by: Simo Leone <simo@archlinux.org>
2008-01-20Turn action bar into drop boxCallan Barrett4-62/+35
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-20Fix login error and translation bugCallan Barrett3-4/+4
Fixes a login error where entering nothing would result in the login message "Incorrect password for username, ." and changes the translation "TU" to "Trusted User" so the menu bar on the accounts page doesn't bug up (we need a new translation system :((() Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Simo Leone <simo@archlinux.org>
2008-01-20some more tweaks to make it look less like I worked on it.eliott2-1/+15
2008-01-20Hacky attempt to fix lang and navigation barseliott2-63/+79
2008-01-20Add search result informationCallan Barrett2-30/+38
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 Barrett6-36/+22
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-20Prefill category upon upload error and fix bug in last patchCallan Barrett1-48/+39
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-20Fixed a couple typos in arch.cssThayer Williams1-2/+2
Signed-off-by: Thayer Williams <thayerw@gmail.com>
2008-01-20updates to header. Manual addition of thayers previous patch.eliott1-8/+2
2008-01-20Template update for new Arch logoThayer Williams5-99/+88
Signed-off-by: Thayer Williams <thayerw@gmail.com>
2008-01-20poopeliott1-0/+0
2008-01-20Allow pkgsubmit to accept any tar* fileDan McGee1-5/+3
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-20Support for verbose page titlesCallan Barrett7-62/+43
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 Barrett15-245/+189
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-20Removes need for name, overwrite and comment fields from pkgsubmit.phpCallan Barrett2-206/+123
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-20Bug in uploading PKGBUILDs and aur schemaCallan Barrett1-3/+0
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-20Add notify column in search results and notify buttonCallan Barrett5-40/+65
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-20Fix bug with botched AURSID valuesCallan Barrett2-9/+7
In the check_sid function in aur.inc the condition for expiring the cookie and redirecting to hacker.php could never be met and instead the user would be given blank login instead of being considered logged out, now fixed. This also means we no longer need either hacker.php or timeout.php at all. Also, this bug seems to be present in the AUR version running on aur.archlinux.org. Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-01-20Removes timeout page and moves login form to headerCallan Barrett3-102/+95
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-20Adds support for TUs and devs to disown packages they do not ownCallan Barrett2-2/+7
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-20Add support for variable length votes in voting applicationCallan Barrett2-66/+103
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>