summaryrefslogtreecommitdiff
path: root/web/html
AgeCommit message (Collapse)Author
2008-11-25Make remembered sessions actually save themselves.Loui Chang
Also clean up a notice in index.php Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-23Clean up packages.php and document new package functionsCallan Barrett
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-13Give group writable permissions to uploaded files.Loui Chang
Add a new function chown_group to recursively change permissions. Tweak some of the coding style. Replace some of the redundant string concatenation with a variable. Thanks to Dan McGee for chmod_group. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-13Move package notification into a function.Loui Chang
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-13Clear out old expired sessions on log out.Loui Chang
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-10Tweak TU interface for appearance.Loui Chang
Show ten votes per page instead of five. Change the vote preview to 75 characters so entries fit better in the table. Remove [More] links and make the description itself a link. Clean up a couple notices. Send unauthorised users to index.php. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-03Merge branch 'testing'Loui Chang
Conflicts: web/html/pkgsubmit.php Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-30Convert package voting to a functionCallan Barrett
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-27Convert package adoption/disowning to a functionCallan Barrett
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-16Convert package deletion to a functionCallan Barrett
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-14Convert package flagging to a functionCallan Barrett
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-09Setup translation for addvote.phpCallan Barrett
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-09Add comment and submitted to notification emails for commentsCallan Barrett
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-08Setup translation files for tu.phpCallan Barrett
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-10-05Major rearrangement of tu.php, strings setup for translationCallan Barrett
All the strings are set up to be translated now, HTML of tu.php has been moved to templates and the worst of it rewritten (there's no longer a massive function in it) Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-09-13Fix whitespace and indenting in pkgsubmit.Loui Chang
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-08-19Remove obsolete Trusted User guidelines.Loui Chang
Guidelines are now maintained in the Arch wiki. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-08-19Move top page template-example to web/template.Loui Chang
Make note in web/README.txt Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-08-19Remove obsolete test scripts.Loui Chang
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-28Include File/Find.php PEAR module1.5.2Simo Leone
Since this module requires root to install system-wide, and is somewhat rare, it's better to just include it in the AUR code itself. Signed-off-by: Simo Leone <simo@archlinux.org>
2008-07-28Tweak index.php and update translations.Loui Chang
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-22Change some of the index page notices.Loui Chang
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-09Redirect on package submissionCallan Barrett
On a successful package submit there will be a redirect to the package details page of the packages, no more successful message Also got rid of the $warning stuff, what the hell was that for? Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-07Move code out of index.phpLoui Chang
Move database queries to functions and html to templates. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-17Remove all vim mode lines. Add HACKING file.Loui Chang
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-16Reorganise web/README.txt and elaborate on PEAR and File_Find.Loui Chang
Add PEAR path to web/html/.htaccess. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-15Clean up of pkgsubmit.phpCallan Barrett
Moved some stuff around, rewrote some stuff although the functionality is exactly the same as before Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-12Make use of PEAR packages in pkgsubmit.phpCallan Barrett
Uses File_Find and Archive_Tar in pkgsubmit.php Removes references to PackageContents Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-12Split html and php in index.phpCallan Barrett
No more prints, still all in same file Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-09Fix FS#8622Callan Barrett
Previous fix for this was only half implemented, links now work with both a new package and an updated one Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-09Fix FS#10016Callan Barrett
Fix entry of URLPath and FSPath to be actual locations, fixes RPC results Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-08Fix URL and wording of pkgedit.php emailCallan Barrett
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-07Remove obsolete inline CSS in index.php.Michael Klier
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-08Revert "Split html from front page"Callan Barrett
This reverts commit 0cf3c5ea8bd2799e1354aa2008edb542e01635ba.
2008-06-08Split html from front pageCallan Barrett
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-07Unmark out-of-date on updateCallan Barrett
What it says in the title Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-07Support for uploading plain PKGBUILDsCallan Barrett
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-05Don't reset category on update.Callan Barrett
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-05CSS cleanupMichael Klier
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-06Disable user package deletionCallan Barrett
Users can no longer delete packages if they own them, only TUs and devs Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-04-03Fix FS 10008 and update rss2.phpLoui Chang
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-03-27Remove references to AURMaintainerUIDCallan Barrett
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 Leone
- Reduced database hits - Improved speed - Improved sanity (slightly) - Fixed searches,buttons,gizmos Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23Fix weird title setting on search pageCallan Barrett
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-23Put login into its own function.Loui Chang
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-23Changed to non-fancy logoSimo Leone
Our other pages also use the "non-fancy" version of the logo. Signed-off-by: Simo Leone <simo@archlinux.org>
2008-02-18Cleaned up the front page.eliott
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-01-23Removed QBUG and DBUGSimo Leone
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 Leone
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 Barrett
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>