Commit Graph

76 Commits

Author SHA1 Message Date
Alexander Nicolaysen Sørnes
ad73b6445f Improve help text on the confirm deletion page 2007-10-23 19:29:41 -04:00
Alexander Nicolaysen Sørnes
9069952d91 objectManager: Use GetOptionalSetting() in more places 2007-10-22 19:28:24 -04:00
Alexander Nicolaysen Sørnes
c33d8a382e objectManager: Cache object before checking if previewing should be allowed 2007-10-22 19:27:20 -04:00
Alexander Nicolaysen Sørnes
d90ce3d8ef objectManager: Preserve page title when processing entries from a list 2007-10-21 13:11:21 -04:00
Alexander Nicolaysen Sørnes
9770cc9583 objectManager: Add action var to form tag when adding entries 2007-10-21 13:08:57 -04:00
Alexander Nicolaysen Sørnes
f2e17d3af3 objectManager: Add support for hiding the reject button, use it for buglinks 2007-10-14 12:49:16 -04:00
Alexander Nicolaysen Sørnes
835d82e49b Add new voting system 2007-10-09 21:59:54 -04:00
Alexander Nicolaysen Sørnes
c95da59dd1 objectManager: Add object caching support 2007-10-08 13:55:40 -04:00
Alexander Nicolaysen Sørnes
5875da01a7 objectManager: Display reply text when editing another user's entry 2007-09-30 10:18:40 -04:00
Chris Morgan
75e6f9dcc3 Add php5 scope keywords to the objectcManager class 2007-09-28 21:25:33 -04:00
Alexander Nicolaysen Sørnes
2823334eed Use objectManager to delete screenshots 2007-09-27 09:21:21 -04:00
Chris Morgan
a6f76eb892 Confusion between sAction=view and sAction=display broke viewing/displaying items. Standardize on sAction=view until we can come up with a more robust way of ensuring the same issue doesn't happen again. 2007-09-24 21:35:35 -04:00
Alexander Nicolaysen Sørnes
2d7a93b05c objectManager: Use '===' to check for Preview requests 2007-09-24 20:04:28 -04:00
Alexander Nicolaysen Sørnes
c90d271886 testData: Fix 'Show All Tests' button 2007-09-24 19:57:23 -04:00
Alexander Nicolaysen Sørnes
d7fc82c72f objectManager: add preview support, use it for notes 2007-09-23 11:43:32 -04:00
Alexander Nicolaysen Sørnes
e5d1bc1bf0 Use objectManager to submit super maintainer requests 2007-09-20 21:29:57 -04:00
Alexander Nicolaysen Sørnes
3ab41b6fca Use objectManager to submit maintainer requests 2007-09-20 21:29:00 -04:00
Alexander Nicolaysen Sørnes
fdfe3eb2d3 Fix objectGetCustomVars 2007-09-20 21:16:14 -04:00
Alexander Nicolaysen Sørnes
72a250b2b0 Use objectManager to add and edit notes 2007-09-19 20:38:17 -04:00
Alexander Nicolaysen Sørnes
a6a62a2299 Use objectManager to display versions 2007-09-19 20:37:21 -04:00
Chris Morgan
e82dc74162 Fixes for permission errors introduced by the table permission changes. 2007-09-18 22:09:57 -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
Alexander Nicolaysen Sørnes
93d71f630a Prepare for viewing versions using objectManager 2007-09-18 20:38:28 -04:00
Chris Morgan
b2cc871f09 Alexander Nicolaysen Sørnes <alex@thehandofagony.com>
Use objectManager to create monitors.
2007-09-14 23:31:20 -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
db00c49d73 Add missing div close tag to multipage control 2007-08-25 16:01:58 +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
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
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 &nbsp; 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
f9d617dac6 Fix case of object::objectGetId() 2007-08-04 04:52:59 +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
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
Alexander Nicolaysen Sørnes
cd0542a893 Avoid stating 0 as the total page count 2007-07-29 03:51:15 +00:00
Alexander Nicolaysen Sørnes
c9d7873b29 Return users to the submit page after logging in. 2007-07-24 01:49:40 +00:00
Edwin Smulders
023ece493b Eliminate some php notices caused by use of uninitialized variables 2007-07-24 01:45:19 +00:00
Chris Morgan
fd448b96d7 Fix appData objectGetTableRow() to work with the new table classes 2007-07-23 20:30:57 +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
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
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
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
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
Alexander Nicolaysen Sørnes
5e7a75584a Remember multipage values when processing entries 2007-06-15 04:10:42 +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
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