Commit Graph

509 Commits

Author SHA1 Message Date
Tony Lambregts
9afa15776e Version class fixes. Let update() be silent if desired, get rid of redundant message in unqueue(). 2006-01-28 23:06:07 +00:00
Tony Lambregts
767faeac75 Application class fixes. Let update be silent when we want it to be. Get rid of redundant message in unqueue(). Fix logic in SendNotificationMail(). 2006-01-28 23:04:21 +00:00
Jason Weisberger
b5d70fc27a Allow the user to limit or show all of the testing results for a particular version 2006-01-28 22:53:28 +00:00
Tony Lambregts
cc286b6375 Add bug number to bug link emails. Fixes bug 4358. 2006-01-23 02:13:47 +00:00
Chris Morgan
e7935b1f4f Pass a version object into user::hasAppVersionModifyPermission() instead of
the integer that is the index of the version in the database.
2006-01-23 02:10:31 +00:00
Tony Lambregts
488c74dbf0 Users don't have permission to modify application versions if they aren't logged in. 2006-01-19 05:25:52 +00:00
Tony Lambregts
33302f72ef Make back link in rejection emails point to appsubmit.php 2006-01-18 04:32:28 +00:00
Tony Lambregts
9a72e97f53 Test result count should not include queued tests. Don't display queued test results in test results table. 2006-01-17 02:34:58 +00:00
WineHQ
8f65897592 Chris Morgan
Only display testing results for applications that are not currently queued if the user isn't an admin.
2006-01-14 03:30:35 +00:00
Chris Morgan
369b40b046 Fix SendNotificationEmail() so it appends to the existing message in the 'edit' case instead of overwriting the message passed in 2005-12-05 04:19:14 +00:00
Jeremy Newman
312ebc2b1f use banner ad code from main winehq.org 2005-11-21 17:30:58 +00:00
Chris Morgan
91fe4dd26c Fix two bugs found after upgrading to php5 2005-11-12 04:37:48 +00:00
Tony Lambregts
8bb0882cb2 Don't display queued versions, make the function name more descriptive 2005-10-30 22:27:14 +00:00
Chris Morgan
8b0a52f782 Add comment to clarify a permissions check 2005-10-30 02:10:36 +00:00
Chris Morgan
2ff66ab389 Simplify and fix User::hasAppVersionModifyPermission() 2005-10-30 02:07:54 +00:00
Tony Lambregts
7bbe114e6d Add arrays for monitors, fix array for test results and use the arrays to delete monitors and bug links when a version is deleted 2005-10-29 04:41:10 +00:00
Chris Morgan
b8cfcda4b5 Remove GetDefaultVersionDescription() now that we don't include testing results in the version description anymore. Remove one final call to it that isn't really necessary 2005-10-28 00:32:20 +00:00
Tony Lambregts
8c6c609089 Change mysqltimestamp_to_unixtimestamp() to mysqldatetime_to_unixtimestamp() because we are operating on a datetime 2005-10-28 00:21:37 +00:00
Jonathan Ernst
fdf642ce89 Show the test date instead of the submission date. Sort the test results by test date instead of by a string sort on release name 2005-10-28 00:14:46 +00:00
Tony Lambregts
8ebccb4f2a Add test results as part of submitting an application or version 2005-10-28 00:11:35 +00:00
Chris Morgan
696aab7ad8 Retrieve versions for an application based on the users permissions 2005-10-26 23:54:43 +00:00
Chris Morgan
47336e4f8d Fix unknown function isLoggedIn() to be $this->isLoggedIn() 2005-10-26 22:54:30 +00:00
Chris Morgan
61f29dc94d Remove debugging comment line 2005-10-26 13:44:17 +00:00
Jonathan Ernst
009e7d9716 Fix variables that don't exist 2005-10-26 02:14:17 +00:00
Chris Morgan
89abe706dc Improve permission checking in objects, fix some initialization bugs 2005-10-26 02:09:49 +00:00
Chris Morgan
25edd18770 Remove 'View Vendors' link to admin/adminVendors.php now that 'View Vendors' is part of the common sidebar 2005-10-25 02:40:27 +00:00
Tony Lambregts
40138af1a8 Let users browse vendors and remove some duplicate code 2005-10-25 00:47:32 +00:00
Tony Lambregts
14a3d83d51 Let users view distributions 2005-10-21 02:48:27 +00:00
Tony Lambregts
b0d2969e0b Clean up view distributions, add back link to the application version, use the correct time function 2005-10-18 02:04:16 +00:00
Tony Lambregts
ba6e92d184 Lets users submit application testing results in a uniform and easy to process manner 2005-10-17 03:59:24 +00:00
Chris Morgan
c1aa7e392e Fix update() of sTestedRelease to use the correct $this variable 2005-10-16 19:03:12 +00:00
Chris Morgan
657167e8a5 Move hidden fields used by application and version class into their OutputEditor() member functions. Fix broken old style calls to application and version update() functions that were passing parameters in. Fix broken application::CheckOutputEditorInput() 2005-10-16 04:24:37 +00:00
Chris Morgan
93ab2587ef Add stats field for users who have been flagged as inactive and are pending deletion 2005-10-15 16:05:03 +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
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
fa638bd7af hasDataAssociated() is a user internal call, call like $this->hasDataAssociated() instead of hasDataAssociated() 2005-10-09 18:09:35 +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
0aa7f26249 Switch from using htmlarea to using xinha. Clean up the use of the editor plugin 2005-09-30 02:48:33 +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
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
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
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