Commit Graph

28 Commits

Author SHA1 Message Date
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
Alexander Nicolaysen Sørnes
ed7026be6e Let objectManager output table headers. A class returns an array of header cells and then
the objectManager adds an edit column if appropriate.
2007-03-17 21:04:43 +00:00
Chris Morgan
80e30b65a8 Distributions don't have descriptions, so don't try to retrieve this entry from the database
row object. Call out to objectMakeUrl() instead of using its address. Fixes two errors
exposed by the unit tests.
2007-03-17 21:00:41 +00:00
Alexander Nicolaysen Sørnes
9ef6268fa6 Let objectManager label the edit link in objectOutputTableRow() because the edit link text
depends on the queue state
2007-03-13 21:08:39 +00:00
Alexander Nicolaysen Sørnes
9becc84b36 Remove references to distributionView.php and remove now unused distributionView.php 2007-03-13 21:03:08 +00:00
Alexander Nicolaysen Sørnes
00bc2fbd27 Add comment for distribution::objectGetEntries()'s LIMIT behavior 2007-03-13 18:29:28 +00:00
Alexander Nicolaysen Sørnes
f782c10317 Add distribution queue.
Queued distributions are still treated like un-queued ones, since currently
only 8 distributions are un-queued.  'View Distributions', however, will only
show un-queued distributions.

If an admin tries to remove a distribution with associated test results, an
error is printed and no action is performed.  This could be improved in the
future by showing a 'move test data' link.
2007-03-13 16:59:35 +00:00
Alexander Nicolaysen Sørnes
0ad148f69f Add and use objectManager to display and edit vendors and distributions. Based on a patch by
Chris Morgan
2007-02-03 19:03:42 +00:00
Alexander Nicolaysen Sørnes
cbdce75b0b Allow object creation from a mysql resource, allow objectGetEntries() to limit the range of
entries requested, this will be necessary for future performance optimizations
2007-02-01 02:06:38 +00:00
Alexander Nicolaysen Sørnes
cbfc49f42f Add and use distribution::display() 2007-01-31 02:18:18 +00:00
Alexander Nicolaysen Sørnes
cc7c6e661a Fix capitalization of some methods of distribution class 2007-01-30 00:46:55 +00:00
Alexander Nicolaysen Sørnes
783215a6f1 Only display delete link for distributions without any associated test data 2007-01-30 00:46:05 +00:00
Alexander Nicolaysen Sørnes
4590b581c8 Return true on sucess in distribution::delete() 2007-01-30 00:43:33 +00:00
Alexander Nicolaysen Sørnes
5bb8448821 Add distribution functions and use them. Based on a patch by Chris Morgan 2007-01-27 00:30:00 +00:00
Alexander Nicolaysen Sørnes
917851fceb Fix naming of OutputEditor() to be outputEditor() 2007-01-17 03:18:49 +00:00
Chris Morgan
a1a41d6b87 Fix and enable input filtering through include/filter.php 2007-01-04 02:35:01 +00:00
Francois Gouget
41fce37200 Assorted spelling fixes 2006-12-31 19:39:41 +00:00
WineHQ
b858e2ba53 Unit tests should run with E_ALL so we can detect all errors. Fix dozens of errors that popped up after enabling all errors. 2006-11-25 17:24:44 +00:00
Chris Morgan
9364f5bc5a Rename include/distributions.php to include/distribution.php so the name of the file matches exactly the name
of the distribution class
2006-07-21 04:21:04 +00:00