Commit Graph

509 Commits

Author SHA1 Message Date
Chris Morgan
82c3000190 Sort applications that the user maintains alphabetically 2005-08-25 02:26:18 +00:00
Chris Morgan
07801e8b9e Comment replies were incorrectly adding duplicate emails for threads that contained multiple posts by the same author or if a maintainer was also an admin. Ensure that there are no duplicate email addresses using array_unique() 2005-08-24 01:36:12 +00:00
Chris Morgan
371327cb87 Fix User::getAppDataQuery() copy/paste bug that was causing super maintainers to not be able to process app data for applications they super maintain 2005-08-23 00:26:08 +00:00
Chris Morgan
16029378eb Fix two other places where $iVersionId was used instead of $this->iVersionId, one in the reject path and another in the delete path 2005-08-21 03:50:39 +00:00
Chris Morgan
d5ba04b634 Fix access of $iVersion inside of version class that should have been $this->iVersion 2005-08-21 02:07:41 +00:00
Tony Lambregts
b7f1d55472 Allow maintainers/administrators to reject an application submission instead of just deleting it 2005-08-15 03:44:03 +00:00
Chris Morgan
c8275c3096 Pass a default into User::getPref() when trying to retrieve the comments mode set so users with no comment mode set will default to 'threaded'. Otherwise these users won't see any comments. 2005-08-15 00:25:37 +00:00
Chris Morgan
c8b4caf151 Set defaults comments mode to threaded for new users 2005-08-15 00:17:54 +00:00
Chris Morgan
009cc6a55f Fix code indenting, change default non-logged in comment mode to threaded 2005-08-14 19:28:34 +00:00
Chris Morgan
c77e881999 Fix indenting. Remove use of $_SESSION[] inside of the class because we can simply use $this 2005-08-14 18:49:21 +00:00
Lukas Middendorf
691a199bd1 Search results were listing a number of versions that was counting versions that were still in the queue to be processed by appdb admins. Exclude queued versions from the count. 2005-08-14 17:27:08 +00:00
Tony Lambregts
fc2c9afdbc Use the correct (non-capitalized) name for resolution 2005-08-13 01:54:15 +00:00
Chris Morgan
1570a91d9d getMaintainersUserIdsFromAppIdVersionId() shouldn't return all supermaintainers when passed a versionId of 0 2005-08-13 01:45:42 +00:00
Tony Lambregts
df12143558 Fix display of no_screenshot.png image when there is no screenshot 2005-08-07 02:32:43 +00:00
Chris Morgan
0665823494 Remove words less than 4 letters from the normal searching path to reduce spurious matches 2005-08-06 03:53:08 +00:00
Chris Morgan
3a5b5f38da Use the correct object variables when printing acceptance/rejection emails so the application and version are actually displayed 2005-08-06 02:42:09 +00:00
Chris Morgan
639dd77d15 Let maintainers and super maintainers process the application versions and images submitted for applications they maintain 2005-08-05 22:07:41 +00:00
Chris Morgan
415ddb3654 Don't continue working on the bugzilla database if we were unable to connect to it 2005-08-01 20:53:44 +00:00
Chris Morgan
f6fe0a0cab If buglinks queries fail don't try to mysql_fetch_object() on the result 2005-08-01 03:57:32 +00:00
Chris Morgan
cc912964d6 Move some maintainer code into user class, don't let a user maintain
the same app more than once
2005-07-31 17:53:11 +00:00
Chris Morgan
4be7e90e66 user->isMaintainer() should return true if the user is a super maintainer of the application 2005-07-30 16:35:03 +00:00
Chris Morgan
f14d6a20ab Use the full path when calling move_uploaded_file() 2005-07-30 16:04:57 +00:00
Chris Morgan
5df2203821 Put single quotes around the application name/version name a comment is being deleted for 2005-07-30 15:36:15 +00:00
Tony Lambregts
6a8f8737f0 Add missing </form> to view_version_bugs() 2005-07-30 03:15:50 +00:00
Chris Morgan
cd6f9e8302 Remove 'game' from our search terms because many application descriptions use the word and searching for it returns erroneous results 2005-07-28 00:22:43 +00:00
Tony Lambregts
324ed66eae Fix situation where AppDB is not at DocumentRoot 2005-07-27 02:10:56 +00:00
Tony Lambregts
f8c64330a5 Add a generic function to make a clickable image 2005-07-26 03:53:16 +00:00
Tony Lambregts
860c6ee67a Add sidebar link for administrators to maintain buglinks 2005-07-20 02:31:13 +00:00
Tony Lambregts
01040ae536 Add some functions that will be used to maintain buglinks 2005-07-20 02:27:43 +00:00
Tony Lambregts
d71c45937e Hack a fix for "$this->iLinkId = mysql_insert_id();" not working
and other cleanups.
2005-07-16 20:02:17 +00:00
Tony Lambregts
c7d6988d4f Fix backlink to application/version when sending email 2005-07-13 03:44:38 +00:00
Tony Lambregts
7f49c5055e Modify the version object to include an array of bugs and use that array when deleting a version 2005-07-13 01:14:53 +00:00
Tony Lambregts
d42e47bd68 Create the buglink object 2005-07-13 01:13:46 +00:00
David Lee Lambert
4ddd5dc8c0 Send last modified information for images so the browser can use the cached version instead of re-downloading images each page refresh. 2005-07-10 02:22:21 +00:00
Jonathan Ernst
e645810d69 Fix missing application name when updating links 2005-07-05 04:00:39 +00:00
Chris Morgan
6ae3aa98fd When deleting a version or application the first thing deleted was the version
or application. Then each of the sub-objects like comments, notes etc were
deleted. This order is bad because it makes the database inconsistent, we
never want a comment/note/etc for a version that doesn't exist. Delete the
sub objects first and then the parent object.
2005-06-30 01:59:32 +00:00
Chris Morgan
3342c55772 Keep track of the appIds we've already output to the top X list. If we need
to fill the list in with applications that haven't received any votes make
sure we exclude the applications we've already output.
2005-06-25 03:44:39 +00:00
Chris Morgan
0f13fb4a38 Filter searches inside of searchForApplication() and
searchForApplicationFuzzy() so filtering occurs at the lowest possible level.
This fixes a bug where a list of duplicates an admin sees has the results
from an unfiltered search and may contain hundreds of extra applications.
2005-06-24 01:30:55 +00:00
Chris Morgan
4ab923935a Remove <br/> tags in screenshot anchor tags, there is an odd space between the screenshot and the text below it that appeared when the image was centered with <center> 2005-06-23 03:00:10 +00:00
Chris Morgan
b601cfef5c Center the screenshot image so it is centered with respect to the text that may appear below it. 2005-06-23 02:28:07 +00:00
Chris Morgan
437280be5f Include the reason text in version added emails so we can see what maintainers
say to users when versions are accepted into the database.
2005-06-23 00:34:31 +00:00
Chris Morgan
ebade0ce2d Fix screenshot link text, it wasn't fixed correctly with the last change 2005-06-23 00:30:20 +00:00
Chris Morgan
73736380f7 Only display 'Submit screenshot' text if we are displaying screenshots for a version 2005-06-21 01:27:38 +00:00
Chris Morgan
98732fd75c Make it clear that clicking on the image in the appversion display window is how you submit new screenshots. 2005-06-21 00:57:00 +00:00
Chris Morgan
dc99aaf631 Put some single quotes around application name and version name so they can be distinguished from the rest of the email notification text more easily. 2005-06-19 15:46:57 +00:00
Chris Morgan
e49a0cb2ae Ignore any search word that is in a list of common words. Also ignore any
single letters.
2005-06-17 02:16:49 +00:00
Chris Morgan
a413175e40 Improve search results by seeing if any of the search words match a vendor
name or a vendor url. If so we should return all of the vendors applications
in our search results.
2005-06-14 19:38:36 +00:00
Chris Morgan
bce26361f3 Trim spaces from the begining and end of the search string so we don't miss
some 'like' matches.
2005-06-14 16:25:20 +00:00
Chris Morgan
97513244c4 Admin app queue page was only displaying like matches for a submitted app.
Factor like and fuzzy searches out in to a function and call that function
from normal search and from the app queue page so admins see fuzzy matches
for submitted apps.
2005-06-08 00:35:30 +00:00
Chris Morgan
81d3db95b8 Add the ability for admins to move a version from one application to another.
This is useful when there are duplicate applications and you want to move
versions prior to removing the duplicate app.
2005-06-05 21:26:07 +00:00