Switch permissions to be handled by the maintenance page.

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

Signed-off-by: Norv <a.w.norv@gmail.com>
Refactor action_credits, use Who.subs.

Signed-off-by: Norv <a.w.norv@gmail.com>
Refactor admin credits, action_credits for action=who;sa=credits, add topicsList() (parallel to getBoardsList())

Signed-off-by: Norv <a.w.norv@gmail.com>
Use getEventProperties() for event info in Post

Signed-off-by: Norv <a.w.norv@gmail.com>
Add messagesSince(), for messages posted in a topic since a particular message.
Not sure if this is so useful.Just need to clear the view of the action_post() code..

Signed-off-by: Norv <a.w.norv@gmail.com>
Move getBoardList() to Boards.subs. (what was it doing in MessageIndex anyway?
MessageIndex doesn't even use it)

Signed-off-by: Norv <a.w.norv@gmail.com>
MessageIndex, get rid of queries. Reuse markBoardsRead(). Add a new small function, which can probably be improved.
Commented out log_topics part of markBoardsRead(), experimentally.. because I don't see why that update should happen
when you mark boards as read... Put it back if it has consequences.

Signed-off-by: Norv <a.w.norv@gmail.com>
Refactor MessageIndex, add resetSentBoardNotification()

Signed-off-by: Norv <a.w.norv@gmail.com>
MessageIndex, quick rework.

Signed-off-by: Norv <a.w.norv@gmail.com>
Get rid of $smcFunc at least in these files I was working with

Signed-off-by: Norv <a.w.norv@gmail.com>
Use markBoardsRead() in Display controller.
Refactor poll information retrieval in Display controller.
Attempt slightly consistency in subs function names..

Signed-off-by: Norv <a.w.norv@gmail.com>
Bug fix in Post controller.

Signed-off-by: Norv <a.w.norv@gmail.com>
Add eventInfoForTopic(), linked events to a topic. Used in Display

Signed-off-by: Norv <a.w.norv@gmail.com>
Fix poster_name (was outside a loop)

Signed-off-by: Norv <a.w.norv@gmail.com>
Bring back log_topics clear-up in markBoardsRead(), and add a parameter $resetTopics() to switch it on or off if needed.

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

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

Signed-off-by: Norv <a.w.norv@gmail.com>
Rework Markasread controller. Try to add .subs relatively parallel with the existing,
i.e. messagePointer() and next/previous following topicPointer() and related.

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

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