#3462 - Show recent screens visited in Admin Zone / CMS zone
| Identifier | #3462 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | Show recent screens visited in Admin Zone / CMS zone |
| Status | Completed |
| Tags |
ocProducts client-work (likely) (custom) |
| Handling member | Chris Graham |
| Addon | core_adminzone_dashboard |
| Description | For each user, log what screens they go to in the Admin Zone & CMS zone.
Have a block that shows a list of the last X screens (configurable). Also have a mode that shows the X most commonly visited sections, rather than just by recency. |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
I'm working on it in a branch for v11.
Lots more to do still...
Simplify duplicated log_it verbs
PUT_ON_PROBATION vs START_PROBATION
STOP_PROBATION vs REMOVE_FROM_PROBATION vs UNDO_PROBATION
There is both UNBAN_IP and IP_UNBANNED, but there is no BAN_IP
Adjustments to existing hooks
match_key_permissions is separate addon, remove from permissions hook
Zone edits should allow linking to zone editor as well as edit zone screen
Theme adds should allow linking to Theme Wizard as well as Add theme
Permission editing should link to permission tree editor too
Flag as non-admin in the hooks: MAKE_ANONYMOUS_POST, EMAIL, BLOCK_MEMBER, UNBLOCK_MEMBER, LOST_PASSWORD, MAKE_FRIEND, DUMP_FRIEND & RESET_PASSWORD
Add new log_it calls for
EDIT_THEME (surprisingly this is missing even though ADD_THEME is not)
ADD_MEMBER
Create warning (currently only individual punish actions are logged)
backups
commandr commands (log full command run)
cleanup tools
upgrader, any step
debrand
invoice actions
group member timeout editing
revision deleting
LDAP sync
disastr
giftr
workflows
run health check
composr_homesite_support_credits - charging customers
publish addons as downloads
classifieds editing
trackback deleting
Notes
We will define metadata, then use a base class to turn this into real results for a given action (so hook structure will take a lot)
If the ID or written text parameter comes out empty, or fails in a lookup, skip showing followup actions etc and make it show as raw format
Put the UI together (see actionlog idea.ods)
Implement updated block
Implement updated 'view action log' screen
Upgrade code - if log it parameters have changed orders, flip them
Add new files to addon_registry hooks
EDIT_THIS_* use in do-next manager -- look for uses of EDIT_* strings and see when to change them
Testing
Automated tests
For any log_it, the verbs are covered by a hook
For any verbs in a hook, a log_it call exists
Any language strings for verbs and for followup actions exist, in the files included
All CMA hooks referenced by hooks exist
CQC
Test manually
Add coding standard to use log_it for actions
Document in Admin Zone tutorial, with screenshots
Merge into sponsoring client site and put live
Invoice sponsoring client
Merge into v11