26 Sep, 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.
    Larissa Reis
     

25 Sep, 2015

6 commits


24 Sep, 2015

1 commit

  • Additional improvements include:
    
    - Makes 'Remove Image' checkbox optional
    - Very ugly css hack to hide duplicated labels in some forms. I couldn't
    find another way to avoid the labels generated by labelled_form_for nor
    could I skip adding labels inside the helper since it's supposed to be
    generic.
    Larissa Reis
     

23 Sep, 2015

1 commit


18 Sep, 2015

1 commit


17 Sep, 2015

2 commits


16 Sep, 2015

1 commit


15 Sep, 2015

11 commits


14 Sep, 2015

2 commits

  • - Add before_filter for check permission for open edit header and footer page
    - Change environment feature name of disable_appearance to enable_appearance
    - Update cucumber test change_appearance.feature
    
    Signed-off-by: DylanGuedes <djmgguedes@gmail.com>
    Signed-off-by: Luciano Prestes Cavalcanti <lucianopcbr@gmail.com>
    Signed-off-by: Omar Junior <omarroinuj@gmail.com>
    Signed-off-by: vitorbaraujo <vitornga15@gmail.com>
    Signed-off-by: Victor Matias Navarro <victor.matias.navarro@gmail.com>
    Luciano Prestes
     
  • Tallys Martins
     

13 Sep, 2015

1 commit


12 Sep, 2015

1 commit


11 Sep, 2015

12 commits