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)
    Larissa Reis
     

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
    Antonio Terceiro
     

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)
    Antonio Terceiro
     

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)
    Antonio Terceiro
     

26 Aug, 2009

1 commit


18 Jun, 2009

1 commit


27 May, 2009

1 commit


03 Apr, 2009

1 commit


20 Mar, 2009

2 commits