Add abstract base class Action_Controller.

Signed-off-by: Norv <a.w.norv@gmail.com>
Derive all admin controllers from Action_Controller.
Document action_index() for each.
Rename redundant 'extra'-word logs methods. (i.e. modlog->log)

Signed-off-by: Norv <a.w.norv@gmail.com>
Make two dozen user/mod controllers extend Action_Controller.
Add index where missing.

Signed-off-by: Norv <a.w.norv@gmail.com>
Update more user controllers to extend the base class.

Signed-off-by: Norv <a.w.norv@gmail.com>
Refactor to action controller subclasses. Tweak modcenter.

Signed-off-by: Norv <a.w.norv@gmail.com>
Rework createList() callbacks in moderation center controller:
instance methods for the list, and database-working functions
for the db work involved. Wip cleaning globals from subs (tweaks
should be in list_() methods.)

Signed-off-by: Norv <a.w.norv@gmail.com>
Tweaks for list_ callbacks, add methods visibility.

Signed-off-by: Norv <a.w.norv@gmail.com>
Fix inclusion with TESTDIR.

Signed-off-by: Norv <a.w.norv@gmail.com>
Move Action_Controller to core files loaded by default.. SSI too.
(tests grumble :P)

Signed-off-by: Norv <a.w.norv@gmail.com>
Another batch of user controllers, updated to inherit Action_Controller.
Tweak index and method visibilities.

Signed-off-by: Norv <a.w.norv@gmail.com>
ProfileHistory controller. Make it a class; main methods visibility,
the entry method is called action_index().

Signed-off-by: Norv <a.w.norv@gmail.com>
ProfileInfo, into a class. (wrapping methods only)

Signed-off-by: Norv <a.w.norv@gmail.com>
Extend ProfileInfo controller from Action_Controller and add missing
method. This will require quite a revamp.

Signed-off-by: Norv <a.w.norv@gmail.com>
action_activateaccount() was supposed to be in ProfileAccount..
(it was even called from there, must've been buggy.)

Signed-off-by: Norv <a.w.norv@gmail.com>
ProfileSubscriptions controller, make into a class, extend Action_Controller.

Signed-off-by: Norv <a.w.norv@gmail.com>
Rework ProfileOptions controller as a class, initial pass.
Move to boards subs getBoardNotificationsCount(). (uses db;
other boards notifications functions are currently in boards
subs).
Few other cleaning up bits, methods visibilities.

Signed-off-by: Norv <a.w.norv@gmail.com>
Rework the list_ callbacks for ProfileOptions controller:
utility functions in subs (boards and topic... we don't have
notifications subs?), and list_ methods in controller.

Signed-off-by: Norv <a.w.norv@gmail.com>
Rework Xml requests: XmlPreview controller handles previews.
Xml controller, the rest of xmlhttp.

Signed-off-by: Norv <a.w.norv@gmail.com>
Xml controllers extend Action_Controller. Methods visibility.

Signed-off-by: Norv <a.w.norv@gmail.com>
Batch of method visibilities updates. (mostly public for actions handlers.)

Signed-off-by: Norv <a.w.norv@gmail.com>