Commit Graph

671 Commits

Author SHA1 Message Date
Jonathan Ernst
1c4e7d316f Replace fixed by the more generic monospace (http://www.w3.org/Style/Examples/007/fonts.html)
Fixes bug #3000 (http://bugs.winehq.org/show_bug.cgi?id=3000)
2005-10-15 15:18:19 +00:00
Chris Morgan
cc9caadb13 The cleanup script should rport orphaned versions in the database, if any exist 2005-10-15 15:11:23 +00:00
Chris Morgan
eb732e31f2 Don't let the user change the parent application when a new version is being submitted, they got to the submit version screen through an application parent, we should stick with that 2005-10-14 00:31:42 +00:00
Chris Morgan
485f935660 Updates for changes to application and version classes update() functions 2005-10-11 02:16:00 +00:00
Chris Morgan
90e471c83e Improve HtmlAreaLoaderScript() to work properly when called more than twice on a page 2005-10-11 01:06:54 +00:00
Chris Morgan
4e90e6f03c Formatting fixes to cleanup summary emails 2005-10-11 00:17:31 +00:00
Chris Morgan
49300a8707 Factor application/version editing code out of files and move it into the application and version classes. Add support to HtmlAreaLoaderScript() to be called multiple times on a single page without generating javascript that overwrites the previous html area settings. 2005-10-10 02:37:55 +00:00
Chris Morgan
f6f935a36e Return true or false from warnForInactivity() depending on whether we warned the user or not, this way we can provide more accurate numbers in the cleanup script summary 2005-10-09 18:33:52 +00:00
Chris Morgan
4469e01e5b Be more specific with users we warned and ones that we wanted to warn but didn't because they have data associated with their account 2005-10-09 18:32:44 +00:00
Chris Morgan
eada9b9658 Remove debug printing from cleanup script now that the bug in user.php has been fixed 2005-10-09 18:17:43 +00:00
Chris Morgan
fa638bd7af hasDataAssociated() is a user internal call, call like $this->hasDataAssociated() instead of hasDataAssociated() 2005-10-09 18:09:35 +00:00
Chris Morgan
1de5d7923f Make sure $hUsersToWarn and $hUsersToDelete are valid before calling mysql_fetch_object() on them 2005-10-09 17:32:59 +00:00
Chris Morgan
d4740cf030 Add another line of debug output to the cleanup script to see how many rows we retrieved 2005-10-09 15:44:09 +00:00
Tony Lambregts
2a9c77c0b2 Fix bugs in cleanup script that were preventing debug emails from being sent. Add more debug emails 2005-10-08 22:42:51 +00:00
Chris Morgan
66b70de06c Fix up maintainer submission again, in a more robust manner 2005-10-06 03:41:52 +00:00
Tony Lambregts
21e9d423c5 Fix creation of adminstrator account, insert line doesn't specify columns and was missing two new user_list columns 2005-10-06 01:48:38 +00:00
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