Commit Graph

1189 Commits

Author SHA1 Message Date
Alexander Nicolaysen Sørnes
dd5edba2ed Hide the maintainer box if the user supermaintains the application 2007-06-15 23:54:50 +00:00
Alexander Nicolaysen Sørnes
c5e1b08b5d Preserve current url when logging in. Pass the current url as part of the url to the login form
so we can return the user to the starting url after login.
2007-06-15 23:40:21 +00:00
Chris Morgan
9d35df1b54 Assign the admin user to $SESSION['current'] 2007-06-15 04:54:57 +00:00
Chris Morgan
9135f3ee99 Fix typo 2007-06-15 04:35:22 +00:00
Chris Morgan
1ae5758ffc Login as an admin user during cron maintenance so we can delete screenshots 2007-06-15 04:28:00 +00:00
Alexander Nicolaysen Sørnes
5e7a75584a Remember multipage values when processing entries 2007-06-15 04:10:42 +00:00
Chris Morgan
6f1ac4d074 Re-enable screenshot purging to see how it works now that we've got the reported list 2007-06-15 04:10:00 +00:00
Chris Morgan
4078ad879f Add some common responses to the entry processing page, selectable via radio buttons. This
should make admin responses more consistent and make it quicker and easier to process
submissions.
2007-06-14 01:27:59 +00:00
Chris Morgan
8d1b120378 Add missing 'global $sEmailSubject;' declaration to functions using the global $sEmailSubject
value.
2007-06-14 01:17:07 +00:00
Alexander Nicolaysen Sørnes
ca8e4f56df Fix admin response in submitter notifications. Some code was in the wrong place inside of a
switch statement
2007-06-14 00:52:57 +00:00
Alexander Nicolaysen Sørnes
fc03cb827f Display the help text for application queues 2007-06-14 00:51:21 +00:00
Alexander Nicolaysen Sørnes
cd198f44d7 Replace objectOutputTableRow() with objectGetTableRow(). Redesign the table output mechanism so
that we fetch a table row from a class instead of letting the class display it. Move adding of
edit/delete links from the classes to the objectManager. Fix a hole in the distribution class
where an uninitialized variable could have been used in the constructor.
2007-06-14 00:50:35 +00:00
Chris Morgan
46f4f20ce6 Fix minor indenting issue 2007-06-13 03:13:06 +00:00
Chris Morgan
945df6a78c Fix incorrect member variable, its $bIsQueue, not $bIsQueued. Fixes the number of items on a
multi-page queue
2007-06-12 01:28:59 +00:00
Chris Morgan
2c4929e7e1 Standardize the subject of the cron cleanup emails 2007-06-12 01:05:32 +00:00
Chris Morgan
f5b8cb3e8b Enable multi-page support for unqueued testData 2007-06-12 00:40:20 +00:00
Chris Morgan
f6a4905d77 Pass a valid $iPageRange into display_page_range(), otherwise display_page_range() behaves
improperly
2007-06-12 00:36:29 +00:00
Alexander Nicolaysen Sørnes
ffd812b8a6 Add multi-page control to list of un-queued testData 2007-06-12 00:02:41 +00:00
Chris Morgan
956186d1c1 Add 'View Test Results' entry to admin sidebar. Enable testData deletion so we can either edit
or delete a given test entry.
2007-06-11 23:51:29 +00:00
Alexander Nicolaysen Sørnes
65a77980c7 Fix type in appData::objectGetEntries() 2007-06-11 23:20:55 +00:00
Chris Morgan
59ed94fc54 Add a couple of comments and braces 2007-06-11 04:06:06 +00:00
Chris Morgan
e16df1cad3 Add some guidance to the 'Tested release' selection for a testData submission since we've
removed a bunch of versions lately, including 'CVS'.
2007-06-11 02:53:57 +00:00
Chris Morgan
4b8b4b6f57 Url::normalize() shouldn't be prepending anything to empty strings 2007-06-11 01:27:29 +00:00
Alexander Nicolaysen Sørnes
74ccc53af3 Url constructor should use the id from the database query as the $iUrlId argument to the
constructor doesn't need to be valid
2007-06-11 01:08:21 +00:00
Chris Morgan
c8b0ff974a Remove "CVS" version from the array of Wine versions we present to the user. It was a dumb idea
to have a CVS version anyway since all CVS versions appear the same.
2007-06-11 00:25:50 +00:00
Chris Morgan
19cae27ff8 Remove makeSafe(), we don't use this method anymore now that we have filter_gpc() 2007-06-11 00:12:08 +00:00
Chris Morgan
1ec57548c5 Switch some tabs to spaces 2007-06-11 00:04:29 +00:00
Chris Morgan
0838b838a3 Prepend "http://" in front of urls that lack "://". Most urls tend to be websites and adding
http:// where it is missing fixes a bunch of urls in the database
2007-06-10 23:58:11 +00:00
Alexander Nicolaysen Sørnes
fc6e645d1a Allow appData constructor to import appData derived objects 2007-06-10 23:07:51 +00:00
Chris Morgan
7e4a084fd3 Version::Version() was using $this->iVersionId before the value was set 2007-06-10 22:15:35 +00:00
Chris Morgan
0a5725f6d6 Fix minor indenting issue 2007-06-10 22:11:31 +00:00
Alexander Nicolaysen Sørnes
f7b24fab9a Object constructors shouldn't require an id if passed a $oRow object. Gets rid of
objectGetInstanceFromRow() since we can pass the row into the constructor instead.
2007-06-10 18:51:33 +00:00
Chris Morgan
d0022decd4 Disable screenshot deletion and add screenshot ids to the cleanup email so we can verify that
the cleanup script is removing the correct screenshots.
2007-06-10 17:13:49 +00:00
Ben Hodgetts (Enverex)
8a030a2806 Add more specifics about what is required on the application submission page. Changes the
wording so hopefully people won't keep adding comments about how well the application works in
the application or vrsion submission. Also adds comments about proper grammar and punctuation.
2007-06-10 01:30:28 +00:00
Alexander Nicolaysen Sørnes
cc57367fe3 Order versions by id 2007-06-10 00:28:52 +00:00
Alexander Nicolaysen Sørnes
b71bf8bd01 Sort applications by id 2007-06-10 00:27:54 +00:00
Alexander Nicolaysen Sørnes
2adec2d724 Sort testData by id 2007-06-10 00:14:03 +00:00
Chris Morgan
ea2de6fe3c Screenshot::delete() and Image::delete() should check if the file exists before attempting to
call unlink() on it. Fixes three php errors that occur during the unit tests.
2007-06-09 22:17:32 +00:00
Ben Hodgetts
4cbbb2fbb6 Add a note to not post terminal outputs to comments 2007-06-09 22:13:27 +00:00
Alexander Nicolaysen Sørnes
95fc2d366b Add multi-page support to objectManager, use it for the vendor class 2007-06-09 17:07:02 +00:00
Alexander Nicolaysen Sørnes
095d228296 Fix app/version rejection. Version queue requeue wasn't requeueing its downloadurl, downloadurl
class was missing objectManager functionality. Rejected appData wasn't being accounted for.
2007-06-09 15:44:46 +00:00
Chris Morgan
be5361f751 Activte the deletion portion of the 'screenshots with missing files' cleanup 2007-06-08 00:42:06 +00:00
Chris Morgan
0cd6de7970 Programmatically fix up the bugzilla versions list. Sort the versions with the newest version first, limit the
total number of versions to 6 by truncating the array and manually add the 'CVS' entry since we trim this entry
off. This should make it easier for users to figure out which version to pick.
2007-06-07 02:43:57 +00:00
Chris Morgan
e6b869da5d Add cellpadding to make the duplicates table look nicer 2007-06-07 02:40:51 +00:00
Chris Morgan
b59a1d0b1f Add a column to the test data queue to indicate whether a test result is for a application version
that has maintainers. This lets admins defer processing test results to give appliction and version maintiners
a chance to do so.
2007-06-07 02:04:15 +00:00
Chris Morgan
8970888921 Add a comment to encourage test result submitters not to include crash data in their test
submissions.
2007-06-05 03:35:46 +00:00
Chris Morgan
2d4b27530d Upgrade to Xinha 0.931. Xinha has been optimized for size and dozens of issues have been closed
out since the last upgrade . Add Firefox and Xinha buttons to main page to show our support.
2007-05-31 22:43:05 +00:00
Alexander Nicolaysen Sørnes
ff46a4485d user: don't make links when userId is not set 2007-05-31 14:55:36 +00:00
Alexander Nicolaysen Sørnes
a2f25be661 Avoid some warnings in the appData class 2007-05-31 02:44:51 +00:00
Alexander Nicolaysen Sørnes
cb18a07f60 downloadurl: Add more objectManager functions. Allow us to unqueue queued downloadurls that are
currently stuck in limbo.
2007-05-31 02:40:01 +00:00