summaryrefslogtreecommitdiffstats
path: root/web/html/pkgsubmit.php
AgeCommit message (Collapse)AuthorFilesLines
2008-07-28Include File/Find.php PEAR moduleSimo Leone1-2/+2
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-09Redirect on package submissionCallan Barrett1-33/+17
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-06-17Remove all vim mode lines. Add HACKING file.Loui Chang1-1/+1
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-15Clean up of pkgsubmit.phpCallan Barrett1-206/+165
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 Barrett1-112/+60
Uses File_Find and Archive_Tar in pkgsubmit.php Removes references to PackageContents Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-09Fix FS#8622Callan Barrett1-18/+24
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 Barrett1-4/+4
Fix entry of URLPath and FSPath to be actual locations, fixes RPC results Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-07Unmark out-of-date on updateCallan Barrett1-0/+1
What it says in the title Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-07Support for uploading plain PKGBUILDsCallan Barrett1-5/+9
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 Barrett1-0/+2
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-01-23Removed QBUG and DBUGSimo Leone1-10/+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-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-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 Barrett1-1/+1
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-10/+18
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 Barrett1-192/+115
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-20Hand diff of simo's patch to remove flag safe functionality.eliott1-8/+0
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.
2007-10-02Fixed version strings.tardo1-1/+1
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-27Merge commit 'origin/testing'Loui Chang1-3/+5
Yeah I actually want to work from testing. Conflicts: web/lib/pkgfuncs.inc Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2007-09-26Made some things in config.inc.proto that should be constants constantsLoui Chang1-32/+32
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2007-09-24More changes to page styles.eliott1-3/+5
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-23/+23
- Replaced all occurences of mysql_escape_string() with mysql_real_escape_string().
2007-03-05Varios fixes:dsa1-13/+27
Added validation for the arch e license fields, so we can ensure that new submitted packages can be built using pacman3. Fixed some pkgsubmit problems.
2007-03-05Added support for uploading files with '+' characters.dsa1-2/+2
2006-12-14Corrected a problem when submit a package, more details in file pkgsubmit.phpdsa1-1/+7
2006-10-13Solved the #3939 bug and it will require a change in the PackageDepends ↵dsa1-4/+12
table to add a DepCondition field with the type varchar(20).
2006-08-22Applied license patch from dsa (closes #4085).swiergot1-2/+4
2006-08-08committed dsa's patch to allow periods in package names (closes #4758)pjmattal1-2/+7
2006-08-08added dsa's header include patchpjmattal1-0/+3
2006-08-01added dsa's "My Packages" patchpjmattal1-0/+12
2006-08-01closed #2599: now removes " or ' from pkgdesc only if they form a start/end pairpjmattal1-2/+12
2005-09-02closed #3127 with slight modificationswiergot1-0/+3
2005-08-29Fixed a bug introduced in r228 (closes #3126)swiergot1-1/+1
2005-08-09autoflag safe for packages submitted by TUs and Developersswiergot1-2/+13
2005-08-05fixed a small bug in the package submitting code that caused real error ↵swiergot1-3/+5
message being overwritten by unreal URL parsing error
2005-08-02committed patch from swiergot to allow package names starting with numberspjmattal1-1/+1
2005-07-29added swiergot's checking patch as well as modifying it to alsopjmattal1-0/+1
list package name in green on the package list page (with legend)
2005-06-30Task #2838 - URL protocol checking to avoid broken linkssimo1-2/+8
2005-06-30Task #2803 - Tarballs get rebuilt for consistencysimo1-0/+15
2005-06-23added patch from Jurgen (thanks!)pjmattal1-2/+2
2005-05-16updated with latest polish language patchpjmattal1-1/+1
2005-05-08Added ModifiedTS to Packages databasesimo1-0/+3
Implemented ModifiedTS such that: -ModifiedTS changed ONLY when package updated -SubmittedTS changed ONLY when new package Also made DummyPkg fixups in tupkgupdate
2005-05-04committed simo's patch for bug 2599 (leaving quotes in pkgdesc)pjmattal1-3/+7
2005-04-30Fix issue where a submitteruid was retained on dummiessimo1-1/+7
Also fix issue where orphan was generated if a dummy is replaced and "overwrite" wasn't checked
2005-04-22applied duds.diff from simo to close bug #2584pjmattal1-0/+5
2005-04-14fixed bug where if uploaded package overlapped with old Dummy, Dummy bit was ↵pjmattal1-0/+1
not unset and so the package never appeared in the interface
2005-04-14fixed package category to default to 1 (none) instead of 19 which doesn't existpjmattal1-1/+1
2005-04-06many changes in prep for launchpjmattal1-3/+5
new doc page added changed AUR to community lower-cased unsupported fixed half of the bug with changing categories: categories now can't be changed for packages in community however they can still be changed out from under maintainers by joe users for unsupported packages debugged problem with package details not found when unsupported uploads were with Category 0 (changed default to 19)