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).
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
24 Sep, 2013
1 commit
-
Rails.root is now a Pathname. The best use of it is with the #join method instead of concatenation and such. I therefore am rewriting all this calls to fix/avoid problems.
18 Sep, 2013
1 commit
13 Aug, 2013
1 commit
06 Nov, 2012
1 commit
19 Apr, 2012
1 commit
-
Reenable a feed that was disabled due to reaching a max number of errors after a max period being disabled, e.x. 1 week I had to change the FeedUpdate for this, since I had to inclued the feeds with enabled == false to check for their disabled period. (ActionItem2277)
27 Nov, 2011
1 commit
-
Conflicts: app/controllers/admin_controller.rb app/controllers/application.rb app/controllers/public/account_controller.rb app/controllers/public/content_viewer_controller.rb lib/noosfero/i18n.rb test/functional/account_controller_test.rb test/functional/admin_controller_test.rb test/unit/contact_test.rb test/unit/profile_test.rb
09 Jun, 2011
1 commit
17 Jul, 2010
1 commit
31 Oct, 2009
1 commit
-
* Moved all object creation helper methods into Noosfero::Factory * Added a new and faster version of create_user. * Adjusted some test cases tests to use the new factory methods This comprised removing a lot of bad smells from the tests, involving eliminating uneeded database hits. * reviewed ProfileTest for speed as a case study. The test suite used to take ~ 40 seconds to run, now it takes ~ 14 seconds. If we do this to all test suites, we can dramatically reduce the time we need to run all the tests * Added a rake task test:smells to list potential test smells. Started with probably unecessary and/or too slow database hits * In the end, running all the tests now takes ~ 13 minutes on Colivre's development machine, instead of the ~ 30 minutes it used to. (ActionItem1279)
27 Oct, 2009
1 commit
-
* transformed script/feed-updater into a controller script. It starts and stops together with the production system (script/production) * moved the update (daemon) logic into FeedUpdater class. It knows which feeds must be updated and when, and when it should stop running. * concentrated the fetch (download) logic into FeedHandler class. It knows how to update a specific feed. * implemented the concept of "enabled" and "expired" in both ExternalFeed and FeedReaderBlock. The feed updater looks for feeds that are both enabled *and* expired to update. * Disabled feed reader blocks get re-enabled when their address is changed. * fixed a bug that made some feeds crash when using PostgreSQL (CGI::unescapeHTML transforms Numeric Character References into iso-8859-1 data and PostgreSQL won't accept that into a UTF-8 database) * Removed sleep(1) calls from script/production, they don't seem to be useful * Added an index for the type column in `blocks` table. (ActionItem1243)
26 Aug, 2009
1 commit
18 Jun, 2009
1 commit
-
fixed also a test in the feed_handler that relied in the order of the items
27 May, 2009
1 commit
03 Apr, 2009
1 commit
20 Mar, 2009
2 commits
-
* making the block available for environments * moving the status message to the block footer * renaming `clean` to `clear` * moving all feed processing logic to FeedHandler * copied style from recent documents block * using actual ActiveRecord object for testing