Commit Graph

546 Commits

Author SHA1 Message Date
Chris Morgan
a0dc0850af Readme document about the xinha customizations used in the appdb so anyone upgrading xinha will know that certain plugins are missing on purpose and about appdb specific changes 2005-09-30 02:50:35 +00:00
Chris Morgan
0aa7f26249 Switch from using htmlarea to using xinha. Clean up the use of the editor plugin 2005-09-30 02:48:33 +00:00
Chris Morgan
9242a68c4a Import xinha so we can switch from htmlarea and fix a bunch of in-browser issues that htmlarea has 2005-09-30 02:25:07 +00:00
Tony Lambregts
2311d4d572 Add the ability for user to monitor changes to applications 2005-09-30 01:55:51 +00:00
Chris Morgan
a66ae25f38 Move deletion of maintainer logic into the user class. If the cleanup script wants to delete a user and can't, if they are a maintainer we should remove their maintainer status even if we don't delete their account. Send email at the start of the cleanup script to aid in debug 2005-09-30 01:37:57 +00:00
Chris Morgan
b067e62789 Simplify the cleanup script a little bit. Report a summary of what the cleanup script did in the email that the script sends to the appdb admins 2005-09-29 01:45:39 +00:00
Tony Lambregts
f5fb26a265 Remove the old bugs.php page, we have a new bug system 2005-09-29 00:20:03 +00:00
Chris Morgan
1a58863f78 Improve cleanup script to give users 1 month after warning before removing their account. Move user related logic into the user class. Add columns to the user_list table to track whether the user was warned about inactivity and the datetime of the warning. 2005-09-28 00:32:48 +00:00
Chris Morgan
5b846f81ac Fix screenshots for the top-X lists. We were passing a versionId as the first parameter of a function that expected an appId as the first parameter 2005-09-26 01:37:12 +00:00
Chris Morgan
2edc247c00 Make top-X lists version specific because only versions have ratings 2005-09-26 00:56:36 +00:00
Tony Lambregts
09ec082407 Add a page for viewing screenshots and a link to it from the sidebar 2005-09-25 23:55:06 +00:00
Chris Morgan
374c6f550b Disable the cleanup script until the patch to fix it is reviewed carefully, otherwise we may email a bunch of people again 2005-09-23 02:52:19 +00:00
Jeremy Newman
1ad25e80c5 fix broken links 2005-09-22 18:13:55 +00:00
Jonathan Ernst
c609d3cf5b Check at run-time for GD 2.x or GD 1.x so we can start using GD 2.x with the new upgraded appdb server 2005-09-21 14:16:40 +00:00
Tony Lambregts
65c5e0e4b3 Fix bug in the rejection of versions that was only sending the maintainers the url to the requeued application if there was a rejection reason given. Add url to requeued application to rejected applications. 2005-09-21 01:26:10 +00:00
Chris Morgan
c44f818218 Send notification emails to admins when the cleanup cron job executes so there is some visibility into the maintenance tasks running on the appdb. Fix a minor bug in the user class where passing in (null,null) for iVendorId and iAppId results in a null query string being sent to mysql and triggering an error 2005-09-15 00:22:22 +00:00
Chris Morgan
dd24dd83d5 Handle the case where a user has an empty realname, the maintainers table looks bad with missing borders around the cell, fill in with a &nbsp in those cases 2005-08-25 03:44:15 +00:00
Chris Morgan
2b3e470adb Fix borders in adminMaintainers in cells that have no content, they need to have &nbsp in there or they are dropped and not rendered, leaving odd spaces in the table display 2005-08-25 03:35:07 +00:00
Chris Morgan
58d4e45b08 Sort maintainers in adminMaintainers.php by their name. Add header for each maintainer that has a summary of the number of applications and versions they maintain 2005-08-25 03:24:31 +00:00
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
62b4660558 Fix display of comments when a threaded comment is clicked on in threaded comment mode. We were passing in one too many parameters to a function call and including comment.php multiple times. 2005-08-24 00:29:34 +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
369d5f4df0 Log new users in automatically if the user was successfully created 2005-08-14 18:56:35 +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
fa79ae006e Stop displaying winzip when a new vendor is submitted 2005-08-14 15:34:58 +00:00
Tony Lambregts
92d613a5a8 Use the correct spelling/capitalization for sKeywords 2005-08-14 15:21:28 +00:00
Tony Lambregts
95c2f699ae Use the correct capitalization for QueuedOnly 2005-08-13 17:29:19 +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
Tony Lambregts
cc9a94abe2 Fix adminScreenshots.php 2005-08-07 02:31:15 +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
978014cf88 Fix maintainer name display when processing maintainer queue. Code
was assuming the returned values were arrays when they were in fact
just a single value, copy paste bug from another set of code.
2005-08-01 00:39:07 +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
16e28b37a3 Really use the url field as the local filesystem filename 2005-07-31 04:35:18 +00:00
Chris Morgan
5dcc4e3ae7 Use the url field from appData and not the id as the name of the file in the filesystem. It is only lately that the filenames of images are equal to the id of the row in the appData table 2005-07-31 04:23:06 +00:00
Chris Morgan
abdb3ef22b Report last modified header information for application images. This should reduce the bandwidth used when refreshing the main page multiple times. Patch based on David Lamberts patch 2005-07-31 03:35:44 +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