17 Nov, 2015
1 commit
-
Conflicts: Gemfile Rakefile app/controllers/box_organizer_controller.rb app/controllers/my_profile/tasks_controller.rb app/controllers/public/profile_controller.rb app/mailers/user_mailer.rb app/models/article.rb app/models/person.rb app/models/product_category.rb app/models/task.rb config/application.rb config/routes.rb lib/acts_as_having_settings.rb lib/noosfero/api/entities.rb lib/noosfero/api/helpers.rb lib/noosfero/api/session.rb lib/noosfero/api/v1/articles.rb lib/noosfero/api/v1/contacts.rb lib/noosfero/api/v1/search.rb lib/noosfero/api/v1/users.rb test/functional/tasks_controller_test.rb test/unit/api/articles_test.rb test/unit/api/helpers_test.rb test/unit/api/people_test.rb test/unit/api/search_test.rb test/unit/api/session_test.rb test/unit/api/users_test.rb test/unit/person_notifier_test.rb test/unit/task_test.rb vendor/plugins/access_control/lib/acts_as_accessible.rb
11 Sep, 2015
1 commit
04 Sep, 2015
2 commits
-
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.
29 Aug, 2015
1 commit
28 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.
31 Jul, 2015
1 commit
-
ruby-minitest offers "refuse" as a syntatic sugar to "assert not"
25 Jul, 2015
1 commit
23 Jul, 2015
1 commit
13 Jul, 2015
1 commit
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).
26 Sep, 2014
1 commit
-
creating a mail intance crashes it there is no valid recipient; so we change places to use create_user.person instead of fast_create(Person) to make sure the user person instances have a valid email address.
20 Jan, 2014
1 commit
15 Jan, 2014
1 commit
09 Jan, 2014
1 commit
-
Conflicts: app/controllers/my_profile/memberships_controller.rb app/helpers/application_helper.rb app/helpers/boxes_helper.rb app/models/article.rb app/models/category.rb app/models/change_password.rb app/models/comment.rb app/models/environment.rb app/models/event.rb app/models/profile.rb app/models/recent_documents_block.rb app/models/region.rb app/models/task.rb app/models/uploaded_file.rb app/views/account/forgot_password.html.erb app/views/events/_events_by_day.html.erb app/views/profile/_person_profile.html.erb app/views/shared/_manage_enterprises.html.erb config/environment.rb config/initializers/plugins.rb config/routes.rb db/schema.rb debian/control lib/noosfero/plugin.rb test/unit/article_test.rb test/unit/category_test.rb test/unit/change_password_test.rb test/unit/cms_helper_test.rb test/unit/comment_test.rb test/unit/content_viewer_helper_test.rb test/unit/event_test.rb test/unit/folder_helper_test.rb test/unit/person_test.rb test/unit/price_detail_test.rb test/unit/profile_helper_test.rb test/unit/recent_documents_block_test.rb test/unit/scrap_test.rb test/unit/user_mailer_test.rb vendor/plugins/action_tracker_has_comments/init.rb vendor/plugins/delayed_job/lib/delayed/worker.rb vendor/plugins/noosfero_caching/init.rb
01 Oct, 2013
1 commit
27 Sep, 2013
1 commit
-
Also discovered that the ActionTracker::Record.current_user_from_model returning nil is a bug. So I'm removing the stubs I did before.
05 Sep, 2013
1 commit
26 Aug, 2013
1 commit
22 Aug, 2013
1 commit
04 Oct, 2010
2 commits
-
(ActionItem1719)
-
(ActionItem1303)
11 Sep, 2010
1 commit
-
(ActionItem1303)