summaryrefslogtreecommitdiffstats
path: root/web
AgeCommit message (Collapse)AuthorFilesLines
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>
2008-01-20AUR Voting ApplicationCallan Barrett2-0/+510
Added support for TU voting through AUR Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-01-20Modified to get details based on an exact package name, or based on a ↵eliott1-8/+19
package id.
2008-01-20Removed reference to 'safe'eliott1-1/+1
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-20Fixes to disclaimer text.eliott3-2/+5
2008-01-20Hand diff of simo's patch to remove flag safe functionality.eliott4-175/+2
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-19Updated favicon.ico to match the main site.Paul Mattal1-0/+0
2008-01-19Removed beta.htmleliott1-192/+0
Seems old.
2008-01-19Moved usage documentation out of the class.eliott2-23/+16
Fixed an issue in the handle class.
2008-01-19Added AurJSON code.eliott2-0/+167
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-19Revert "Move "Add Comment" button to Actions bar."Paul Mattal2-13/+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-19Several functions added to web/lib/acctfuncs.inc Weeere back!Loui Chang1-4/+211
try_login() to login users valid_username() checks if a new username fits criteria valid_user() checks if the user exists in the database good_passwd() only checks for minimum password length for now. can be later expanded to tell a user to make a stronger password. valid_passwd() checks if the password for the specified user is correct user_suspended() checks if the user is suspended (or not) user_delete() deletes a user (it doesn't orphan PKGs yet though) user_is_privileged() returns privilege level User (0) TU (2) Dev (3) of user ID. 0 is used for a regular user for ease in conditionals. Also: Enforce proper usernames on account creation or editing Fix bug where $SUPPORTED_LANGS needs to be reset on account creation Fix bug where an account could be created with an empty passwd Display (required) beside password fields on account creation Enforce good_passwd() on account creation TUs and Devs can edit a user to have a username that doesn't conform to the standard valid_username(). This is to allow them to edit old accounts without messing up the user name. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-01-19Make sure short_open_tag = Off via .htaccessLoui Chang1-0/+1
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-01-19Make "Out of Date" pkgs more NOTICABLE.Loui Chang3-3/+9
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-19Opera doesn't give the buttons any padding. Let's giver some.Loui Chang1-0/+1
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-01-19Move "Add Comment" button to Actions bar.tardo2-12/+13
The lonely button now gains some friends. Signed-off-by: tardo <tardo@nagi-fanboi.net>
2008-01-19Revert "Several functions added to web/lib/acctfuncs.inc"Loui Chang1-191/+4
This has a couple of bugs I just discovered arrgh. We shall return This reverts commit 5e7e9f1b21d8803c718ac8551f8e0e25709fcd6f.
2008-01-19Several functions added to web/lib/acctfuncs.incLoui Chang1-4/+191
try_login() to login users valid_username() checks if a new username fits criteria valid_user() checks if the user exists in the database good_passwd() only checks for minimum password length for now. can be later expanded to tell a user to make a stronger password. valid_passwd() checks if the password for the specified user is correct user_suspended() checks if the user is suspended (or not) user_delete() deletes a user Also: Enforce proper usernames on account creation Fix bug where $SUPPORTED_LANGS needs to be reset on account creation Fix bug where an account could be created with an empty passwd Display (required) beside password fields on account creation Enforce good_passwd() on account creation Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-01-19search_accounts_form() output is put into a templateLoui Chang3-69/+71
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-01-19Added header, footer, and login form templatesLoui Chang4-82/+122
Implemented the first two in web/lib/aur.inc. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2007-12-02Update tur-users -> aur-generalSimo Leone2-2/+2
Fix broken links after mailing list rename. Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-11Changed version to 1.4.1.Paul Mattal1-1/+1
Changed version string to 1.4.1 in preparation for release.
2007-10-11Revert "Move "Add Comment" button to Actions bar."Paul Mattal2-13/+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.tardo2-3/+13
The lonely button now gains some friends. Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-10-11Center Add Comment box.tardo1-0/+2
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-10-03Russian: aur-russian-1.4.0.diff from SergejPaul Mattal2-4/+14
Added/fixed some Russian translation strings.
2007-10-03Added html/web/xml directory.Paul Mattal1-0/+2
The html/web/xml directory is where the RSS feed gets stored. This was not in the release tree, but has now been added. It should be set up with permissions that allow the webserver to write to it.
2007-10-02Added missing EN language stringJoerie de Gram1-0/+2
Signed-off-by: Joerie de Gram <j.de.gram@gmail.com>
2007-10-02Tweak to version strings patch.Paul Mattal3-2/+4
Rather than rely in any way on config.inc, which is expected to be edited by the user and to persist across versions without change, the version string definition is stored in version.inc and included from aur.inc.
2007-10-02Fixed version strings.tardo10-14/+15
Added AUR_VERSION to config file, so now we should only need to change one location. KISS ftw. Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-09-30Italian: 20070930 patch from Giovanni ScaforaPaul Mattal7-40/+40
2007-09-30Logout now redirects instead of displaying a page.tardo1-3/+2
Thanks to Alex for the heads-up. Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-09-29changed version string to 1.4.0 on front pagePaul Mattal1-1/+1
2007-09-28Center the "Go back to search results" on the package detail page.Paul Mattal1-0/+2
2007-09-28nitpick: change buttons border to solid and convertLoui Chang1-212/+213
web/html/css/containers.css to unix format Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2007-09-27Changed homepage box title to "AUR Home" to match patch from tardo.Paul Mattal1-1/+1
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-27Box titles now align to the left.tardo2-2/+4
Might be me, but aligning to the right just looked messed up. Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-09-27nitpick: Changed "AUR-Home" button to "AUR Home"Loui Chang1-1/+1
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2007-09-27Merge commit 'origin/testing'Loui Chang21-377/+838
Yeah I actually want to work from testing. Conflicts: web/lib/pkgfuncs.inc Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2007-09-27I forgot to change AUR_db* usage to constants. Fixed now.Loui Chang1-6/+2
Signed-off-by: Loui Chang <louipc.ist@gmail.com>