21 Jan, 2015

4 commits

  • Tallys Martins
     
  • - Written tests of work_assignment cms controller.
    - Fixed failures on unit tests
    - Removed empy lines, spaces and useless code.
    - Fixing bugs on edit_visibility filters
    
    Signed-off-by: Tallys Martins <tallysmartins@gmail.com>
    Signed-off-by: Dylan Guedes <djmgguedes@gmail.com>
    Signed-off-by: Filipe Ribeiro <firibeiro77@live.com>
    Signed-off-by: Pedro de Lyra <pedrodelyra@gmail.com>
    Signed-off-by: Álvaro Fernando <alvarofernandoms@gmail.com>
    Signed-off-by: Eduardo Vital <vitaldu@gmail.com>
    Signed-off-by: André Bernardes <andrebsguedes@gmail.com>
    Signed-off-by: Hebert Douglas <hebertdougl@gmail>
    Dylan Guedes
     
  • Changed privacy edition box to open on a new page.
    Fixed cancel buttom to redirect to back page.
    
        Signed-off-by: Tallys Martins <tallysmartins@gmail.com>
        Signed-off-by: Álvaro Fernando <alvarofernandoms@gmail.com>
        Signed-off-by: Eduardo Vital <vitaldu@gmail.com>
    Tallys Martins
     
  • Refactored Cms Controller inheritance on Work Assignment Plugin.
    Added a new method on Cms controller that is extended on Work Assignment Plugin and can allow a plugin action to by pass
    the static before filter generated on Cms that denies any other actions outside it's list.
    Added a before filter on plugin cms controller  that allows the visibility edition only for the article author and admins.
    
    Signed-off-by Tallys Martins <tallysmartins@gmail.com>
    Signed-off-by: Arhur Del Esposte <arthurmde@gmail.com>
    Signed-off-by: Luciano Prestes <lucianopcbr@gmail.com>
    Tallys Martins