Commit Graph

655 Commits

Author SHA1 Message Date
Chris Morgan
2be058a66d Check that users can view applications and versions before displaying them. Present an error message if they lack permission. Fixes a bug where we were allowing users to view applications and versions that were rejected. 2006-01-13 03:05:06 +00:00
Chris Morgan
8786179180 Upgrade to xinha svn head to fix issues with xinha editors not appearing in Firefox 1.5 2005-12-07 03:37:36 +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
3efdcb188c Fix merging of versions into existing applications 2005-11-12 03:06:55 +00:00
Chris Morgan
b7a68c68e2 Fix extra slash in url causing browsers to go to odd places when submitting changes to testing results 2005-10-31 01:39:00 +00:00
Chris Morgan
db1f434d6f Create a version instead of an application from $ob->versionId 2005-10-31 01:29:37 +00:00
Tony Lambregts
f3e45892e7 Fix up help and allow administrators and maintainers to use adminTestResults to edit test results that are not queued 2005-10-30 22:29:14 +00:00
Tony Lambregts
62077d5a10 Give administrators and maintainers a way to edit test results from distributionView.php 2005-10-30 22:28:09 +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
d1ebda9a8d "to ass a screenshot" really should be "to add a screenshot" hah 2005-10-28 03:22:37 +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
Chris Morgan
382d08032c Improve format of orphaned application to include the query and to format the output better 2005-10-21 02:18:10 +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
fde3ca0eaa Cleanup summary should tell us how many users overall have been warned and are pending deletion after their 1 month warning period elapses 2005-10-15 15:28:01 +00:00
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