#4544 Runtime override to activity streams config flag

v1.0.0
closed
General
nobody
2015-08-20
2012-07-13
No

Determine and implement a way to test activity stream pages despite the config flag being off. Is it as simple as installing the the tool on a project or two? And a url param for user profiles?

Discussion

  • Dave Brondsema

    Dave Brondsema - 2012-07-13
    • size: --> 1
     
  • Cory Johns

    Cory Johns - 2012-07-17
    • status: open --> in-progress
    • assigned_to: Cory Johns
     
  • Cory Johns

    Cory Johns - 2012-07-18
    • status: in-progress --> open
     
  • Cory Johns

    Cory Johns - 2012-07-23
    • status: open --> code-review
    • qa: Jenny Steele
     
  • Cory Johns

    Cory Johns - 2012-07-23

    allura:cj/4544

    To test, ensure production.ini has activitystream.enabled = false, run migration 026-install-activity-tool.py, and ensure that going to /u/admin1/activity returns a 404 and that /u/admin1/ redirects to /u/admin1/admin.

    Then, use this javascript to set the override cookie and ensure that you can view the activity page and that /u/admin1/ sends you to said activity page:

    $.cookie('activitystream.enabled', false, {secure: true, path: '/'})
    
     
  • Jenny Steele

    Jenny Steele - 2012-07-26
    • status: code-review --> closed
     

Log in to post a comment.