Commit Graph

68 Commits

Author SHA1 Message Date
Alexander Nicolaysen Sørnes
0294f01c3f distribution: Allow filtering by name 2009-01-23 14:56:39 +01:00
Alexander Nicolaysen Sørnes
b804c9b7c1 distribution: Don't list user emails in test data list 2009-01-23 14:41:53 +01:00
Chris Morgan
9f956d4ccc Assorted spelling fixes from Francois Gouget 2008-06-26 12:07:29 -04:00
Alexander Nicolaysen Sørnes
7619dc2122 distribution: Change column order and names 2008-06-15 21:22:13 -04:00
Alexander Nicolaysen Sørnes
ed64f049d7 Standardize objectGetEntries parameters 2008-04-13 18:38:17 -04:00
Jeff Zaroyko
16949bb71c tidy appdb html to make it validate - try 4 2008-02-25 19:27:36 -05:00
Alexander Nicolaysen Sørnes
9b92c2221c Use sState for objectGetEntries[Count]() 2008-01-20 16:13:27 -05:00
Alexander Nicolaysen Sørnes
da97299eeb Use sState as parameter to objectGetItemsPerPage() 2007-12-19 21:01:18 -05:00
Alexander Nicolaysen Sørnes
66e884d65a distribution: Sort test results by Wine version as well as rating 2007-12-19 21:00:37 -05:00
Alexander Nicolaysen Sørnes
8c7bd3a5e9 Add initial un-delete support 2007-12-18 20:17:06 -05:00
Alexander Nicolaysen Sørnes
176377f025 application: Rename 'queued' to 'state' 2007-12-15 12:24:33 -05:00
Alexander Nicolaysen Sørnes
aee69c1735 version: Rename 'queued' to 'state' 2007-12-15 12:23:16 -05:00
Alexander Nicolaysen Sørnes
06f693859f testData: Rename 'queued' to 'state' 2007-12-15 12:22:07 -05:00
Alexander Nicolaysen Sørnes
956e5391de distribution: Make sState member private 2007-12-15 12:21:53 -05:00
Alexander Nicolaysen Sørnes
7de7216724 distribution: Change 'queued' to 'state' 2007-12-11 13:02:34 -05:00
Alexander Nicolaysen Sørnes
6361b26cb2 distribution: Make tables sortable 2007-11-26 21:03:20 -05:00
Alexander Nicolaysen Sørnes
4c06d41033 distribution: Fix spelling error 2007-11-09 19:43:05 -05:00
Alexander Nicolaysen Sørnes
16d212c552 Prevent ids getting lost during editing 2007-10-23 19:30:23 -04:00
Chris Morgan
f378e0b4b5 We can't use $aArray += $oObject to add a single object to an array, switch to $aArray[] = $oObject instead 2007-09-24 22:25:49 -04:00
Chris Morgan
5c91961d12 Php5 improvements to table code. Add some accessor methods to classes so we can make class variables private. 2007-09-18 21:22:43 -04:00
Chris Morgan
2827e0654e Alexander Nicolaysen Sørnes <alex@thehandofagony.com>
Let objectManager handle deletion and delete notification.
2007-09-14 23:02:12 -04: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
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
d4c7b3f9f7 Add multipage controls to lists of distributions 2007-08-25 16:01:03 +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
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
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
8d61f9b497 distribution::delete() should return false upon failure 2007-07-31 03:31:07 +00:00
Chris Morgan
0e3472e1bf objectGetHeader() should return a TableRow instance as this is closer to what the information
represents and is a much more useful form.
2007-07-31 01:51:40 +00:00
Chris Morgan
2652e68d01 Programmatic table support. Enhances several tables with highlightable and clickable rows and
cleans up the existing table row highlight and click code.
2007-07-23 19:56:43 +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
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
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
59ed94fc54 Add a couple of comments and braces 2007-06-11 04:06:06 +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
Alexander Nicolaysen Sørnes
bab429ee90 Return true when creating duplicate distributions 2007-05-26 01:37:25 +00:00
Chris Morgan
25edd78c73 Layout improvements. Change default inner padding for html_frame_start() from 5 to 0, this
lets us eliminate the white spacing between frames and their contents. Add in a
div.default_container class that has a 5px padding to replace the now not present default
spacing.
2007-05-02 01:08:22 +00:00
Alexander Nicolaysen Sørnes
11ecfa230b Add allowAnonymousSubmissions(). objectManager checks the return value of this new function and
exists with an error during certain actions if the user is not logged in and the function returns
false
2007-04-29 23:00:01 +00:00
Alexander Nicolaysen Sørnes
eb49e9344d Add om method for displaying a move child objects page. A link to this page is displayed in
an entry's view page automatically if the class that entry has the required methods
objectMoveChildren and objectGetId
2007-04-27 23:43:43 +00:00
Alexander Nicolaysen Sørnes
e87db015c2 Allow maintainers to submit un-queued distributions.They are allowed to submit un-queued
testData for the versions they maintain, so without this change they submit un-queued test
results associated with a queued distribution. This doesn't make any sense since the
testData would be active but the distribution queued. It's cleaner to just let maintainers
unqueue distributions for versions they maintain.
2007-04-27 23:22:37 +00:00
Alexander Nicolaysen Sørnes
33ee8c4458 Repalce '"' with '&quot;' in the distribution form. Otherwise we end up with broken <input>
fields
2007-04-21 18:09:13 +00:00
Alexander Nicolaysen Sørnes
208033d788 Add and use distribution::mustBeQueued() 2007-04-21 17:50:44 +00:00
Alexander Nicolaysen Sørnes
e176c0a9c7 Only show un-queued distributions in the testData list 2007-04-19 23:48:23 +00:00
Alexander Nicolaysen Sørnes
efae38f6bf Use html_tr() function in distribution::outputEditor() 2007-04-17 23:19:48 +00:00
Alexander Nicolaysen Sørnes
46df59f063 Use objectManager for new test results 2007-04-16 23:10:08 +00:00
Alexander Nicolaysen Sørnes
89535dbe01 Use objectMakeLink()/Url() in more places 2007-04-03 02:08:44 +00:00
Alexander Nicolaysen Sørnes
37296b2242 Let objectManager handle rejected testData 2007-03-25 03:56:20 +00:00
Alexander Nicolaysen Sørnes
c545581571 objectManager, add rejection support. Add support in objectManager for handling rejected
data.
2007-03-24 18:30:16 +00:00