26 Jan, 2015

9 commits


24 Jan, 2015

1 commit


23 Jan, 2015

1 commit


22 Jan, 2015

8 commits


21 Jan, 2015

21 commits

  • Article privacity to followers
    
    https://gitlab.com/participa/noosfero/issues/324
    
    Feitos para amigos de perfis de pessoas também!
    
    See merge request !422
    Antonio Terceiro
     
  • Fix block links
    
    Fixing the URL from the article block and fixing the path of the New event button of the agenda.
    
    When Noosfero is used in a subdirectory, it crashes without this modification.
    
    See merge request !395
    Antonio Terceiro
     
  • Move list of profile
    
    Move list of profiles that are included in the search css to SearchHelper
    
    See merge request !394
    Antonio Terceiro
     
  • Fixed block
    
    Make a specific block fixed on a position. Only the environment admin can move and specify this option for the block
    
    https://gitlab.com/noosfero/noosfero/issues/26
    
    See merge request !380
    Antonio Terceiro
     
  • Fixed blocks can't be modified by regular users, but only by
    administrators. The main use case is defining a few blocks in the user
    or community templates, so that users and communities can't remove or
    change them.
    
    Signed-off-by: Antonio Terceiro <terceiro@colivre.coop.br>
    Signed-off-by: Arthur Del Esposte <arthurmde@gmail.com>
    Signed-off-by: Fabio Teixeira <fabio1079@gmail.com>
    Signed-off-by: Gabriela Navarro <navarro1703@gmail.com>
    Signed-off-by: Gustavo Jaruga <darksshades@gmail.com>
    Fabio Teixeira
     
  • Signed-off-by: André Bernardes <andrebsguedes@gmail.com>
    Signed-off-by: Arthur Del Esposte <arthurmde@gmail.com>
    Signed-off-by: David Carlos <ddavidcarlos1392@gmail.com>
    Signed-off-by: Fabio Teixeira <fabio1079@gmail.com>
    Signed-off-by: Filipe Ribeiro <firibeiro77@live.com>
    Signed-off-by: Gabriela Navarro <navarro1703@gmail.com>
    Signed-off-by: Luciano Prestes <lucianopcbr@gmail.com>
    Signed-off-by: Pedro de Lyra <pedrodelyra@gmail.com>
    Gabriela Navarro
     
  • - Changed methods and variable names.
    - Created work_assignment_plugin_myprofile_controller and undone the cms_controller extension
    - Fixed the tests to fit the new structure
    
    Signed-off-by: Gabriela Navarro <navarro1703@gmail.com>
    Tallys Martins
     
  • - Changed article_extra_fields hotspot name to upload_files_extra_fields
    - Fixed some code spacing.
    - Fixed uploaded file filter on plugin class
    - Fixed after_validation filter on UploadedFile plugin extension class
    
    Signed-off-by: Tallys Martins <tallysmartins@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: André Bernardes <andrebsguedes@gmail.com>
    Signed-off-by: Hebert Douglas <hebertdougl@gmail>
    Tallys Martins
     
  • 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
     
  • - Refactored the name of the action to edit_visibility
    - Refactored edit_visibility behavior to apply privacy to also the Folder's children
    - Fixed bug on plugin content_viewer filter not passing the right path of article
    
    Signed-off-by: Andre Bernardes <andrebsguedes@gmail.com>
    Signed-off-by: Filipe Ribeiro <firibeiro77@live.com>
    Signed-off-by: Dylan Guedes <djmgguedes@gmail.com>
    Signed-off-by: Marcos Ronaldo <marcos.rpj2@gmail.com>
    Signed-off-by: Tallys Martins <tallysmartins@gmail.com>
    Marcos Pereira
     
  • - Added privacy button to work_Assignment uploaded files
    - Added style for privacy options
    - Applying privacy permitions on Uploaded Files
    
    Signed-off-by: Andre Bernardes <andrebsguedes@gmail.com>
    Signed-off-by: Filipe Ribeiro <firibeiro77@live.com>
    Signed-off-by: Dylan Guedes <djmgguedes@gmail.com>
    Signed-off-by: Marcos Ronaldo <marcos.rpj2@gmail.com>
    Signed-off-by: Tallys Martins <tallysmartins@gmail.com>
    Tallys Martins
     
  • - Removed class Person on Work Assignment Plugin.
    - Fixed rails3 file extension on functional Tests.
    - changed the email_contact 'from' to be the environment email.
    - Changed notification text field to show the user email by default
    
    Signed-off-by: Andre Bernardes <andrebsguedes@gmail.com>
    Signed-off-by: Dylan Guedes <djmgguedes@gmail.com>
    Signed-off-by: Filipe Ribeiro <firibeiro77@live.com>
    Signed-off-by: Dylan Guedes <djmgguedes@gmail.com>
    Signed-off-by: Marcos Ronaldo <marcos.rpj2@gmail.com>
    Tallys Martins
     
  • Added default email message attribute to be sent when user choose to notify somebody.
    Refactored build_email_message method that attaches the URL of the uploaded files to the email message.
    Added Java Script to fill in the email field with  an example.
    Removed destroy action method on plugin cms controller, now using the existent in the core cms controller.
    Tallys Martins
     
  • Added filters to cms controller to send email
    Removed unecessary dispatch on cms controller
    
    Signed-off-by: Andre Bernardes <andrebsguedes@gmail.com>
    Signed-off-by: Marcos Ronaldo <marcos.rpj2@gmail.com>
    Signed-off-by: Tallys Martins <tallysmartins@gmail.com>
    Tallys Martins
     
  • - Removed useless view.
    - Fixed problem on page render when file error(e.g. over max size) is detected.
    - Fixed bug when no file selected.
    - Refactored dispatch on upload_files.html.erb  to have less impact on core.
    - Added java script to modify the form action to use the plugin controller on upload_files form.
    - Fixed Work Assignment not sending e-mails
    - Removing duplicated code
    - Added new dispatch on cms_controller
    
    Signed-off-by: Andre Bernardes <andrebsguedes@gmail.com>
    Signed-off-by: Marcos Ronaldo <marcos.rpj2@gmail.com>
    Signed-off-by: Tallys Martins <tallysmartins@gmail.com>
    Tallys Martins
     
  • André Guedes
     
  • Signed-off-by: Tallys Martins <tallysmartins@gmail.com>
    André Guedes
     
  • Changed html forms to rails3 pattern.
    
    Signed-off-by: Andre Bernardes <andrebsguedes@gmail.com>
    Signed-off-by: Hebert Douglas <hebertdougl@gmail>
    Signed-off-by: Tallys Martins <tallysmartins@gmail.com>
    Hebert Santos