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
2 commits
-
… tests does not make sense
-
…d anymore. Otherwise there is more effectively method to validate html nowadays
02 Jun, 2014
2 commits
19 May, 2014
2 commits
-
(ActionItem3096)
-
Join community if user log in or sign up after following a "Join" link within a community. (ActionItem3096)
16 May, 2014
1 commit
-
(ActionItem3096)
06 May, 2014
1 commit
-
* rails235: (168 commits) L10n: support for custom locales enhancements: visualization of suggested usernames Allowing translation for url checking string Removed unnecessary lines on test Removed unit tests from functionals file Fixed html and test syntax Removed needless condition Fixed suggestions of usernames Test files should ends with "_test.rb" Added pagination on events_by_day on profile agenda Fix missing variable in funcional test Fix unit tests Change routes from embed controller Remove unused code Autocomplete fields on page load Blocks can returns a block of code to be evaluated Avoid randomness on tests comment-group-plugin: avoid randomness on tests community-track-plugin: fix tests by creating a profile with default boxes anti-spam-plugin-wrapper: ensure to load concrete wrappers ... Conflicts: app/helpers/application_helper.rb app/models/comment.rb app/models/contact.rb app/models/event.rb app/models/mailing.rb app/models/organization.rb app/models/organization_mailing.rb app/models/pending_task_notifier.rb app/models/person.rb app/models/profile.rb app/models/scrap.rb app/models/task_mailer.rb app/models/user.rb app/views/account/_signup_form.rhtml app/views/blocks/profile_image.rhtml app/views/blocks/profile_info.rhtml app/views/box_organizer/_link_list_block.rhtml app/views/box_organizer/edit.rhtml app/views/features/_manage_community_fields.rhtml app/views/features/_manage_enterprise_fields.rhtml app/views/features/_manage_person_fields.rhtml app/views/features/index.rhtml app/views/layouts/application-ng.rhtml app/views/users/_users_list.rhtml db/schema.rb features/forum.feature lib/feed_handler.rb lib/noosfero/plugin.rb plugins/community_track/test/functional/community_track_plugin_content_viewer_controller_test.rb plugins/shopping_cart/views/shopping_cart_plugin_myprofile/edit.html.erb plugins/spaminator/lib/spaminator_plugin/mailer.rb test/functional/content_viewer_controller_test.rb test/functional/profile_controller_test.rb test/functional/profile_design_controller_test.rb test/functional/search_controller_test.rb test/unit/contact_sender_test.rb test/unit/content_viewer_helper_test.rb test/unit/environment_mailing_test.rb test/unit/mailing_test.rb test/unit/organization_mailing_test.rb test/unit/person_test.rb test/unit/profile_test.rb test/unit/uploaded_file_test.rb vendor/plugins/action_tracker/lib/action_tracker_model.rb
02 May, 2014
1 commit
-
(ActionItem3129)
30 Mar, 2014
1 commit
-
(ActionItem3070)
20 Mar, 2014
1 commit
-
Conflicts: app/views/themes/index.rhtml db/schema.rb plugins/shopping_cart/views/shopping_cart_plugin_myprofile/edit.html.erb test/unit/person_test.rb
19 Mar, 2014
1 commit
20 Feb, 2014
2 commits
-
(ActionItem3015)