Commit Graph

1315 Commits

Author SHA1 Message Date
Alexandre Julliard
e3ca73f7df Replaced .cvsignore by .gitignore. 2007-09-12 12:06:18 +02:00
Alexander Nicolaysen Sørnes
e8e68bf76f Fix obsolete notice in setup emails 2007-09-09 00:32:29 +00:00
Alexander Nicolaysen Sørnes
d2a53b510c Allow marking versions as obsolete 2007-09-08 22:52:00 +00:00
Alexander Nicolaysen Sørnes
4d65a32e17 Only show the 'add entry' link if the class has enabled it. The link is only useful for classes
that have no parent objects. The objectShowAddEntry() method is not required because it only
affects the user interface.
2007-09-08 22:42:34 +00:00
Alexander Nicolaysen Sørnes
5a4cbf49a3 Add and use objectGetChildren() method. Add support for initializing comment class from SQL
result.
2007-09-08 22:38:20 +00:00
Alexander Nicolaysen Sørnes
faf7d9bb19 Add objectGetChildren() method to classes without child objects 2007-09-08 22:29:17 +00:00
Chris Morgan
3c6340e581 Set a specific name for the vendor object created during the unit tests 2007-09-08 22:25:52 +00:00
Tony Lambregts
bf36c8a001 bug::objectGetTableRow() should reference $this and not the non-existant $oRow. Fixes bug where
buglink urls are broken due to a missing bug id.
2007-09-08 04:42:34 +00:00
Alexander Nicolaysen Sørnes
ee70aeaaa2 make_maintainer_rating_list() should return a string containing the html for the list. Update
users of make_maintainer_rating_list() to echo its return value.
2007-09-08 01:48:53 +00:00
Alexander Nicolaysen Sørnes
f07272f089 Add a missing Table::AddRow() call and clean up some whitespace 2007-09-08 01:41:23 +00:00
Chris Morgan
38f7214406 Add a couple of brackets to flush out a minor code change that has been sitting for a while. 2007-09-08 01:38:35 +00:00
Chris Morgan
43a7ea8f1d Add object manager support to the bug class. Add menu entries for displaying the bug queue and
list of bugs and remove the existing link to admin/adminBugs.php. Remove now unused
admin/adminBugs.php. Remove now unused getNumberOfQueuedBugLinks() and getNumberOfBugLinks()
from util.php. Add object manager unit test support for the bug class.
2007-08-27 03:48:44 +00:00
Chris Morgan
82d02d655f Skip deleting a distributions test results if there are no test results for the distribution 2007-08-27 03:46:03 +00:00
Alexander Nicolaysen Sørnes
db00c49d73 Add missing div close tag to multipage control 2007-08-25 16:01:58 +00:00
Alexander Nicolaysen Sørnes
d4c7b3f9f7 Add multipage controls to lists of distributions 2007-08-25 16:01:03 +00:00
Chris Morgan
23986e7220 Ignore another google search variable 2007-08-25 04:31:27 +00:00
Chris Morgan
fd8fd2c732 Filter should ignore google search variables 2007-08-25 04:26:55 +00:00
Chris Morgan
2eb1d01026 Redirect google custom search results to an appdb page to keep a consistent look-and-feel 2007-08-25 04:17:21 +00:00
Chris Morgan
bde24d410b Replace appdb search with a Google Custom Search Engine 2007-08-25 03:47:55 +00:00
Chris Morgan
4d82c32adc Enable deletion of a distribution's test results along with the distribution, if the user has
admin privileges.
2007-08-24 03:49:33 +00:00
Chris Morgan
82cd3b245b Create a version instance from $aClean['iVersionId'], if $aClean['iVersionId'] is set. We use
this version instance in several sets of logic. Fixes bug 9275.
2007-08-24 03:17:25 +00:00
Chris Morgan
156312f16f Fix $bSilent parameter for comment::delete() to be 'true', which makes the deletion silent.
Fixes previous commit.
2007-08-24 02:54:07 +00:00
Chris Morgan
9e05efb1b6 Fix comment::delete() to take $bSilent as an input parameter and use
comment::SendNotificationEmail(). Update version::delete() to pass false into comment::delete()
so we don't send an email for each comment we are deleting for a given version. Fixes bug 8473.
2007-08-24 02:52:34 +00:00
Chris Morgan
6b5305d1bf Add page selection control at the bottom of pages, without the items per-page selector. Fix
objectMananger::handleMultiPageControls() to not display the items per-page selector if
the $bItemsPerPageSelector input parameter is false.
2007-08-24 02:10:23 +00:00
Chris Morgan
2dcfdc24f6 Update the structure and data of the bugzilla versions table. The structure and data changed
after a bugzilla update.
2007-08-24 01:50:49 +00:00
Chris Morgan
7a0a47bd1e Remove logic that was preventing the opening of the version frame. The code to open the version
frame also determins if the user maintains the version or not, which decides whether we include
the "Delete Image" link. Change fixes missing "Delete Image" link for maintainers.
2007-08-23 02:33:57 +00:00
Chris Morgan
26fce69f0f Require that users be logged in to submit screenshots. Display a login link on the screenshots
page for users that aren't logged in so they know that if they login they'll be able to submit
screenshots.
2007-08-23 01:48:45 +00:00
Chris Morgan
13c67aa5e9 Add a 'move children' link to the object editing pages, if we have permission to move the
entries
2007-08-22 02:52:08 +00:00
Chris Morgan
cd03785d95 Add an entry for redirecting the site during an outage 2007-08-21 00:53:44 +00:00
Chris Morgan
a65312f265 Add a site outage page that we can use when the site is offline 2007-08-21 00:45:47 +00:00
Chris Morgan
3e1af76f64 Bugzilla now has an id column that we can order by. Fix wine version ordering and remove order
processing code.
2007-08-11 02:20:51 +00:00
Chris Morgan
e9f4bdc86c Add a request for application maintainers to the main page of the appdb site. We can't keep up
with the number of test results we are receiving and we need to get a handle on the existing
queues.
2007-08-09 02:12:32 +00:00
Chris Morgan
fb5a695e12 Fix formatting issue with 2nd notification email where we didn't specify that the duration was
in days and we were missing a space after the day interval.
2007-08-08 23:40:33 +00:00
Chris Morgan
218beb0f83 Order appData entries by the application name, otherwise the order is based on when the
application was added to the database and this grouping doesn't work well for screenshots.
2007-08-08 00:55:27 +00:00
Chris Morgan
242849cc04 Clean up error handling in processForm() to only check for errors when submitting an entry.
This enables the deletion or rejection of entries that produce errors. While we can't always
know why errors in objects make it this far we don't want to make it impossible to delete or
reject malformed entries.
2007-08-05 20:14:07 +00:00
Chris Morgan
25c0346ce3 Switch from spaces to   to prevent the entries in the processing column from wrapping 2007-08-05 19:26:02 +00:00
Chris Morgan
af3c857f72 Limit the current page to the available pages 2007-08-05 19:02:59 +00:00
Chris Morgan
cc955617bb Maintainer notification improvements. Add some spaces to the notification emails, fix the url
for the test results queue and screenshots queue. Add an email for the third level where we are
removing the maintainership for the user to explain to the user why we are removing their
maintainership. Factor out a few lines of common code.
2007-08-05 17:34:42 +00:00
Chris Morgan
1f8d1690af Fix odd table formatting when editing versions 2007-08-04 16:56:27 +00:00
Chris Morgan
f9d617dac6 Fix case of object::objectGetId() 2007-08-04 04:52:59 +00:00
Chris Morgan
73c3e584e3 Check for failure returned from testData::create() 2007-08-04 04:51:14 +00:00
Chris Morgan
0290064883 Check for error codes returned from application::create() and version::create() 2007-08-04 04:50:14 +00:00
Chris Morgan
2a46ab1b2a Create the bugzilla bugs table necessary for the unit tests to run properly. 2007-08-04 04:44:27 +00:00
Chris Morgan
eef14ea6cc application::create() should return false upon failure 2007-08-04 02:02:04 +00:00
Chris Morgan
6119246b51 Replace direct mysql_xxx() calls with query_xxx() calls. Replace calls to mysql_insert_id()
with calls specific to the appdb or bugzilla database. Fixes a bug where a call to
mysql_insert_id() can potentially retrieve an id from either the bugzilla or appdb database,
depending on whichever database was last opened by mysql_connect().
2007-08-03 23:27:25 +00:00
Chris Morgan
03dca3cabd Remove single quotes by removing the contractions that necessitated them 2007-08-01 03:29:12 +00:00
WineHQ
3d1d86cdd8 Authors: Alexander Nicolaysen Sørnes <alex@thehandofagony.com>, Chris Morgan <cmorgan@alum.wpi.edu>
Clean up some html in maintainer notification emails, add information about who the email is
addressed to so there is some way to see who the notification system is notifying.
2007-08-01 02:19:33 +00:00
Chris Morgan
b94a2a392b Convert from timestamp to datetime. Datetime is consistent between mysql 4.0x and newer
versions and is faster for date/time computations. Modify object creation methods to specify
any time fields that were previously updated with timestamp properties.
2007-07-31 23:48:22 +00:00
Chris Morgan
8b7fdf606c No need to have 'View' in front of each of our links, it should be pretty obvious to admins
that clicking on the link will let them interact with the particular queue/list.
2007-07-31 03:46:16 +00:00
Chris Morgan
8d61f9b497 distribution::delete() should return false upon failure 2007-07-31 03:31:07 +00:00