Commit Graph

73 Commits

Author SHA1 Message Date
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
95fc2d366b Add multi-page support to objectManager, use it for the vendor class 2007-06-09 17:07:02 +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
ec8312233c Display add item help text after fetching input values. This allows the help text functions
to output help depending on the state of the edited object
2007-04-24 23:40:12 +00:00
Alexander Nicolaysen Sørnes
f688be7c4d Support silent input checking. checkOutputEditorInput() can now return TRUE instead of a
list of errors
2007-04-24 00:35:51 +00:00
Alexander Nicolaysen Sørnes
cf81d542ee Add a moveChildren method to the objectManager and implement objectMoveChildren for version
and version_queue. Use this to move versions.
2007-04-23 23:31:24 +00:00
Chris Morgan
00aacdeadd Fix some inconsistent braces and add a comment to the objectManager code 2007-04-22 15:52:06 +00:00
Alexander Nicolaysen Sørnes
8cf53f1679 Use mustBeQueued() to determine unqueueing in objectManager 2007-04-22 00:39:53 +00:00
Alexander Nicolaysen Sørnes
d5aabe4d17 More fixes and uses for objectManager's version/testData queues 2007-04-21 01:02:10 +00:00
Alexander Nicolaysen Sørnes
c43563eca6 Fix testData::create() permissions. Separate the cases where a user has edit rights from
when he has the right to unqueue items
2007-04-19 23:45:15 +00:00
Alexander Nicolaysen Sørnes
9a953f7ce8 Add return value to objectManager::displayErrors(). Return true if errors were found 2007-04-04 00:32:43 +00:00
Alexander Nicolaysen Sørnes
ac978bfad7 objectManager: check editor values 2007-03-25 18:52:19 +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
fa7ddf3322 Use the full AppDB url in makeLink() 2007-03-18 00:47:14 +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
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
bf7daaa789 Let ObjectManager handle maintainer requests 2007-03-04 23:22:57 +00:00
Alexander Nicolaysen Sørnes
47a4d3cf84 Pass an object as the first argument to method_exists() 2007-02-03 19:55:15 +00:00
Alexander Nicolaysen Sørnes
21a18c5d09 Pass an object as the first argument to method_exists(), required by php4
----------------------------------------------------------------------
2007-02-03 19:33:20 +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