21 Jan, 2015
19 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>
-
- 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>
-
- 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>
-
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>
-
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>
-
- 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>
-
- 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>
-
- 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>
-
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.
-
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>
-
- 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>
-
Signed-off-by: Tallys Martins <tallysmartins@gmail.com>
-
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>
-
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>
-
(work_assignment_rails3) Signed-off-by: Tallys Martins <tallysmartins@gmail.com> Signed-off-by: Andre Bernardes <andrebsguedes@gmail.com>
-
Added upload_files_extra_content hotspot, fixed work_assignment_form file extension, fixed redirections on file deletion, changed deprecated build_notification to build_contact method. Signed-off-by: Andre Bernardes <andrebsguedes@gmail.com> Signed-off-by: Eduardo Vital <vitaldu@gmail.com> Signed-off-by: Hebert Douglas <hebertdougl@gmail.com> Signed-off-by: Tallys Martins <tallysmartins@gmail.com> (AI2967)
20 Jan, 2015
10 commits
-
Ai3287 deactive and active profile Feature: https://noosfero.org/Development/ActionItem3287 This patch add the activate/deactivate feature for organizations. It also add a new administrator feature to manage organizations status in admin pannel. See merge request !357
-
(ActionItem3287) It can be done while edit a profile or in environment administration panel 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: Gabriela Navarro <navarro1703@gmail.com> Signed-off-by: Gustavo Jaruga <darksshades@gmail.com> Signed-off-by: Luciano Prestes <lucianopcbr@gmail.com> Signed-off-by: Parley Martins <parley@outlook.com>
-
Zero downtime restart See merge request !361
-
Fix access to plugin administration pages Users can access plugin administration pages (e.g. /admin/plugin/vote) even if they aren't environment administrators. This MR create a new base controller for plugins that protects by default against improper access for these pages. See merge request !417
-
Display content feature Adds new render options for display_content_plugin: - User can choose type of ordering, recent or oldest. - Limit the number of articles showed when dynamically option is checked. Fix javascript bug path with subdirectory. See merge request !406
-
Signed-off-by: Gabriela Navarro <navarro1703@gmail.com> Signed-off-by: Luciano Prestes <lucianopcbr@gmail.com>
-
Signed-off-by: Gabriela Navarro <navarro1703@gmail.com> Signed-off-by: Luciano Prestes <lucianopcbr@gmail.com>
-
Signed-off-by: Gabriela Navarro <navarro1703@gmail.com> Signed-off-by: Luciano Prestes <lucianopcbr@gmail.com>
-
Signed-off-by: Gabriela Navarro <navarro1703@gmail.com> Signed-off-by: Luciano Prestes <lucianopcbr@gmail.com>
19 Jan, 2015
3 commits
-
The PluginAdminController protect by default users that didn't have edit_environment_features permission against access plugin administration.
-
This fixes running the rails console when you are not on Ruby 1.9
15 Jan, 2015
8 commits
-
This way they will show up in `rake -T` output
-
Signed-off-by: Arthur Del Esposte <arthurmde@gmail.com> Signed-off-by: André Bernardes <andrebsguedes@gmail.com> Signed-off-by: Arthur Del Esposte <arthurmde@gmail.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>
-
I have deduplicated every message in plugin code that was already in the core. Going forward, plugins should use c_() is they want to reuse the message from the core. If they want to force their own translation, they should probably use _('plugin_name|The message') to avoid overriding translations from the core.
-
When this is merged, the script at script/move-translations-to-plugins.rb must be executed to move the translations that are currently in the core to their respective plugins, i.e. to initialize each plugin .po file with their existing translated strings, excluding translations that already exist in the core. Going forward those duplicated translations should be replaced by calls to c_(), which will do the same as _() but won't be extracted for translation.
-
More fixes for custom forms plugin migration to rails 3 A couple of bugs in custom forms plugin on rails 3 I found while testing another feature, see commit message. See merge request !409