#4544 Runtime override to activity streams config flag

asf_release_1.0.0
closed
Cory Johns
General
nobody
2012-07-26
2012-07-13
Dave Brondsema
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