02 Oct, 2015

1 commit

  •   This fixes a bug in which some pages (eg. a profile page) were visible
      to unlogged users even if the environment has enabled "show content
      only to members".
    
      The problem happened because some controllers use `before_filter
      :login_required` so they can apply it to some specific methods,
      effectively overriding the one set in `application_controller`. That
      before filter set in `application_controller` is the one used to make
      the environment private when that feature is enabled, so when a
      controller overrides it, some methods are not required login even when
      the environment is private. So I fixed the problem by using a
      different `before_filter` to take care specifically of private
      environments.
    
      Now every page requires login when an environment is private, except
      the pages in `account_controller` necessary for login and signup.
    
    (cherry picked from commit 48f51755bc02fae929e8d62d7bf86aee8b2811ec)
    Larissa Reis
     

26 Sep, 2015

10 commits


18 Sep, 2015

6 commits


11 Sep, 2015

11 commits


28 Aug, 2015

12 commits