View Issue Details

IDProjectCategoryView StatusLast Update
0003462Composrcore_adminzone_dashboardpublic2018-07-29 19:37
ReporterChris GrahamAssigned ToChris Graham 
SeverityFeature-request 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0003462: Show recent screens visited in Admin Zone / CMS zone
DescriptionFor 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.
TagsocProducts client-work (likely)
Time estimation (hours)2
Sponsorship open

Relationships

has duplicate 0000115 closedChris Graham Link between action logs and edit/view screens 

Activities

Chris Graham

2018-04-22 15:02

administrator  

actionlog idea.ods (66,367 bytes)

Guest

2018-07-17 03:16

viewer   ~0005765

This is now focusing on a much improved action log, rather than doing anything just based on what was viewed. The action log will show more context for anything done, with followup actions. This will allow the admin to easily jump back into what they were doing. Common visiting and recent visiting can easily be done using browser history / address bar autocomplete, i.e. it doesn't need to be in our scope.

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

Chris Graham

2018-07-29 18:40

administrator   ~0005776

Implemented. So much for 2 hours, more like 56!

Adam Edington

2018-07-29 19:37

administrator   ~0005777

Wow, well it sounds like it was worth it so thank you.

Issue History

Date Modified Username Field Change
2017-12-24 00:08 Chris Graham New Issue
2018-04-22 15:02 Chris Graham Relationship added has duplicate 0000115
2018-04-22 15:02 Chris Graham File Added: actionlog idea.ods
2018-04-22 15:03 Chris Graham Tag Attached: ocProducts client-work (likely)
2018-07-17 03:16 Guest Note Added: 0005765
2018-07-29 18:40 Chris Graham Note Added: 0005776
2018-07-29 18:40 Chris Graham Status non-assigned => resolved
2018-07-29 18:40 Chris Graham Resolution open => fixed
2018-07-29 18:40 Chris Graham Assigned To => Chris Graham
2018-07-29 19:37 Adam Edington Note Added: 0005777