Commit Graph

1228 Commits

Author SHA1 Message Date
Chris Morgan
f08ae29f58 Split maintainer::notifyMaintainerOfQueuedData() into two parts.
maintainer::fetchNotificationUpdate() that retrieves much of the email to the maintainer and
the target notification level, and maintainer::processNotificationUpdate() that acts on the
target notification level and completes and optionally sends the email to the maintainer. Add
admin/maintainerNotification.php to aid in debugging the notification system.
2007-07-21 23:49:36 +00:00
Edwin Smulders
5a5383515c Hide resolved bugs by default, add link to toggle between hiding resolved bugs and showing all
bugs.
2007-07-21 23:32:10 +00:00
Chris Morgan
b5a41fba77 Add the long awaited 'maintainer notification' system. This system, running from the cron
cleanup scripts, will look for maintainers that have queued entries that the maintainer can
process. If the queued entries aren't processed for X days an email is sent. In X*2 days
another email is sent. After X*3 days the maintainer is stripped of their maintainership as
they aren't really maintaining the application anyway. The hope is that this system lets
maintainers know that they have pending queued entries to process to reduce the pressure on the
appdb admins to handled hundreds of queued entries.
2007-07-20 22:24:37 +00:00
Chris Morgan
1f7298eb24 Screenshots were incorrectly displaying 'Delete Image' links when the user had no permission to
do so. Bug was that the version id used for User::isMaintainer() was 0, which caused
Maintainer::isUserMaintainer() to return true if the user was a maintainer of any application.
Switch to using the version id of the screenshot image being displayed and cache the value to
reduce database queries. Also switch to using prefixed naming for a variable that wasn't.
2007-07-17 04:44:17 +00:00
Chris Morgan
b0cecaf9d5 objectManager::display_table() should exit out only if the user isn't logged in AND the table
is a queue
2007-07-16 03:04:54 +00:00
Chris Morgan
88a832199d Implement browsing of newest apps in the object manager infrastructure 2007-07-16 03:04:07 +00:00
Chris Morgan
7c76ba42eb Color versions when displaying the version table on the application page. Add dynamic
highlighting and the ability to click on the row in the version table.
2007-07-12 23:58:00 +00:00
Chris Morgan
2ce6d07a8c Apparently 'gold' isn't a standard color name. Switch back to using hex rgb color values. 2007-07-12 00:44:56 +00:00
Chris Morgan
c742e9a01f Make the background color for platinum a little bit darker for people with bright displays.
Switch to using the name for 'gold' instead of a hex rgb color value.
2007-07-11 04:45:12 +00:00
Chris Morgan
d11deb7f74 Make the browse by 'silver' link the same as the rest of the browse by links 2007-07-11 04:35:46 +00:00
Chris Morgan
33938a4f28 Add some padding to the application name cells in the top-X tables so the text isn't right
against the left hand side of the table.
2007-07-11 04:28:21 +00:00
Chris Morgan
f32bf88696 Clean up the appdb main page. Update top-X lists to be inside of colored DIVs so the sections
can be easily distinguished. Remove unnecessary text to make the page easier to read.
2007-07-11 04:17:02 +00:00
Chris Morgan
15c57e937b Place the 'AppDB' link at the top of the global menu, users may use it to return back to the
main page of the AppDB and having it be the second link makes it more difficult to locate
2007-07-11 02:41:58 +00:00
Chris Morgan
9831c1f762 Application view should list the number of test results for each version, this lets the appdb
user see which versions have the most feedback
2007-07-11 02:38:09 +00:00
Alexander Nicolaysen Sørnes
97f598b45e Add 'delete' link to enable deleting testData 2007-07-08 17:37:33 +00:00
Loki Satyr
88db0b23e9 CSS definitions for quoting code, terminal output, window output and registry changes 2007-07-07 22:42:01 +00:00
Alexander Nicolaysen Sørnes
e9b7740aa2 Fix email messageboxes to be on multiple lines again. The email array passed to addmsg() must
be space-separated.
2007-07-06 01:24:09 +00:00
Chris Morgan
232c3bda40 Add a suggestion to users that are receiving filter errors to clear out their cookies. 2007-07-05 21:49:17 +00:00
Alexander Nicolaysen Sørnes
53c0a0b393 Make mail_appdb() send mail with Bcc and only appdb-noreply@winehq.org as the recipient. 2007-07-02 01:09:16 +00:00
Alexander Nicolaysen Sørnes
403e052a8c Display login link when processing queues. Display a login link when processing queues and the
user isn't logged in, rather than saying that there are no entries.
2007-07-02 01:07:09 +00:00
Alexander Nicolaysen Sørnes
e93f09b0ad Check for valid result resource before number of rows. objectGetEntries() may return FALSE if
the user does not have permission to view a queue, for instance.
2007-07-02 00:50:32 +00:00
Chris Morgan
62bfb16016 Make objectGetTableRow() return a TableRow class instance. Added accessors to set the
appropriate parameters in the TableRow class. Removed some unused parameters from the TableRow
class.
2007-07-02 00:35:17 +00:00
Chris Morgan
15cd979264 Exclude 'XinhaColorPicker' get/post/cookie variable from normal filtering. Fixes a bug where
using the color picker resulted in an appdb error message until the cookie was removed.
2007-06-29 02:20:11 +00:00
Alexander Nicolaysen Sørnes
52c0e75af9 Don't display editor for non-existent entries 2007-06-19 00:29:37 +00:00
Alexander Nicolaysen Sørnes
d99f705863 Delete all objects in version_queue::delete() 2007-06-19 00:28:49 +00:00
Alexander Nicolaysen Sørnes
e6b09f417f testData_queue: always delete empty distributions if we can 2007-06-19 00:28:01 +00:00
Alexander Nicolaysen Sørnes
2c32bc608b Cleanup appData test 2007-06-19 00:27:13 +00:00
Alexander Nicolaysen Sørnes
051a1e5d0c Cleanup objectManager tests so all objects created during the test are deleted 2007-06-19 00:26:21 +00:00
Chris Morgan
6221e9b921 Cleanup make_bugzilla_version_list(). Use standard naming convention, add some documentation.
Add a work around so a selected version, if not present, is added to the list and selected.
This fixes the issue where editing an older test result leaves us in an unattainable position,
we can't select the version since it was pruned from the list and we don't want to pick the
wrong version for the results.
2007-06-17 22:44:47 +00:00
Chris Morgan
a8df90b23d Remove duplicate 'Appdb home' entry. Shorten the names of a few other entries 2007-06-17 22:10:30 +00:00
Alexander Nicolaysen Sørnes
3abcfefe00 Encode the sReturnTo argument to the login page, otherwise we may have problems with some urls 2007-06-17 16:59:42 +00:00
Alexander Nicolaysen Sørnes
d02ea523b8 Increase menu text size. Should make it easier for people to notice the menu options. Increase
font size from 10px to 11px.
2007-06-17 16:58:52 +00:00
Chris Morgan
41e90aec46 Properly close all of the html frames we opened with html_frame_start(). Fixes a bug where the
back link appears inside of a frame and the page rendering time appears in an odd red bar at
the bottom of the page
2007-06-16 21:16:12 +00:00
Chris Morgan
1d3050fc96 Fix cron maintenance email subject for database error log emails. Forgot to flag $sEmailSubject
as global
2007-06-16 17:04:56 +00:00
Alexander Nicolaysen Sørnes
bdca7c3bac distribution: Fix empty submitter notification email. Pass the correct argument to
mailSubmitter()
2007-06-16 17:02:25 +00:00
Alexander Nicolaysen Sørnes
b9588ab76e Store iPage in handleMultiPageControls(). Fixes the case where an iPage would not be set for
page 1, causing iItemsPerPage value to be ignored when returning from data processing
2007-06-16 17:00:57 +00:00
Chris Morgan
80ca144225 Fix a typo in the common response text. 2007-06-16 16:58:54 +00:00
Chris Morgan
a41b65c25e Remove duplicate and unused sDate variables from application and version classes 2007-06-16 04:55:34 +00:00
Chris Morgan
00ccd7b18b Fix subject of database error log email sent during cron maintenance 2007-06-16 03:35:05 +00:00
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