Commit graph

72 commits

Author SHA1 Message Date
Simo Leone
7bad8a8357 Removed QBUG and DBUG
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-23 02:51:33 -06:00
Callan Barrett
2f56688b56 Prefill category upon upload error and fix bug in last patch
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-20 00:21:21 -06:00
Dan McGee
0eb2997a82 Allow pkgsubmit to accept any tar* file
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-20 00:21:20 -06:00
Callan Barrett
379e16eebd Support for verbose page titles
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-20 00:21:20 -06:00
Callan Barrett
d4b07f2b33 Tweaks of various page layouts and handling of data
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-20 00:21:20 -06:00
Callan Barrett
dbbf50ac90 Removes need for name, overwrite and comment fields from pkgsubmit.php
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-20 00:21:20 -06:00
Callan Barrett
ce225727f6 Bug in uploading PKGBUILDs and aur schema
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-20 00:21:19 -06:00
eliott
a9837329d6 Hand diff of simo's patch to remove flag safe functionality.
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-20 00:21:18 -06:00
tardo
881b921eb3 Fixed version strings.
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-10-02 07:29:27 -04:00
Loui Chang
d2134f7637 Merge commit 'origin/testing'
Yeah I actually want to work from testing.
Conflicts:

	web/lib/pkgfuncs.inc

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2007-09-27 00:06:56 -04:00
Loui Chang
c764f078f1 Made some things in config.inc.proto that should be constants constants
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2007-09-26 23:57:51 -04:00
eliott
aebdd21b58 More changes to page styles. 2007-09-24 07:57:35 -07:00
pjmattal
452d6b1245 patch from eliott to convert all <? to <?php 2007-09-20 21:46:43 +00:00
swiergot
0b92839bee - Applied a patch from Loui to fix session removal.
- Replaced all occurences of mysql_escape_string()
  with mysql_real_escape_string().
2007-09-20 15:33:04 +00:00
dsa
b728db0f62 Varios fixes:
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-05 05:40:08 +00:00
dsa
18cfe569e0 Added support for uploading files with '+' characters. 2007-03-05 04:07:46 +00:00
dsa
06e4af2dbc Corrected a problem when submit a package, more details in file pkgsubmit.php 2006-12-14 00:44:17 +00:00
dsa
e17a4ceb6a Solved the #3939 bug and it will require a change in the PackageDepends table to add a DepCondition field with the type varchar(20). 2006-10-13 03:55:58 +00:00
swiergot
dce2f70443 Applied license patch from dsa (closes #4085). 2006-08-22 14:18:28 +00:00
pjmattal
6e7d75efad committed dsa's patch to allow periods in package names (closes #4758) 2006-08-08 01:28:26 +00:00
pjmattal
c3a90420e2 added dsa's header include patch 2006-08-08 00:59:10 +00:00
pjmattal
ce505210fa added dsa's "My Packages" patch 2006-08-01 05:50:48 +00:00
pjmattal
ffc0933126 closed #2599: now removes " or ' from pkgdesc only if they form a start/end pair 2006-08-01 04:41:52 +00:00
swiergot
d55ee42f85 closed #3127 with slight modification 2005-09-02 15:34:39 +00:00
swiergot
9800ebafda Fixed a bug introduced in r228 (closes #3126) 2005-08-29 20:52:55 +00:00
swiergot
6001191a0d autoflag safe for packages submitted by TUs and Developers 2005-08-09 09:20:07 +00:00
swiergot
cc5d55d5c3 fixed a small bug in the package submitting code that caused real error message being overwritten by unreal URL parsing error 2005-08-05 19:32:28 +00:00
pjmattal
ee2b2e2021 committed patch from swiergot to allow package names starting with numbers 2005-08-02 06:34:32 +00:00
pjmattal
a8999a6917 added swiergot's checking patch as well as modifying it to also
list package name in green on the package list page (with legend)
2005-07-29 12:29:23 +00:00
simo
01be3a4893 Task #2838 - URL protocol checking to avoid broken links 2005-06-30 23:17:50 +00:00
simo
a60eb05f13 Task #2803 - Tarballs get rebuilt for consistency 2005-06-30 22:56:40 +00:00
pjmattal
4666bd8307 added patch from Jurgen (thanks!) 2005-06-23 13:02:29 +00:00
pjmattal
499d459bdf updated with latest polish language patch 2005-05-16 04:17:22 +00:00
simo
f7a0009ed7 Added ModifiedTS to Packages database
Implemented ModifiedTS such that:
  -ModifiedTS changed ONLY when package updated
  -SubmittedTS changed ONLY when new package
Also made DummyPkg fixups in tupkgupdate
2005-05-08 02:01:15 +00:00
pjmattal
a5d253d66b committed simo's patch for bug 2599 (leaving quotes in pkgdesc) 2005-05-04 12:51:55 +00:00
simo
6496ff7a2c Fix issue where a submitteruid was retained on dummies
Also fix issue where orphan was generated if a dummy is
replaced and "overwrite" wasn't checked
2005-04-30 18:29:08 +00:00
pjmattal
dd51db3cc9 applied duds.diff from simo to close bug #2584 2005-04-22 04:18:31 +00:00
pjmattal
890e26ca23 fixed bug where if uploaded package overlapped with old Dummy, Dummy bit was not unset and so the package never appeared in the interface 2005-04-14 03:28:56 +00:00
pjmattal
f748d9a471 fixed package category to default to 1 (none) instead of 19 which doesn't exist 2005-04-14 03:15:52 +00:00
pjmattal
71b5b9e6b7 many changes in prep for launch
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)
2005-04-06 02:54:11 +00:00
eric
7fccb8b634 added comments/category editing, and closed #2280 2005-03-20 18:54:20 +00:00
eric
aae43d9ad6 started working on package comments 2005-03-05 20:39:36 +00:00
pjmattal
b186f48fe7 made pkgname field for submit be 32 chars 2005-02-23 16:19:36 +00:00
pjmattal
256f0ff0cf fixed minor bugs 2005-02-23 05:31:39 +00:00
eric
a54ca6bfaf started working on package delete support 2005-01-25 22:52:32 +00:00
pjmattal
8d2dfcb248 added a global config file for web app
made pkgsubmit reference the global config file
2005-01-24 04:15:23 +00:00
pjmattal
34be5e29be updated to do list 2005-01-24 04:08:47 +00:00
jchu
3606143e6f rolled back my change, it didn't work well 2004-12-15 04:42:37 +00:00
jchu
fdd3b8be57 apply all substitutions on all other variables 2004-12-15 04:38:24 +00:00
jchu
ef54765888 added contents 2004-12-15 04:18:13 +00:00