22 Jan, 2015

1 commit

  •  - Moved EmailContact class from ext directory to plugin scope
     - Refactored Work Assignment Plugin to accept general articles instead of only uploaded files
     - Protecting methods that are not supposed to be actions
    
    Signed-off-by: Tallys Martins <tallysmartins@gmail.com>
    Signed-off-by: André Bernardes <andrebsguedes@gmail.com>
    Signed-off-by: Hebert Douglas <hebertdougl@gmail>
    Tallys Martins
     

21 Jan, 2015

12 commits

  • - 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
     
  • - 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
     

25 May, 2014

1 commit


14 Nov, 2012

1 commit


07 Nov, 2012

1 commit