Commit Graph

655 Commits

Author SHA1 Message Date
Chris Morgan
4772360bd3 Fix becoming a super maintainer bug where we were checking of the user was a maintainer of an undefined version. Only check isMaintainer() if we have a valid version set 2005-10-06 00:04:59 +00:00
Chris Morgan
5522e80a9e Add more progress emails to the cleanup script, these are sent directly to me to avoid spamming people during debug 2005-10-05 00:42:35 +00:00
Chris Morgan
4c773340a1 User::isMaintainer(iVersionId) was being passed (iAppId, iVersionId) instead, oops 2005-10-04 01:22:16 +00:00
Chris Morgan
c680ea8b4f Fix Xinha control on submit new version page. We should only create a 'editor2' control for a new version as only the 'editor2' textarea is created for new versions. 2005-10-03 23:16:41 +00:00
Chris Morgan
0e411dd527 Remove userExperience table, we are re-implementing user testing results and will likely rename this unused table 2005-10-01 00:42:40 +00:00
Chris Morgan
e1ca09c170 Replace tabs with spaces. Align datatypes in columns 2005-10-01 00:38:08 +00:00
Chris Morgan
77e623b59f Improve the version rejection message to be like the application rejection one 2005-10-01 00:33:01 +00:00
Chris Morgan
a5fbfe5830 Improve application rejection email so the user knows that they can modify and resubmit the application 2005-10-01 00:31:47 +00:00
Chris Morgan
a643b8f36d Remove htmlarea now that xinha has replaced it 2005-10-01 00:22:45 +00:00
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