21 Jan, 2015

8 commits

  • - 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
     
  • - 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
     
  • - 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
     
  • TODO Refactor send_email method on Work Assignment Cms controller
    
    Signed-off-by: Hebert Douglas <hebertdougl@gmail.com>
    Signed-off-by: Tallys Martins <tallysmartins@gmail.com>
    tallys
     
  • (work_assignment_rails3)
    
    Signed-off-by: Tallys Martins <tallysmartins@gmail.com>
    Signed-off-by: Andre Bernardes <andrebsguedes@gmail.com>
    André Guedes