06 Sep, 2016
1 commit
-
Notifications of private profiles or provite contents were not being generated. This patch generates these notifications and filter activities being displayed to the user according to her/his permissions. Making this work through pure sql is just too complex. It was needed to filter results after pagination, for performance reasons, and perform some workarounds to not mess with the paginated results. PS: Also refactoring presenters infra
11 Aug, 2016
1 commit
-
…choose wich editor will be used to create new text articles
26 Jul, 2016
1 commit
25 Jul, 2016
1 commit
-
(cherry picked from commit fca616032cf3c305806a8a121639ea6dcb90fd93)
18 Jul, 2016
1 commit
-
Signed-off-by: Gabriel Silva <gabriel93.silva@gmail.com>
17 Jul, 2016
1 commit
-
Signed-off-by: Alessandro Caetano <alessandro.caetanob@gmail.com> Signed-off-by: Artur Bersan de Faria <arturbersan@gmail.com> Signed-off-by: Gabriel Silva <gabriel93.silva@gmail.com> Signed-off-by: Marcos Ronaldo <marcos.rpj2@gmail.com> Signed-off-by: Matheus Miranda <matheusmirandalacerda@gmail.com> Signed-off-by: Sabryna Sousa <sabryna.sousa1323@gmail.com> Signed-off-by: Victor Matias Navarro <victor.matias.navarro@gmail.com> Signed-off-by: Vitor Barbosa <vitormga15@gmail.com>
04 May, 2016
1 commit
-
- Confirmation modal when joining community - Moderation option in community control panel Signed-off-by: Alexandre Barbosa <alexandreab@live.com> Signed-off-by: Alvaro Fernando <alvarofernandoms@gmail.com> Signed-off-by: Gabriel Silva <gabriel93.silva@gmail.com> Signed-off-by: Marcos Ronaldo <marcos.rpj2@gmail.com>
27 Apr, 2016
1 commit
-
This will many further improvements to the products, such as: - Interaction with other plugins such as suppliers, stock and currencies. The inteface can change in such a way that if done usings hotspots would hurt usability and coherence. - More autonomy to develop and integrate other features (in the next months we will integrate batch edition and stock, currencies might come next) - More declouping from core and other components
18 Apr, 2016
1 commit
-
Signed-off-by: Alexandre Barbosa <alexandreab@live.com> Signed-off-by: Arthur Jahn <stutrzbecher@gmail.com> Signed-off-by: David Carlos <ddavidcarlos1392@gmail.com> Signed-off-by: Marcos Ronaldo <marcos.rpj2@gmail.com> Signed-off-by: Victor Costa <vfcosta@gmail.com>
01 Apr, 2016
1 commit
03 Mar, 2016
1 commit
-
Signed-off-by: Gustavo Jaruga <darkshades@gmail.com> Signed-off-by: Marcos Ronaldo <marcos.rpj2@gmail.com>
26 Feb, 2016
1 commit
-
- Adds use of filtered members to mailing queue executed by send_mail action Signed-off-by: Gustavo Jaruga <darksshades@gmail.com> Signed-off-by: Marcos Ronaldo <marcos.rpj2@gmail.com> Signed-off-by: Michel Felipe de Oliveira Ferreira <michel.ferreira@serpro.gov.br>
22 Feb, 2016
1 commit
-
- Every article can be followed so the user can receive notifications without having to comment on it Signed-off-by: Marcos Ronaldo <marcos.rpj2@gmail.com> Signed-off-by: Marcos Ramos <ms.ramos@outlook.com> Signed-off-by: Gustavo Coelho <gust.rod.coelho@gmail.com> Signed-off-by: Joenio Costa <joenio@colivre.coop.br> Signed-off-by: Carlos Purificacao <carloseugenio@gmail.com> Signed-off-by: Victor Costa <vfcosta@gmail.com> Signed-off-by: Caio SBA <caio@colivre.coop.br> Signed-off-by: Leandro Nunes dos Santos <leandro.santos@serpro.gov.br> Signed-off-by: Michel Felipe de Oliveira Ferreira <michel.ferreira@serpro.gov.br> Signed-off-by: Evandro Jr <evandrojr@gmail.com>
01 Dec, 2015
1 commit
-
This does not seem to be a problem with packages from Rubygems, but with Debian packages we need this workaround for the test to work.
02 Oct, 2015
1 commit
26 Sep, 2015
1 commit
-
This fixes a bug in which some pages (eg. a profile page) were visible to unlogged users even if the environment has enabled "show content only to members". The problem happened because some controllers use `before_filter :login_required` so they can apply it to some specific methods, effectively overriding the one set in `application_controller`. That before filter set in `application_controller` is the one used to make the environment private when that feature is enabled, so when a controller overrides it, some methods are not required login even when the environment is private. So I fixed the problem by using a different `before_filter` to take care specifically of private environments. Now every page requires login when an environment is private, except the pages in `account_controller` necessary for login and signup.
24 Sep, 2015
1 commit
11 Sep, 2015
1 commit
05 Sep, 2015
1 commit
-
- Order members by name - Removed white spaces - Changed strings to be translated - Renamed div id and test - Adjust ul tag members - Fixed plugin dependency Signed-off-by: Omar Junior <omarroinuj@gmail.com> Signed-off-by: DylanGuedes <djmgguedes@gmail.com> Signed-off-by: Vitor Barbosa <vitormga15@gmail.com> Signed-off-by: Brenddon Gontijo <brenddongontijo@msn.com> Signed-off-by: Tallys Martins <tallysmartins@yahoo.com.br> Signed-off-by: Simiao Carvalho <simiaosimis@gmail.com>
04 Sep, 2015
1 commit
-
Tests in scrap_test were failing in some random executions. It was caused by the way that action_tracker gets the current user when there is no custom_user setted in track_actions calls. The current logged in used is obtained with ActionTracker::Record.current_user but it's not setted from unit tests. The solution is to set the custom_user as the scrap sender, since that it will always be the same user that is logged in when a scrap is created.
15 Aug, 2015
1 commit
13 Aug, 2015
1 commit
11 Aug, 2015
1 commit
-
All scraps and action trackers from profile were loaded at once as will_paginate can't change SQL when find_by_sql is used. Also, eager load activities to make it O(3) instead of O(n). This increases performance by ~30% on profiles with lots of scraps/action trackers.
10 Aug, 2015
2 commits
-
user_stamp depends on deprecated Sweeper code and it is quite complicated to understand and use. Use User.current instead
01 Aug, 2015
1 commit
31 Jul, 2015
1 commit
-
ruby-minitest offers "refuse" as a syntatic sugar to "assert not"
24 Jul, 2015
2 commits
11 Jun, 2015
1 commit
-
Signed-off-by: André Guedes <andrebsguedes@gmail.com> Signed-off-by: Arthur Del Esposte <arthurmde@gmail.com> Signed-off-by: Fabio Teixeira <fabio1079@gmail.com> Signed-off-by: Tallys Martins <tallysmartins@yahoo.com.br>
26 Jan, 2015
1 commit
-
This needs to be done for all plugins as well, but it's more complicated there because several plugins have their own test_helper (which will also load the core test_helper).
27 Oct, 2014
1 commit
-
Fix 'Report Abuse' action See merge request !343
22 Oct, 2014
3 commits
-
Conflicts: app/helpers/profile_helper.rb app/views/content_viewer/_article_toolbar.rhtml app/views/profile/_common.rhtml app/views/profile/_organization_profile.rhtml app/views/profile/_person_profile.rhtml db/schema.rb public/stylesheets/application.css
20 Oct, 2014
1 commit
26 Sep, 2014
2 commits
07 Aug, 2014
1 commit
-
Hopefully this is the very last time we do this. Conflicts: Rakefile app/controllers/my_profile/cms_controller.rb app/controllers/public/content_viewer_controller.rb app/helpers/application_helper.rb app/helpers/content_viewer_helper.rb app/models/article.rb app/models/enterprise.rb app/models/product_categories_block.rb app/models/products_block.rb app/views/account/_signup_form.rhtml app/views/blocks/my_network.rhtml app/views/blocks/profile_info.rhtml app/views/blocks/profile_info_actions/_community.html.erb app/views/blocks/profile_info_actions/_enterprise.html.erb app/views/blocks/profile_info_actions/_person.html.erb app/views/content_viewer/view_page.rhtml app/views/profile/index.rhtml app/views/shared/_disabled_enterprise.html.erb app/views/shared/articles_list.html.erb db/schema.rb debian/changelog lib/file_presenter.rb lib/noosfero.rb plugins/custom_forms/controllers/custom_forms_plugin_profile_controller.rb plugins/shopping_cart/controllers/shopping_cart_plugin_controller.rb plugins/shopping_cart/test/functional/shopping_cart_plugin_controller_test.rb plugins/work_assignment/test/unit/work_assingment_plugin/work_assignment_test.rb plugins/work_assignment/test/unit/work_assingment_plugin_test.rb public/javascripts/application.js script/sample-articles script/sample-enterprises script/sample-products script/sample-profiles test/functional/cms_controller_test.rb test/functional/comment_controller_test.rb test/functional/content_viewer_controller_test.rb test/unit/application_helper_test.rb test/unit/article_test.rb test/unit/content_viewer_helper_test.rb test/unit/folder_helper_test.rb test/unit/forum_helper_test.rb
26 Jun, 2014
1 commit
-
… tests does not make sense